1 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
6 2014-07-31 Roland McGrath <roland@hack.frob.com>
8 * sysdeps/generic/safe-fatal.h: New file.
9 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
10 * nptl/forward.c: Include it.
11 (__pthread_unwind): Use __safe_fatal as default action, rather
12 than a bogus use of INTERNAL_SYSCALL that could never work.
14 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
15 * configure.ac (libc_cv_builtin_trap): New test.
16 * configure: Regenerated.
17 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
18 (ABORT_INSTRUCTION): Define using __builtin_trap.
20 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
21 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
22 * sysdeps/nptl/nptl-signals.h: New file.
23 * nptl/pthreadP.h: Include <nptl-signals.h>.
25 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
27 * sysdeps/s390/s390-64/utf16-utf32-z9.c
28 (ONE_DIRECTION): Define.
29 * sysdeps/s390/s390-64/utf8-utf16-z9.c
30 (ONE_DIRECTION): Define.
31 * sysdeps/s390/s390-64/utf8-utf32-z9.c
32 (ONE_DIRECTION): Define.
34 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
36 * sysdeps/s390/Makefile: Delete file.
37 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
38 * sysdeps/s390/__longjmp.c: Delete file.
39 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
40 Remove fields __flags and __reserved.
41 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
43 * sysdeps/s390/rtld-__longjmp.c: Delete file.
44 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
45 * sysdeps/s390/rtld-setjmp.S: Likewise.
46 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
47 * sysdeps/s390/s390-32/__longjmp.c: ... here.
48 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
49 * sysdeps/s390/s390-32/setjmp.S: ... here.
51 (__sigsetjmp): Remove setting __flags field.
52 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
53 * sysdeps/s390/s390-64/__longjmp.c: ... here.
54 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
55 * sysdeps/s390/s390-64/setjmp.S: ... here.
57 (__sigsetjmp): Remove setting __flags field.
58 * sysdeps/s390/setjmp.S: Delete file.
59 * sysdeps/s390/sigjmp.c: Likewise.
60 * sysdeps/s390/v1-longjmp.c: Likewise.
61 * sysdeps/s390/v1-setjmp.h: Likewise.
62 * sysdeps/s390/v1-sigjmp.c: Likewise.
63 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
64 Remove v1-longjmp_chk.
65 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
66 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
67 Include debug/longjmp_chk.c and add versioning.
68 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
69 Include nptl/pt-longjmp.c and add versioning.
70 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
71 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
73 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
75 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
76 (__getcontext): Remove setting __flags field.
78 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
79 Don't restore upper high grps.
80 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
82 (__swapcontext): Remove setting uc_flags field.
83 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
85 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
87 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
89 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
90 (__getcontext): Remove setting __flags field.
92 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
93 (__swapcontext): Remove setting uc_flags field.
94 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
95 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
96 Remove fields uc_high_gprs and __reserved.
97 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
98 New file with reverted content.
99 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
100 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
102 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
105 2014-07-31 Andreas Schwab <schwab@suse.de>
107 * config.h.in (HAVE_IFUNC): Define to 0.
108 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
111 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
113 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
114 memmove-avx-unaligned, memcpy-avx-unaligned and
115 mempcpy-avx-unaligned.
116 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
117 Add tests for AVX memcpy functions.
118 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
119 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
121 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
122 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
124 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
125 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
127 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
128 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
129 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
131 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
134 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
137 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
140 * manual/llio.texi: Add section about open file description locks.
141 * manual/examples/ofdlocks.c: Example of open file description
143 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
144 F_OFD_SETLK, and F_OFD_SETLKW.
146 2014-07-23 Allan McRae <allan@archlinux.org>
148 * po/es.po: Update Spanish translation from translation project.
150 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
152 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
154 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
157 * sysdeps/arm/dl-machine.h (elf_machine_rela)
158 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
159 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
161 2014-07-17 Joseph Myers <joseph@codesourcery.com>
164 * math/fesetenv.c (__fesetenv)
165 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
166 * math/feupdateenv.c (__feupdateenv)
167 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
169 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
170 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
171 (__ASSUME_SOCKETCALL): Do not define.
173 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
174 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
175 (__ASSUME_SOCKETCALL): Do not define.
176 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
177 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
178 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
179 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
180 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
181 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
182 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
183 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
185 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
186 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
187 (__ASSUME_SOCKETCALL): Do not define.
188 (__ASSUME_IPC64): Define unconditionally.
189 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
190 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
191 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
192 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
193 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
194 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
195 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
198 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
199 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
200 (__ASSUME_SOCKETCALL): Do not define.
201 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
202 (__ASSUME_FUTEX_LOCK_PI): Likewise.
203 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
204 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
205 (__ASSUME_REQUEUE_PI): Define unconditionally.
206 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
207 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
208 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
209 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
210 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
211 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
213 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
214 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
215 (__ASSUME_SOCKETCALL): Do not define.
216 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
217 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
218 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
219 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
220 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
221 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
223 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
224 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
225 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
226 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
227 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
228 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
229 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
230 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
231 (__ASSUME_GETCPU_SYSCALL): Likewise.
233 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
234 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
235 cases for individual architectures.
236 * sysdeps/gnu/configure: Regenerated.
237 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
238 LIBC_SLIBDIR_RTLDDIR.
239 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
240 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
241 LIBC_SLIBDIR_RTLDDIR.
242 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
244 LIBC_SLIBDIR_RTLDDIR.
245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
247 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
248 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
250 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
251 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
253 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
254 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
255 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
256 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
258 * sysdeps/aarch64/shlib-versions: Move to ...
259 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
260 * sysdeps/alpha/shlib-versions: Move to ...
261 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
262 * sysdeps/arm/shlib-versions: Move to ...
263 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
264 * sysdeps/hppa/shlib-versions: Move all contents except for
265 libgcc_s entry to ...
266 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
268 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
269 * sysdeps/ia64/shlib-versions: Move to ...
270 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
272 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
273 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
274 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
275 * sysdeps/microblaze/shlib-versions: Move to ...
276 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
277 * sysdeps/mips/shlib-versions: Move to ...
278 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
280 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
281 * sysdeps/tile/shlib-versions: Move to ...
282 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
283 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
285 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
286 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
288 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
290 2014-07-17 Will Newton <will.newton@linaro.org>
292 * sysdeps/arm/bits/atomic.h
293 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
294 (__arch_compare_and_exchange_bool_16_int): Likewise.
295 (__arch_compare_and_exchange_bool_64_int): Likewise.
297 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
300 2014-07-16 Roland McGrath <roland@hack.frob.com>
302 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
303 just Linux configurations. Test empirically that the compiler sets
304 __ARM_EABI__, rather than using the tuple to decide.
305 * sysdeps/arm/preconfigure: Regenerated.
306 * sysdeps/unix/sysv/linux/arm/configure: File removed.
307 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
308 contents appended ...
309 * sysdeps/arm/configure.ac: ... here.
310 * sysdeps/arm/configure: Regenerated.
312 2014-07-15 Roland McGrath <roland@hack.frob.com>
314 * nptl/pthread_kill.c: New file.
315 * nptl/pthread_sigmask.c: New file.
316 * nptl/pthread_sigqueue.c: New file.
318 * sysdeps/nptl/lowlevellock.h: New file.
319 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
320 * sysdeps/nptl/lowlevellock-futex.h: New file.
322 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
323 Remove dead declarations.
325 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
327 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
328 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
330 * sysdeps/x86_64/configure.ac: Likewise.
331 * sysdeps/i386/configure: Regenerated.
332 * sysdeps/x86_64/configure: Likewise.
333 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
334 memset-avx2 only if config-cflags-avx2 is yes.
335 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
336 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
338 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
339 only if HAVE_AVX2_SUPPORT is defined.
340 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
342 2014-07-14 Alan Modra <amodra@gmail.com>
345 * elf/elf.h (DT_PPC64_NUM): Correct value.
346 * NEWS: Add to fixed bug list.
348 2014-07-13 Jim Meyering <meyering@fb.com>
351 regex: don't deref NULL upon heap allocation failure
352 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
353 failure in one more place.
354 To trigger the segfault, configure grep -with-included-regex,
355 build it, and run these commands:
356 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
358 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
360 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
362 2014-07-11 Richard Henderson <rth@redhat.com>
364 * sysdeps/aarch64/libm-test-ulps: Update.
366 2014-07-10 Florian Weimer <fweimer@redhat.com>
369 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
370 * nptl/allocatestack.c (__nptl_setxid_error): New function.
371 (__nptl_setxid): Initialize error member. Call
373 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
374 * nptl/descr.h (struct xid_command): Add error member.
375 * nptl/tst-setuid3.c: New file.
376 * nptl/Makefile (tests): Add it.
378 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
380 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
382 (__lll_trylock): Use __lll_base_trylock.
383 (__lll_cond_trylock): Likewise.
385 2014-07-10 Roland McGrath <roland@hack.frob.com>
387 * nptl/pthread_create.c (start_thread): Use atomic_or and
388 lll_futex_wake directly rather than lll_robust_dead.
389 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
390 (lll_robust_dead): Macro removed.
391 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
392 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
393 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
394 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
395 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
396 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
397 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
398 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
399 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
400 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
401 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
402 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
403 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
404 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
405 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
407 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
408 Use atomic_compare_and_exchange_val_acq directly rather than
410 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
411 (__lll_robust_trylock, lll_robust_trylock): Removed.
412 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
413 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
414 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
415 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
416 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
417 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
418 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
419 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
420 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
421 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
422 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
423 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
424 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
425 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
427 2014-07-02 Florian Weimer <fweimer@redhat.com>
429 * manual/locale.texi (Locale Names): New section documenting
430 locale name syntax. Adjust menu and node chaining accordingly.
431 (Choosing Locale): Reference Locale Names, Locale Categories.
432 Mention setting LC_ALL=C. Reflect that name syntax is now
434 (Locale Categories): New section title. Reference Locale Names.
435 LC_ALL is an environment variable, but not a category.
436 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
437 description, now in Locale Name. Reference that section. Locale
438 name syntax is now documented.
440 2014-07-02 Florian Weimer <fweimer@redhat.com>
443 * locale/findlocale.c (name_present, valid_locale_name): New
445 (_nl_find_locale): Use the loc_name variable to store name
446 candidates. Call name_present and valid_locale_name to check and
447 validate locale names. Return an error if the locale is invalid.
449 2014-07-02 Florian Weimer <fweimer@redhat.com>
451 * locale/setlocale.c (setlocale): Use strdup for allocating
454 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
457 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
458 [!_LIBC && ENABLE_NLS]: Include gettext.h.
459 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
461 [USE_UNLOCKED_IO]: Include unlocked-io.h.
462 [!_LIBC]: Include code for Windows and Cygwin.
463 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
464 Include prototype for int strerror_r.
465 [!_LIBC] (is_open): New function.
466 (flush_stdout): New function.
467 (print_errno_message): Use it.
469 (error_at_line): Likewise.
470 (error_tail) Add function attribute macros. Use
473 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
475 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
477 * io/ftw.c: Include sys/param.h unconditionally.
479 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
482 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
484 (freecache): New function to free CACHE on exit.
486 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
489 2014-07-09 David S. Miller <davem@davemloft.net>
491 * sysdeps/sparc/fpu/libm-test-ulps: Update.
493 * sysdeps/sparc/nptl/internaltypes.h: Delete.
494 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
495 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
496 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
497 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
498 * sysdeps/sparc/nptl/sem_init.c: Likewise.
499 * sysdeps/sparc/nptl/sem_post.c: Likewise.
500 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
501 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
502 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
503 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
504 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
505 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
507 2014-07-09 Andreas Schwab <schwab@suse.de>
509 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
511 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
514 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
516 2014-07-09 Will Newton <will.newton@linaro.org>
518 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
519 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
520 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
521 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
522 * sysdeps/hppa/start.S (_start): Likewise.
524 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
526 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
528 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
531 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
533 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
534 after checking that it is non-NULL.
536 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
538 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
540 * sysdeps/powerpc/memmove.c: Remove file.
541 * sysdeps/powerpc/powerpc32/power4/memcopy.h
542 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
543 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
544 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
545 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
546 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
547 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
548 string memmove instead of removed powerpc one.
550 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
551 [weak_alias]: Fix compiler warning due trailing data.
552 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
553 [weak_alias]: Likewise.
554 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
555 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
557 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
558 (__libc_ifunc_impl_list): Add memmove functions.
560 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
562 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
564 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
566 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
568 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
570 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
572 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
574 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
576 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
578 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
580 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
582 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
584 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
586 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
588 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
590 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
592 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
594 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
597 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
599 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
600 to avoid alignment traps in non-cacheable memory.
601 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
603 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
605 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
606 file: multiarch power7 memmove.
607 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
608 multiarch default memmove.
609 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
610 multiarch memove for powerpc32/power4.
612 * string/bcopy.c: Use full path to include memmove.c.
613 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
615 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
617 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
619 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
620 and memmove implementations.
621 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
622 optimized multiarch memmove for POWER7/powerpc64.
623 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
624 default multiarch memmove for powerpc64.
625 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
626 multiarch for powerpc64.
627 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
628 for POWER7/powerpc64.
629 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
630 memmove for POWER7/powerpc64.
632 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
635 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
636 __ELF_NATIVE_CLASS equal to 64.
638 2014-07-07 Roland McGrath <roland@hack.frob.com>
640 * sysdeps/nptl/lowlevellock.h: File removed.
642 * NEWS: NPTL is no longer an add-on!
643 * nptl/internaltypes.h: Moved ...
644 * sysdeps/nptl/internaltypes.h: ... here.
645 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
646 * sysdeps/nptl/fork.c: Likewise.
647 * sysdeps/nptl/gai_misc.h: Likewise.
648 * sysdeps/nptl/librt-cancellation.c: Likewise.
649 * sysdeps/nptl/jmp-unwind.c: Likewise.
650 * sysdeps/nptl/setxid.h: Likewise.
651 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
652 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
653 * sysdeps/unix/sysv/linux/arm/Implies: New file.
654 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
655 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
656 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
657 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
658 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
659 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
660 * sysdeps/unix/sysv/linux/mips/Implies: New file.
661 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
662 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
663 * sysdeps/unix/sysv/linux/sh/Implies: New file.
664 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
665 * sysdeps/unix/sysv/linux/tile/Implies: New file.
666 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
667 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
668 * nptl/Makeconfig: Moved ...
669 * sysdeps/nptl/Makeconfig: ... here.
670 * nptl/configure: File removed.
671 * nptl/ANNOUNCE: File removed.
672 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
673 * sysdeps/unix/sysv/linux/configure: Regenerated.
675 * nptl/Makefile (routines): Add libc_pthread_init,
676 libc_multiple_threads, register-atfork and unregister-atfork.
677 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
678 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
679 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
680 pthread-pi-defines.sym, structsem.sym.
681 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
682 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
683 [$(subdir) = nptl] (tests): Add tst-setgetname.
684 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
685 * sysdeps/unix/sysv/linux/sigaction.c: Just include
686 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
687 [!LIBC_SIGACTION]: Remove aliases.
688 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
689 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
690 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
691 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
692 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
693 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
694 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
695 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
696 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
697 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
698 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
699 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
700 __libc_allocate_rtsig_private.
701 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
702 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
703 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
704 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
705 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
706 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
707 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
708 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
709 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
710 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
711 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
712 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
713 * nptl/internaltypes.h: ... here.
714 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
715 * sysdeps/nptl/jmp-unwind.c: ... here.
716 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
717 * nptl/libc-lowlevellock.c: ... here.
718 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
719 * nptl/libc_multiple_threads.c: ... here.
720 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
721 * nptl/libc_pthread_init.c: ... here.
722 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
723 * nptl/lowlevelbarrier.sym: ... here.
724 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
725 * nptl/lowlevelcond.sym: ... here.
726 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
727 * nptl/lowlevellock.c: ... here.
728 * nptl/lowlevellock.h: Moved ...
729 * sysdeps/nptl/lowlevellock.h: ... here.
730 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
731 * nptl/lowlevelrobustlock.c: ... here.
732 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
733 * nptl/lowlevelrobustlock.sym: ... here.
734 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
735 * nptl/lowlevelrwlock.sym: ... here.
736 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
737 * nptl/pt-fork.c: ... here.
738 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
739 * nptl/pthread-pi-defines.sym: ... here.
740 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
741 * nptl/pthread_attr_getaffinity.c: ... here.
742 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
743 * nptl/pthread_attr_setaffinity.c: ... here.
744 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
745 * nptl/pthread_mutex_cond_lock.c: ... here.
746 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
748 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
749 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
750 * nptl/pthread_once.c: ... here, replacing old file.
751 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
752 * nptl/pthread_yield.c: ... here.
753 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
754 * nptl/register-atfork.c: ... here.
755 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
756 * nptl/sem_post.c: ... here.
757 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
758 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
759 * nptl/sem_timedwait.c: ... here.
760 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
761 * nptl/sem_trywait.c: ... here.
762 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
763 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
764 * nptl/sem_wait.c: ... here.
765 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
766 * nptl/structsem.sym: ... here.
767 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
768 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
769 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
770 * nptl/unregister-atfork.c: ... here.
771 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
772 * nptl/unwindbuf.sym: ... here.
773 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
774 * sysdeps/nptl/fork.c: ... here.
775 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
776 * sysdeps/nptl/fork.h: ... here.
777 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
778 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
779 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
780 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
781 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
782 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
783 * sysdeps/unix/sysv/linux/getpid.c: ... here.
784 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
785 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
786 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
787 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
788 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
789 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
790 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
791 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
792 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
793 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
794 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
795 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
796 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
797 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
798 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
799 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
800 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
801 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
802 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
803 * sysdeps/unix/sysv/linux/raise.c: ... here.
804 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
805 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
806 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
807 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
808 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
809 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
810 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
811 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
812 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
813 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
814 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
815 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
816 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
817 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
818 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
820 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
822 * sysdeps/generic/memcopy.h: Add comment for
823 MEMCPY_OK_FOR_FWD_MEMMOVE.
825 2014-07-04 Will Newton <will.newton@linaro.org>
827 * string/memchr.c: Merge from gnulib.
828 [_LIBC]: Remove conditionals.
829 (__ptr_t): Remove define.
830 (LONG_MAX_32_BITS): Likewise.
831 (LONG_MAX): Likewise.
832 (MEMCHR): Use ANSI prototype and optimize algorithm.
834 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
836 2014-07-03 Roland McGrath <roland@hack.frob.com>
838 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
839 (lll_futex_timed_wait_bitset): Fix syscall argument count.
841 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
842 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
843 in a bare environment with no <stdlib.h> installed.
844 * sysdeps/nptl/configure: Regenerated.
846 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
848 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
849 AC_EGREP_CPP for kernel header checks, so they only succeed if
850 including <linux/version.h> actually works right.
851 * sysdeps/unix/sysv/linux/configure: Regenerated.
853 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
854 value so it's not diagnosed as unused.
856 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
857 thing) with "ifeq ($(subdir),rt)".
859 2014-07-03 Richard Henderson <rth@redhat.com>
861 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
862 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
863 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
865 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
866 (math_force_eval): New.
868 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
869 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
871 * sysdeps/alpha/fpu/s_round.c: Remove file.
872 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
874 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
875 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
876 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
877 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
878 (_dl_start, print_statistics): Likewise.
879 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
880 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
882 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
883 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
884 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
885 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
886 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
887 (HP_SMALL_TIMING_AVAIL): Define.
888 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
889 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
890 (HP_SMALL_TIMING_AVAIL): Define.
891 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
892 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
894 * sysdeps/aarch64/hp-timing.h: New file.
896 * sysdeps/generic/hp-timing.h: Remove dead comment.
897 * sysdeps/generic/hp-timing-common.h: New file.
898 * sysdeps/alpha/hp-timing.h: Include it.
899 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
900 * sysdeps/i386/i686/hp-timing.h: Likewise.
901 * sysdeps/ia64/hp-timing.h: Likewise.
902 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
903 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
904 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
905 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
906 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
907 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
910 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
911 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
912 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
913 * elf/rtld.c (_dl_start_final): Likewise.
914 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
915 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
916 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
917 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
918 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
919 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
920 (HP_TIMING_DIFF_INIT): Remove.
921 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
922 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
923 (HP_TIMING_DIFF_INIT): Remove.
924 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
925 * sysdeps/i386/i686/hp-timing.c: Remove file.
926 * sysdeps/x86_64/hp-timing.c: Remove file.
927 * sysdeps/ia64/hp-timing.c: Remove file.
928 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
929 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
930 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
931 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
933 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
934 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
935 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
936 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
937 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
938 (HP_TIMING_ACCUM): Remove.
939 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
940 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
941 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
943 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
944 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
945 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
946 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
947 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
948 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
949 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
950 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
952 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
954 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
956 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
958 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
960 Sync up with gettext.
961 * intl/loadmsgcat.c: Define O_BINARY if not defined.
962 [_MSC_VER]: Include malloc.h
963 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
964 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
965 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
966 TEMP_FAILURE_RETRY. Cast return of alloca.
967 [!_LIBC] Call gl_rwlock_init.
968 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
970 2014-07-02 Roland McGrath <roland@hack.frob.com>
972 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
973 before checking its value.
975 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
977 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
979 * debug/memcpy_chk.c: Don't include pagecopy.h.
980 * debug/mempcpy_chk.c: Likewise.
981 * string/memcpy.c: Likewise.
982 * string/memmove.c: Likewise.
983 * sysdeps/powerpc/memmove.c: Likewise.
984 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
985 definition of PAGE_COPY_FWD_MAYBE here...
986 * sysdeps/generic/pagecopy.h: ... from here.
987 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
989 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
990 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
992 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
993 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
995 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
996 (__libc_ifunc_impl_list): Likewise.
997 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
998 multiarch strcat for PPC64.
999 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1000 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1002 2014-07-02 Roland McGrath <roland@hack.frob.com>
1004 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1006 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1008 * intl/loadmsgcat.c: Remove declaration of
1009 get_sysdep_segment_value.
1010 (get_sysdep_segment_value): Use ISO C style.
1011 (_nl_load_domain): Use ISO C style. Get rid of redundant
1012 semicolon. Fix typo and formatting in comment.
1013 (_nl_unload_domain): Use ISO C style.
1015 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1017 2014-07-02 Will Newton <will.newton@linaro.org>
1019 * malloc/obstack.c: Merge from gnulib master.
1020 [HAVE_CONFIG_H]: Remove conditional code.
1021 [!_LIBC]: Include config.h.
1022 [!ELIDE_CODE]: Don't include inttypes.h, include
1023 stdint.h unconditionally.
1024 (print_and_abort): Mark as _Noreturn.
1025 (_obstack_allocated_p): Mark as __attribute_pure__.
1026 (obstack_free): Rename to __obstack_free.
1027 [!__attribute__]: Remove conditional code.
1028 * malloc/obstack.h: Merge from gnulib master.
1029 [__cplusplus]: Move conditional down.
1030 [!__attribute_pure__]: Define __attribute_pure__ here
1031 if it is not already defined.
1032 (_obstack_memory_used): Mark as __attribute_pure__.
1033 [!__obstack_free]: Define as obstack_free.
1034 [__GNUC__]: Remove check for ancient NeXT gcc.
1036 2014-07-02 Will Newton <will.newton@linaro.org>
1037 Paul Eggert <eggert@cs.ucla.edu>
1039 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1041 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1043 * resolv/gethnamaddr.c: Add comment warning that the file is
1046 2014-07-01 Carlos O'Donell <carlos@redhat.com>
1048 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1051 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1052 entry for aio_cancel and aio_cancel64.
1053 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1054 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1055 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1056 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1057 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1058 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1059 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1060 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1061 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1062 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1063 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1064 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1065 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1067 2014-07-01 Roland McGrath <roland@hack.frob.com>
1069 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1070 * nptl/pthread_mutex_lock.c: Likewise.
1071 * nptl/pthread_mutex_timedlock.c: Likewise.
1072 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1074 2014-07-01 Richard henderson <rth@redhat.com>
1076 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1077 (__isnan, __isnanl): Remove.
1078 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1080 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1082 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1084 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1086 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1088 * resolv/nss_dns/dns-host.c (getanswer_r)
1089 [MULTI_PTRS_ARE_ALIASES]: Remove code.
1091 2014-07-01 Joseph Myers <joseph@codesourcery.com>
1093 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1094 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1096 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1097 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1099 2014-07-01 Roland McGrath <roland@hack.frob.com>
1101 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1102 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1104 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1105 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1107 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1108 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1110 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1111 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1113 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1114 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1115 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1116 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1118 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1119 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1120 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1121 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1122 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1124 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1126 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1127 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1128 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1129 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1130 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1131 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1132 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1133 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1134 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1135 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1136 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1137 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1138 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1139 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1140 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1141 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1142 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1143 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1144 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1145 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1147 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1148 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1149 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1150 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1151 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1152 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1153 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1154 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1156 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
1158 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1159 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1160 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1163 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1167 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1169 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1170 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1172 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1174 * sysdeps/arm/libm-test-ulps: Regenerated.
1176 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1177 Roland McGrath <roland@hack.frob.com>
1179 * test-skeleton.c (signal_handler): Kill the whole process group
1180 before killing the child individually.
1181 (main): Report any failure on `setpgid'.
1183 2014-06-30 Roland McGrath <roland@hack.frob.com>
1185 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1186 from _TLS_H to _ARM_NPTL_TLS_H.
1187 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1188 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1190 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1193 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1194 (__expm1l): Return argument unchanged when small but not
1197 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1199 (_FP_UNPACK_RAW_1_P): Likewise.
1200 (_FP_PACK_RAW_1): Likewise.
1201 (_FP_PACK_RAW_1_P): Likewise.
1202 (_FP_MUL_MEAT_1_wide): Likewise.
1203 (_FP_MUL_MEAT_DW_1_hard): Likewise.
1204 (_FP_MUL_MEAT_1_hard): Likewise.
1205 (_FP_DIV_MEAT_1_imm): Likewise.
1206 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1207 (_FP_DIV_MEAT_1_udiv): Likewise.
1208 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1209 (_FP_UNPACK_RAW_2): Likewise.
1210 (_FP_UNPACK_RAW_2_P): Likewise.
1211 (_FP_PACK_RAW_2): Likewise.
1212 (_FP_PACK_RAW_2_P): Likewise.
1213 (_FP_MUL_MEAT_DW_2_wide): Likewise.
1214 (_FP_MUL_MEAT_2_wide): Likewise.
1215 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1216 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1217 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1218 (_FP_MUL_MEAT_2_gmp): Likewise.
1219 (_FP_DIV_MEAT_2_udiv): Likewise.
1220 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1221 (_FP_FRAC_SRL_4): Likewise.
1222 (_FP_FRAC_SRST_4): Likewise.
1223 (_FP_FRAC_SRS_4): Likewise.
1224 (_FP_UNPACK_RAW_4): Likewise.
1225 (_FP_UNPACK_RAW_4_P): Likewise.
1226 (_FP_PACK_RAW_4): Likewise.
1227 (_FP_PACK_RAW_4_P): Likewise.
1228 (_FP_MUL_MEAT_DW_4_wide): Likewise.
1229 (_FP_MUL_MEAT_4_wide): Likewise.
1230 (_FP_MUL_MEAT_4_gmp): Likewise.
1231 (umul_ppppmnnn): Likewise.
1232 (_FP_DIV_MEAT_4_udiv): Likewise.
1233 (__FP_FRAC_ADD_4): Likewise.
1234 (__FP_FRAC_SUB_3): Likewise.
1235 (__FP_FRAC_SUB_4): Likewise.
1236 (__FP_FRAC_DEC_3): Likewise.
1237 (__FP_FRAC_DEC_4): Likewise.
1238 (__FP_FRAC_ADDI_4): Likewise.
1239 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1240 (_FP_FRAC_SRL_8): Likewise.
1241 (_FP_FRAC_SRS_8): Likewise.
1243 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1245 (FP_UNPACK_RAW_EP): Likewise.
1246 (FP_PACK_RAW_E): Likewise.
1247 (FP_PACK_RAW_EP): Likewise.
1248 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1249 (_FP_ISSIGNAN): Likewise.
1250 (_FP_ADD_INTERNAL): Likewise.
1251 (_FP_FMA): Likewise.
1252 (_FP_CMP): Likewise.
1253 (_FP_SQRT): Likewise.
1254 (_FP_TO_INT): Likewise.
1255 (_FP_FROM_INT): Likewise.
1256 (FP_EXTEND): Likewise.
1257 (_FP_DIV_MEAT_N_loop): Likewise.
1259 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1261 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1264 2014-06-29 Joseph Myers <joseph@codesourcery.com>
1267 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1268 result with correct sign in case of exponents that produce
1269 overflow except for X very close to 1.
1271 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
1273 mktime: merge #if/#ifdef usage from glibc
1274 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1275 as that works with both Glibc's and Gnulib's style.
1276 See thread starting at Siddhesh Poyarekar's bug report at:
1277 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1279 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1281 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1282 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1283 * sysdeps/tile/tilegx/memmove.c: Remove file.
1285 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1287 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1288 abi-name definition.
1289 * scripts/soversions.awk: Do not handle or generate ABI lines.
1290 * shlib-versions: Remove ABI entries.
1291 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1292 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1294 2014-06-27 Roland McGrath <roland@hack.frob.com>
1296 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1297 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1298 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1299 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1300 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1301 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1302 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1304 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1306 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1307 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1308 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1309 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1310 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1311 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1312 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1313 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1314 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1315 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1316 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1317 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1318 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1320 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1321 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1322 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1323 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1324 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1325 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1327 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1328 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1330 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1331 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1332 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1333 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1335 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1336 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1337 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1338 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1339 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1340 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1341 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1342 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1344 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1345 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1346 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1347 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1349 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1350 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1352 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1353 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1354 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1355 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1357 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1359 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1360 Identical file removed.
1361 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1363 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1364 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1365 Identical file removed.
1366 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1367 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1368 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1370 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1371 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1372 Identical file removed.
1373 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1374 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1375 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1376 Identical file removed.
1377 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1378 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1379 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1380 Identical file removed.
1381 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1382 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1383 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1384 Identical file removed.
1385 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1387 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1388 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1389 Identical file removed.
1390 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1392 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1393 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1394 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1395 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1396 Identical file removed.
1397 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1399 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1401 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1402 Identical file removed.
1403 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1405 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1406 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1407 Identical file removed.
1408 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1410 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1411 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1412 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1413 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1414 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1415 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1417 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1418 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1419 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1421 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1422 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1423 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1424 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1425 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1427 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
1430 * nscd/nscd.c (monitor_child): Return exit status of child
1431 instead of return value from wait syscall.
1433 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1435 * configure.ac (libc_commonpagesize): Remove variable.
1436 (libc_relro_required): Likewise.
1437 (libc_cv_z_relro): Remove configure test.
1438 * configure: Regenerated.
1439 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1441 (libc_relro_required): Likewise.
1442 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1443 (libc_relro_required): Likewise.
1444 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1445 (libc_relro_required): Likewise.
1446 * sysdeps/arm/preconfigure: Regenerated.
1447 * sysdeps/ia64/preconfigure: Remove file.
1448 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1450 (libc_relro_required): Likewise.
1454 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1455 (__ieee754_yn): Set FE_TONEAREST mode internally and then
1456 recompute overflowing results in original rounding mode.
1457 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1458 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1459 recompute overflowing results in original rounding mode.
1460 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1461 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1462 recompute overflowing results in original rounding mode.
1463 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1464 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1465 recompute overflowing results in original rounding mode.
1466 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1467 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1468 recompute overflowing results in original rounding mode.
1469 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1470 (libc_feholdsetround_ctx): New macro.
1471 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1472 * sysdeps/i386/fpu/libm-test-ulps: Update.
1473 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1475 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1477 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1478 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1479 corresponding .cpsetup call.
1481 2014-06-26 Roland McGrath <roland@hack.frob.com>
1483 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1484 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1485 * sysdeps/arm/Makefile [$(subdir) = csu]
1486 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1487 (static-only-routines): Add aeabi_read_tp here.
1488 (shared-only-routines): Add libc-aeabi_read_tp here.
1489 (CFLAGS-libc-start.c): Add -fexceptions here.
1490 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1491 (sysdep_routines, static-only-routines, shared-only-routines):
1492 Don't add to these here.
1493 (CFLAGS-libc-start.c): Likewise.
1495 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1496 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1497 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1498 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1499 * sysdeps/arm/Makefile [$(subdir) = rt]
1500 (librt-sysdep_routines, librt-shared-only-routines):
1501 Append rt-aeabi_unwind_cpp_pr1 here.
1502 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1503 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1504 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1505 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1506 Append nptl-aeabi_unwind_cpp_pr1 here.
1507 (tests): Filter out tst-cleanupx4 here.
1508 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1509 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1510 Don't do those here.
1512 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1514 * scripts/list-sources.sh: Do not handle ports specially.
1516 2014-06-26 Roland McGrath <roland@hack.frob.com>
1518 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1519 * sysdeps/arm/feupdateenv.c: Likewise.
1521 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1523 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1525 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1526 trailing whitespace removed.
1527 * scripts/config.guess: Update to version 2014-03-23.
1528 * scripts/config.sub: Update to version 2014-05-01
1529 * scripts/install-sh: Update to version 2013-12-25.23.
1530 * scripts/move-if-change: Update from gnulib.
1532 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1534 * debug/memmove_chk.c: Remove pagecopy.h include.
1536 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1538 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1539 identical to gnulib mktime.
1541 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1543 * configure.ac: Do not test for machine being rs6000. Do not test
1545 * configure: Regenerated.
1547 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1549 * configure: Regenerated.
1550 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1551 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1552 Remove configure test.
1553 * sysdeps/arm/configure: Regenerated.
1554 * sysdeps/nptl/configure.ac: Do not check
1555 libc_cv_asm_cfi_directives.
1556 * sysdeps/nptl/configure: Regenerated.
1557 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1558 * sysdeps/x86_64/nptl/configure: Remove generated file.
1559 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1561 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1563 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1565 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1566 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1567 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1570 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1571 instead of whether it is defined.
1572 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1573 * sysdeps/hppa/dl-machine.h: Likewise.
1574 * sysdeps/ia64/dl-machine.h: Likewise.
1575 * sysdeps/m68k/dl-machine.h: Likewise.
1576 * sysdeps/microblaze/dl-machine.h: Likewise.
1577 * sysdeps/mips/dl-machine.: Likewise.
1578 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1579 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1580 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1581 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1582 * sysdeps/sh/dl-machine.h: Likewise.
1583 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1584 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1585 * sysdeps/tile/dl-machine.h: Likewise.
1586 * sysdeps/x86_64/dl-machine.h: Likewise.
1588 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1590 (verify_persistent_db): Likewise.
1592 2014-06-26 Roland McGrath <roland@hack.frob.com>
1594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1595 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1597 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1600 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1603 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1604 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1605 Identical file removed.
1606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1607 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1609 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1611 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1613 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1615 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1618 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1620 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1622 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1625 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1627 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1629 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1631 Identical file removed.
1632 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1633 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1635 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1636 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1638 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1641 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1643 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1645 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1647 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1649 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1650 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1652 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1653 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1655 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1657 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1660 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1661 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1662 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1664 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1666 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1667 * sysdeps/unix/sysv/linux/s390/Versions
1668 (libpthread: GLIBC_2.19): New version set.
1669 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1670 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1671 (librt: GLIBC_2.3.3): New version set.
1672 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1673 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1674 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1675 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1676 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1677 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1678 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1679 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1680 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1681 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1682 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1683 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1684 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1685 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1686 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1687 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1688 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1689 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1690 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1691 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1692 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1693 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1694 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1695 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1696 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1697 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1698 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1699 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1700 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1701 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1702 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1703 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1704 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1705 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1706 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1707 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1708 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1709 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1710 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1711 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1712 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1713 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1714 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1715 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1716 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1718 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1719 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1720 (__libc_vfork): Define the function under this name.
1721 [!NOT_IN_libc] (__vfork): Make this an alias.
1722 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1723 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1724 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1725 (__libc_vfork): Define the function under this name.
1726 [!NOT_IN_libc] (__vfork): Make this an alias.
1727 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1728 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1729 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1730 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1731 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1732 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1734 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1735 code that was previously under [RESET_PID].
1736 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1737 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1738 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1740 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1741 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1742 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1743 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1744 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1745 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1746 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1747 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1748 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1749 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1750 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1752 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1753 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1754 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1755 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1756 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1757 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1758 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1759 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1760 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1761 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1762 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1763 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1764 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1765 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1766 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1767 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1768 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1769 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1770 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1771 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1772 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1773 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1774 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1775 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1776 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1777 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1778 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1779 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1780 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1782 2014-06-25 Roland McGrath <roland@hack.frob.com>
1784 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1785 that was previously under [RESET_PID].
1786 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1788 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1790 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1791 not undefine and redefine.
1792 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1793 [O_CLOEXEC]: Make code unconditional.
1794 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1795 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1796 <kernel-features.h>.
1797 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1798 conditional variable definition.
1799 (shm_open) [O_CLOEXEC]: Make code unconditional.
1800 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1803 * configure.ac (USE_REGPARMS): Don't define here.
1804 * configure: Regenerated.
1805 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1806 * sysdeps/i386/configure: Regenerated.
1808 * nptl/createthread.c: Don't include kernel-features.h.
1809 * nptl/pthread_cancel.c: Likewise.
1810 * nptl/pthread_condattr_setclock.c: Likewise.
1811 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1812 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1813 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1814 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1815 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1816 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1817 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1818 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1819 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1820 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1821 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1822 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1823 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1824 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1825 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1826 * nscd/gai.c: Likewise.
1827 * nss/nss_db/db-open.c: Likewise.
1828 * sysdeps/generic/ldsodefs.h: Likewise.
1829 * sysdeps/sh/nptl/tls.h: Likewise.
1830 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1831 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1832 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1833 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1834 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1835 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1836 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1837 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1838 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1839 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1840 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1841 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1842 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1843 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1844 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1845 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1846 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1847 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1848 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1849 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1850 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1851 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1852 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1853 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1854 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1855 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1856 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1857 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1858 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1859 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1860 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1861 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1862 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1863 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1864 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1865 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1866 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1867 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1868 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1869 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1870 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1871 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1872 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1873 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1874 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1875 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1876 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1877 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1878 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1879 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1880 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1881 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1882 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1883 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1884 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1885 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1886 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1887 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1910 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1911 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1912 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1913 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1914 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1915 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1916 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1917 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1918 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1919 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1920 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1921 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1922 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1923 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1924 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1925 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1926 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1927 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1928 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1929 * sysdeps/unix/sysv/linux/system.c: Likewise.
1930 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1931 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1932 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1933 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1934 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1935 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1936 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1938 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1939 * configure: Regenerated.
1940 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1942 * configure.ac (base_machine): Do not set specially for particular
1944 * configure: Regenerated.
1945 * sysdeps/powerpc/preconfigure: Move machine and base_machine
1946 settings from configure.ac.
1947 * sysdeps/i386/preconfigure: New file.
1948 * sysdeps/s390/preconfigure: Likewise.
1949 * sysdeps/sh/preconfigure: Likewise.
1950 * sysdeps/sparc/preconfigure: Likewise.
1952 2014-06-25 Roland McGrath <roland@hack.frob.com>
1954 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1955 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1956 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1957 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1958 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1959 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1960 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1961 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1962 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1963 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1964 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1965 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1966 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1967 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1968 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1969 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1970 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1971 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1972 * sysdeps/sparc/sparc64/Makefile: ... appended here.
1974 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1975 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1976 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1977 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1978 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1979 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1980 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1981 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1982 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1983 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1984 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1985 * sysdeps/sparc/sparc32/sem_post.c: ... here.
1986 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1987 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1988 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1989 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1990 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1991 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1992 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1993 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1994 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1995 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1996 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1997 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1998 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1999 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2000 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2001 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2002 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2003 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2004 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2005 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2006 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2007 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2008 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2009 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2010 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2011 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2013 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2014 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2015 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2016 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2017 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2019 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2021 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2022 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2023 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2024 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2025 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2027 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2028 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2029 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2030 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2031 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2032 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2033 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2034 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2036 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2039 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2040 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2041 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2042 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2044 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2046 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2047 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2048 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2049 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2050 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2051 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2052 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2053 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2055 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2057 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2058 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2059 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2060 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2061 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2063 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2064 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2065 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2066 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2067 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2068 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2069 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2070 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2072 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2075 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2077 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2078 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2080 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2081 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2082 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2083 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2084 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2086 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2088 * timezone/checktab.awk: Update from tzcode 2014e.
2089 * timezone/private.h: Likewise.
2090 * timezone/tzfile.h: Likewise.
2091 * timezone/zdump.c: Likewise.
2092 * timezone/zic.c: Likewise.
2094 * sysdeps/unix/sysv/linux/kernel-features.h
2095 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2096 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2097 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2098 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2099 Remove conditional code.
2101 2014-06-25 Will Newton <will.newton@linaro.org>
2103 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2104 (_dl_arm_cap_flags): Add HWCAP2 values.
2105 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2106 (_DL_HWCAP_COUNT): Increase to 37.
2107 (_DL_HWCAP_LAST): New define.
2108 (_DL_HWCAP2_LAST): New define.
2109 (_dl_procinfo): Add support for printing
2111 (_dl_string_hwcap): Use _dl_hwcap_string.
2113 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2115 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2117 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2119 * README: Do not mention ports directory.
2121 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2123 * sysdeps/unix/sysv/linux/futimes.c: Do not include
2124 <kernel-features.h>.
2125 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2126 conditional variable definition.
2127 (__futimes): Update comment.
2128 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2129 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2132 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2133 arguments close to 0.
2134 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2136 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2138 * math/auto-libm-test-in: Add more tests of exp10.
2139 * math/auto-libm-test-out: Regenerated.
2140 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2142 * sysdeps/unix/sysv/linux/kernel-features.h
2143 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2144 * sysdeps/unix/sysv/linux/readv.c: Do not include
2145 <kernel-features.h>.
2146 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2147 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2148 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2150 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2152 * sysdeps/unix/sysv/linux/writev.c: Do not include
2153 <kernel-features.h>.
2154 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2155 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2156 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2158 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2161 2014-06-25 Will Newton <will.newton@linaro.org>
2163 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2164 comment changes throughout the file. Remove checks
2165 for HAVE_*_H definitions that are not required.
2166 (__gen_tempname): Call abort if an unknown kind value is
2169 2014-06-25 Andreas Schwab <schwab@suse.de>
2172 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2173 scalbln, scalblnf, scalblnl in libc.
2175 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2178 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2179 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2180 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2182 2014-06-24 Roland McGrath <roland@hack.frob.com>
2184 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2185 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2186 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2187 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2189 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2190 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2192 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2193 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2194 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2195 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2196 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2197 * sysdeps/x86/bits/pthreadtypes.h: ... here.
2198 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2199 * sysdeps/x86/bits/semaphore.h: ... here.
2200 * sysdeps/x86/nptl/elide.h: Moved ...
2201 * sysdeps/x86/elide.h: ... here.
2202 * sysdeps/x86_64/nptl/Implies: File removed.
2203 * sysdeps/i386/nptl/Implies: File removed.
2205 2014-06-24 Joseph Myers <joseph@codesourcery.com>
2208 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2209 return the argument for normal arguments with exponent below -64.
2210 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2212 * math/auto-libm-test-in: Add another test of expm1.
2213 * math/auto-libm-test-out: Regenerated.
2216 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2217 calling __erfcl for arguments at least 16.
2218 * math/auto-libm-test-in: Add more tests of erf.
2219 * math/auto-libm-test-out: Regenerated.
2221 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2222 individual architectures.
2223 * sysdeps/unix/sysv/linux/configure: Regenerated.
2224 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2225 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2226 * sysdeps/unix/sysv/linux/powerpc/configure.ac
2227 (ldd_rewrite_script): Define variable.
2228 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2233 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2234 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2235 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2236 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2237 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2238 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2239 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2240 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2242 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2245 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2246 Rename member __data.d to __data.__elision_data.
2248 2014-06-24 Wilco <wdijkstr@arm.com>
2250 * NEWS: Add 16918 to fixed bug list.
2252 2014-06-24 Wilco <wdijkstr@arm.com>
2254 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2256 2014-06-24 Wilco <wdijkstr@arm.com>
2258 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2259 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2260 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2261 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2262 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2263 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2264 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2267 2014-06-24 Wilco <wdijkstr@arm.com>
2269 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2271 2014-06-24 Wilco <wdijkstr@arm.com>
2273 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2274 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2275 * sysdeps/arm/fesetround.c (fesetround): Remove space.
2276 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2278 2014-06-24 Wilco <wdijkstr@arm.com>
2281 * sysdeps/arm/feupdateenv.c (feupdateenv):
2282 Rewrite to reduce FPSCR accesses and fix return value.
2284 2014-06-24 Wilco <wdijkstr@arm.com>
2286 * sysdeps/arm/fclrexcpt.c (feclearexcept):
2287 Optimize to avoid unnecessary FPSCR writes.
2288 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2289 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2290 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2291 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2293 2014-06-24 Wilco <wdijkstr@arm.com>
2295 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2296 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2297 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2298 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2299 Call libc_fetestexcept_vfp.
2300 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2301 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2302 __SOFTFP__ ifdef so that they can be built for softfp.
2304 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2306 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2307 argument type signed char.
2309 * Makerules (check-abi): Dump diff of symlist if the test
2312 2014-06-23 Roland McGrath <roland@hack.frob.com>
2314 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2317 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2318 Remove unused variable ST.
2320 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2324 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2325 small arguments before calling __expm1.
2326 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2327 small arguments before calling __expm1f.
2328 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2329 small arguments before calling __expm1l.
2330 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2332 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2333 * math/auto-libm-test-in: Add more cosh tests. Do not allow
2334 spurious underflow for some cosh tests.
2335 * math/auto-libm-test-out: Regenerated.
2336 * sysdeps/i386/fpu/libm-test-ulps: Update.
2339 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2340 (__ieee754_y1): Set errno if return value overflows.
2341 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2342 (__ieee754_y1f): Set errno if return value overflows.
2343 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2344 (__ieee754_y1l): Set errno if return value overflows.
2345 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2346 (__ieee754_y1l): Set errno if return value overflows.
2347 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2348 * math/auto-libm-test-out: Regenerated.
2350 * math/gen-auto-libm-tests.c: Document use of
2351 ignore-zero-inf-sign.
2352 (input_flag_type): Add value flag_ignore_zero_inf_sign.
2353 (input_flags): Add ignore-zero-inf-sign.
2354 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2355 * math/gen-libm-test.pl (generate_testfile): Handle
2356 ignore-zero-inf-sign.
2357 * math/auto-libm-test-in: Mark some cpow tests with
2358 ignore-zero-inf-sign and some with xfail-rounding.
2359 * math/auto-libm-test-out: Regenerated.
2360 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2361 * sysdeps/i386/fpu/libm-test-ulps: Update.
2362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2365 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2366 overflowing or underflowing operations take place with sign of
2368 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2369 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2370 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2371 (__ieee754_pow): Recompute overflowing and underflowing results in
2372 original rounding mode.
2373 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2374 (__powl_helper): Allow negative argument X and scale negated value
2375 as needed. Avoid passing value outside [-1, 1] to f2xm1.
2376 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2377 overflowing or underflowing operations take place with sign of
2379 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2381 * math/auto-libm-test-in: Add more tests of pow.
2382 * math/auto-libm-test-out: Regenerated.
2383 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2384 (pow_tonearest_test_data): Remove.
2385 (pow_test_tonearest): Likewise.
2386 (pow_towardzero_test_data): Likewise.
2387 (pow_test_towardzero): Likewise.
2388 (pow_downward_test_data): Likewise.
2389 (pow_test_downward): Likewise.
2390 (pow_upward_test_data): Likewise.
2391 (pow_test_upward): Likewise.
2392 (main): Don't call removed functions.
2393 * sysdeps/i386/fpu/libm-test-ulps: Update.
2394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2396 2014-06-23 Roland McGrath <roland@hack.frob.com>
2398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2572 2014-06-23 Will Newton <will.newton@linaro.org>
2573 Wilco <wdijkstr@arm.com>
2575 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2576 implementation. Include get-rounding-mode.h.
2577 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2578 [!libc_feholdsetround_noex_ctx]: Define
2579 libc_feholdsetround_noex_ctx.
2580 [!libc_feholdsetround_noexf_ctx]: Define
2581 libc_feholdsetround_noexf_ctx.
2582 [!libc_feholdsetround_noexl_ctx]: Define
2583 libc_feholdsetround_noexl_ctx.
2584 (libc_feholdsetround_ctx): New function.
2585 (libc_feresetround_ctx): New function.
2586 (libc_feholdsetround_noex_ctx): New function.
2587 (libc_feresetround_noex_ctx): New function.
2589 2014-06-23 Roland McGrath <roland@hack.frob.com>
2591 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2592 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2593 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2594 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2595 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2596 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2598 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2599 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2600 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2601 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2602 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2603 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2604 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2605 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2606 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2607 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2608 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2610 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2612 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2613 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2614 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2615 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2616 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2618 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2619 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2620 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2621 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2622 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2623 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2624 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2625 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2627 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2628 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2630 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2631 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2632 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2633 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2635 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2636 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2637 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2638 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2639 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2640 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2641 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2642 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2643 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2644 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2646 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2648 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2649 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2650 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2651 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2652 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2653 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2654 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2655 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2656 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2657 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2658 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2659 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2660 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2662 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2663 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2664 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2665 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2666 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2667 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2669 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2670 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2671 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2672 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2673 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2675 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2676 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2677 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2678 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2679 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2680 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2681 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2682 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2683 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2684 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2685 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2686 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2687 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2688 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2689 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2690 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2691 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2692 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2693 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2694 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2695 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2696 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2697 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2698 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2699 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2700 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2701 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2702 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2704 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2706 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2707 (FALLOC_FL_COLLAPSE_RANGE): New macro.
2708 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2709 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2710 (IPV6_PMTUDISC_INTERFACE): Likewise.
2711 (IPV6_PMTUDISC_OMIT): Likewise.
2713 2014-06-23 Andreas Schwab <schwab@suse.de>
2715 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2716 Remove unused errout label.
2718 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2720 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2721 macro: hardware supports Vector Crypto instructions.
2723 2014-06-23 Will Newton <will.newton@linaro.org>
2725 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2726 rather than __builtin_expect.
2728 * elf/dl-lookup.c (undefined_msg): Remove variable.
2729 (_dl_lookup_symbol_x): Replace undefined_msg with string
2732 * elf/dl-lookup.c (do_lookup_unique): New function.
2733 (do_lookup_x): Move STB_GNU_UNIQUE handling code
2734 to a separate function.
2736 2014-06-23 Andreas Schwab <schwab@suse.de>
2739 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2740 before reading the next line.
2742 2014-06-23 Will Newton <will.newton@linaro.org>
2744 * test-skeleton.c (signal_handler): Use printf and %m
2745 rather than perror. Use printf rather than fprintf to
2746 stderr. Use puts rather than fputs to stderr.
2749 2014-06-22 Ludovic Courtès <ludo@gnu.org>
2751 * nscd/nscd.c (thread_info_t): Remove typedef.
2752 (thread_info): Remove variable.
2754 2014-06-21 Allan McRae <allan@archlinux.org>
2756 * NEWS: Mention CVE-2014-4043.
2758 2014-06-20 Roland McGrath <roland@hack.frob.com>
2760 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2761 * nptl/smp.h: ... here.
2763 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2765 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2766 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2767 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2768 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2770 * nptl/allocatestack.c: Include <stack-aliasing.h>.
2771 * nptl/stack-aliasing.h: New file.
2772 * sysdeps/i386/i686/stack-aliasing.h: New file.
2773 * sysdeps/i386/i686/nptl/Makefile: File removed.
2774 * sysdeps/x86_64/stack-aliasing.h: New file.
2775 * sysdeps/x86_64/nptl/Makefile
2776 (CFLAGS-pthread_create.c): Variable removed.
2778 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2779 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2781 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2782 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2785 2014-06-21 Joseph Myers <joseph@codesourcery.com>
2787 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2788 (__ASSUME_SIGFRAME_V2): Remove macro.
2789 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2790 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2791 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2792 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2793 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2794 Declare as function. Remove conditional macro definitions.
2795 (__default_rt_sa_restorer): Likewise.
2796 (__default_sa_restorer_v1): Remove declaration.
2797 (__default_sa_restorer_v2): Likewise.
2798 (__default_rt_sa_restorer_v1): Likewise.
2799 (__default_rt_sa_restorer_v2): Likewise.
2800 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2801 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2802 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2804 2014-06-20 Roland McGrath <roland@hack.frob.com>
2806 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2807 (libpthread-routines): Add sysdep.
2808 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2809 * sysdeps/unix/sysv/linux/sparc/Versions
2810 (libpthread: GLIBC_2.3.3): New version set.
2811 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2812 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2813 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2814 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2815 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
2816 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2818 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2819 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2820 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2821 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2822 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2823 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2824 * sysdeps/sparc/nptl/sem_init.c: ... here.
2825 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2826 * sysdeps/sparc/nptl/sem_post.c: ... here.
2827 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2828 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2829 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2830 * sysdeps/sparc/nptl/sem_wait.c: ... here.
2831 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2832 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2833 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2834 (libpthread-routines): Add cpu_relax.
2835 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2837 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2838 (librt: GLIBC_2.3.3): New version set.
2839 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2840 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2841 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2842 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2843 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2844 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2845 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2846 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2848 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2849 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2850 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2851 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2852 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2853 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2854 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2855 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2856 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2857 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2859 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2861 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2863 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2865 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2867 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2869 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2871 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2873 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2875 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2877 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2879 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2881 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2882 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2883 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2884 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2885 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2886 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2887 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2888 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2889 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2890 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2891 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2893 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2894 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2895 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2896 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2897 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2899 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2901 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2902 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2903 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2904 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2905 * nscd/nscd.c: Likewise.
2906 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2907 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2908 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2909 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2911 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2912 <kernel-features.h>.
2913 (init_mq_netlink): Remove conditional have_sock_cloexec
2914 definitions. Remove code conditional on have_sock_cloexec < 0.
2915 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2916 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2917 * sysdeps/unix/sysv/linux/opensock.c: Do not include
2918 <kernel-features.h>.
2919 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2920 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2922 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2924 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2925 Add tests for memset_chk and memset.
2927 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2930 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2933 * elf/tst-dl-iter-static.c: New file.
2934 * elf/Makefile (tests-static): Add tst-dl-iter-static.
2936 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2939 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2941 * sysdeps/unix/sysv/linux/kernel-features.h
2942 (__ASSUME_F_GETOWN_EX): Remove macro.
2943 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2944 <kernel-features.h>.
2945 (miss_F_GETOWN_EX): Remove variable or macro.
2946 (do_fcntl): Do not check miss_F_GETOWN_EX.
2947 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2949 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2951 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2952 [!__ASSUME_AT_RANDOM]: Remove conditional code.
2953 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2955 * sysdeps/unix/sysv/linux/kernel-features.h
2956 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2957 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2958 [ADJ_OFFSET_SS_READ]: Make code unconditional.
2959 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2961 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2964 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2965 Fix calculation of the symbol's value.
2966 * sysdeps/arm/tst-armtlsdescloc.c: New file.
2967 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2968 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2969 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2970 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2971 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2972 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2973 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2974 (modules-names): Add `tst-armtlsdescmod',
2975 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2976 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2977 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2978 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2979 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2980 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2981 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2982 ($(objpfx)tst-armtlsdescloc): New dependency.
2983 ($(objpfx)tst-armtlsdescextnow): Likewise.
2984 ($(objpfx)tst-armtlsdescextlazy): Likewise.
2985 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2987 * sysdeps/arm/configure: Regenerate.
2989 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2991 * include/fcntl.h (__atfct_seterrno): Remove prototype.
2992 (__atfct_seterrno_2): Likewise.
2993 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2994 <kernel-features.h>.
2995 (__ASSUME_ATFCTS): Do not undefine and redefine.
2996 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2997 (__have_atfcts): Remove conditional definition.
2998 (__fxstatat([__NR_fstatat64]: Make code unconditional.
2999 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3000 unreachable if [__ASSUME_ATFCTS].
3001 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3002 not undefine and redefine.
3003 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3004 <kernel-features.h>.
3005 (faccessat) [__NR_faccessat]: Make code unconditional.
3006 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3007 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3008 <kernel-features.h>.
3009 (fchmodat) [__NR_fchmodat]: Make code unconditional.
3010 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3011 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3012 <kernel-features.h>.
3013 (fchownat) [__NR_fchownat]: Make code unconditional.
3014 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3015 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3016 <kernel-features.h>.
3017 (futimesat) [__NR_futimesat]: Make code unconditional.
3018 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3019 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3020 <kernel-features.h>.
3021 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3022 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3023 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3024 <kernel-features.h>.
3025 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3026 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3027 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3028 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3029 <kernel-features.h>.
3030 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3031 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3032 * sysdeps/unix/sysv/linux/linkat.c: Do not include
3033 <kernel-features.h>.
3034 (linkat) [__NR_linkat]: Make code unconditional.
3035 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3036 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3037 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3038 <kernel-features.h>.
3039 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3040 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3041 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3042 <kernel-features.h>.
3043 (mkdirat) [__NR_mkdirat]: Make code unconditional.
3044 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3045 * sysdeps/unix/sysv/linux/openat.c: Do not include
3046 <kernel-features.h>.
3047 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3048 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3049 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3050 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3051 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3052 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3053 <kernel-features.h>.
3054 (readlinkat) [__NR_readlinkat]: Make code unconditional.
3055 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
3056 result of INLINE_SYSCALL directly, not via int variable.
3057 * sysdeps/unix/sysv/linux/renameat.c: Do not include
3058 <kernel-features.h>.
3059 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3060 (renameat) [__NR_renameat]: Make code unconditional.
3061 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3062 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3063 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3064 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3065 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3066 (__ASSUME_ATFCTS): Do not undefine and redefine.
3067 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3068 <kernel-features.h>.
3069 (symlinkat) [__NR_symlinkat]: Make code unconditional.
3070 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3071 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3072 <kernel-features.h>.
3073 (unlinkat) [__NR_unlinkat]: Make code unconditional.
3074 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3075 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3076 (__ASSUME_ATFCTS): Do not undefine and redefine.
3077 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3078 <kernel-features.h>.
3079 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3080 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3081 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3082 <kernel-features.h>.
3083 (__xmknodat) [__NR_mknodat]: Make code unconditional.
3084 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3086 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3088 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3090 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
3093 * posix/regcomp.c (parse_reg_exp): Deallocate partially
3094 constructed tree before returning error.
3095 * posix/bug-regexp36.c: Expand test case.
3097 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3100 * math/libm-test.inc (scalbln_test_date):
3101 Add errno expectations.
3102 * math/w_scalblnf.c: New File.
3103 Add wrapper which checks for setting errno to ERANGE.
3104 Add weak_alias for corresponding scalbln function.
3105 * math/w_scalbln.c: Likewise.
3106 * math/w_scalblnl.c: Likewise.
3107 * math/Makefile (libm-calls): Add w_scalbln.
3108 * sysdeps/ieee754/flt-32/s_scalblnf.c:
3109 Remove weak_alias for corresponding scalbln function.
3110 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3111 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3112 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3113 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3114 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3115 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3116 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3117 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3118 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3119 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3120 Remove long_double_symbol for scalblnl function in libm, libc.
3121 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3122 Add wrapper which checks for setting errno to ERANGE.
3123 Add long_double_symbol for scalblnl function in libm, libc.
3124 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3125 Remove long_double_symbol for scalblnl in libm.
3126 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3127 Add wrapper which checks for setting errno to ERANGE.
3128 Add long_double_symbol for scalblnl function in libm.
3129 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3130 Do not use wrapper because of own implementation.
3132 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
3134 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3135 3 bytes for __pad1 for x32.
3136 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3138 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
3139 H.J. Lu <hongjiu.lu@intel.com>
3141 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3142 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3143 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3144 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3145 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3147 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
3150 * posix/regcomp.c (parse_expression): Deallocate partially
3151 constructed tree before returning error.
3152 * posix/Makefile.c (tests): Add bug-regex36.
3153 (generated): Add bug-regex36.mtrace.
3154 (tests-special): Add $(objpfx)bug-regex36-mem.out
3155 (bug-regex36-ENV): New variable.
3156 ($(objpfx)bug-regex36-mem.out): New rule.
3157 * posix/bug-regex36.c: New file.
3159 2014-06-19 Will Newton <will.newton@linaro.org>
3161 * malloc/malloc.c (systrim): If extra is zero then return
3164 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3166 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3168 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
3170 * sysdeps/aarch64/strchr.S: New file.
3172 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3175 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3176 from arguments -2 or below.
3177 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3178 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3180 2014-06-18 Andreas Schwab <schwab@suse.de>
3183 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3184 of a bracket expr not to run off the end of the string.
3185 * posix/Makefile (tests): Add tst-fnmatch3.
3186 * posix/tst-fnmatch3.c: New file.
3188 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3190 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3191 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3192 [$(cross-compiling) = no]: Likewise.
3193 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3194 [$(cross-compiling) = no]: Likewise.
3196 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3199 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3200 double, adjusted for any remainder from the high double.
3201 * math/libm-test.inc (nearbyint): Add tests.
3204 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3206 * nptl/sysdeps/powerpc/Makefile: Moved ...
3207 * sysdeps/powerpc/nptl/Makefile: ... here.
3208 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3209 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3210 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3211 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3212 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3213 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3214 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3215 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3216 * nptl/sysdeps/powerpc/tls.h: Moved ...
3217 * sysdeps/powerpc/nptl/tls.h: ... here.
3219 2014-06-16 Joseph Myers <joseph@codesourcery.com>
3222 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3223 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3224 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3225 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3226 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3227 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3228 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3229 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3230 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3232 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
3234 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3236 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
3238 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3241 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3244 2014-06-16 Florian Weimer <fweimer@redhat.com>
3247 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3248 non-executed part of the test.
3250 2014-06-16 Andreas Schwab <schwab@suse.de>
3252 * string/bits/string2.h (strdup, strndup): Update feature guard.
3254 2014-06-14 David S. Miller <davem@davemloft.net>
3256 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3258 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
3260 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3261 that was previously under [RESET_PID].
3262 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3264 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3265 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3266 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3267 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3268 (__libc_vfork): New strong alias.
3269 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3271 2014-06-14 Andi Kleen <ak@linux.intel.com>
3273 * sysdeps/generic/elide.h: New file.
3275 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3277 * Makefile (installed-headers): Adjust path of pthread.h header.
3279 2014-06-13 Roland McGrath <roland@hack.frob.com>
3281 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3282 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3283 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3284 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3286 * nptl/sysdeps/s390/Makefile: Moved ...
3287 * sysdeps/s390/nptl/Makefile: ... here.
3288 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3289 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3290 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3291 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3292 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3293 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3294 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3295 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3296 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3297 * sysdeps/s390/nptl/pthreaddef.h: ... here.
3298 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3299 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3300 * nptl/sysdeps/s390/tls.h: Moved ...
3301 * sysdeps/s390/nptl/tls.h: ... here.
3303 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3304 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3306 2014-06-13 David S. Miller <davem@davemloft.net>
3308 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3309 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3310 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3311 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3312 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3313 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3314 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3315 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3316 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3317 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3318 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3319 Remove RESET_PID cpp guards.
3320 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3321 Remove RESET_PID cpp guards.
3322 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3324 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
3326 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3329 2014-06-13 Andi Kleen <ak@linux.intel.com>
3331 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3332 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3333 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3334 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3335 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3336 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3337 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3338 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3339 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3340 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3341 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3342 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3343 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3344 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3345 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3346 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3347 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3348 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3349 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3350 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3352 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3353 (pthread_rwlock_rdlock): Add elision.
3354 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3355 (pthread_rwlock_wrlock): Add elision.
3356 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3357 (pthread_rwlock_trywrlock): Add elision.
3358 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3359 (pthread_rwlock_tryrdlock): Add elision.
3360 * nptl/pthread_rwlock_unlock.c: Include elide.h.
3361 (pthread_rwlock_tryrdlock): Add elision unlock.
3362 * nptl/sysdeps/pthread/pthread.h:
3363 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3364 (PTHREAD_RWLOCK_INITIALIZER,
3365 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3366 Handle new elision field.
3367 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3368 * sysdeps/arm/nptl/bits/pthreadtypes.h
3369 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3370 * sysdeps/sh/nptl/bits/pthreadtypes.h
3371 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3372 * sysdeps/tile/nptl/bits/pthreadtypes.h
3373 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3374 * sysdeps/a/nptl/bits/pthreadtypes.h
3375 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3376 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3377 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3378 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3379 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3380 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3381 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3382 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3383 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3384 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3385 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3386 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3387 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3388 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3389 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3390 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3391 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3392 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3393 (elision_init): Set try_xbegin to zero when no RTM.
3394 * sysdeps/x86/nptl/bits/pthreadtypes.h
3395 (pthread_rwlock_t): Change __pad1 to __rwelision.
3396 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3398 2014-06-13 Andi Kleen <ak@linux.intel.com>
3400 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3401 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3402 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3403 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3405 2014-06-13 Meador Inge <meadori@codesourcery.com>
3408 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3409 that the cached result has been set before returning it.
3411 2014-06-12 Roland McGrath <roland@hack.frob.com>
3413 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3414 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3415 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3416 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3417 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3418 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3420 * nptl/sysdeps/sparc/Makefile: Moved ...
3421 * sysdeps/sparc/nptl/Makefile: ... here.
3422 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3423 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3424 * nptl/sysdeps/sparc/tls.h: Moved ...
3425 * sysdeps/sparc/nptl/tls.h: ... here.
3426 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3427 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3428 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3429 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3430 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3431 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3432 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3433 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3434 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3435 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3436 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3437 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3438 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3439 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3440 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3441 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3442 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3443 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3445 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3446 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3448 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3449 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3451 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3452 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3455 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3457 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3458 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3460 * sysdeps/pthread/posix-timer.h: Include <list.h>.
3461 (struct list_links): Type removed.
3462 (struct thread_node, struct timer_node): Replace struct list_links
3463 with struct list_head.
3464 (list_unlink_ip): Likewise.
3465 * sysdeps/pthread/timer_routines.c
3466 (timer_free_list, thread_free_list, thread_active_list): Likewise.
3467 (list_append, list_insbefore): Likewise.
3468 (list_init): Function removed.
3469 (thread_init, init_module): Use INIT_LIST_HEAD instead.
3470 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3471 * sysdeps/pthread/Makefile: ... here, new file.
3473 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3474 * sysdeps/nptl/Implies: ... here.
3475 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3476 * nptl/sysdeps/pthread/list.h: Moved ...
3477 * include/list.h: ... here.
3478 * nptl/sysdeps/pthread/createthread.c: Moved ...
3479 * nptl/createthread.c: ... here.
3480 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3481 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3482 * nptl/pt-longjmp.c: ... here.
3483 * nptl/sysdeps/pthread/Makefile: Moved ...
3484 * sysdeps/nptl/Makefile: ... here.
3485 * nptl/sysdeps/pthread/Subdirs: Moved ...
3486 * sysdeps/nptl/Subdirs: ... here.
3487 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3488 * sysdeps/nptl/aio_misc.h: ... here.
3489 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3490 * sysdeps/nptl/bits/libc-lock.h: ... here.
3491 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3492 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3493 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3494 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3495 * nptl/sysdeps/pthread/configure: Moved ...
3496 * sysdeps/nptl/configure: ... here.
3497 * nptl/sysdeps/pthread/configure.ac: Moved ...
3498 * sysdeps/nptl/configure.ac: ... here.
3499 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3500 * sysdeps/nptl/gai_misc.h: ... here.
3501 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3502 * sysdeps/nptl/librt-cancellation.c: ... here.
3503 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3504 * sysdeps/nptl/malloc-machine.h: ... here.
3505 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3506 * sysdeps/nptl/pthread-functions.h: ... here.
3507 * nptl/sysdeps/pthread/pthread.h: Moved ...
3508 * sysdeps/nptl/pthread.h: ... here.
3509 * nptl/sysdeps/pthread/setxid.h: Moved ...
3510 * sysdeps/nptl/setxid.h: ... here.
3511 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3512 * sysdeps/nptl/sigfillset.c: ... here.
3513 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3514 * sysdeps/nptl/tcb-offsets.h: ... here.
3515 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3516 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3517 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3518 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3519 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3520 * sysdeps/pthread/allocalim.h: ... here.
3521 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3522 * sysdeps/pthread/bits/sigthread.h: ... here.
3523 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3524 * sysdeps/pthread/flockfile.c: ... here.
3525 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3526 * sysdeps/pthread/ftrylockfile.c: ... here.
3527 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3528 * sysdeps/pthread/funlockfile.c: ... here.
3529 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3530 * sysdeps/pthread/posix-timer.h: ... here.
3531 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3532 * sysdeps/pthread/timer_create.c: ... here.
3533 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3534 * sysdeps/pthread/timer_delete.c: ... here.
3535 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3536 * sysdeps/pthread/timer_getoverr.c: ... here.
3537 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3538 * sysdeps/pthread/timer_gettime.c: ... here.
3539 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3540 * sysdeps/pthread/timer_routines.c: ... here.
3541 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3542 * sysdeps/pthread/timer_settime.c: ... here.
3543 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3544 * sysdeps/pthread/tst-timer.c: ... here.
3545 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3546 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3548 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3549 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3551 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3552 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3553 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3554 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3555 Update #include target.
3556 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3557 * sysdeps/i386/i686/nptl/Makefile: ... here.
3558 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3559 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3560 Update #include target.
3561 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3562 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3563 * nptl/sysdeps/i386/Makefile: Moved ...
3564 * sysdeps/i386/nptl/Makefile: ... here.
3565 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3566 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3567 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3568 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3569 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3570 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3571 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3572 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3573 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3574 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3575 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3576 * nptl/sysdeps/i386/tls.h: Moved ...
3577 * sysdeps/i386/nptl/tls.h: ... here.
3579 * sysdeps/sh/Makefile [$(subdir) = csu]
3580 (gen-as-const-headers): Add tcb-offsets.sym.
3581 * nptl/sysdeps/sh/Makefile: File removed.
3582 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3583 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3584 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3585 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3586 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3587 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3588 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3589 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3590 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3591 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3592 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3593 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3594 * nptl/sysdeps/sh/tls.h: Moved ...
3595 * sysdeps/sh/nptl/tls.h: ... here.
3596 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3597 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3598 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3599 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3600 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3601 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3602 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3603 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3604 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3605 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3606 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3607 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3608 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3609 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3610 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3611 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3612 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3613 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3614 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3615 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3616 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3617 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3618 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3619 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3620 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3622 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3623 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3625 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3626 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3627 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3628 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3629 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3630 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3631 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3632 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3633 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3634 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3635 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3636 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3637 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3638 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3639 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3640 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3641 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3642 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3643 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3645 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3647 * posix/spawn_faction_addopen.c: Include string.h.
3649 2014-06-11 Roland McGrath <roland@hack.frob.com>
3651 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3652 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3653 * nptl/sysdeps/x86_64/Makefile: Moved ...
3654 * sysdeps/x86_64/nptl/Makefile: ... here.
3655 * nptl/sysdeps/x86_64/configure: Moved ...
3656 * sysdeps/x86_64/nptl/configure: ... here.
3657 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3658 * sysdeps/x86_64/nptl/configure.ac: ... here.
3659 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3660 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3661 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3662 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3663 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3664 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3665 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3666 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3667 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3668 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3669 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3670 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3671 * nptl/sysdeps/x86_64/tls.h: Moved ...
3672 * sysdeps/x86_64/nptl/tls.h: ... here.
3673 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3674 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3675 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3676 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3678 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3680 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3684 2014-06-11 Joseph Myers <joseph@codesourcery.com>
3686 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3688 [POSIX] (off_t): Likewise.
3689 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3690 [POSIX] (S_ISBLK): Require macro.
3691 [POSIX] (S_ISCHR): Likewise.
3692 [POSIX] (S_ISDIR): Likewise.
3693 [POSIX] (S_ISFIFO): Likewise.
3694 [POSIX] (S_ISREG): Likewise.
3695 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3697 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3699 [POSIX] (time_t): Likewise.
3700 [POSIX] (timer_t): Likewise.
3702 2014-06-11 Florian Weimer <fweimer@redhat.com>
3705 * posix/spawn_int.h (struct __spawn_action): Make the path string
3706 non-const to support deallocation.
3707 * posix/spawn_faction_addopen.c
3708 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3709 * posix/spawn_faction_destroy.c
3710 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
3711 path in all spawn_do_open actions.
3712 * posix/tst-spawn.c (do_test): Exercise the copy operation in
3713 posix_spawn_file_actions_addopen.
3715 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
3717 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3718 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3719 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3720 conditional code always true.
3721 (__libc_vfork): New alias.
3723 2014-06-11 Roland McGrath <roland@hack.frob.com>
3725 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3726 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3728 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3730 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3731 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3733 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3734 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3736 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3737 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3739 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3741 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3742 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3743 multiarch strcmp for PPC64.
3744 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3745 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3746 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3747 multiarch optimizations.
3748 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3749 (__libc_ifunc_impl_list): Likewise.
3751 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3753 * benchtests/scripts/validate_benchout.py: New script.
3754 * benchtests/Makefile (bench-func): Call it.
3755 * benchtests/scripts/benchout.schema.json: New file.
3757 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
3759 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3760 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3761 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3762 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3763 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3764 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3765 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3766 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3767 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3768 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3769 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3770 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3771 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3772 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3773 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3774 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3775 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
3777 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
3779 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
3781 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3782 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
3784 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
3786 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
3788 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
3790 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
3792 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3793 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
3795 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
3797 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
3799 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
3801 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
3803 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3804 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
3806 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
3808 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
3810 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
3812 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
3814 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
3816 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
3818 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3819 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
3821 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
3823 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
3825 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
3827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
3829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
3831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
3833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3834 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
3836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
3838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
3840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
3842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
3844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3845 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
3847 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
3849 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
3851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3852 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
3854 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3855 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
3857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3859 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
3861 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3865 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3867 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3869 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3874 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3876 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3878 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3879 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3880 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3881 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3882 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3884 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3886 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3887 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3888 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3889 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3890 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3891 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3892 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3893 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3894 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3895 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3896 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3897 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3898 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3900 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3901 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3903 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3904 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3905 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3906 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3908 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3909 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3910 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3911 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3912 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3913 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3914 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3916 2014-06-10 Wilco <wdijkstr@arm.com>
3918 * math/test-fenv-return.c: New file.
3919 * math/Makefile: Add new test test-fenv-return.
3921 2014-06-10 Joseph Myers <joseph@codesourcery.com>
3924 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3926 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3927 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3928 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3929 0.0L for an argument of 1.0L.
3930 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3932 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3933 value when x - 1 is zero.
3934 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3935 * sysdeps/i386/fpu/libm-test-ulps: Update.
3936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3938 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
3941 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3943 2014-06-09 Roland McGrath <roland@hack.frob.com>
3945 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3946 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3948 2014-06-09 Roland McGrath <roland@hack.frob.com>
3950 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3951 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3953 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3954 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3956 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3957 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3959 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3960 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3962 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3963 if not already defined.
3964 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3965 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3966 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3967 (TLS_INIT_TP): Use it.
3968 (TLS_DEFINE_INIT_TP): New macro.
3969 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3971 2014-06-09 Joseph Myers <joseph@codesourcery.com>
3973 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3975 [POSIX] (IXANY): Likewise.
3976 [POSIX] (OLCUC): Likewise.
3977 [POSIX || POSIX2008] (CBAUD): Do not allow.
3978 [POSIX || POSIX2008] (DEFECHO): Likewise.
3979 [POSIX || POSIX2008] (ECHOCTL): Likewise.
3980 [POSIX || POSIX2008] (ECHOKE): Likewise.
3981 [POSIX || POSIX2008] (ECHOPRT): Likewise.
3982 [POSIX || POSIX2008] (EXTA): Likewise.
3983 [POSIX || POSIX2008] (EXTB): Likewise.
3984 [POSIX || POSIX2008] (FLUSHO): Likewise.
3985 [POSIX || POSIX2008] (LOBLK): Likewise.
3986 [POSIX || POSIX2008] (PENDIN): Likewise.
3987 [POSIX || POSIX2008] (SWTCH): Likewise.
3988 [POSIX || POSIX2008] (VDISCARD): Likewise.
3989 [POSIX || POSIX2008] (VDSUSP): Likewise.
3990 [POSIX || POSIX2008] (VLNEXT): Likewise.
3991 [POSIX || POSIX2008] (VREPRINT): Likewise.
3992 [POSIX || POSIX2008] (VSTATUS): Likewise.
3993 [POSIX || POSIX2008] (VWERASE): Likewise.
3994 (B*): Change to B[0123456789]*.
3995 * conform/data/time.h-data [POSIX || UNIX98]
3996 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3997 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3998 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3999 [POSIX] (tm_*): Do not allow.
4001 2014-06-07 Joseph Myers <joseph@codesourcery.com>
4003 * Makefile (install): Don't set LANGUAGE.
4004 * Makefile.in (install): Likewise.
4005 * assert/Makefile (test-assert-ENV): Remove variable.
4006 (test-assert-perr-ENV): Likewise.
4007 * elf/Makefile (neededtest4-ENV): Likewise.
4008 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4009 [$(cross-compiling) = no]: Don't set LANGUAGE.
4010 * io/ftwtest-sh (LANG): Remove variable.
4011 * libio/Makefile (tst-widetext-ENV): Likewise.
4012 * manual/install.texi (Running make install): Don't refer to
4013 environment settings for make install.
4014 * INSTALL: Regenerated.
4015 * nptl/tst-tls6.sh: Don't set LANG.
4016 * posix/globtest.sh (LANG): Remove variable.
4017 * string/Makefile (tester-ENV): Likewise.
4018 (inl-tester-ENV): Likewise.
4019 (noinl-tester-ENV): Likewise.
4020 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4021 [$(cross-compiling) = no]: Don't set LANGUAGE.
4022 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4023 without explicit environment settings.
4025 2014-06-06 Roland McGrath <roland@hack.frob.com>
4027 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4028 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4029 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4030 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4032 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
4034 * crypt/crypt-private.h [DOS]: Add some includes taken from the
4035 other files in the crypt directory.
4036 * crypt/crypt.c: Remove duplicate includes.
4037 * crypt/crypt-entry.c: Likewise.
4038 * crypt/crypt_util.c: Likewise.
4040 2014-06-06 Joseph Myers <joseph@codesourcery.com>
4042 * Makeconfig (run-program-env): New variable.
4043 (run-program-prefix-before-env): Likewise.
4044 (run-program-prefix-after-env): Likewise.
4045 (run-program-prefix): Define in terms of new variables.
4046 (built-program-cmd-before-env): New variable.
4047 (built-program-cmd-after-env): Likewise.
4048 (built-program-cmd): Define in terms of new variables.
4049 (test-program-prefix-before-env): New variable.
4050 (test-program-prefix-after-env): Likewise.
4051 (test-program-prefix): Define in terms of new variables.
4052 (test-program-cmd-before-env): New variable.
4053 (test-program-cmd-after-env): Likewise.
4054 (test-program-cmd): Define in terms of new variables.
4055 * Rules (make-test-out): Use $(run-program-env).
4056 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4057 (help): Do not mention environment variables. Mention
4058 --timeoutfactor option.
4059 (timeoutfactor): New variable.
4060 (blacklist_exports): Remove function.
4061 (exports): Remove variable.
4062 (command): Do not include ${exports}.
4063 * manual/install.texi (Configuring and compiling): Do not mention
4064 test wrappers preserving environment variables. Mention that last
4065 assignment to a variable must take precedence.
4066 * INSTALL: Regenerated.
4067 * benchtests/Makefile (run-bench): Use $(run-program-env).
4068 * catgets/Makefile ($(objpfx)test1.cat): Use
4069 $(built-program-cmd-before-env), $(run-program-env) and
4070 $(built-program-cmd-after-env).
4071 ($(objpfx)test2.cat): Do not specify environment variables
4073 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4074 $(run-program-env) and $(built-program-cmd-after-env).
4075 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4076 $(run-program-env) and $(test-program-cmd-after-env).
4077 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4079 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4080 run_program_env and test_program_cmd_after_env arguments.
4081 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4082 * elf/tst-pathopt.sh: Use run_program_env argument.
4083 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4084 $(test-wrapper-env) and $(run-program-env).
4085 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4086 run_program_env arguments.
4087 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4088 * intl/Makefile ($(objpfx)tst-gettext.out): Use
4089 $(test-program-prefix-before-env), $(run-program-env) and
4090 $(test-program-prefix-after-env).
4091 ($(objpfx)tst-gettext2.out): Likewise.
4092 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4093 run_program_env and test_program_prefix_after_env arguments.
4094 * intl/tst-gettext2.sh: Likewise.
4095 * intl/tst-gettext4.sh: Do not set environment variables
4097 * intl/tst-gettext6.sh: Likewise.
4098 * intl/tst-translit.sh: Likewise.
4099 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4100 $(test-program-prefix-before-env), $(run-program-env) and
4101 $(test-program-prefix-after-env).
4102 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4103 run_program_env and test_program_prefix_after_env arguments.
4104 * math/Makefile (run-regen-ulps): Use $(run-program-env).
4105 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4106 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
4107 explicitly with each use of ${test_wrapper_env}.
4108 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4109 $(test-program-prefix-before-env), $(run-program-env) and
4110 $(test-program-prefix-after-env).
4111 * posix/tst-getconf.sh: Do not set environment variables
4113 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4114 run_program_env and test_program_prefix_after_env arguments.
4115 * stdio-common/tst-printf.sh: Do not set environment variables
4117 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4118 $(test-program-prefix-before-env), $(run-program-env) and
4119 $(test-program-prefix-after-env).
4120 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4121 run_program_env and test_program_prefix_after_env arguments.
4122 Split $test calls into $test_pre and $test.
4123 * timezone/Makefile (build-testdata): Use
4124 $(built-program-cmd-before-env), $(run-program-env) and
4125 $(built-program-cmd-after-env).
4127 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4129 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4130 strlen for non SHARED builds.
4132 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4134 * nptl/allocatestack.c (check_list): Inlined function...
4135 (__reclaim_stacks): ... here.
4137 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4140 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4143 2014-06-05 Joseph Myers <joseph@codesourcery.com>
4145 * Rules (make-test-out): Include
4146 LOCPATH=$(common-objpfx)localedata in default environment.
4147 * debug/Makefile (tst-chk1-ENV): Remove variable.
4148 (tst-chk2-ENV): Likewise.
4149 (tst-chk3-ENV): Likewise.
4150 (tst-chk4-ENV): Likewise.
4151 (tst-chk5-ENV): Likewise.
4152 (tst-chk6-ENV): Likewise.
4153 (tst-lfschk1-ENV): Likewise.
4154 (tst-lfschk2-ENV): Likewise.
4155 (tst-lfschk3-ENV): Likewise.
4156 (tst-lfschk4-ENV): Likewise.
4157 (tst-lfschk5-ENV): Likewise.
4158 (tst-lfschk6-ENV): Likewise.
4159 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4160 (tst-iconv7-ENV): Likewise.
4161 * intl/Makefile (LOCPATH-ENV): Likewise.
4162 (tst-codeset-ENV): Likewise.
4163 (tst-gettext3-ENV): Likewise.
4164 (tst-gettext5-ENV): Likewise.
4165 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4166 (tst-fopenloc-ENV): Likewise.
4167 (tst-fgetws-ENV): Remove variable.
4168 (tst-ungetwc1-ENV): Likewise.
4169 (tst-ungetwc2-ENV): Likewise.
4170 (bug-ungetwc2-ENV): Likewise.
4171 (tst-swscanf-ENV): Likewise.
4172 (bug-ftell-ENV): Likewise.
4173 (tst-fgetwc-ENV): Likewise.
4174 (tst-fseek-ENV): Likewise.
4175 (tst-ftell-partial-wide-ENV): Likewise.
4176 (tst-ftell-active-handler-ENV): Likewise.
4177 (tst-ftell-append-ENV): Likewise.
4178 * posix/Makefile (tst-fnmatch-ENV): Likewise.
4179 (tst-regexloc-ENV): Likewise.
4180 (bug-regex1-ENV): Likewise.
4181 (tst-regex-ENV): Likewise.
4182 (tst-regex2-ENV): Likewise.
4183 (bug-regex5-ENV): Likewise.
4184 (bug-regex6-ENV): Likewise.
4185 (bug-regex17-ENV): Likewise.
4186 (bug-regex18-ENV): Likewise.
4187 (bug-regex19-ENV): Likewise.
4188 (bug-regex20-ENV): Likewise.
4189 (bug-regex22-ENV): Likewise.
4190 (bug-regex23-ENV): Likewise.
4191 (bug-regex25-ENV): Likewise.
4192 (bug-regex26-ENV): Likewise.
4193 (bug-regex30-ENV): Likewise.
4194 (bug-regex32-ENV): Likewise.
4195 (bug-regex33-ENV): Likewise.
4196 (bug-regex34-ENV): Likewise.
4197 (bug-regex35-ENV): Likewise.
4198 (tst-rxspencer-ENV): Likewise.
4199 (tst-rxspencer-no-utf8-ENV): Likewise.
4200 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4201 (tst-sscanf-ENV): Likewise.
4202 (tst-swprintf-ENV): Likewise.
4203 (tst-swscanf-ENV): Likewise.
4204 (test-vfprintf-ENV): Likewise.
4205 (scanf13-ENV): Likewise.
4206 (bug14-ENV): Likewise.
4207 (tst-grouping-ENV): Likewise.
4208 * stdlib/Makefile (tst-strtod-ENV): Likewise.
4209 (tst-strtod3-ENV): Likewise.
4210 (tst-strtod4-ENV): Likewise.
4211 (tst-strtod5-ENV): Likewise.
4212 (testmb2-ENV): Likewise./
4213 * string/Makefile (tst-strxfrm-ENV): Likewise.
4214 (tst-strxfrm2-ENV): Likewise.
4215 (bug-strcoll1-ENV): Likewise.
4216 (test-strcasecmp-ENV): Likewise.
4217 (test-strncasecmp-ENV): Likewise.
4218 * time/Makefile (tst-strptime-ENV): Likewise.
4219 (tst-ftime_l-ENV): Likewise.
4220 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4221 (tst-mbrtowc-ENV): Likewise.
4222 (tst-wcrtomb-ENV): Likewise.
4223 (tst-mbrtowc2-ENV): Likewise.
4224 (tst-c16c32-1-ENV): Likewise.
4225 (tst-mbsnrtowcs-ENV): Likewise.
4227 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4229 * manual/resource.texi (How to get information about the memory
4230 subsystem?): Fix typo.
4231 Reported by Peon de la Parra Ivan <peon@keba.com>
4233 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
4236 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4237 (pthread_spin_lock): Branch out of spin loop to proper location.
4238 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4239 (pthread_spin_lock): Likewise.
4241 * nptl/tst-spin4.c: New test.
4242 * nptl/Makefile (tests): Add tst-spin4.
4244 2014-06-03 Andreas Schwab <schwab@suse.de>
4247 * resolv/res_send.c (send_dg): Reload file descriptor after
4250 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
4252 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4254 2014-06-03 Richard Henderson <rth@redhat.com>
4256 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4257 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4258 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4259 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
4260 in the SAVE_PID block.
4261 (__libc_vfork): New alias.
4262 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4264 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4265 child in registers, not on the stack. Remove RESET_PID conditionals.
4266 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4268 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
4270 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4272 2014-06-03 Wilco <wdijkstr@arm.com>
4274 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4275 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4276 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4277 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4278 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4281 2014-06-03 Wilco <wdijkstr@arm.com>
4283 * sysdeps/aarch64/fpu/math_private.h
4284 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4285 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4286 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4287 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4290 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4292 * crypt/crypt-private.h: Include ufc-crypt.h.
4293 (__b64_from_24bit): Declare extern.
4294 * crypt/crypt_util.c(__b64_from_24bit): New function.
4295 (b64t): New static const variable.
4296 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4297 (b64t): Remove variable.
4298 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4299 * crypt/sha256-crypt.c: Include crypt-private.h.
4300 (b64t): Remove variable.
4301 (__sha256_crypt_r): Remove b64_from_24bit and replace
4302 with __b64_from_24bit.
4303 * crypt/sha512-crypt.c: Likewise.
4305 2014-06-02 Roland McGrath <roland@hack.frob.com>
4307 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4308 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4309 Label the code __libc_vfork rather than __vfork.
4310 [!NOT_IN_libc] (vfork): Define as weak alias.
4311 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4312 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4313 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4315 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4317 * malloc/malloc.c (malloc_info): Fix format specifier for
4320 2014-06-02 Wilco <wdijkstr@arm.com>
4322 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4325 2014-06-02 Wilco <wdijkstr@arm.com>
4328 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4329 Rewrite to reduce FPCR/FPSR accesses.
4331 2014-06-01 David S. Miller <davem@davemloft.net>
4333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4335 2014-05-31 David S. Miller <davem@davemloft.net>
4337 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4338 to occur in round to nearest mode when |x| >= 2.0
4340 2014-05-30 Richard Henderson <rth@twiddle.net>
4342 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4343 (PSEUDO_RET_NOERRNO): Remove.
4344 (ret): Don't redefine.
4345 (ret_NOERRNO): Define in terms of ret.
4346 (ret_ERRVAL): Likewise.
4348 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4349 use of PSEUDO_RET; perform the error check directly.
4351 2014-05-30 Marko Myllynen <myllynen@redhat.com>
4353 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4356 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4358 * malloc/malloc (malloc_info): Fix formatting.
4360 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4361 Roland McGrath <roland@hack.frob.com>
4363 * malloc/malloc (malloc_info): Also print mmapped statistics.
4365 2014-05-30 Roland McGrath <roland@hack.frob.com>
4367 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4368 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4370 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
4372 * malloc/malloc.c (malloc_info): Inline mi_arena.
4374 2014-05-29 Richard Henderson <rth@twiddle.net>
4376 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4377 Remove comma before expanding ASM_ARGS_##nr.
4378 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4379 Make _x0 a strict output; make _x8 a strict input; adjust expansion
4381 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4382 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4383 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4384 (ASM_ARGS_1): Add leading comma.
4386 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4387 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4388 to __errno_location.
4389 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4390 Remove the expected plt for __errno_location.
4392 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4393 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4396 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4397 Always allocate 64 bytes of stack frame. Use ldp/stp to create
4398 it and break it down.
4399 (DOCARGS_0, DOCARGS_1): Do nothing.
4400 (DOCARGS_2): Update to store into the new stack frame.
4401 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4402 (UNDOCARGS_1): Update to restore from the new stack frame.
4403 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4404 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4406 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4407 (SINGLE_THREAD_P): New parameter for result regno.
4408 (PSEUDO): Update to match; use cbz instead of beq.
4410 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4411 Use ENTRY to define the _nocancel entry point. Share the syscall
4412 and syscall error check paths with the cancel path.
4415 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4416 whitespace; tabs before and after asm mnemonics.
4418 2014-05-29 Eric Wong <normalperson@yhbt.net>
4421 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4422 Call fstat64 or stat64 internally, depending on arguments passed.
4423 Replace stat buffer argument with file descriptor argument.
4424 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4425 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4426 Pass fd to __internal_statvfs instead of calling fstat64.
4427 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4428 Pass fd to __internal_statvfs64 instead of calling fstat64.
4429 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4430 Pass -1 to __internal_statvfs instead of calling stat64.
4431 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4432 Pass -1 to __internal_statvfs64 instead of calling stat64.
4434 2014-05-28 Roland McGrath <roland@hack.frob.com>
4436 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4437 that was previously under [RESET_PID].
4438 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4440 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4441 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4443 2014-05-27 Roland McGrath <roland@hack.frob.com>
4445 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4447 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4448 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4450 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
4452 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4454 2014-05-27 Andreas Schwab <schwab@suse.de>
4456 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4458 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4459 * elf/rtld.c (init_tls, dl_main): Likewise.
4460 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4461 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4462 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4463 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4464 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4465 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4466 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4467 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4468 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4469 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4470 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4471 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4472 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4473 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4474 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4475 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4476 * sysdeps/generic/tls.h: Update description.
4478 2014-05-27 Will Newton <will.newton@linaro.org>
4481 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4482 and restore r2 rather than just restoring.
4484 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4487 * libio/tst-ftell-append.c: New test case.
4488 * libio/Makefile (tests): Add test case.
4489 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4491 * libio/wfileops.c (do_ftell_wide): Likewise.
4493 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4495 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4497 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4501 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4502 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4503 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4504 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4505 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4506 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4507 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4510 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4513 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4514 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4515 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4516 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4517 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4519 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4520 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4522 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4524 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4526 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4527 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4528 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4530 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4531 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4532 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4533 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4535 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4538 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4541 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4544 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4548 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4551 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4556 conditional [RESET_PID].
4557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4558 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4560 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4565 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4566 (__libc_vfork): New strong alias.
4567 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4569 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4574 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4575 (__libc_vfork): New strong alias.
4576 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4578 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4581 2014-05-26 Carlos O'Donell <carlos@redhat.com>
4583 * malloc/malloc.c (mi_arena): New function.
4584 (malloc_info): Remove nested function mi_arena. Call non-nosted
4587 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4589 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4591 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4592 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4593 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4594 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4595 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4596 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4597 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4599 2014-05-26 Andreas Schwab <schwab@suse.de>
4602 * locale/programs/repertoire.c (repertoire_read): Add slash
4603 between I18NPATH element and file name.
4604 * locale/programs/locfile.c (locfile_read): Likewise.
4606 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4608 * nptl/pthread_mutexattr_settype.c
4609 (__pthread_mutexattr_settype):
4610 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4612 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4614 * nptl/tst-mutex5 (do_test):
4615 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4617 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4619 * benchtests/README: Document 'init' directive.
4620 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4622 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4623 (parse_file): Recognize 'init' directive.
4625 2014-05-26 Kyle McMartin <kyle@redhat.com>
4628 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4629 alignment of struct pthread.
4631 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4634 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4635 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4636 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4637 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4639 2014-05-25 Richard Henderson <rth@twiddle.net>
4641 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4642 (SINGLE_THREAD_P_PIC): Remove.
4643 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4644 (SINGLE_THREAD_P_PIC): Remove.
4646 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4647 branch to syscall error ...
4649 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4650 from __local_syscall_error to .Lsyscall_error.
4651 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4652 (SYSCALL_ERROR): Update label name.
4654 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4655 Do not use DOARGS/UNDOARGS.
4656 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4657 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4658 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4659 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4660 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4662 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4665 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4666 define if !NOT_IN_libc.
4667 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4668 define with non-default symbol versions.
4670 2014-05-23 Richard Henderson <rth@twiddle.net>
4672 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4673 (vfork, __vfork): Define via compat_symbol.
4675 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4676 [!HAVE_IFUNC] (vfork_compat): Remove.
4677 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4679 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4682 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4683 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4686 2014-05-23 Richard Henderson <rth@twiddle.net>
4688 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4689 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4690 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4691 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4693 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4694 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4695 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4696 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4697 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4698 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4699 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4700 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4701 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4702 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4703 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4704 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4705 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4706 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4707 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4708 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4709 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4710 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4711 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4712 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4713 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4714 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4715 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4716 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4717 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4718 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4719 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4720 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4721 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4722 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4723 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4724 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4725 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4726 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4727 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4728 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4729 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4730 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4731 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4732 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4733 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4734 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4735 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4736 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4737 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4738 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4739 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4740 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4741 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4742 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4743 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4744 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4745 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4746 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4747 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4748 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4750 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4751 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4752 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
4753 before exiting on error.
4754 (__libc_vfork): New strong alias.
4755 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4756 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4758 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4759 that was previously under [RESET_PID].
4760 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4762 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4764 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4767 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4768 value when x - 1 is zero.
4769 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4770 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4771 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4772 0.0L for an argument of 1.0L.
4773 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4775 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4776 value when x - 1 is zero.
4777 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4778 * sysdeps/i386/fpu/libm-test-ulps: Update.
4779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4781 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4783 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4784 alphasort and versionsort.
4786 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4788 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4790 [copysignf]: Likewise.
4792 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4794 * crypt/md5-crypt.c: Fix formatting.
4796 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4798 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4799 (b64_from_24bit): New function.
4801 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4803 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4804 libc_hidden_builtin_def to ifunc.
4805 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4806 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4808 2014-05-21 Roland McGrath <roland@hack.frob.com>
4810 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4811 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4813 2014-05-21 Joseph Myers <joseph@codesourcery.com>
4815 * nscd/Depend (linuxthreads): Remove.
4817 * resolv/Depend (linuxthreads): Remove.
4818 * rt/Depend (linuxthreads): Remove.
4820 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4821 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4822 $(common-objpfx)elf/.
4823 (link-libc-before-gnulib): Likewise.
4824 (elfobjdir): Remove variable.
4825 * Makefile (install): Use $(elf-objpfx) instead of
4826 $(common-objpfx)elf/.
4827 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4829 (link-libc-deps): Likewise.
4830 ($(common-objpfx)libc.so): Likewise.
4831 ($(common-objpfx)linkobj/libc.so): Likewise.
4832 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4833 instead of $(common-objpfx)elf/.
4834 (symbolic-link-list): Likewise.
4835 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4836 [$(cross-compiling) = no]: Likewise.
4837 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4839 (static-gnulib-arch): Likewise.
4840 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4841 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4842 $(common-objpfx)elf/.
4844 2014-05-21 Richard Henderson <rth@redhat.com>
4846 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4847 (SINGLE_THREAD_P): Use the correct width load. Fold
4848 into the ldr offset.
4850 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4851 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4853 2014-05-20 Joseph Myers <joseph@codesourcery.com>
4855 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4856 (libgcc_s_resume): Use __attribute_used__.
4857 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4860 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4862 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4863 optimization when used with float constants.
4865 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4867 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
4870 * locale/nl_langinfo_l.c: Make direct reference to every
4871 _nl_current_CATEGORY symbol.
4872 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4873 (tests-static): Add tst-langinfo-static.
4874 (tests-special): Add tst-langinfo-static.out.
4875 ($(objpfx)tst-langinfo.out): Redirect output.
4876 ($(objpfx)tst-langinfo-static.out): New.
4877 * localedata/tst-langinfo.sh: Send output to stdout.
4878 * localedata/tst-langinfo-static.c: New file.
4881 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4882 when the shift amount is modulo the limb size.
4884 2014-05-20 Richard Henderson <rth@redhat.com>
4887 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4888 Change type of sa_flags from unsigned int to int.
4891 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4893 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4895 2014-05-20 Will Newton <will.newton@linaro.org>
4897 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4898 Test the return value of the system call in the nocancel case.
4900 2014-05-20 Will Newton <will.newton@linaro.org>
4901 Yvan Roux <yvan.roux@linaro.org>
4903 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4904 #include of asm/ptrace.h.
4905 (PTRACE_GET_THREAD_AREA): Remove #undef.
4906 (PTRACE_GETHBPREGS): Likewise.
4907 (PTRACE_SETHBPREGS): Likewise.
4908 (struct user_regs_struct): New structure.
4909 (struct user_fpsimd_struct): New structure.
4910 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4911 #include of asm/ptrace.h and second #include of sys/user.h.
4912 (PTRACE_GET_THREAD_AREA): Remove #undef.
4913 (PTRACE_GETHBPREGS): Likewise.
4914 (PTRACE_SETHBPREGS): Likewise.
4915 (ELF_NGREG): Use new struct user_regs_struct.
4916 (elf_fpregset_t): Use new struct user_fpsimd_struct.
4918 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4920 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4921 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4923 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4926 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4927 membar to avoid block loads/stores to overlap previous stores.
4929 2014-05-17 Richard Henderson <rth@redhat.com>
4931 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4932 Create the __##syscall_name##_nocancel entry point.
4933 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4934 Remove; let the sysdep-cancel.h code create it.
4936 2014-05-17 David S. Miller <davem@davemloft.net>
4938 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4939 Protect with __USE_GNU.
4940 (TIOCSET_TEMPT): Likewise.
4941 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4942 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4943 these are already provided in bits/ioctl-types.h
4945 2014-05-16 Roland McGrath <roland@hack.frob.com>
4947 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4948 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4950 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4951 Use wait4 regardless of [__NR_waitpid].
4953 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4956 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4957 (_FP_NANSIGN_Q): Set the quiet bit.
4959 2014-05-16 Joseph Myers <joseph@codesourcery.com>
4961 * benchtests/Makefile
4962 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4963 not $(common-objpfx)math/libm.so.
4964 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4965 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4966 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4967 $(common-objpfx)dlfcn/libdl.so.
4968 ($(objpfx)tst-audit8): Depend on $(libm), not
4969 $(common-objpfx)math/libm.so.
4970 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4971 not $(common-objpfx)dlfcn/libdl.so.
4973 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4974 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
4975 [$(build-shared) = yes].
4976 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4977 $(common-objpfx)nptl/libpthread.so.
4978 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4979 $(common-objpfx)math/libm.so$(libm.so-version) or
4980 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4981 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4982 $(common-objpfx)dlfcn/libdl.so.
4983 * setjmp/Makefile (link-libm): Remove variable.
4984 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4985 * stdio-common/Makefile (link-libm): Remove variable.
4986 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4987 * stdlib/Makefile (link-libm): Remove variable.
4988 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4989 ($(objpfx)tst-strtod-round): Likewise.
4990 ($(objpfx)tst-tininess): Likewise.
4991 ($(objpfx)tst-strtod-underflow): Likewise.
4992 ($(objpfx)tst-strtod6): Likewise.
4993 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4994 $(libdl), not $(common-objpfx)nptl/libpthread.so and
4995 $(common-objpfx)dlfcn/libdl.so.
4997 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4999 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5000 BSD terminal modes definitions.
5002 2014-05-16 Roland McGrath <roland@hack.frob.com>
5004 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5005 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5007 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5008 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5009 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5010 Don't do #include_next.
5011 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5012 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5013 Don't do #include_next.
5014 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5015 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5016 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5017 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5019 2014-05-16 Allan McRae <allan@archlinux.org>
5021 * po/sv.po: Update Swedish translation from translation project.
5023 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5026 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
5029 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5030 errno if the TIOCGPTN ioctl fails with an error different than
5032 * login/tst-ptsname.c: New file.
5033 * login/Makefile (tests): Add tst-ptsname.
5036 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5039 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5042 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5043 herrno to return EAI_AGAIN.
5045 2014-05-14 Roland McGrath <roland@hack.frob.com>
5047 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5048 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5049 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5050 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5051 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5052 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5053 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5054 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5055 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5056 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5057 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5058 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5059 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5060 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5061 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5062 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5063 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5064 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5065 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5066 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5067 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5068 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5069 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5070 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5071 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5072 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5073 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5074 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5075 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5076 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5077 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5078 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5079 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5080 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5081 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5083 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5084 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5085 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5086 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5087 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5088 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5089 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5090 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5091 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5092 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5093 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5094 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5095 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5097 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5098 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5099 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5101 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5102 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5103 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5104 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5105 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5106 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5107 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5108 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5109 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5110 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5112 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5114 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5115 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5116 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5117 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5118 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5119 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5120 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5121 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5122 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5123 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5124 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5125 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5126 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5127 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5128 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5129 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5130 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5131 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5133 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5134 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5135 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5137 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5138 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5139 (libpthread-sysdep_routines): Add elision-related stuff here instead.
5140 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5141 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5142 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5143 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5144 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5145 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5146 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5147 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5148 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5149 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5150 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5151 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5152 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5153 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5154 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5155 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5156 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5157 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5158 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5159 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5160 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5161 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5162 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5163 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5164 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5165 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5166 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5167 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5169 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5170 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5172 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5173 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5174 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5175 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5176 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5177 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5179 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5180 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5182 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5183 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5185 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5186 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5188 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5189 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5190 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5191 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5193 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5194 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5195 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5196 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5197 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5198 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5199 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5200 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5202 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5203 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5205 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5207 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5208 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5209 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5210 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5211 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5213 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5215 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5217 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5218 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5219 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5220 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5221 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5222 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5224 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5225 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5227 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5228 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5230 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5231 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5233 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5234 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5235 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5236 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5238 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5239 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5240 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5241 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5242 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5243 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5244 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5245 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5247 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5248 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5250 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5252 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5253 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5254 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5255 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5256 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5258 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5260 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5262 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5263 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5264 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5265 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5266 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5267 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5268 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5269 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5270 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5271 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5273 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5274 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5276 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5277 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5279 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5280 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5282 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5283 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5284 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5285 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5286 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5287 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5289 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5290 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5291 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5292 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5293 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5294 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5295 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5296 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5298 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5299 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5301 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5303 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5304 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5305 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5306 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5307 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5309 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5311 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5313 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5314 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5315 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5316 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5317 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5318 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5319 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5320 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5321 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5322 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5323 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5325 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5326 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5328 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5329 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5331 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5332 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5333 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5334 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5335 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5336 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5337 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5338 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5339 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5340 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5341 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5342 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5343 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5344 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5345 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5346 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5347 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5348 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5350 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5351 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5352 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5353 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5355 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5356 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5357 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5358 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5359 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5360 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5361 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5362 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5364 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5365 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5367 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5368 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5369 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5370 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5371 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5372 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5373 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5374 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5375 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5376 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5377 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5378 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5379 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5380 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5381 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5382 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5383 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5385 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5386 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5387 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5388 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5389 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5391 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5392 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5393 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5394 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5395 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5396 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5397 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5398 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5399 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5400 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5402 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5403 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5405 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5406 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5407 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5408 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5409 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5410 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5411 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5412 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5413 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5414 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5415 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5416 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5417 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5418 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5419 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5421 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5423 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5425 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5427 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5429 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5431 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5433 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5435 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5437 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5439 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5440 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5441 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5442 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5443 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5444 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5445 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5446 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5447 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5448 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5449 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5450 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5451 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5452 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
5453 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
5455 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5456 that was previously under [RESET_PID].
5457 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5458 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5459 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5461 * sysdeps/i386/nptl/Implies: New file.
5462 * sysdeps/x86_64/nptl/Implies: New file.
5463 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5464 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5465 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5466 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5468 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5469 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5470 (__libc_vfork): New strong alias.
5471 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5472 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5474 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5475 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5476 (__libc_vfork): New strong alias.
5477 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5478 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5480 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5481 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5482 (__libc_vfork): New strong alias.
5483 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5484 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5485 * nptl/pt-vfork.c: New file.
5486 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5487 (libpthread: GLIBC_2.20): New version set (empty).
5489 2014-05-14 Will Newton <will.newton@linaro.org>
5491 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5494 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5497 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5498 arguments with exponent 65 or above.
5499 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5500 arguments 0x1p113L or above.
5501 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5502 to arguments 0x1p107L or above.
5503 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5504 positive arguments with exponent 65 or above.
5505 * math/auto-libm-test-in: Add more tests of log1p.
5506 * math/auto-libm-test-out: Regenerated.
5509 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5510 non-finite arguments is +0.
5511 * math/s_cacosf.c (__cacosf): Likewise.
5512 * math/s_cacosl.c (__cacosl): Likewise.
5513 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5514 * sysdeps/i386/fpu/libm-test-ulps: Update.
5515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5518 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5520 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5521 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5522 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5523 for explicit high bit of mantissa when testing for argument equal
5525 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5526 * sysdeps/i386/fpu/libm-test-ulps: Update.
5527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5530 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5531 (__erf): Scale by 16 instead of 8 in potentially underflowing
5532 case. Ensure exception if result actually underflows.
5533 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5534 (__erff): Scale by 16 instead of 8 in potentially underflowing
5535 case. Ensure exception if result actually underflows.
5536 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5537 (efx8): Remove variable.
5538 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5539 case. Ensure exception if result actually underflows.
5540 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5541 (efx8): Remove variable.
5542 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5543 case. Ensure exception if result actually underflows.
5544 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5545 (efx8): Remove variable.
5546 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5547 case. Ensure exception if result actually underflows.
5548 * math/auto-libm-test-in: Add more tests of erf.
5549 * math/auto-libm-test-out: Regenerated.
5551 2014-05-14 Andreas Schwab <schwab@suse.de>
5553 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5554 Remove code conditionalized on USE___THREAD.
5556 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5557 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5560 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5562 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5563 Define unconditionally.
5564 (__ASSUME_O_CLOEXEC): Likewise.
5565 (__ASSUME_SOCK_CLOEXEC): Likewise.
5566 (__ASSUME_IN_NONBLOCK): Likewise.
5567 (__ASSUME_PIPE2): Likewise.
5568 (__ASSUME_EVENTFD2): Likewise.
5569 (__ASSUME_SIGNALFD4): Likewise.
5570 (__ASSUME_DUP3): Likewise.
5571 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5572 (__ASSUME_DUP3): Do not define.
5573 (__ASSUME_EVENTFD2): Likewise.
5574 (__ASSUME_IN_NONBLOCK): Likewise.
5575 (__ASSUME_O_CLOEXEC): Likewise.
5576 (__ASSUME_PIPE2): Likewise.
5577 (__ASSUME_SIGNALFD4): Likewise.
5578 (__ASSUME_SOCK_CLOEXEC): Likewise.
5579 (__ASSUME_UTIMES): Undefine.
5580 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5581 (__ASSUME_UTIMES): Do not define.
5582 (__ASSUME_O_CLOEXEC): Likewise.
5583 (__ASSUME_SOCK_CLOEXEC): Likewise.
5584 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5585 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5587 (__ASSUME_PIPE2): Likewise.
5588 (__ASSUME_EVENTFD2): Likewise.
5589 (__ASSUME_SIGNALFD4): Likewise.
5590 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5591 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5593 (__ASSUME_EVENTFD2): Likewise.
5594 (__ASSUME_SIGNALFD4): Likewise.
5595 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5596 (__ASSUME_32BITUIDS): Likewise.
5597 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5598 (__ASSUME_IPC64): Likewise.
5599 (__ASSUME_ST_INO_64_BIT): Likewise.
5600 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5601 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5602 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5603 (__ASSUME_UTIMES): Do not define.
5604 (__ASSUME_PSELECT): Likewise.
5605 (__ASSUME_PPOLL): Likewise.
5606 (__ASSUME_O_CLOEXEC): Likewise.
5607 (__ASSUME_SOCK_CLOEXEC): Likewise.
5608 (__ASSUME_IN_NONBLOCK): Likewise.
5609 (__ASSUME_PIPE2): Likewise.
5610 (__ASSUME_EVENTFD2): Likewise.
5611 (__ASSUME_SIGNALFD4): Likewise.
5612 (__ASSUME_DUP3): Likewise.
5613 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5614 (__ASSUME_UTIMES): 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/microblaze/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/mips/kernel-features.h (__ASSUME_IPC64):
5633 (__ASSUME_UTIMES): Likewise.
5634 (__ASSUME_EVENTFD2): Likewise.
5635 (__ASSUME_SIGNALFD4): Likewise.
5636 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5637 (__ASSUME_O_CLOEXEC): Likewise.
5638 (__ASSUME_SOCK_CLOEXEC): Likewise.
5639 (__ASSUME_IN_NONBLOCK): Likewise.
5640 (__ASSUME_PIPE2): Likewise.
5641 (__ASSUME_EVENTFD2): Likewise.
5642 (__ASSUME_SIGNALFD4): Likewise.
5643 (__ASSUME_DUP3): Likewise.
5644 (__ASSUME_UTIMES): Undefine.
5646 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5647 feclearexcept. Remove symbol versioning code.
5648 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5649 symbol versioning code.
5650 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5651 symbol versioning code.
5652 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5653 feupdateenv. Remove symbol versioning code.
5654 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5655 fegetexceptflag. Remove symbol versioning code.
5656 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5657 fesetexceptflag. Remove symbol versioning code.
5658 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5659 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5660 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5661 (__posix_fadvise64_l32): Remove prototype.
5662 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5665 2014-05-13 Roland McGrath <roland@hack.frob.com>
5667 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5668 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5669 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5670 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5672 2014-05-13 Sami Kerola <kerolasa@iki.fi>
5674 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5675 current working directory
5677 2014-05-13 Roland McGrath <roland@hack.frob.com>
5679 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5680 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5681 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5682 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5683 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5684 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5685 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5686 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5687 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5688 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5689 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5690 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5691 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5692 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5693 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5694 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5695 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5696 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5697 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5698 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5699 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5700 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5701 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5702 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5703 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5704 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5705 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5706 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5707 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5708 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5709 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5710 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5711 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5712 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5713 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5714 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5715 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5716 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5717 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5718 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5719 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5720 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5722 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5723 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5725 * sysdeps/unix/sysv/linux/arm/Makefile
5726 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5727 Add rt-aeabi_unwind_cpp_pr1.
5728 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5729 Add nptl-aeabi_unwind_cpp_pr1.
5730 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5731 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5732 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5733 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5734 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5735 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5737 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5738 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5739 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5740 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5742 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5743 Deconditionalize the code that was previously under [RESET_PID].
5744 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5746 * sysdeps/generic/exit-thread.h: New file.
5747 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5748 * include/unistd.h (__exit_thread): Remove declaration.
5749 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5750 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5751 * csu/libc-start.c: Include <exit-thread.h>.
5752 (LIBC_START_MAIN): Pass no argument to __exit_thread.
5753 * nptl/pthread_create.c: Include <exit-thread.h>.
5754 (start_thread): Call __exit_thread in place of __exit_thread_inline.
5755 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5756 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5757 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5758 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5759 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5760 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5761 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5762 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5763 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5764 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5765 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5766 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5767 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5768 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5769 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5770 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5772 2014-05-13 Andreas Schwab <schwab@suse.de>
5774 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5776 2014-05-12 Joseph Myers <joseph@codesourcery.com>
5778 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5779 (__ASSUME_UTIMES): Do not condition on kernel version.
5780 (__ASSUME_PSELECT): Define unconditionally.
5781 (__ASSUME_PPOLL): Likewise.
5782 (__ASSUME_ATFCTS): Likewise.
5783 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5784 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5785 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5786 (__ASSUME_UTIMENSAT): Define unconditionally.
5787 (__ASSUME_PRIVATE_FUTEX): Likewise.
5788 (__ASSUME_FALLOCATE): Likewise.
5789 (__ASSUME_O_CLOEXEC): Likewise.
5790 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5791 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5792 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5793 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5794 (__ASSUME_IN_NONBLOCK): Likewise.
5795 (__ASSUME_PIPE2): Likewise.
5796 (__ASSUME_EVENTFD2): Likewise.
5797 (__ASSUME_SIGNALFD4): Likewise.
5798 (__ASSUME_DUP3): Likewise.
5799 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5800 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5801 (__ASSUME_AT_RANDOM): Likewise.
5802 (__ASSUME_PREADV): Likewise.
5803 (__ASSUME_PWRITEV): Likewise.
5804 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5805 (__ASSUME_F_GETOWN_EX): Define unconditionally.
5806 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5807 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5808 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5809 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5810 (__ASSUME_O_CLOEXEC): Define unconditionally.
5811 (__ASSUME_PSELECT): Do not undefine conditionally.
5812 (__ASSUME_PPOLL): Likewise.
5813 (__ASSUME_ATFCTS): Likewise.
5814 (__ASSUME_SET_ROBUST_LIST): Likewise.
5815 (__ASSUME_UTIMENSAT): Likewise.
5816 (__ASSUME_FDATASYNC): Define unconditionally.
5817 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5818 (__ASSUME_SIGFRAME_V2): Likewise.
5819 )__ASSUME_EVENTFD2): Likewise.
5820 (__ASSUME_SIGNALFD4): Likewise.
5821 (__ASSUME_PSELECT): Do not undefine conditionally.
5822 (__ASSUME_PPOLL): Likewise.
5823 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5824 (__ASSUME_PSELECT): Define unconditionally.
5825 (__ASSUME_PPOLL): Likewise.
5826 (__ASSUME_O_CLOEXEC): Likewise.
5827 (__ASSUME_SOCK_CLOEXEC): Likewise.
5828 (__ASSUME_IN_NONBLOCK): Likewise.
5829 (__ASSUME_PIPE2): Likewise.
5830 (__ASSUME_EVENTFD2): Likewise.
5831 (__ASSUME_SIGNALFD4): Likewise.
5832 (__ASSUME_DUP3): Likewise.
5833 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5834 (__ASSUME_O_CLOEXEC): Likewise.
5835 (__ASSUME_SOCK_CLOEXEC): Likewise.
5836 (__ASSUME_IN_NONBLOCK): Likewise.
5837 (__ASSUME_PIPE2): Likewise.
5838 (__ASSUME_EVENTFD2): Likewise.
5839 (__ASSUME_SIGNALFD4): Likewise.
5840 (__ASSUME_DUP3): Likewise.
5841 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5842 (__ASSUME_EVENTFD2): Likewise.
5843 (__ASSUME_SIGNALFD4): Likewise.
5844 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5846 2014-05-12 Andreas Schwab <schwab@suse.de>
5849 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5850 (_nss_nis_gethostbyname4_r): Return error if item length is larger
5851 than maximum RPC packet size.
5852 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5853 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5854 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5855 (_nss_nis_getservbyport_r): Likewise.
5857 2014-05-12 Will Newton <will.newton@linaro.org>
5859 * malloc/Makefile (tests): Add tst-mallopt.
5860 * malloc/tst-mallopt.c: New file.
5862 2014-05-09 Roland McGrath <roland@hack.frob.com>
5864 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5865 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5867 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5869 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5870 (tst-tlsmod6.so): Likewise.
5872 2014-05-09 Roland McGrath <roland@hack.frob.com>
5874 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5876 2014-05-09 Joseph Myers <joseph@codesourcery.com>
5879 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5880 and <dl-procinfo.h>.
5881 (__fegetenv): Save SSE state in envp->__eip if supported.
5882 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5883 envp->__eip if supported.
5884 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5885 and <dl-procinfo.h>.
5886 (__fesetenv): Always set __eip, __cs_selector, __opcode,
5887 __data_offset and __data_selector in environment to 0. Set SSE
5889 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5891 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5893 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5895 2014-05-09 Will Newton <will.newton@linaro.org>
5897 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5898 and libc_relro_required for ARM.
5899 * sysdeps/arm/preconfigure: Regenerate.
5901 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
5902 Stefan Liebler <stli@linux.vnet.ibm.com>
5904 * config.make.in (enable-lock-elision): New Makefile variable.
5905 * configure.ac: Likewise.
5906 * configure: Regenerate.
5907 * sysdeps/s390/configure.ac:
5908 Add check for gcc transactions support.
5909 * sysdeps/s390/configure: Regenerate.
5910 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5911 Build elision files if enabled.
5912 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5913 Add lock elision support for s390.
5914 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5915 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5916 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5917 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5918 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5919 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5920 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5922 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5924 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5926 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5928 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5929 (__lll_timedlock_elision, __lll_lock_elision)
5930 (__lll_unlock_elision, __lll_trylock_elision)
5931 (lll_timedlock_elision, lll_lock_elision)
5932 (lll_unlock_elision, lll_trylock_elision): Add.
5933 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5934 (pthread_mutex_t): Add lock elision support for s390.
5936 2014-05-14 Wilco <wdijkstr@arm.com>
5938 * sysdeps/arm/fclrexcpt.c: Cleanup.
5939 * sysdeps/arm/fedisblxcpt.c: Cleanup.
5940 * sysdeps/arm/feenablxcpt.c: Cleanup.
5941 * sysdeps/arm/fegetenv.c: Cleanup.
5942 * sysdeps/arm/fegetexcept.c: Cleanup.
5943 * sysdeps/arm/fegetround.c: Cleanup.
5944 * sysdeps/arm/feholdexcpt.c: Cleanup.
5945 * sysdeps/arm/fesetenv.c: Cleanup.
5946 * sysdeps/arm/fesetround.c: Cleanup.
5947 * sysdeps/arm/feupdateenv.c: Cleanup.
5948 * sysdeps/arm/fgetexcptflg.c: Cleanup.
5949 * sysdeps/arm/fraiseexcpt.c: Cleanup.
5950 * sysdeps/arm/fsetexcptflg.c: Cleanup.
5951 * sysdeps/arm/ftestexcept.c: Cleanup.
5952 * sysdeps/arm/get-rounding-mode.h: Cleanup.
5953 * sysdeps/arm/setfpucw.c: Cleanup.
5955 2014-05-09 Will Newton <will.newton@linaro.org>
5957 * sysdeps/arm/armv7/strcmp.S: New file.
5958 * NEWS: Mention addition of ARMv7 optimized strcmp.
5960 2014-05-08 Roland McGrath <roland@hack.frob.com>
5962 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5963 look for %.ac rather than %.in.
5965 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5966 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5967 * sysdeps/mach/hurd/configure: Regenerated.
5968 * sysdeps/unix/sysv/linux/configure: Regenerated.
5970 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5972 2014-05-07 Steve Ellcey <sellcey@mips.com>
5975 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5979 2014-05-07 Andreas Schwab <schwab@suse.de>
5981 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5982 when skipping over non-matching result from nscd.
5984 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
5987 * nptl/sockperf.c (client): Check socket return value.
5990 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5991 nscd security class.
5993 2014-05-06 Roland McGrath <roland@hack.frob.com>
5995 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5996 * sysdeps/arm/unwind.h: ... here.
5998 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
6001 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6004 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6006 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6007 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6008 multiarch strncpy for PPC64.
6009 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6010 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6011 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6012 multiarch optimizations.
6013 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6014 (__libc_ifunc_impl_list): Likewise.
6015 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6016 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6017 multiarch stpncpy for PPC64.
6018 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6019 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6021 2014-05-06 Andreas Schwab <schwab@suse.de>
6024 * gmon/mcount.c (_MCOUNT_DECL): Use
6025 atomic_compare_and_exchange_bool_acq instead of
6026 catomic_compare_and_exchange_bool_acq.
6028 2014-05-05 Roland McGrath <roland@hack.frob.com>
6030 * elf/Makefile (others, install-bin): Remove pldd.
6031 (pldd-modules): Variable removed.
6032 ($(objpfx)pldd): Target removed.
6033 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6034 (others, install-bin): Append pldd here.
6035 ($(objpfx)pldd): New target.
6037 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6038 to 0, so the first #if test emitted later doesn't see it undefined.
6039 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6040 * sysdeps/gnu/errlist.c: Regenerated.
6042 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6044 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6045 [libc_hidden_builtin_def]: Define to empty value.
6046 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6047 [libc_hidden_builtin_def]: Likewise.
6048 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6049 [libc_hidden_builtin_def]: Likewise.
6050 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6051 [libc_hidden_builtin_def]: Likewise.
6052 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6053 __redirect_memcpy and define ifunc as default hidden symbol.
6054 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6055 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6057 2014-05-04 Adam Conrad <adconrad@0c3.net>
6059 * locale/iso-4217.def: Reintroduce XDR currency.
6061 2014-05-04 Allan McRae <allan@archlinux.org>
6063 * po/eo.po: Update Esperanto translation from translation project.
6065 2014-05-02 Carlos O'Donell <carlos@redhat.com>
6067 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6068 and FEATURE_INDEX_MAX to 1.
6069 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6071 2014-05-01 Steve Ellcey <sellcey@mips.com>
6073 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6074 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6075 * iconvdata/big5.c (ONE_DIRECTION): Define.
6076 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6077 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6078 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6079 * iconvdata/cp932.c (ONE_DIRECTION): Define.
6080 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6081 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6082 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6083 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6084 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6085 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6086 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6087 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6088 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6089 * iconvdata/gbk.c (ONE_DIRECTION): Define.
6090 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6091 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6092 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6093 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6094 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6095 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6096 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6097 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6098 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6099 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6100 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6101 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6102 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6103 * iconvdata/iso646.c (ONE_DIRECTION): Define.
6104 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6105 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6106 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6107 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6108 * iconvdata/johab.c (ONE_DIRECTION): Define.
6109 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6110 * iconvdata/sjis.c (ONE_DIRECTION): Define.
6111 * iconvdata/t.61.c (ONE_DIRECTION): Define.
6112 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6113 * iconvdata/tscii.c (ONE_DIRECTION): Define.
6114 * iconvdata/uhc.c (ONE_DIRECTION): Define.
6115 * iconvdata/unicode.c (ONE_DIRECTION): Define.
6116 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6117 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6118 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6120 2014-05-01 Roland McGrath <roland@hack.frob.com>
6122 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6123 (_IO_JUMPS_OFFSET): Define to 0.
6125 * nptl/sysdeps/pthread/bits/libc-lock.h
6126 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6127 (__libc_lock_define_initialized_recursive): Always define using
6128 initializer. Modern compilers treat uninitialized (implicit zero) and
6129 explicit zero initializers the same (i.e. put the datum in bss).
6131 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6133 * nscd/nscd-client.h: Include <string.h>.
6135 2014-05-01 David S. Miller <davem@davemloft.net>
6138 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6139 multiple zero bytes exist at the end of a string.
6140 Reported by Aurelien Jarno <aurelien@aurel32.net>
6142 * string/test-strcmp.c (check): Add explicit test for situations where
6143 there are multiple zero bytes after the first.
6145 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6148 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6149 when compiling wprintf.
6150 * stdio-common/tstdiomisc.c (t3): New function.
6153 2014-05-01 Steve Ellcey <sellcey@mips.com>
6155 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6156 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6157 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6158 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6160 2014-05-01 Steve Ellcey <sellcey@mips.com>
6162 * stdlib/longlong.h: Updated from GCC.
6164 2014-05-01 Will Newton <will.newton@linaro.org>
6165 Bernard Ogden <bernie.ogden@linaro.org>
6167 * NEWS: Update fixed bug list.
6170 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6172 2014-04-30 David S. Miller <davem@davemloft.net>
6174 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6175 (libc_feholdexcept_setround_sparc_ctx): New function.
6176 (libc_fesetenv_sparc_ctx): Likewise.
6177 (libc_feupdateenv_sparc_ctx): Likewise.
6178 (libc_feholdsetround_sparc_ctx): Likewise.
6179 (libc_feholdexcept_setround_ctx): Define.
6180 (libc_feholdexcept_setroundf_ctx): Likewise.
6181 (libc_feholdexcept_setroundl_ctx): Likewise.
6182 (libc_fesetenv_ctx): Likewise.
6183 (libc_fesetenvf_ctx): Likewise.
6184 (libc_fesetenvl_ctx): Likewise.
6185 (libc_feupdateenv_ctx): Likewise.
6186 (libc_feupdateenvf_ctx): Likewise.
6187 (libc_feupdateenvl_ctx): Likewise.
6188 (libc_feresetround_ctx): Likewise.
6189 (libc_feresetroundf_ctx): Likewise.
6190 (libc_feresetroundl_ctx): Likewise.
6191 (libc_feholdsetround_ctx): Likewise.
6192 (libc_feholdsetroundf_ctx): Likewise.
6193 (libc_feholdsetroundl_ctx): Likewise.
6195 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6196 with __USE_GNU instead of XOPEN cpp guards.
6198 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6201 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6202 with XOPEN cpp guards.
6204 2014-04-30 Julian Brown <julian@codesourcery.com>
6207 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6210 2014-04-30 Joseph Myers <joseph@codesourcery.com>
6213 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6215 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6216 * sysdeps/unix/sysv/linux/configure: Regenerated.
6217 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6218 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6219 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6220 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6221 * README: Update reference to required Linux kernel version.
6222 * manual/install.texi (Linux): Update reference to required Linux
6223 kernel headers version.
6224 * INSTALL: Regenerated.
6226 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6228 [POSIX] (limits.h): Likewise.
6229 [POSIX] (math.h): Likewise.
6230 [POSIX] (sys/wait.h): Likewise.
6231 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6233 [POSIX] (stddef.h): Do not allow header inclusion.
6235 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6237 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6239 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
6241 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6242 Return immediately after lll_futex_wake.
6244 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6247 * nscd/nscd-client.h (datahead_init_common): Initialize entire
6249 (datahead_init_pos): Call datahead_init_common early.
6250 (datahead_init_neg): Likewise.
6252 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6253 datahead_init_neg): New functions.
6254 * nscd/aicache.c (addhstaiX): Use them.
6255 * nscd/grpcache.c (cache_addgr): Likewise.
6256 * nscd/hstcache.c (cache_addhst): Likewise.
6257 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6258 * nscd/netgroupcache.c (do_notfound): Likewise.
6259 (addgetnetgrentX): Likewise.
6260 (addinnetgrX): Likewise.
6261 * nscd/pwdcache.c (cache_addpw): Likewise.
6262 * nscd/servicescache.c (cache_addserv): Likewise.
6264 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6265 Atsushi Onoe <atsushi@onoe.org>
6270 * resolv/res_query.c (__libc_res_nsearch): Return if at least
6271 one response is valid.
6272 * resolv/res_send.c (send_dg): Check for validity of other
6273 response if the current response is a referral.
6275 2014-04-29 Steve Ellcey <sellcey@mips.com>
6277 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6279 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
6282 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6283 Always divide by positive zero when computing -Inf result.
6284 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6285 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6287 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6289 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6290 FPSCR if value do not change.
6291 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6292 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6293 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6294 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6295 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6296 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6299 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
6301 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6302 * sysdeps/unix/sysv/linux/hppa: Move directory from
6303 ports/systeps/unix/sysv/linux/hppa.
6304 * README: Update listing for hppa-*-linux-gnu.
6306 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
6309 * manual/stdio.texi (Hook functions): Fix types of stream hook
6312 * socket/sys/socket.h: Fix typo in comment.
6314 2014-04-28 Wilco <wdijkstr@arm.com>
6316 * sysdeps/arm/fenv_private.h: New file.
6317 * sysdeps/arm/math_private.h: New file.
6318 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6320 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
6322 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6324 (La_x86_64_retval): Likewise.
6326 2014-04-24 Ian Bolton <ian.bolton@arm.com>
6328 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6329 fpsr if value didn't change.
6330 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6331 to fpcr if value didn't change.
6332 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6333 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6334 fpsr or fpcr if value didn't change.
6335 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6336 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6337 fpcr if value didn't change.
6338 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6339 to fpsr if value didn't change.
6341 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6343 * nptl/tst-sem3.c: Use test-skeleton.c
6344 (main): Rename to do_test. Use return instead of
6346 * nptl/tst-sem4.c: Use test-skeleton.c
6347 (main): Rename to do_test.
6349 2014-04-22 David S. Miller <davem@davemloft.net>
6351 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6352 (struct sigaction): New struct member __glibc_reserved0, change
6353 type of sa_flags to int.
6355 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
6357 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6358 (COUNT_LEADING_ZEROS_0): Define for AArch64.
6360 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6362 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6363 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6365 2014-04-22 Will Newton <will.newton@linaro.org>
6366 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
6368 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6369 (__longjmp): Add longjmp and longjmp_target SystemTap
6371 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6372 (__sigsetjmp): Add setjmp SystemTap probe.
6374 2014-04-17 Carlos O'Donell <carlos@redhat.com>
6376 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6379 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6381 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6383 * sysdeps/powerpc/fpu/fenv_private.h
6384 (libc_feholdexcept_setroundl_ctx): Define to
6385 libc_feholdexcept_setround_ppc_ctx.
6386 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6387 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6388 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6389 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6391 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6393 * sysdeps/aarch64/math-tests.h: New file.
6395 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
6397 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6399 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6400 Check and set bit_AVX2_Usable.
6401 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6403 (bit_AVX2): Likewise.
6404 (index_AVX2_Usable): Likewise.
6405 (CPUID_AVX2): Likewise.
6406 (HAS_AVX2): Likewise.
6408 2014-04-17 Will Newton <will.newton@linaro.org>
6410 * manual/setjmp.texi (System V contexts): Add note that
6411 calling setcontext on a context created by a call to a
6412 signal handler is undefined. Update text to note that
6413 setcontext from a signal handler is possible but not
6417 * stdlib/tst-setcontext.c: Include signal.h.
6418 (main): Check that the signal stack before and
6419 after swapcontext is the same.
6421 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6422 Re-implement to restore registers in user code and avoid
6423 rt_sigreturn system call.
6425 2014-04-17 Wilco <wdijkstr@arm.com>
6427 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6428 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6429 * math/test-fenv.c: Skip exception trap tests on targets which only
6430 support non-stop mode.
6432 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6433 Wilco Dijkstra <wilco.dijkstra@arm.com>
6435 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6436 (libc_feholdsetround_aarch64_ctx)
6437 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6438 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6439 (libc_feresetround_ctx, libc_feresetroundf_ctx)
6440 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6441 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6442 (libc_feresetround_noexl_ctx): Define.
6444 2014-04-16 Richard Henderson <rth@redhat.com>
6446 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6448 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6451 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6452 const from the non-libc, non-ldso copy.
6454 * sysdeps/alpha/libm-test-ulps: Regenerate.
6456 2014-04-16 Ian Bolton <ian.bolton@arm.com>
6457 Wilco Dijkstra <wilco.dijkstra@arm.com>
6459 * sysdeps/aarch64/fpu/math_private.h: New file.
6461 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
6463 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6465 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
6467 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6468 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6469 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6470 Intel MPX bound registers before _dl_profile_fixup.
6471 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6472 registers after _dl_profile_fixup. Save and restore bound
6473 registers bnd0/bnd1 when calling _dl_call_pltexit.
6474 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6475 (LR_BND_OFFSET): Likewise.
6476 (LRV_BND0_OFFSET): Likewise.
6477 (LRV_BND1_OFFSET): Likewise.
6479 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6481 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6483 * sysdeps/mach/hurd/i386/tls.h: ... here.
6484 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6485 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6488 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6490 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6492 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6494 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6496 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6499 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6500 * sysdeps/s390/configure: Regenerate.
6503 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6504 Set round-to-nearest internally to reduce error accumulation.
6506 2014-04-16 Alan Modra <amodra@gmail.com>
6510 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6511 * math/libm-test.inc (frexp_test_data): Add tests.
6512 * NEWS: Update fixed bug list.
6514 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6516 * benchtests/Makefile: Depend on libraries in build directory.
6517 (bench-math): Separate out math tests.
6518 (bench-pthread): Separate out pthread tests.
6519 (bench): Include math and pthread tests.
6521 2014-04-14 Carlos O'Donell <carlos@redhat.com>
6524 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6525 _dl_debug_initialize.
6527 * configure.ac: Remove SELinux header check.
6528 * configure: Regenerate.
6529 * nscd/selinux.c (perms): Array of const char* to permission names.
6530 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6531 default policy. Call string_to_security_class and string_to_av_perm to
6532 translate strings. Enforce default policy and call avs_has_perm with
6533 results of translated strings.
6535 2014-04-13 David S. Miller <davem@davemloft.net>
6537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6539 2014-04-12 Allan McRae <allan@archlinux.org>
6542 * manual/string.texi (Collation Functions): Fix qsort argument
6544 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6546 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6548 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6549 Make the test a no-op if there are no exceptions defined.
6551 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6553 * elf/Makefile (tests): make tst-dlopen-aout conditional on
6554 enable-hardcoded-path-in-tests
6556 2014-04-11 Will Newton <will.newton@linaro.org>
6558 * benchtests/Makefile (extra-objs): Add json-lib.o.
6559 (bench-func): Tidy up JSON output.
6560 * benchtests/bench-skeleton.c: Include json-lib.h.
6561 (main): Use JSON library functions to do output of
6563 * benchtests/bench-timing-type.c (main): Output the
6564 timing type simply, leaving formatting to the user.
6565 * benchtests/json-lib.c: New file.
6566 * benchtests/json-lib.h: Likewise.
6568 2014-04-11 Torvald Riegel <triegel@redhat.com>
6571 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6572 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6573 memory barriers. Add comments.
6574 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6575 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6576 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6577 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6578 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6579 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6581 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6583 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6584 * sysdeps/s390/s390-64/configure.ac: ... this ...
6585 * sysdeps/s390/configure.ac: ... to here.
6586 * sysdeps/s390/s390-32/configure: Delete file.
6587 * sysdeps/s390/s390-64/configure: Delete file.
6588 * sysdeps/s390/configure: Regenerate.
6590 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6592 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6594 2014-04-11 Will Newton <will.newton@linaro.org>
6596 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6597 to zero if it is not defined elsewhere. (mtrim): Test
6598 the value of MALLOC_DEBUG with #if rather than #ifdef.
6600 2014-04-10 Torvald Riegel <triegel@redhat.com>
6602 * benchtests/pthread_once-inputs: New file.
6603 * benchtests/pthread_once-source.c: New file.
6604 * benchtests/README: Update documentation.
6606 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6607 H.J. Lu <hongjiu.lu@intel.com>
6609 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6610 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6611 * sysdeps/x86_64/configure: Regenerated.
6612 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6614 (REGISTER_SAVE_RAX): Likewise.
6615 (REGISTER_SAVE_RCX): Likewise.
6616 (REGISTER_SAVE_RDX): Likewise.
6617 (REGISTER_SAVE_RSI): Likewise.
6618 (REGISTER_SAVE_RDI): Likewise.
6619 (REGISTER_SAVE_R8): Likewise.
6620 (REGISTER_SAVE_R9): Likewise.
6621 (REGISTER_SAVE_BND0): Likewise.
6622 (REGISTER_SAVE_BND1): Likewise.
6623 (REGISTER_SAVE_BND2): Likewise.
6624 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6625 bound registers when calling _dl_fixup.
6627 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6629 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6630 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6632 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6633 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6634 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6635 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6636 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6637 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6638 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6640 2014-04-09 Peter Brett <peter@peter-b.co.uk>
6643 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6644 pathconf(_PC_NAME_MAX).
6646 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6648 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6650 (__PTHREAD_SPINS): Move definition to ...
6651 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6652 (__PTHREAD_SPINS): ... here.
6653 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6654 (__PTHREAD_SPIN): Likewise.
6655 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6656 (__PTHREAD_SPIN): Likewise.
6657 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6658 (__PTHREAD_SPIN): Likewise.
6659 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6660 (__PTHREAD_SPIN): Likewise.
6661 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6662 (__PTHREAD_SPIN): Likewise.
6663 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6664 (__PTHREAD_SPIN): Likewise.
6665 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6666 (__PTHREAD_SPIN): Likewise.
6667 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6668 (__PTHREAD_SPIN): Likewise.
6669 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6670 (__PTHREAD_SPIN): Likewise.
6671 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6672 (__PTHREAD_SPIN): Likewise.
6673 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6674 (__PTHREAD_SPIN): Likewise.
6675 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6676 (__PTHREAD_SPIN): Likewise.
6678 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6679 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6680 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6681 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6683 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6684 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6685 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6686 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6688 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6689 strlen symbol for non multi-arch builds.
6690 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6691 missing hidden_def and weak_alias.
6693 2014-04-08 Carlos O'Donell <carlos@redhat.com>
6695 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6697 2014-04-07 Will Newton <will.newton@linaro.org>
6699 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6700 and contents. [!_LIBC] Remove #ifndef and contents.
6701 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6702 * string/memccpy.c (__memccpy): Use ANSI prototype.
6703 * string/memfrob.c (memfrob): Likewise.
6704 * string/strcoll.c (STRCOLL): Likewise.
6705 * string/strlen.c (strlen): Likewise.
6706 * string/strtok.c (STRTOK): Likewise.
6707 * string/strcat.c: Remove unused #include of memcopy.h.
6708 (strcat): Use ANSI prototype.
6709 * string/strchr.c: Remove unused #include of memcopy.h.
6710 (strchr): Use ANSI prototype.
6711 * string/strcmp.c: Remove unused #include of memcopy.h.
6712 (strcmp): Use ANSI prototype.
6713 * string/strcpy.c: Remove unused #include of memcopy.h.
6714 (strcpy): Use ANSI prototype.
6716 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6718 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6719 * config.make.in (config-extra-cppflags): Set it from
6720 libc_extra_cppflags.
6721 * configure.ac (libc_extra_cflags): Make it accumulate over
6722 configure fragments.
6723 (libc_extra_cppflags): New flag.
6724 * configure. Regenerate.
6725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6726 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6727 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6731 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6732 result for FE_DOWNWARD rounding mode.
6733 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6735 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6737 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
6739 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6740 in function argument name.
6742 2014-04-03 David Svoboda <svoboda@cert.org>
6745 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6748 2014-04-03 Roland McGrath <roland@hack.frob.com>
6750 * elf/dl-unmap-segments.h: New file.
6751 * sysdeps/generic/ldsodefs.h
6752 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6753 * elf/dl-close.c: Include <dl-unmap-segments.h>.
6754 * elf/dl-fptr.c: Likewise.
6755 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6756 * sysdeps/aarch64/tlsdesc.c: Likewise.
6757 * sysdeps/arm/tlsdesc.c: Likewise.
6758 * sysdeps/i386/tlsdesc.c: Likewise.
6759 * sysdeps/tile/dl-runtime.c: Likewise.
6760 * sysdeps/x86_64/tlsdesc.c: Likewise.
6761 * elf/dl-load.h: New file.
6762 * elf/dl-load.c: Include it.
6763 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6764 Macros moved to dl-load.h.
6765 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6766 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6767 Use _dl_unmap_segments in place of __munmap.
6768 Break out segment-mapping loop into ...
6769 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6771 2014-04-03 Will Newton <will.newton@linaro.org>
6773 * elf/dl-lookup.c (do_lookup_x): Remove comment
6774 referring to nested function and move variable
6775 declarations down to before first use.
6777 2014-04-02 Joseph Myers <joseph@codesourcery.com>
6781 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6783 * math/s_catanf.c (__catanf): Likewise.
6784 * math/s_catanh.c (__catanh): Likewise.
6785 * math/s_catanhf.c (__catanhf): Likewise.
6786 * math/s_catanhl.c (__catanhl): Likewise.
6787 * math/s_catanl.c (__catanl): Likewise.
6788 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6789 by positive zero when computing -Inf result.
6790 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6791 (catanh_test): Likewise.
6792 * sysdeps/i386/fpu/libm-test-ulps: Update.
6793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6796 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6797 instead of using underflowing value in computing result.
6798 * math/s_clog10.c (__clog10): Likewise.
6799 * math/s_clog10f.c (__clog10f): Likewise.
6800 * math/s_clog10l.c (__clog10l): Likewise.
6801 * math/s_clogf.c (__clogf): Likewise.
6802 * math/s_clogl.c (__clogl): Likewise.
6803 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6804 (clog10_test): Likewise.
6805 * sysdeps/i386/fpu/libm-test-ulps: Update.
6806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6808 2014-04-02 Alan Modra <amodra@gmail.com>
6811 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6812 output when value is near a power of two. Use int64_t for lx and
6813 remove casts. Use decimal rather than hex exponent constants.
6814 Don't use long double multiplication when double will suffice.
6815 * math/libm-test.inc (nextafter_test_data): Add tests.
6816 * NEWS: Add 16739 and 16786 to bug list.
6818 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6820 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6822 2014-04-01 Will Newton <will.newton@linaro.org>
6824 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6825 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
6827 2014-04-01 Florian Weimer <fweimer@redhat.com>
6830 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6831 * nptl/tst-setuid2.c: New file.
6832 * nptl/Makefile (xtests): Add tst-setuid2.
6834 2014-04-01 Alan Modra <amodra@gmail.com>
6837 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6839 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6843 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6844 set errno as appropriate.
6845 * math/w_scalbf.c (__scalbf): Likewise.
6846 * math/w_scalbl.c (__scalbl): Likewise.
6847 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6848 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6849 * math/libm-test.inc (scalb_test_data): Add errno expectations.
6853 * math/w_atan2.c: Include <errno.h>.
6854 (__atan2): Set errno for result underflowing to zero.
6855 * math/w_atan2f.c: Include <errno.h>.
6856 (__atan2f): Set errno for result underflowing to zero.
6857 * math/w_atan2l.c: Include <errno.h>.
6858 (__atan2l): Set errno for result underflowing to zero.
6859 * math/auto-libm-test-in: Don't allow missing errno for some atan2
6861 * math/auto-libm-test-out: Regenerated.
6863 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6865 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6866 Encode instruction correctly in little endian.
6867 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6869 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6871 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6873 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6876 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6879 * sysdeps/unix/sysv/linux/kernel-features.h
6880 [__sparc__ && !__arch64__ && !__sparc_v9__]
6881 (__ASSUME_SET_ROBUST_LIST): Do not define.
6882 [__sparc__ && !__arch64__ && !__sparc_v9__]
6883 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6884 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6886 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6887 (__ASSUME_FUTEX_LOCK_PI): Undefine.
6888 (__ASSUME_REQUEUE_PI): Likewise.
6889 (__ASSUME_SET_ROBUST_LIST): Likewise.
6890 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6891 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6893 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6894 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6896 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6898 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6900 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6901 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6903 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6904 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6908 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6909 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6910 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6912 2014-03-31 Will Newton <will.newton@linaro.org>
6914 * benchtests/Makefile (bench): Add ffs and ffsll to list
6916 * benchtests/ffs-inputs: New file.
6917 * benchtests/ffsll-inputs: Likewise.
6919 2014-03-29 Joseph Myers <joseph@codesourcery.com>
6922 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6923 too large before casting to int.
6924 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6925 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6926 * math/libm-test.inc (scalb_test_data): Add more tests.
6928 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6930 * benchtests/Makefile (DETAILED_OPT): New make option.
6931 (bench-func): Run benchmark program with -d if DETAILED_OPT is
6933 * benchtests/bench-skeleton.c: Include stdbool.h.
6934 (main): Store and print timings per input.
6935 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6936 member to each argument value.
6937 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6938 (_print_arg_data): Initialize per-input timing to 0.
6940 * benchtests/Makefile (timing-type): New binary.
6941 (bench-clean): Also remove bench-timing-type.
6942 (bench): New target for timing-type.
6943 (bench-func): Print output in JSON format.
6944 * benchtests/bench-skeleton.c (main): Print output in JSON
6946 * benchtests/bench-timing-type.c: New file.
6947 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6948 (TIMING_PRINT_STATS): Remove.
6949 * benchtests/scripts/bench.py (_print_arg_data): Store variant
6952 * benchtests/bench-modf.c: Remove.
6953 * benchtests/modf-inputs: New inputs file.
6955 2014-03-28 Joseph Myers <joseph@codesourcery.com>
6958 * math/s_clog10.c (M_PI_LOG10E): New macro.
6959 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6960 imaginary parts are 0.
6961 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6962 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6963 imaginary parts are 0.
6964 * math/s_clog10l.c (M_PI_LOG10El): New macro.
6965 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6966 imaginary parts are 0.
6967 * math/libm-test.inc (clog10_test_data): Update expected results
6968 for when real and imaginary parts are 0.
6970 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
6972 * elf/dl-load.c: Finish conversion of __builtin_expect into
6975 2014-03-27 Joseph Myers <joseph@codesourcery.com>
6978 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6979 1+x for argument with exponent below -67.
6980 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6982 * math/auto-libm-test-in: Add more tests of exp.
6983 * math/auto-libm-test-out: Regenerated.
6985 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6988 * inet/getnetgrent_r.c (get_nonempty_val): New function.
6989 (nscd_getnetgrent): Use it.
6992 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6995 2014-03-27 Andi Kleen <ak@linux.intel.com>
6997 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6998 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6999 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7000 (lll_robust_unlock): Remove out of line section. Use cfi
7002 (LLL_STUB_UNWIND_INFO*): Remove.
7003 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7004 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7005 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7006 (lll_robust_unlock): Remove out of line section. Use cfi
7008 (LLL_STUB_UNWIND_INFO*): Remove.
7010 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7013 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7016 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7018 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7020 2014-03-26 Joseph Myers <joseph@codesourcery.com>
7023 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7025 * math/test-fenv-preserve.c: New file.
7026 * math/Makefile (tests): Add test-fenv-preserve.
7028 2014-03-26 Will Newton <will.newton@linaro.org>
7030 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7032 2014-03-25 Roland McGrath <roland@hack.frob.com>
7034 * scripts/versionlist.awk: Partition the version sets and emit all
7035 GLIBC_* (sorted) before all others (sorted).
7037 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7039 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7040 GLIBC_2.2.5 version.
7042 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7044 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7047 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7052 2014-03-25 Andreas Schwab <schwab@suse.de>
7054 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7055 label to be used after in6ailist is initialized.
7057 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7059 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7060 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7062 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7066 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7068 (fp_formats): Update initializers.
7069 (init_fp_formats): Initialize new field.
7070 (output_for_one_input_case): Allow underflow for results up to
7072 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7073 * math/auto-libm-test-in: Don't mark some underflows from asin and
7075 * math/auto-libm-test-out: Regenerated.
7076 * sysdeps/i386/fpu/libm-test-ulps: Update.
7077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7079 2014-03-25 Andreas Schwab <schwab@suse.de>
7081 * libio/Makefile (tst-ftell-partial-wide-ENV)
7082 (tst-ftell-active-handler-ENV): Define.
7084 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7086 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7088 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7090 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7092 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7094 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7095 * sysdeps/x86_64/fpu/multiarch/e_exp.c
7096 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7098 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7101 * elf/dl-load.c (open_verify): Add mode parameter.
7102 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7103 (open_path): Change from boolean 'secure' to complete flag 'mode'
7104 (_dl_map_object): Adjust.
7105 * elf/Makefile (tests): Add tst-dlopen-aout.
7106 * elf/tst-dlopen-aout.c: New test.
7108 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7111 * sysdeps/unix/sysv/linux/s390/bits/stat.h
7112 (struct stat): Rename member pad0 to __glibc_reserved0.
7115 * sysdeps/s390/s390-32/bits/wordsize.h
7116 (__WORDSIZE32_SIZE_ULONG): New define.
7117 * sysdeps/s390/s390-64/bits/wordsize.h
7118 (__WORDSIZE32_SIZE_ULONG): Likewise.
7119 * sysdeps/generic/stdint.h (SIZE_MAX):
7120 Define as UL if __WORDSIZE32_SIZE_ULONG.
7123 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7124 (__glibc_reserved0): New variable.
7125 (sa_flags): Change type to int.
7127 * posix/Makefile (before-compile): Use += before-compile instead
7130 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7131 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7133 2014-03-20 Andreas Schwab <schwab@suse.de>
7136 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7137 non-matching result from nscd.
7139 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7141 * scripts/bench.py: Moved to ...
7142 * benchtests/scripts/bench.py: ... here.
7143 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7145 2014-03-24 Andreas Schwab <schwab@suse.de>
7148 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7149 alloca_account and account alloca use for struct in6ailist.
7151 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7154 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7155 rounding mode to recompute results that overflow to infinity or
7157 * math/auto-libm-test-in: Don't mark tests as expected to fail for
7159 * math/auto-libm-test-out: Regenerated.
7160 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7161 (ccosh_test): Likewise.
7162 (csin_test_data): Use plus_oflow.
7163 (csin_test): Use ALL_RM_TEST.
7164 (csinh_test_data): Use plus_oflow.
7165 (csinh_test): Use ALL_RM_TEST.
7166 * sysdeps/i386/fpu/libm-test-ulps: Update.
7167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7169 2014-03-21 Joseph Myers <joseph@codesourcery.com>
7171 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7172 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7173 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7176 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7178 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7179 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7180 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7181 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7183 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7184 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7186 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7187 * sysdeps/i386/fpu/libm-test-ulps: Update.
7188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7190 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7192 * scripts/bench.pl: Remove file.
7193 * scripts/bench.py: New benchmark script.
7194 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7195 * benchtests/README: Mention python dependency.
7196 * scripts/pylintrc: New file.
7197 * scripts/pylint: New file.
7199 * bits/mathdef.h: Use #ifdef instead of #if.
7200 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7201 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7202 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7203 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7204 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7205 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7207 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7208 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7210 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7211 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7212 and strpbrk-ppc64 objects.
7213 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7214 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7215 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7216 multiarch strpbrk for POWER7.
7217 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7218 multiarch strpbrk for PPC64.
7219 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7221 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7224 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7226 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7227 (atan_test): Likewise.
7228 (atanh_test_data): Use NO_TEST_INLINE for two tests.
7229 (atanh_test): Use ALL_RM_TEST.
7230 (atan2_test_data): Likewise.
7231 (cabs_test): Likewise.
7232 (cacosh_test): Likewise.
7233 (carg_test): Likewise.
7234 (casin_test): Likewise.
7235 (casinh_test): Likewise.
7236 (cbrt_test): Likewise.
7237 (csqrt_test): Likewise.
7238 (erf_test): Likewise.
7239 (erfc_test): Likewise.
7240 (pow10_test): Likewise.
7241 (exp2_test): Likewise.
7242 (hypot_test): Likewise.
7243 (j0_test): Likewise.
7244 (j1_test): Likewise.
7245 (lgamma_test): Likewise.
7246 (gamma_test): Likewise.
7247 (sincos_test): Likewise.
7248 (tanh_test): Likewise.
7249 (y0_test): Likewise.
7250 (y1_test): Likewise.
7251 * sysdeps/i386/fpu/libm-test-ulps: Update.
7252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7254 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7256 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7257 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7258 and strcspn-ppc64 objects.
7259 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7260 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7261 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7262 multiarch strcspn for POWER7.
7263 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7264 multiarch strcspn for PPC64.
7265 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7267 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7270 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7272 * math/gen-libm-test.pl (generate_testfile): Expect only function
7273 name as argument to AUTO_TESTS_* and pass results for all rounding
7274 modes to parse_args.
7275 (parse_auto_input): Separate inputs of automatic tests from
7276 outputs before storing in %auto_tests.
7277 * math/libm-test.inc (acos_test_data): Update call to
7279 (acos_test): Use ALL_RM_TEST.
7280 (acos_tonearest_test_data): Remove.
7281 (acos_test_tonearest): Likewise.
7282 (acos_towardzero_test_data): Likewise.
7283 (acos_test_towardzero): Likewise.
7284 (acos_downward_test_data): Likewise.
7285 (acos_test_downward): Likewise.
7286 (acos_upward_test_data): Likewise.
7287 (acos_test_upward): Likewise.
7288 (acosh_test_data): Update call to AUTO_TESTS_f_f.
7289 (asin_test_data): Likewise.
7290 (asin_test): Use ALL_RM_TEST.
7291 (asin_tonearest_test_data): Remove.
7292 (asin_test_tonearest): Likewise.
7293 (asin_towardzero_test_data): Likewise.
7294 (asin_test_towardzero): Likewise.
7295 (asin_downward_test_data): Likewise.
7296 (asin_test_downward): Likewise.
7297 (asin_upward_test_data): Likewise.
7298 (asin_test_upward): Likewise.
7299 (asinh_test_data): Update call to AUTO_TESTS_f_f.
7300 (atan_test_data): Likewise.
7301 (atanh_test_data): Likewise.
7302 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7303 (cabs_test_data): Update call to AUTO_TESTS_c_f.
7304 (carg_test_data): Likewise.
7305 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7306 (ccos_test_data): Update call to AUTO_TESTS_c_c.
7307 (ccosh_test_data): Likewise.
7308 (cexp_test_data): Likewise.
7309 (clog_test_data): Likewise.
7310 (clog10_test_data): Likewise.
7311 (cos_test_data): Update call to AUTO_TESTS_f_f.
7312 (cos_test): Use ALL_RM_TEST.
7313 (cos_tonearest_test_data): Remove.
7314 (cos_test_tonearest): Likewise.
7315 (cos_towardzero_test_data): Likewise.
7316 (cos_test_towardzero): Likewise.
7317 (cos_downward_test_data): Likewise.
7318 (cos_test_downward): Likewise.
7319 (cos_upward_test_data): Likewise.
7320 (cos_test_upward): Likewise.
7321 (cosh_test_data): Update call to AUTO_TESTS_f_f.
7322 (cosh_test): Use ALL_RM_TEST.
7323 (cosh_tonearest_test_data): Remove.
7324 (cosh_test_tonearest): Likewise.
7325 (cosh_towardzero_test_data): Likewise.
7326 (cosh_test_towardzero): Likewise.
7327 (cosh_downward_test_data): Likewise.
7328 (cosh_test_downward): Likewise.
7329 (cosh_upward_test_data): Likewise.
7330 (cosh_test_upward): Likewise.
7331 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7332 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7333 (ctan_test_data): Likewise.
7334 (ctan_test): Use ALL_RM_TEST.
7335 (ctan_tonearest_test_data): Remove.
7336 (ctan_test_tonearest): Likewise.
7337 (ctan_towardzero_test_data): Likewise.
7338 (ctan_test_towardzero): Likewise.
7339 (ctan_downward_test_data): Likewise.
7340 (ctan_test_downward): Likewise.
7341 (ctan_upward_test_data): Likewise.
7342 (ctan_test_upward): Likewise.
7343 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7344 (ctanh_test): Use ALL_RM_TEST.
7345 (ctanh_tonearest_test_data): Remove.
7346 (ctanh_test_tonearest): Likewise.
7347 (ctanh_towardzero_test_data): Likewise.
7348 (ctanh_test_towardzero): Likewise.
7349 (ctanh_downward_test_data): Likewise.
7350 (ctanh_test_downward): Likewise.
7351 (ctanh_upward_test_data): Likewise.
7352 (ctanh_test_upward): Likewise.
7353 (erf_test_data): Update call to AUTO_TESTS_f_f.
7354 (erfc_test_data): Likewise.
7355 (exp_test_data): Likewise.
7356 (exp_test): Use ALL_RM_TEST.
7357 (exp_tonearest_test_data): Remove.
7358 (exp_test_tonearest): Likewise.
7359 (exp_towardzero_test_data): Likewise.
7360 (exp_test_towardzero): Likewise.
7361 (exp_downward_test_data): Likewise.
7362 (exp_test_downward): Likewise.
7363 (exp_upward_test_data): Likewise.
7364 (exp_test_upward): Likewise.
7365 (exp10_test_data): Update call to AUTO_TESTS_f_f.
7366 (exp10_test): Use ALL_RM_TEST.
7367 (exp10_tonearest_test_data): Remove.
7368 (exp10_test_tonearest): Likewise.
7369 (exp10_towardzero_test_data): Likewise.
7370 (exp10_test_towardzero): Likewise.
7371 (exp10_downward_test_data): Likewise.
7372 (exp10_test_downward): Likewise.
7373 (exp10_upward_test_data): Likewise.
7374 (exp10_test_upward): Likewise.
7375 (exp2_test_data): Update call to AUTO_TESTS_f_f.
7376 (expm1_test_data): Likewise.
7377 (expm1_test): Use ALL_RM_TEST.
7378 (expm1_tonearest_test_data): Remove.
7379 (expm1_test_tonearest): Likewise.
7380 (expm1_towardzero_test_data): Likewise.
7381 (expm1_test_towardzero): Likewise.
7382 (expm1_downward_test_data): Likewise.
7383 (expm1_test_downward): Likewise.
7384 (expm1_upward_test_data): Likewise.
7385 (expm1_test_upward): Likewise.
7386 (fma_test_data): Update call to AUTO_TESTS_fff_f.
7387 (fma_test): Use ALL_RM_TEST.
7388 (fma_towardzero_test_data): Remove.
7389 (fma_test_towardzero): Likewise.
7390 (fma_downward_test_data): Likewise.
7391 (fma_test_downward): Likewise.
7392 (fma_upward_test_data): Likewise.
7393 (fma_test_upward): Likewise.
7394 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7395 (j0_test_data): Update call to AUTO_TESTS_f_f.
7396 (j1_test_data): Likewise.
7397 (jn_test_data): Update call to AUTO_TESTS_if_f.
7398 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7399 (log_test_data): Update call to AUTO_TESTS_f_f.
7400 (log10_test_data): Likewise.
7401 (log1p_test_data): Likewise.
7402 (log2_test_data): Likewise.
7403 (pow_test_data): Update call to AUTO_TESTS_ff_f.
7404 (pow_tonearest_test_data): Likewise.
7405 (sin_test_data): Update call to AUTO_TESTS_f_f.
7406 (sin_test): Use ALL_RM_TEST.
7407 (sin_tonearest_test_data): Remove.
7408 (sin_test_tonearest): Likewise.
7409 (sin_towardzero_test_data): Likewise.
7410 (sin_test_towardzero): Likewise.
7411 (sin_downward_test_data): Likewise.
7412 (sin_test_downward): Likewise.
7413 (sin_upward_test_data): Likewise.
7414 (sin_test_upward): Likewise.
7415 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7416 (sinh_test_data): Update call to AUTO_TESTS_f_f.
7417 (sinh_test): Use ALL_RM_TEST.
7418 (sinh_tonearest_test_data): Remove.
7419 (sinh_test_tonearest): Likewise.
7420 (sinh_towardzero_test_data): Likewise.
7421 (sinh_test_towardzero): Likewise.
7422 (sinh_downward_test_data): Likewise.
7423 (sinh_test_downward): Likewise.
7424 (sinh_upward_test_data): Likewise.
7425 (sinh_test_upward): Likewise.
7426 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7427 (sqrt_test): Use ALL_RM_TEST.
7428 (sqrt_tonearest_test_data): Remove.
7429 (sqrt_test_tonearest): Likewise.
7430 (sqrt_towardzero_test_data): Likewise.
7431 (sqrt_test_towardzero): Likewise.
7432 (sqrt_downward_test_data): Likewise.
7433 (sqrt_test_downward): Likewise.
7434 (sqrt_upward_test_data): Likewise.
7435 (sqrt_test_upward): Likewise.
7436 (tan_test_data): Update call to AUTO_TESTS_f_f.
7437 (tan_test): Use ALL_RM_TEST.
7438 (tan_tonearest_test_data): Remove.
7439 (tan_test_tonearest): Likewise.
7440 (tan_towardzero_test_data): Likewise.
7441 (tan_test_towardzero): Likewise.
7442 (tan_downward_test_data): Likewise.
7443 (tan_test_downward): Likewise.
7444 (tan_upward_test_data): Likewise.
7445 (tan_test_upward): Likewise.
7446 (tanh_test_data): Update call to AUTO_TESTS_f_f.
7447 (tgamma_test_data): Likewise.
7448 (y0_test_data): Likewise.
7449 (y1_test_data): Likewise.
7450 (yn_test_data): Update call to AUTO_TESTS_if_f.
7451 (main): Do not call removed functions.
7453 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7455 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7456 (ldexp_test_data): Remove.
7457 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
7459 (scalb_test): Use ALL_RM_TEST.
7461 2014-03-19 Andreas Schwab <schwab@suse.de>
7463 * nscd/nscd.service: Also invalidate netgroup cache on reload.
7465 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7468 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7469 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7470 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7471 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7472 (__ASSUME_PREADV): Undefine.
7473 (__ASSUME_PWRITEV): Likewise.
7475 2014-03-18 Roland McGrath <roland@hack.frob.com>
7477 * bits/mman-linux.h: Add comment about non-Linux use.
7478 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7479 bits/mman-linux.h resting place.
7481 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7482 * bits/mman-linux.h: ... here.
7484 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7486 * conform/conformtest.pl: Add standard definition when calling C
7487 preprocessor on data files.
7488 (checknamespace): Remove unused variable.
7490 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7492 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7493 minus_oflow, plus_uflow and minus_uflow in expected results.
7494 * math/libm-test.inc (scalbn_test_data): Add more tests of
7495 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7497 (scalbn_test): Use ALL_RM_TEST.
7498 (scalbln_test_data): Add more tests of negative arguments. Use
7499 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7500 (scalbln_test): Use ALL_RM_TEST.
7502 2014-03-18 Roland McGrath <roland@hack.frob.com>
7504 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7506 2014-03-18 Will Newton <will.newton@linaro.org>
7508 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7511 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7513 * Makerules [!subdir] (check-abi): Exit with error status if a
7516 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7518 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7519 for rint. Include results for all rounding modes.
7520 (nearbyint_test): Use ALL_RM_TEST.
7521 (rint_test_data): Include all tests used for nearbyint.
7523 2014-03-17 Will Newton <will.newton@linaro.org>
7525 * nptl/sysdeps/pthread/pthread.h: Revert previous
7528 * sysdeps/generic/ldsodefs.h: Revert previous
7531 * libio/genops.c: Revert previous change.
7532 * libio/libioP.h: Likewise.
7533 * stdio-common/vfprintf.c: Likewise.
7535 * sysdeps/generic/math_private.h: Revert previous
7538 * sysdeps/generic/math_private.h: Check whether
7539 HAVE_RM_CTX is defined with #ifdef rather
7542 * argp/argp-fmtstream.h: Check whether
7543 __STRICT_ANSI__ is defined with #ifdef rather
7545 * argp/argp.h: Likewise.
7547 * libio/genops.c: Check whether
7548 _IO_JUMPS_OFFSET is defined with #ifdef rather
7550 * libio/libioP.h: Likewise.
7551 * stdio-common/vfprintf.c: Likewise.
7553 * sysdeps/generic/ldsodefs.h: Check whether
7554 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7557 * nptl/sysdeps/pthread/pthread.h: Check
7558 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7561 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7563 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7565 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7569 * libio/fileops.c (_IO_file_open): Seek to end of file but
7570 don't cache the offset.
7571 (get_file_offset): Remove function.
7572 (do_ftell): Use cached offset when available.
7573 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7574 don't cache the offset.
7575 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7577 (do_one_test): Call it.
7578 (do_ftell_test): Fix up expected old offset for a+ mode.
7579 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7582 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7583 up test status with function return status.
7584 (do_write_test): Likewise.
7585 (do_append_test): Likewise.
7587 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7588 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7591 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7593 * math/gen-libm-test.pl (parse_args): Handle results specified for
7594 each rounding mode separately.
7595 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7596 tests and results from lrint_tonearest_test_data,
7597 lrint_towardzero_test_data, lrint_downward_test_data and
7598 lrint_upward_test_data.
7599 (lrint_test): Use ALL_RM_TEST.
7600 (lrint_tonearest_test_data): Remove.
7601 (lrint_test_tonearest): Likewise.
7602 (lrint_towardzero_test_data): Likewise.
7603 (lrint_test_towardzero): Likewise.
7604 (lrint_downward_test_data): Likewise.
7605 (lrint_test_downward): Likewise.
7606 (lrint_upward_test_data): Likewise.
7607 (lrint_test_upward): Likewise.
7608 (llrint_test_data): Merge in per-rounding-mode tests and results
7609 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7610 llrint_downward_test_data and llrint_upward_test_data.
7611 (llrint_test): Use ALL_RM_TEST.
7612 (llrint_tonearest_test_data): Remove.
7613 (llrint_test_tonearest): Likewise.
7614 (llrint_towardzero_test_data): Likewise.
7615 (llrint_test_towardzero): Likewise.
7616 (llrint_downward_test_data): Likewise.
7617 (llrint_test_downward): Likewise.
7618 (llrint_upward_test_data): Likewise.
7619 (llrint_test_upward): Likewise.
7620 (rint_test_data): Merge in per-rounding-mode tests and results
7621 from rint_tonearest_test_data, rint_towardzero_test_data,
7622 rint_downward_test_data and rint_upward_test_data. Add
7623 per-rounding-mode results for tests not in those arrays.
7624 (rint_test): Use ALL_RM_TEST.
7625 (rint_tonearest_test_data): Remove.
7626 (rint_test_tonearest): Likewise.
7627 (rint_towardzero_test_data): Likewise.
7628 (rint_test_towardzero): Likewise.
7629 (rint_downward_test_data): Likewise.
7630 (rint_test_downward): Likewise.
7631 (rint_upward_test_data): Likewise.
7632 (rint_test_upward): Likewise.
7633 (main): Don't call removed functions.
7635 2014-03-14 Roland McGrath <roland@hack.frob.com>
7637 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7638 "Compiled on ..." crapola. It is anti-useful.
7640 2014-03-14 Joseph Myers <joseph@codesourcery.com>
7642 * scripts/evaluate-test.sh: Handle fourth argument to determine
7643 whether test run should stop on failure.
7644 * Makeconfig (stop-on-test-failure): New variable.
7645 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7646 $(stop-on-test-failure).
7647 * Makefile (tests): Give a summary of results from testing and
7648 exit with failure status if they include an ERROR or FAIL.
7650 * manual/install.texi (Configuring and compiling): Mention
7651 stop-on-test-failure=y.
7652 * INSTALL: Regenerated.
7654 2014-03-14 Roland McGrath <roland@hack.frob.com>
7656 * scripts/versionlist.awk: New file.
7657 * Makerules [$(build-shared) = yes]
7658 (postclean-generated): Add Versions.def, not Versions.def.v and
7660 ($(common-objpfx)Versions.def.v.i): Target removed.
7661 ($(common-objpfx)Versions.def): New target.
7662 ($(common-objpfx)Versions.all): Depend on that rather that
7663 $(common-objpfx)Versions.def.v.
7664 * Versions.def: File removed.
7666 * Makeconfig (+gccwarn): Add -Wundef.
7667 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7668 a dl-sysdep.h breaking its contract.
7669 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7670 * include/stackinfo.h: New file.
7671 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7672 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7673 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7674 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7675 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7676 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7677 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7678 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7679 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7680 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7681 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7682 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7683 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7684 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7685 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7687 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7690 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7692 * math/libm-test.inc (round_test_data): Add more tests.
7695 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7697 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7700 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7702 * math/libm-test.inc (ceil_test_data): Add more tests.
7704 * math/libm-test.inc (trunc_test_data): Add more tests related to
7707 2014-03-14 Roland McGrath <roland@hack.frob.com>
7709 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7710 with #if rather than #ifdef.
7711 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7713 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
7715 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7716 first. Disable AVX-512 GCC support if assembler doesn't support
7718 * sysdeps/x86_64/configure: Regenerated.
7720 2014-03-13 Carlos O'Donell <carlos@redhat.com>
7722 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7723 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7724 (__old_pthread_attr_setstack): Likewise.
7725 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7726 [!_STACK_GROWS_DOWN]: Likewise.
7728 2014-03-13 Mike Frysinger <vapier@gentoo.org>
7730 * config.make.in (have-bash2): Delete.
7731 * configure.ac (libc_cv_have_bash2): Delete.
7732 * configure: Regenerate.
7733 * elf/Makefile (common-ldd-rewrite): Rename to ...
7734 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
7735 (sh-ldd-rewrite): Delete.
7736 (bash-ldd-rewrite): Delete.
7737 (have-bash2): Delete checks.
7738 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7741 * config.make.in (have-ksh): Delete.
7743 * configure.ac (libc_cv_have_ksh): Delete.
7744 * configure: Regenerate.
7746 * elf/Makefile: Delete $(have-ksh) check.
7747 ($(objpfx)sotruss): Change KSH to BASH.
7748 * elf/sotruss.ksh: Rename to ...
7749 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
7750 function style to match POSIX. Drop ksh vim mode setting.
7752 * manual/time.texi (Specifying the Time Zone with TZ): Change
7753 Tuesday to Thursday.
7755 * debug/tst-longjmp_chk2.c: Update header comment.
7756 (stackoverflow_handler): Add comment. Call assert on pass value.
7758 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
7760 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7761 (HAVE_AVX512_ASM_SUPPORT): Likewise.
7762 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7763 (La_x86_64_vector): Add zmm.
7764 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7765 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7766 ($(objpfx)tst-audit10): New target.
7767 ($(objpfx)tst-audit10.out): Likewise.
7768 (tst-audit10-ENV): New.
7769 (AVX512-CFLAGS): Likewise.
7770 (CFLAGS-tst-audit10.c): Likewise.
7771 (CFLAGS-tst-auditmod10a.c): Likewise.
7772 (CFLAGS-tst-auditmod10b.c): Likewise.
7773 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7774 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7775 * sysdeps/x86_64/configure: Regenerated.
7776 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7777 AVX-512 zmm register support.
7778 (_dl_x86_64_save_sse): Likewise.
7779 (_dl_x86_64_restore_sse): Likewise.
7780 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7781 size vector registers.
7782 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7783 (ZMM_SIZE): Likewise.
7784 * sysdeps/x86_64/tst-audit10.c: New file.
7785 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7786 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7788 2014-03-13 Roland McGrath <roland@hack.frob.com>
7790 * configure.ac (HAVE_EHDR_START): New check.
7791 * configure: Regenerated.
7792 * config.h.in (HAVE_EHDR_START): New #undef.
7793 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7794 assuming the lowest-addressed segment maps the start of the file.
7796 2014-03-13 Joseph Myers <joseph@codesourcery.com>
7798 * INSTALL: Regenerated.
7800 2014-03-13 Will Newton <will.newton@linaro.org>
7802 * manual/setjmp.texi (System V contexts): Improve
7803 clarity and grammar of documentation.
7805 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
7808 * elf/Makefile (tests): Add tst-pie2.
7809 (tests-pie): Add tst-pie2.
7810 * elf/tst-pie2.c: New file.
7811 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7813 * elf/rtld.c (map_doit): Load executable as lt_executable.
7814 (dl_main): Likewise.
7816 2014-03-12 Joseph Myers <joseph@codesourcery.com>
7819 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7820 (__ASSUME_PSELECT): Undefine.
7822 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7825 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7826 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7828 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7829 selector for static builds.
7831 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7834 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7837 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7839 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7840 IFUNC selector for static builds.
7842 2014-03-11 Joseph Myers <joseph@codesourcery.com>
7844 * sysdeps/mips/math_private.h [__mips_hard_float]
7845 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7846 libc_feresetround_mips_ctx.
7847 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7848 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7849 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7852 * math/s_nextafter.c (__nextafter): Do not return value from
7853 overflowing computation.
7854 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7855 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7856 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7858 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7860 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7861 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7863 2014-03-11 Roland McGrath <roland@hack.frob.com>
7865 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7866 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7867 Move sfi_sp use from the load-multiple (that no longer sets sp) to
7868 the new mov targetting sp.
7870 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7873 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7874 Define it for static builds as well.
7875 (NO_BZERO_IMPL): Likewise.
7877 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7879 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7880 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7881 multiarch strspn for PPC64.
7882 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7883 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7884 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7885 (__libc_ifunc_impl_list): Likewise.
7886 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7887 multiarch optimizations
7888 * string/strspn.c (strspn): Using macro to redefine symbol name.
7890 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7891 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7893 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7894 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7895 multiarch strncat for PPC64.
7896 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7897 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7898 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7899 (__libc_ifunc_impl_list): Likewise.
7900 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7901 multiarch optimizations
7903 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7906 * nscd/nscd.service: Make service type forking.
7908 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7910 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7911 sign in non default rounding modes.
7912 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7914 2014-03-08 Joseph Myers <joseph@codesourcery.com>
7916 * math/libm-test.inc (ALL_RM_TEST): New macro.
7917 (ceil_test): Use ALL_RM_TEST.
7918 (cimag_test): Likewise.
7919 (conj_test): Likewise.
7920 (copysign_test): Likewise.
7921 (cproj_test): Likewise.
7922 (creal_test): Likewise.
7923 (fabs_test): Likewise.
7924 (floor_test): Likewise.
7925 (fmax_test): Likewise.
7926 (fmin_test): Likewise.
7927 (fmod_test): Likewise.
7928 (fpclassify_test): Likewise.
7929 (frexp_test): Likewise.
7930 (ilogb_test): Likewise.
7931 (isfinite_test): Likewise.
7932 (finite_test): Likewise.
7933 (isgreater_test): Likewise.
7934 (isgreaterequal_test): Likewise.
7935 (isinf_test): Likewise.
7936 (isless_test): Likewise.
7937 (islessequal_test): Likewise.
7938 (islessgreater_test): Likewise.
7939 (isnan_test): Likewise.
7940 (isnormal_test): Likewise.
7941 (issignaling_test): Likewise.
7942 (isunordered_test): Likewise.
7943 (logb_test): Likewise.
7944 (logb_downward_test_data): Remove.
7945 (logb_test_downward): Likewise.
7946 (lround_test): Use ALL_RM_TEST.
7947 (llround_test): Likewise.
7948 (modf_test): Likewise.
7949 (nexttoward_test): Likewise.
7950 (remainder_test): Likewise.
7951 (drem_test): Likewise.
7952 (remainder_tonearest_test_data): Likewise.
7953 (remainder_test_tonearest): Likewise.
7954 (drem_test_tonearest): Likewise.
7955 (remainder_towardzero_test_data): Likewise.
7956 (remainder_test_towardzero): Likewise.
7957 (drem_test_towardzero): Likewise.
7958 (remainder_downward_test_data): Likewise.
7959 (remainder_test_downward): Likewise.
7960 (drem_test_downward): Likewise.
7961 (remainder_upward_test_data): Likewise.
7962 (remainder_test_upward): Likewise.
7963 (drem_test_upward): Likewise.
7964 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
7965 (round_test): Use ALL_RM_TEST.
7966 (signbit_test): Likewise.
7967 (trunc_test): Likewise.
7968 (significand_test): Likewise.
7969 (main): Don't call removed functions.
7971 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7974 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7976 (ILL_ILLOPN): Likewise.
7977 (ILL_ILLADR): Likewise.
7978 (ILL_ILLTRP): Likewise.
7979 (ILL_PRVOPC): Likewise.
7980 (ILL_PRVREG): Likewise.
7981 (ILL_COPROC): Likewise.
7982 (ILL_BADSTK): Likewise.
7983 (FPE_INTDIV): Likewise.
7984 (FPE_INTOVF): Likewise.
7985 (FPE_FLTDIV): Likewise.
7986 (FPE_FLTOVF): Likewise.
7987 (FPE_FLTUND): Likewise.
7988 (FPE_FLTRES): Likewise.
7989 (FPE_FLTINV): Likewise.
7990 (FPE_FLTSUB): Likewise.
7991 (SEGV_MAPERR): Likewise.
7992 (SEGV_ACCERR): Likewise.
7993 (BUS_ADRALN): Likewise.
7994 (BUS_ADRERR): Likewise.
7995 (BUS_OBJERR): Likewise.
7996 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7997 (TRAP_TRACE): Likewise.
7998 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8000 (CLD_KILLED): Likewise.
8001 (CLD_DUMPED): Likewise.
8002 (CLD_TRAPPED): Likewise.
8003 (CLD_STOPPED): Likewise.
8004 (CLD_CONTINUED): Likewise.
8005 (POLL_IN): Likewise.
8006 (POLL_OUT): Likewise.
8007 (POLL_MSG): Likewise.
8008 (POLL_ERR): Likewise.
8009 (POLL_PRI): Likewise.
8010 (POLL_HUP): Likewise.
8011 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8013 (ILL_ILLOPN): Likewise.
8014 (ILL_ILLADR): Likewise.
8015 (ILL_ILLTRP): Likewise.
8016 (ILL_PRVOPC): Likewise.
8017 (ILL_PRVREG): Likewise.
8018 (ILL_COPROC): Likewise.
8019 (ILL_BADSTK): Likewise.
8020 (FPE_INTDIV): Likewise.
8021 (FPE_INTOVF): Likewise.
8022 (FPE_FLTDIV): Likewise.
8023 (FPE_FLTOVF): Likewise.
8024 (FPE_FLTUND): Likewise.
8025 (FPE_FLTRES): Likewise.
8026 (FPE_FLTINV): Likewise.
8027 (FPE_FLTSUB): Likewise.
8028 (SEGV_MAPERR): Likewise.
8029 (SEGV_ACCERR): Likewise.
8030 (BUS_ADRALN): Likewise.
8031 (BUS_ADRERR): Likewise.
8032 (BUS_OBJERR): Likewise.
8033 (BUS_MCEERR_AR): Likewise.
8034 (BUS_MCEERR_AO): Likewise.
8035 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8036 (TRAP_TRACE): Likewise.
8037 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8039 (CLD_KILLED): Likewise.
8040 (CLD_DUMPED): Likewise.
8041 (CLD_TRAPPED): Likewise.
8042 (CLD_STOPPED): Likewise.
8043 (CLD_CONTINUED): Likewise.
8044 (POLL_IN): Likewise.
8045 (POLL_OUT): Likewise.
8046 (POLL_MSG): Likewise.
8047 (POLL_ERR): Likewise.
8048 (POLL_PRI): Likewise.
8049 (POLL_HUP): Likewise.
8050 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8051 (ILL_ILLOPN): Likewise.
8052 (ILL_ILLADR): Likewise.
8053 (ILL_ILLTRP): Likewise.
8054 (ILL_PRVOPC): Likewise.
8055 (ILL_PRVREG): Likewise.
8056 (ILL_COPROC): Likewise.
8057 (ILL_BADSTK): Likewise.
8058 (FPE_INTDIV): Likewise.
8059 (FPE_INTOVF): Likewise.
8060 (FPE_FLTDIV): Likewise.
8061 (FPE_FLTOVF): Likewise.
8062 (FPE_FLTUND): Likewise.
8063 (FPE_FLTRES): Likewise.
8064 (FPE_FLTINV): Likewise.
8065 (FPE_FLTSUB): Likewise.
8066 (SEGV_MAPERR): Likewise.
8067 (SEGV_ACCERR): Likewise.
8068 (BUS_ADRALN): Likewise.
8069 (BUS_ADRERR): Likewise.
8070 (BUS_OBJERR): Likewise.
8071 (BUS_MCEERR_AR): Likewise.
8072 (BUS_MCEERR_AO): Likewise.
8073 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8074 (TRAP_TRACE): Likewise.
8075 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8077 (CLD_KILLED): Likewise.
8078 (CLD_DUMPED): Likewise.
8079 (CLD_TRAPPED): Likewise.
8080 (CLD_STOPPED): Likewise.
8081 (CLD_CONTINUED): Likewise.
8082 (POLL_IN): Likewise.
8083 (POLL_OUT): Likewise.
8084 (POLL_MSG): Likewise.
8085 (POLL_ERR): Likewise.
8086 (POLL_PRI): Likewise.
8087 (POLL_HUP): Likewise.
8088 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8090 (ILL_ILLOPN): Likewise.
8091 (ILL_ILLADR): Likewise.
8092 (ILL_ILLTRP): Likewise.
8093 (ILL_PRVOPC): Likewise.
8094 (ILL_PRVREG): Likewise.
8095 (ILL_COPROC): Likewise.
8096 (ILL_BADSTK): Likewise.
8097 (ILL_BADIADDR): Likewise.
8098 (ILL_BREAK): Likewise.
8099 (FPE_INTDIV): Likewise.
8100 (FPE_INTOVF): Likewise.
8101 (FPE_FLTDIV): Likewise.
8102 (FPE_FLTOVF): Likewise.
8103 (FPE_FLTUND): Likewise.
8104 (FPE_FLTRES): Likewise.
8105 (FPE_FLTINV): Likewise.
8106 (FPE_FLTSUB): Likewise.
8107 (FPE_DECOVF): Likewise.
8108 (FPE_DECDIV): Likewise.
8109 (FPE_DECERR): Likewise.
8110 (FPE_INVASC): Likewise.
8111 (FPE_INVDEC): Likewise.
8112 (SEGV_MAPERR): Likewise.
8113 (SEGV_ACCERR): Likewise.
8114 (SEGV_PSTKOVF): Likewise.
8115 (BUS_ADRALN): Likewise.
8116 (BUS_ADRERR): Likewise.
8117 (BUS_OBJERR): Likewise.
8118 (BUS_MCEERR_AR): Likewise.
8119 (BUS_MCEERR_AO): Likewise.
8120 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8121 (TRAP_TRACE): Likewise.
8122 (TRAP_BRANCH): Likewise.
8123 (TRAP_HWBKPT): Likewise.
8124 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8126 (CLD_KILLED): Likewise.
8127 (CLD_DUMPED): Likewise.
8128 (CLD_TRAPPED): Likewise.
8129 (CLD_STOPPED): Likewise.
8130 (CLD_CONTINUED): Likewise.
8131 (POLL_IN): Likewise.
8132 (POLL_OUT): Likewise.
8133 (POLL_MSG): Likewise.
8134 (POLL_ERR): Likewise.
8135 (POLL_PRI): Likewise.
8136 (POLL_HUP): Likewise.
8137 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8138 (ILL_ILLOPN): Likewise.
8139 (ILL_ILLADR): Likewise.
8140 (ILL_ILLTRP): Likewise.
8141 (ILL_PRVOPC): Likewise.
8142 (ILL_PRVREG): Likewise.
8143 (ILL_COPROC): Likewise.
8144 (ILL_BADSTK): Likewise.
8145 (FPE_INTDIV): Likewise.
8146 (FPE_INTOVF): Likewise.
8147 (FPE_FLTDIV): Likewise.
8148 (FPE_FLTOVF): Likewise.
8149 (FPE_FLTUND): Likewise.
8150 (FPE_FLTRES): Likewise.
8151 (FPE_FLTINV): Likewise.
8152 (FPE_FLTSUB): Likewise.
8153 (SEGV_MAPERR): Likewise.
8154 (SEGV_ACCERR): Likewise.
8155 (BUS_ADRALN): Likewise.
8156 (BUS_ADRERR): Likewise.
8157 (BUS_OBJERR): Likewise.
8158 (BUS_MCEERR_AR): Likewise.
8159 (BUS_MCEERR_AO): Likewise.
8160 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8161 (TRAP_TRACE): Likewise.
8162 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8164 (CLD_KILLED): Likewise.
8165 (CLD_DUMPED): Likewise.
8166 (CLD_TRAPPED): Likewise.
8167 (CLD_STOPPED): Likewise.
8168 (CLD_CONTINUED): Likewise.
8169 (POLL_IN): Likewise.
8170 (POLL_OUT): Likewise.
8171 (POLL_MSG): Likewise.
8172 (POLL_ERR): Likewise.
8173 (POLL_PRI): Likewise.
8174 (POLL_HUP): Likewise.
8175 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8176 (ILL_ILLOPN): Likewise.
8177 (ILL_ILLADR): Likewise.
8178 (ILL_ILLTRP): Likewise.
8179 (ILL_PRVOPC): Likewise.
8180 (ILL_PRVREG): Likewise.
8181 (ILL_COPROC): Likewise.
8182 (ILL_BADSTK): Likewise.
8183 (FPE_INTDIV): Likewise.
8184 (FPE_INTOVF): Likewise.
8185 (FPE_FLTDIV): Likewise.
8186 (FPE_FLTOVF): Likewise.
8187 (FPE_FLTUND): Likewise.
8188 (FPE_FLTRES): Likewise.
8189 (FPE_FLTINV): Likewise.
8190 (FPE_FLTSUB): Likewise.
8191 (SEGV_MAPERR): Likewise.
8192 (SEGV_ACCERR): Likewise.
8193 (BUS_ADRALN): Likewise.
8194 (BUS_ADRERR): Likewise.
8195 (BUS_OBJERR): Likewise.
8196 (BUS_MCEERR_AR): Likewise.
8197 (BUS_MCEERR_AO): Likewise.
8198 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8199 (TRAP_TRACE): Likewise.
8200 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8202 (CLD_KILLED): Likewise.
8203 (CLD_DUMPED): Likewise.
8204 (CLD_TRAPPED): Likewise.
8205 (CLD_STOPPED): Likewise.
8206 (CLD_CONTINUED): Likewise.
8207 (POLL_IN): Likewise.
8208 (POLL_OUT): Likewise.
8209 (POLL_MSG): Likewise.
8210 (POLL_ERR): Likewise.
8211 (POLL_PRI): Likewise.
8212 (POLL_HUP): Likewise.
8213 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8214 (ILL_ILLOPN): Likewise.
8215 (ILL_ILLADR): Likewise.
8216 (ILL_ILLTRP): Likewise.
8217 (ILL_PRVOPC): Likewise.
8218 (ILL_PRVREG): Likewise.
8219 (ILL_COPROC): Likewise.
8220 (ILL_BADSTK): Likewise.
8221 (FPE_INTDIV): Likewise.
8222 (FPE_INTOVF): Likewise.
8223 (FPE_FLTDIV): Likewise.
8224 (FPE_FLTOVF): Likewise.
8225 (FPE_FLTUND): Likewise.
8226 (FPE_FLTRES): Likewise.
8227 (FPE_FLTINV): Likewise.
8228 (FPE_FLTSUB): Likewise.
8229 (SEGV_MAPERR): Likewise.
8230 (SEGV_ACCERR): Likewise.
8231 (BUS_ADRALN): Likewise.
8232 (BUS_ADRERR): Likewise.
8233 (BUS_OBJERR): Likewise.
8234 (BUS_MCEERR_AR): Likewise.
8235 (BUS_MCEERR_AO): Likewise.
8236 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8237 (TRAP_TRACE): Likewise.
8238 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8240 (CLD_KILLED): Likewise.
8241 (CLD_DUMPED): Likewise.
8242 (CLD_TRAPPED): Likewise.
8243 (CLD_STOPPED): Likewise.
8244 (CLD_CONTINUED): Likewise.
8245 (POLL_IN): Likewise.
8246 (POLL_OUT): Likewise.
8247 (POLL_MSG): Likewise.
8248 (POLL_ERR): Likewise.
8249 (POLL_PRI): Likewise.
8250 (POLL_HUP): Likewise.
8251 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8252 (ILL_ILLOPN): Likewise.
8253 (ILL_ILLADR): Likewise.
8254 (ILL_ILLTRP): Likewise.
8255 (ILL_PRVOPC): Likewise.
8256 (ILL_PRVREG): Likewise.
8257 (ILL_COPROC): Likewise.
8258 (ILL_BADSTK): Likewise.
8259 (ILL_DBLFLT): Likewise.
8260 (ILL_HARDWALL): Likewise.
8261 (FPE_INTDIV): Likewise.
8262 (FPE_INTOVF): Likewise.
8263 (FPE_FLTDIV): Likewise.
8264 (FPE_FLTOVF): Likewise.
8265 (FPE_FLTUND): Likewise.
8266 (FPE_FLTRES): Likewise.
8267 (FPE_FLTINV): Likewise.
8268 (FPE_FLTSUB): Likewise.
8269 (SEGV_MAPERR): Likewise.
8270 (SEGV_ACCERR): Likewise.
8271 (BUS_ADRALN): Likewise.
8272 (BUS_ADRERR): Likewise.
8273 (BUS_OBJERR): Likewise.
8274 (BUS_MCEERR_AR): Likewise.
8275 (BUS_MCEERR_AO): Likewise.
8276 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8277 (TRAP_TRACE): Likewise.
8278 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8280 (CLD_KILLED): Likewise.
8281 (CLD_DUMPED): Likewise.
8282 (CLD_TRAPPED): Likewise.
8283 (CLD_STOPPED): Likewise.
8284 (CLD_CONTINUED): Likewise.
8285 (POLL_IN): Likewise.
8286 (POLL_OUT): Likewise.
8287 (POLL_MSG): Likewise.
8288 (POLL_ERR): Likewise.
8289 (POLL_PRI): Likewise.
8290 (POLL_HUP): Likewise.
8291 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8292 (ILL_ILLOPN): Likewise.
8293 (ILL_ILLADR): Likewise.
8294 (ILL_ILLTRP): Likewise.
8295 (ILL_PRVOPC): Likewise.
8296 (ILL_PRVREG): Likewise.
8297 (ILL_COPROC): Likewise.
8298 (ILL_BADSTK): Likewise.
8299 (FPE_INTDIV): Likewise.
8300 (FPE_INTOVF): Likewise.
8301 (FPE_FLTDIV): Likewise.
8302 (FPE_FLTOVF): Likewise.
8303 (FPE_FLTUND): Likewise.
8304 (FPE_FLTRES): Likewise.
8305 (FPE_FLTINV): Likewise.
8306 (FPE_FLTSUB): Likewise.
8307 (SEGV_MAPERR): Likewise.
8308 (SEGV_ACCERR): Likewise.
8309 (BUS_ADRALN): Likewise.
8310 (BUS_ADRERR): Likewise.
8311 (BUS_OBJERR): Likewise.
8312 (BUS_MCEERR_AR): Likewise.
8313 (BUS_MCEERR_AO): Likewise.
8314 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8315 (TRAP_TRACE): Likewise.
8316 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8318 (CLD_KILLED): Likewise.
8319 (CLD_DUMPED): Likewise.
8320 (CLD_TRAPPED): Likewise.
8321 (CLD_STOPPED): Likewise.
8322 (CLD_CONTINUED): Likewise.
8323 (POLL_IN): Likewise.
8324 (POLL_OUT): Likewise.
8325 (POLL_MSG): Likewise.
8326 (POLL_ERR): Likewise.
8327 (POLL_PRI): Likewise.
8328 (POLL_HUP): Likewise.
8329 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8330 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8333 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8334 before #include of <time.h>.
8335 [!__USE_XOPEN2K] (__need_timespec): Likewise.
8336 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8337 (test-xfail-UNIX98/sched.h/conform): Likewise.
8339 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
8341 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8342 error absence of trapping exception support.
8343 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8345 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8347 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8348 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8349 * timezone/Makefile (testdata): Move definition above include of
8351 (test-zones): New variable.
8352 (tests-special): Add zone files.
8353 (build-testdata): Use $(evaluate-test).
8355 * elf/Makefile (tests-special): Rename tests to end with .out.
8356 ($(objpfx)noload-mem): Likewise.
8357 ($(objpfx)tst-leaks1-mem): Likewise.
8358 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8359 * iconv/Makefile (xtests-special): Change test-iconvconfig to
8360 $(objpfx)test-iconvconfig.out.
8361 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
8362 set -e inside subshell and redirect output to file.
8363 * iconvdata/Makefile (generated): Rename tests to end with .out.
8365 (tests-special): Rename tests to end with .out.
8366 ($(objpfx)mtrace-tst-loading): Likewise.
8367 * intl/Makefile (generated): Likewise.
8368 (tests-special): Likewise.
8369 ($(objpfx)mtrace-tst-gettext): Likewise.
8370 * misc/Makefile (generated): Likewise.
8371 (tests-special): Likewise.
8372 ($(objpfx)tst-error1-mem): Likewise.
8373 * nptl/Makefile (tests-special): Likewise.
8374 ($(objpfx)tst-stack3-mem): Likewise.
8375 (generated): Likewise.
8376 * posix/Makefile (generated): Likewise.
8377 (tests-special): Likewise.
8378 (xtests-special): Likewise.
8379 ($(objpfx)tst-fnmatch-mem): Likewise.
8380 ($(objpfx)bug-regex2-mem): Likewise.
8381 ($(objpfx)bug-regex14-mem): Likewise.
8382 ($(objpfx)bug-regex21-mem): Likewise.
8383 ($(objpfx)bug-regex31-mem): Likewise.
8384 ($(objpfx)tst-vfork3-mem): Likewise.
8385 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8386 ($(objpfx)tst-pcre-mem): Likewise.
8387 ($(objpfx)tst-boost-mem): Likewise.
8388 ($(objpfx)bug-ga2-mem): Likewise.
8389 ($(objpfx)bug-glob2-mem): Likewise.
8390 * resolv/Makefile (generate): Likewise.
8391 (tests-special): Likewise.
8392 (xtests-special): Likewise.
8393 (generated): Likewise.
8394 ($(objpfx)mtrace-tst-leaks): Likewise.
8395 ($(objpfx)mtrace-tst-leaks2): Likewise.
8397 * scripts/merge-test-results.sh: New file.
8398 * Makefile (tests-special-notdir): New variable.
8399 (tests): Run merge-test-results.sh.
8401 * Rules (tests-special-notdir): New variable.
8402 (xtests-special-notdir): Likewise.
8403 (tests): Run merge-test-results.sh
8406 * Makeconfig (test-xfail-name): New variable.
8407 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8408 compute variable name for expected failures.
8409 * conform/Makefile (conformtest-headers-data): New variable.
8410 (conformtest-standards): Likewise.
8411 (conformtest-headers-ISO): Likewise.
8412 (conformtest-headers-ISO99): Likewise.
8413 (conformtest-headers-ISO11): Likewise.
8414 (conformtest-headers-POSIX): Likewise.
8415 (conformtest-headers-XPG3): Likewise.
8416 (conformtest-headers-XPG4): Likewise.
8417 (conformtest-headers-UNIX98): Likewise.
8418 (conformtest-headers-XOPEN2K): Likewise.
8419 (conformtest-headers-POSIX2008): Likewise.
8420 (conformtest-headers-XOPEN2K8): Likewise.
8421 (conformtest-header-list-base): Likewise.
8422 (conformtest-header-list-tests): Likewise.
8423 (conformtest-header-base): Likewise.
8424 (conformtest-header-tests): Likewise.
8425 (tests-special): Add $(conformtest-header-list-tests). If
8426 [$(fast-check) && !$(cross-compiling)], add
8427 $(conformtest-header-tests) instead of
8428 $(objpfx)run-conformtest.out.
8429 (generated): Add $(conformtest-header-list-base). If
8430 [$(fast-check) && !$(cross-compiling)], add
8431 $(conformtest-header-base). Remove previous setting.
8432 ($(conformtest-header-list-tests)): New target.
8433 (test-xfail-run-conformtest): Remove variable.
8434 ($(objpfx)run-conformtest.out): Remove target.
8435 (test-xfail-ISO11/complex.h/conform): New variable.
8436 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8437 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8438 (test-xfail-XPG3/varargs.h/conform): Likewise.
8439 (test-xfail-XPG4/varargs.h/conform): Likewise.
8440 (test-xfail-UNIX98/varargs.h/conform): Likewise.
8441 (test-xfail-XPG4/ndbm.h/conform): Likewise.
8442 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8443 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8444 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8445 (test-xfail-XPG3/fcntl.h/conform): Likewise.
8446 (test-xfail-XPG3/ftw.h/conform): Likewise.
8447 (test-xfail-XPG3/grp.h/conform): Likewise.
8448 (test-xfail-XPG3/langinfo.h/conform): Likewise.
8449 (test-xfail-XPG3/limits.h/conform): Likewise.
8450 (test-xfail-XPG3/pwd.h/conform): Likewise.
8451 (test-xfail-XPG3/search.h/conform): Likewise.
8452 (test-xfail-XPG3/signal.h/conform): Likewise.
8453 (test-xfail-XPG3/stdio.h/conform): Likewise.
8454 (test-xfail-XPG3/stdlib.h/conform): Likewise.
8455 (test-xfail-XPG3/string.h/conform): Likewise.
8456 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8457 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8458 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8459 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8460 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8461 (test-xfail-XPG3/sys/types.h/conform): Likewise.
8462 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8463 (test-xfail-XPG3/termios.h/conform): Likewise.
8464 (test-xfail-XPG3/time.h/conform): Likewise.
8465 (test-xfail-XPG3/unistd.h/conform): Likewise.
8466 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8467 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8468 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8469 (test-xfail-XPG4/netdb.h/conform): Likewise.
8470 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8471 (test-xfail-XPG4/signal.h/conform): Likewise.
8472 (test-xfail-XPG4/stdio.h/conform): Likewise.
8473 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8474 (test-xfail-XPG4/stropts.h/conform): Likewise.
8475 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8476 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8477 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8478 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8479 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8480 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8481 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8482 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8483 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8484 (test-xfail-XPG4/termios.h/conform): Likewise.
8485 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8486 (test-xfail-XPG4/unistd.h/conform): Likewise.
8487 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8488 (test-xfail-POSIX/sched.h/conform): Likewise.
8489 (test-xfail-POSIX/signal.h/conform): Likewise.
8490 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8491 (test-xfail-POSIX/tar.h/conform): Likewise.
8492 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8493 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8494 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8495 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8496 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8497 (test-xfail-UNIX98/sched.h/conform): Likewise.
8498 (test-xfail-UNIX98/signal.h/conform): Likewise.
8499 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8500 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8501 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8502 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8503 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8504 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8505 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8506 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8507 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8508 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8509 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8510 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8511 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8512 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8513 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8514 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8515 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8516 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8517 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8518 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8519 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8520 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8521 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8522 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8523 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8524 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8525 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8526 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8527 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8528 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8529 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8530 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8531 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8532 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8533 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8534 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8535 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8536 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8537 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8538 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8539 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8540 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8541 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8542 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8543 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8544 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8545 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8546 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8547 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8548 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8549 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8550 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8551 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8552 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8553 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8554 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8555 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8556 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8557 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8558 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8559 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8560 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8561 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8562 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8563 (conformtest-cc-flags): Likewise.
8564 ($(conformtest-header-tests): New target.
8565 * conform/check-header-lists.sh: New file.
8566 * conform/run-conformtest.sh: Remove.
8568 * conform/conformtest.pl: Allow ' and \ in values given for
8570 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8572 [POSIX] (sys/types.h): Likewise.
8573 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8575 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8577 * conform/data/signal.h-data (SIGIO): Remove expectation.
8578 [XPG3] (SIGBUS): Do not expect.
8579 [POSIX || XPG3] (SIGPOLL): Likewise.
8580 [POSIX || XPG3] (SIGPROF): Likewise.
8581 [POSIX || XPG3] (SIGSYS): Likewise.
8582 [XPG3] (SIGTRAP): Likewise.
8583 [POSIX || XPG3] (SIGURG): Likewise.
8584 [POSIX || XPG3] (SIGVTALRM): Likewise.
8585 [POSIX || XPG3] (SIGXCPU): Likewise.
8586 [POSIX || XPG3] (SIGXFSZ): Likewise.
8587 [POSIX] (SA_SIGINFO): Expect.
8588 [XPG3] (siginfo_t): Do not expect type or contents.
8589 [POSIX] (si_pid): Do not expect element.
8590 [POSIX] (si_uid): Likewise.
8591 [POSIX] (si_addr): Likewise.
8592 [POSIX] (si_status): Likewise.
8593 [POSIX] (si_band): Likewise.
8594 [XPG4] (si_value): Likewise.
8595 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8596 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8597 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8598 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8599 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8600 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8601 [POSIX || XPG3] (ILL_COPROC): Likewise.
8602 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8603 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8604 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8605 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8606 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8607 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8608 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8609 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8610 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8611 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8612 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8613 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8614 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8615 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8616 [POSIX || XPG3] (CLD_EXITED): Likewise.
8617 [POSIX || XPG3] (CLD_KILLED): Likewise.
8618 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8619 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8620 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8621 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8622 [POSIX || XPG3] (POLL_IN): Likewise.
8623 [POSIX || XPG3] (POLL_OUT): Likewise.
8624 [POSIX || XPG3] (POLL_MSG): Likewise.
8625 [POSIX || XPG3] (POLL_ERR): Likewise.
8626 [POSIX || XPG3] (POLL_PRI): Likewise.
8627 [POSIX || XPG3] (POLL_HUP): Likewise.
8628 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8629 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8630 (SIG*): Do not allow.
8631 [XPG3] (si_*): Likewise.
8632 [XPG3] (SI_*): Likewise.
8633 [XPG3 || XPG4] (sigev_*): Likewise.
8634 [XPG3 || XPG4] (SIGEV_*): Likewise.
8635 [XPG3 || XPG4] (sival_*): Likewise.
8636 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8637 [POSIX || XPG3] (BUS_*): Likewise.
8638 [POSIX || XPG3] (CLD_*): Likewise.
8639 [POSIX || XPG3] (FPE_*): Likewise.
8640 [POSIX || XPG3] (ILL_*): Likewise.
8641 [POSIX || XPG3] (POLL_*): Likewise.
8642 [POSIX || XPG3] (SEGV_*): Likewise.
8643 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8644 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8645 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8646 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8647 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8648 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8649 Specify type and value.
8650 (TVERSLEN): Likewise.
8651 (REGTYPE): Likewise.
8652 (AREGTYPE): Likewise.
8653 (LNKTYPE): Likewise.
8654 (SYMTYPE): Likewise.
8655 (CHRTYPE): Likewise.
8656 (BLKTYPE): Likewise.
8657 (DIRTYPE): Likewise.
8658 (FIFOTYPE): Likewise.
8659 (CONTTYPE): Likewise.
8664 (TUWRITE): Likewise.
8667 (TGWRITE): Likewise.
8670 (TOWRITE): Likewise.
8672 [POSIX] (TSVTX): Expect constant.
8674 2014-03-06 Joseph Myers <joseph@codesourcery.com>
8676 * Makefile (tests): Change dependencies to ....
8677 (tests-special): ... additions to this variable.
8678 (tests): Depend on $(tests-special).
8679 * Makerules (check-abi-list): New variable.
8680 (check-abi): Depend on $(check-abi-list).
8681 [$(subdir) = elf] (tests-special): Add
8682 $(objpfx)check-abi-libc.out.
8683 [$(build-shared) = yes && subdir] (tests-special): Add
8685 [$(build-shared) = yes && subdir] (tests): Do not depend on
8687 * Rules (tests): Depend on $(tests-special).
8688 (xtests): Depend on $(xtests-special).
8689 * catgets/Makefile (tests): Change dependencies to ....
8690 (tests-special): ... additions to this variable.
8691 * conform/Makefile (tests): Change dependencies to ....
8692 (tests-special): ... additions to this variable.
8693 * elf/Makefile (tests): Change dependencies to ....
8694 (tests-special): ... additions to this variable.
8695 * grp/Makefile (tests): Change dependencies to ....
8696 (tests-special): ... additions to this variable.
8697 * iconv/Makefile (xtests): Change dependencies to ....
8698 (xtests-special): ... additions to this variable.
8699 * iconvdata/Makefile (tests): Change dependencies to ....
8700 (tests-special): ... additions to this variable.
8701 * intl/Makefile (tests): Change dependencies to ....
8702 (tests-special): ... additions to this variable. Also add
8703 $(objpfx)tst-gettext.out.
8704 * io/Makefile (tests): Change dependencies to ....
8705 (tests-special): ... additions to this variable.
8706 * libio/Makefile (tests): Change dependencies to ....
8707 (tests-special): ... additions to this variable.
8708 * malloc/Makefile (tests): Change dependencies to ....
8709 (tests-special): ... additions to this variable.
8710 * misc/Makefile (tests): Change dependencies to ....
8711 (tests-special): ... additions to this variable.
8712 * nptl/Makefile (tests): Change dependencies to ....
8713 (tests-special): ... additions to this variable.
8714 * nptl_db/Makefile (tests): Change dependencies to ....
8715 (tests-special): ... additions to this variable.
8716 * posix/Makefile (tests): Change dependencies to ....
8717 (tests-special): ... additions to this variable.
8718 (xtests): Change dependencies to ....
8719 (xtests-special): ... additions to this variable.
8720 * resolv/Makefile (tests): Change dependencies to ....
8721 (tests-special): ... additions to this variable.
8722 (xtests): Change dependencies to ....
8723 (xtests-special): ... additions to this variable.
8724 * stdio-common/Makefile (tests): Change dependencies to ....
8725 (tests-special): ... additions to this variable.
8726 (do-tst-unbputc): Remove target.
8727 (do-tst-printf): Likewise.
8728 * stdlib/Makefile (tests): Change dependencies to ....
8729 (tests-special): ... additions to this variable.
8730 * string/Makefile (tests): Change dependencies to ....
8731 (tests-special): ... additions to this variable.
8732 * sysdeps/x86/Makefile (tests): Change dependencies to ....
8733 (tests-special): ... additions to this variable.
8735 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8737 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8739 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8740 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8742 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8743 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8744 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8745 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8746 * conform/data/libgen.h-data [XPG3]: Likewise.
8747 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8748 * conform/data/ndbm.h-data [XPG3]: Likewise.
8749 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8750 * conform/data/netdb.h-data [XPG3]: Likewise.
8751 * conform/data/netinet/in.h-data [XPG3]: Likewise.
8752 * conform/data/poll.h-data [XPG3]: Likewise.
8753 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8754 * conform/data/strings.h-data [XPG3]: Likewise.
8755 * conform/data/stropts.h-data [XPG3]: Likewise.
8756 * conform/data/sys/mman.h-data [XPG3]: Likewise.
8757 * conform/data/sys/resource.h-data [XPG3]: Likewise.
8758 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8760 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8761 * conform/data/sys/time.h-data [XPG3]: Likewise.
8762 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8763 * conform/data/sys/uio.h-data [XPG3]: Likewise.
8764 * conform/data/sys/un.h-data [XPG3]: Likewise.
8765 * conform/data/syslog.h-data [XPG3]: Likewise.
8766 * conform/data/ucontext.h-data [XPG3]: Likewise.
8767 * conform/data/utmpx.h-data [XPG3]: Likewise.
8768 * conform/data/varargs.h-data [UNIX98]: Enable file.
8770 * manual/Makefile (INSTALL_INFO): Remove variable setting.
8772 * math/libm-test.inc (struct test_f_f_data): Move expected results
8773 into structure for each rounding mode.
8774 (struct test_ff_f_data): Likewise.
8775 (struct test_ff_f_data_nexttoward): Likewise.
8776 (struct test_fi_f_data): Likewise.
8777 (struct test_fl_f_data): Likewise.
8778 (struct test_if_f_data): Likewise.
8779 (struct test_fff_f_data): Likewise.
8780 (struct test_c_f_data): Likewise.
8781 (struct test_f_f1_data): Likewise.
8782 (struct test_fF_f1_data): Likewise.
8783 (struct test_ffI_f1_data): Likewise.
8784 (struct test_c_c_data): Likewise.
8785 (struct test_cc_c_data): Likewise.
8786 (struct test_f_i_data): Likewise.
8787 (struct test_ff_i_data): Likewise.
8788 (struct test_f_l_data): Likewise.
8789 (struct test_f_L_data): Likewise.
8790 (struct test_fFF_11_data): Likewise.
8792 (RM_FE_DOWNWARD): Likewise.
8793 (RM_FE_TONEAREST): Likewise.
8794 (RM_FE_TOWARDZERO): Likewise.
8795 (RM_FE_UPWARD): Likewise.
8796 (RUN_TEST_LOOP_f_f): Update references to expected results.
8797 (RUN_TEST_LOOP_2_f): Likewise.
8798 (RUN_TEST_LOOP_fff_f): Likewise.
8799 (RUN_TEST_LOOP_c_f): Likewise.
8800 (RUN_TEST_LOOP_f_f1): Likewise.
8801 (RUN_TEST_LOOP_fF_f1): Likewise.
8802 (RUN_TEST_LOOP_fI_f1): Likewise.
8803 (RUN_TEST_LOOP_ffI_f1): Likewise.
8804 (RUN_TEST_LOOP_c_c): Likewise.
8805 (RUN_TEST_LOOP_cc_c): Likewise.
8806 (RUN_TEST_LOOP_f_i): Likewise.
8807 (RUN_TEST_LOOP_f_i_tg): Likewise.
8808 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8809 (RUN_TEST_LOOP_f_b): Likewise.
8810 (RUN_TEST_LOOP_f_b_tg): Likewise.
8811 (RUN_TEST_LOOP_f_l): Likewise.
8812 (RUN_TEST_LOOP_f_L): Likewise.
8813 (RUN_TEST_LOOP_fFF_11): Likewise.
8814 * math/gen-libm-test.pl (parse_args): Output four copies of
8815 expected results for each test.
8817 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8818 (__ASSUME_UTIMES): Remove.
8819 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8820 (__ASSUME_UTIMES): Likewise.
8822 * math/gen-auto-libm-tests.c: Update comment on output format.
8823 (output_for_one_input_case): Generate before-rounding and
8824 after-rounding information as conditions on output flags not
8825 floating-point format.
8826 * math/auto-libm-test-out: Regenerated.
8827 * math/gen-libm-test.pl (cond_value): New function.
8828 (or_cond_value): Use cond_value.
8829 (generate_testfile): Handle conditional exceptions.
8831 2014-03-05 Joseph Myers <joseph@codesourcery.com>
8833 * math/libm-test.inc (max_valid_error): New variable.
8834 (init_max_error): Take new argument specifying whether function
8835 results are exactly determined. Set max_valid_error and bound
8836 other variables for errors based on this argument.
8837 (set_max_error): Do not record results above max_valid_error.
8838 (check_float_internal): Only accept errors of up to 0.5ulps if
8839 also at most max_valid_error.
8840 (START): Take new argument EXACT and pass it to init_max_error.
8841 (acos_test): Update call to START.
8842 (acos_test_tonearest): Likewise.
8843 (acos_test_towardzero): Likewise.
8844 (acos_test_downward): Likewise.
8845 (acos_test_upward): Likewise.
8846 (acosh_test): Likewise.
8847 (asin_test): Likewise.
8848 (asin_test_tonearest): Likewise.
8849 (asin_test_towardzero): Likewise.
8850 (asin_test_downward): Likewise.
8851 (asin_test_upward): Likewise.
8852 (asinh_test): Likewise.
8853 (atan_test): Likewise.
8854 (atanh_test): Likewise.
8855 (atan2_test): Likewise.
8856 (cabs_test): Likewise.
8857 (cacos_test): Likewise.
8858 (cacosh_test): Likewise.
8859 (carg_test): Likewise.
8860 (casin_test): Likewise.
8861 (casinh_test): Likewise.
8862 (catan_test): Likewise.
8863 (catanh_test): Likewise.
8864 (cbrt_test): Likewise.
8865 (ccos_test): Likewise.
8866 (ccosh_test): Likewise.
8867 (ceil_test): Likewise.
8868 (cexp_test): Likewise.
8869 (cimag_test): Likewise.
8870 (clog_test): Likewise.
8871 (clog10_test): Likewise.
8872 (conj_test): Likewise.
8873 (copysign_test): Likewise.
8874 (cos_test): Likewise.
8875 (cos_test_tonearest): Likewise.
8876 (cos_test_towardzero): Likewise.
8877 (cos_test_downward): Likewise.
8878 (cos_test_upward): Likewise.
8879 (cosh_test): Likewise.
8880 (cosh_test_tonearest): Likewise.
8881 (cosh_test_towardzero): Likewise.
8882 (cosh_test_downward): Likewise.
8883 (cosh_test_upward): Likewise.
8884 (cpow_test): Likewise.
8885 (cproj_test): Likewise.
8886 (creal_test): Likewise.
8887 (csin_test): Likewise.
8888 (csinh_test): Likewise.
8889 (csqrt_test): Likewise.
8890 (ctan_test): Likewise.
8891 (ctan_test_tonearest): Likewise.
8892 (ctan_test_towardzero): Likewise.
8893 (ctan_test_downward): Likewise.
8894 (ctan_test_upward): Likewise.
8895 (ctanh_test): Likewise.
8896 (ctanh_test_tonearest): Likewise.
8897 (ctanh_test_towardzero): Likewise.
8898 (ctanh_test_downward): Likewise.
8899 (ctanh_test_upward): Likewise.
8900 (erf_test): Likewise.
8901 (erfc_test): Likewise.
8902 (exp_test): Likewise.
8903 (exp_test_tonearest): Likewise.
8904 (exp_test_towardzero): Likewise.
8905 (exp_test_downward): Likewise.
8906 (exp_test_upward): Likewise.
8907 (exp10_test): Likewise.
8908 (exp10_test_tonearest): Likewise.
8909 (exp10_test_towardzero): Likewise.
8910 (exp10_test_downward): Likewise.
8911 (exp10_test_upward): Likewise.
8912 (pow10_test): Likewise.
8913 (exp2_test): Likewise.
8914 (expm1_test): Likewise.
8915 (expm1_test_tonearest): Likewise.
8916 (expm1_test_towardzero): Likewise.
8917 (expm1_test_downward): Likewise.
8918 (expm1_test_upward): Likewise.
8919 (fabs_test): Likewise.
8920 (fdim_test): Likewise.
8921 (floor_test): Likewise.
8922 (fma_test): Likewise.
8923 (fma_test_towardzero): Likewise.
8924 (fma_test_downward): Likewise.
8925 (fma_test_upward): Likewise.
8926 (fmax_test): Likewise.
8927 (fmin_test): Likewise.
8928 (fmod_test): Likewise.
8929 (fpclassify_test): Likewise.
8930 (frexp_test): Likewise.
8931 (hypot_test): Likewise.
8932 (ilogb_test): Likewise.
8933 (isfinite_test): Likewise.
8934 (finite_test): Likewise.
8935 (isgreater_test): Likewise.
8936 (isgreaterequal_test): Likewise.
8937 (isinf_test): Likewise.
8938 (isless_test): Likewise.
8939 (islessequal_test): Likewise.
8940 (islessgreater_test): Likewise.
8941 (isnan_test): Likewise.
8942 (isnormal_test): Likewise.
8943 (issignaling_test): Likewise.
8944 (isunordered_test): Likewise.
8945 (j0_test): Likewise.
8946 (j1_test): Likewise.
8947 (jn_test): Likewise.
8948 (ldexp_test): Likewise.
8949 (lgamma_test): Likewise.
8950 (gamma_test): Likewise.
8951 (lrint_test): Likewise.
8952 (lrint_test_tonearest): Likewise.
8953 (lrint_test_towardzero): Likewise.
8954 (lrint_test_downward): Likewise.
8955 (lrint_test_upward): Likewise.
8956 (llrint_test): Likewise.
8957 (llrint_test_tonearest): Likewise.
8958 (llrint_test_towardzero): Likewise.
8959 (llrint_test_downward): Likewise.
8960 (llrint_test_upward): Likewise.
8961 (log_test): Likewise.
8962 (log10_test): Likewise.
8963 (log1p_test): Likewise.
8964 (log2_test): Likewise.
8965 (logb_test): Likewise.
8966 (logb_test_downward): Likewise.
8967 (lround_test): Likewise.
8968 (llround_test): Likewise.
8969 (modf_test): Likewise.
8970 (nearbyint_test): Likewise.
8971 (nextafter_test): Likewise.
8972 (nexttoward_test): Likewise.
8973 (pow_test): Likewise.
8974 (pow_test_tonearest): Likewise.
8975 (pow_test_towardzero): Likewise.
8976 (pow_test_downward): Likewise.
8977 (pow_test_upward): Likewise.
8978 (remainder_test): Likewise.
8979 (drem_test): Likewise.
8980 (remainder_test_tonearest): Likewise.
8981 (drem_test_tonearest): Likewise.
8982 (remainder_test_towardzero): Likewise.
8983 (drem_test_towardzero): Likewise.
8984 (remainder_test_downward): Likewise.
8985 (drem_test_downward): Likewise.
8986 (remainder_test_upward): Likewise.
8987 (drem_test_upward): Likewise.
8988 (remquo_test): Likewise.
8989 (rint_test): Likewise.
8990 (rint_test_tonearest): Likewise.
8991 (rint_test_towardzero): Likewise.
8992 (rint_test_downward): Likewise.
8993 (rint_test_upward): Likewise.
8994 (round_test): Likewise.
8995 (scalb_test): Likewise.
8996 (scalbn_test): Likewise.
8997 (scalbln_test): Likewise.
8998 (signbit_test): Likewise.
8999 (sin_test): Likewise.
9000 (sin_test_tonearest): Likewise.
9001 (sin_test_towardzero): Likewise.
9002 (sin_test_downward): Likewise.
9003 (sin_test_upward): Likewise.
9004 (sincos_test): Likewise.
9005 (sinh_test): Likewise.
9006 (sinh_test_tonearest): Likewise.
9007 (sinh_test_towardzero): Likewise.
9008 (sinh_test_downward): Likewise.
9009 (sinh_test_upward): Likewise.
9010 (sqrt_test): Likewise.
9011 (sqrt_test_tonearest): Likewise.
9012 (sqrt_test_towardzero): Likewise.
9013 (sqrt_test_downward): Likewise.
9014 (sqrt_test_upward): Likewise.
9015 (tan_test): Likewise.
9016 (tan_test_tonearest): Likewise.
9017 (tan_test_towardzero): Likewise.
9018 (tan_test_downward): Likewise.
9019 (tan_test_upward): Likewise.
9020 (tanh_test): Likewise.
9021 (tgamma_test): Likewise.
9022 (trunc_test): Likewise.
9023 (y0_test): Likewise.
9024 (y1_test): Likewise.
9025 (yn_test): Likewise.
9026 (significand_test): Likewise.
9028 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9029 individual tests in comment.
9030 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9031 (prev_max_error): New variable.
9032 (prev_real_max_error): Likewise.
9033 (prev_imag_max_error): Likewise.
9034 (compare_ulp_data): Don't refer to test names in comment.
9035 (find_test_ulps): Remove function.
9036 (find_function_ulps): Likewise.
9037 (find_complex_function_ulps): Likewise.
9038 (init_max_error): Take function name as argument. Look up ulps
9040 (print_ulps): Remove function.
9041 (print_max_error): Use prev_max_error instead of calling
9043 (print_complex_max_error): Use prev_real_max_error and
9044 prev_imag_max_error instead of calling find_complex_function_ulps.
9045 (check_float_internal): Take max_ulp parameter instead of calling
9046 find_test_ulps. Don't call print_ulps.
9047 (check_float): Update call to check_float_internal.
9048 (check_complex): Update calls to check_float_internal.
9049 (START): Pass argument to init_max_error.
9050 * math/gen-libm-test.pl (%results): Don't include "kind"
9052 (parse_ulps): Don't handle ulps of individual tests.
9053 (print_ulps_file): Likewise.
9054 (output_ulps): Likewise.
9055 * math/README.libm-test: Update.
9056 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9058 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9059 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9060 * sysdeps/arm/libm-test-ulps: Likewise.
9061 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9062 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9063 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9064 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9065 * sysdeps/microblaze/libm-test-ulps: Likewise.
9066 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9067 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9068 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9069 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9070 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9071 * sysdeps/sh/libm-test-ulps: Likewise.
9072 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9073 * sysdeps/tile/libm-test-ulps: Likewise.
9074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9076 2014-03-04 Joseph Myers <joseph@codesourcery.com>
9078 * math/libm-test.inc (print_complex_max_error): Check separately
9079 whether real and imaginary errors are within allowed range and
9080 pass 0 to print_complex_function_ulps instead of value within
9083 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9085 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9087 (get_handles_fopen): Likewise.
9088 (do_write_test): Likewise.
9090 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9092 * libio/fileops.c (do_ftell): Use cached offset when
9094 * libio/iofwide.c (do_ftell_wide): Likewise.
9095 * libio/iofdopen.c (_IO_new_fdopen): Don't use
9097 * libio/wfileops.c (_IO_fwide): Don't cache offset.
9100 * libio/libioP.h (get_file_offset): New function.
9101 * libio/fileops.c (get_file_offset): Likewise.
9102 (do_ftell): Likewise.
9103 (_IO_new_file_seekoff): Split out ftell logic.
9104 * libio/wfileops.c (do_ftell_wide): Likewise.
9105 (_IO_wfile_seekoff): Split out ftell logic.
9106 * libio/tst-ftell-active-handler.c: New test case.
9107 * libio/Makefile (tests): Add it.
9109 2014-03-03 Roland McGrath <roland@hack.frob.com>
9111 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9112 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9114 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9117 * nscd/connections.c (nscd_init): Call do_exit.
9118 (start_threads): Call do_exit and notify_parent.
9119 (begin_drop_privileges): Call do_exit.
9120 (finish_drop_privileges): Likewise.
9121 * nscd/selinux.c (preserve_capabilities): Likewise.
9122 (install_real_capabilities): Likewise.
9123 (nscd_selinux_enabled): Likewise.
9124 (avc_create_thread): Likewise.
9125 (avc_alloc_lock): Likewise.
9126 (nscd_avc_init): Likewise.
9127 * nscd/nscd.c (parent_fd): New static variable.
9128 (main): Create a pipe between parent and child processes.
9129 Skip closing parent_fd.
9130 (monitor_child): New function.
9131 (do_exit): Likewise.
9132 (notify_parent): Likewise.
9133 * nscd/nscd.h (notify_parent): Likewise.
9134 (do_exit): Likewise.
9136 2014-03-03 Carlos O'Donell <carlos@redhat.com>
9138 * malloc/malloc.c (__libc_calloc): Revert last change.
9140 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9142 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9144 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9146 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9147 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9150 (__libc_ifunc_impl_list): Likewise.
9151 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9152 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9153 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9154 * string/strrchr.c: Define STRRCHR.
9156 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
9158 * benchtest/bench-strtok.c (simple_strtok): Delete.
9159 (strtok_string): Use as benchmark.
9160 * string/strtok (STRTOK): New macro.
9162 2014-02-28 Carlos O'Donell <carlos@redhat.com>
9164 * manual/threads.texi: Add header and standard comments to all
9167 * elf/dl-lookup.c (check_match): New function.
9168 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9169 (do_lookup_x): Remove nested function check_match. Use non-nested
9170 function check_match.
9172 2014-02-28 Roland McGrath <roland@hack.frob.com>
9174 * csu/Makefile (generated, before-compile): Use += rather than =.
9175 * catgets/Makefile (generated, generated-dirs): Likewise.
9176 * debug/Makefile (generated): Likewise.
9177 * dlfcn/Makefile (generated): Likewise.
9178 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9179 * iconvdata/Makefile (before-compile, generated): Likewise.
9180 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9181 * libio/Makefile (generated): Likewise.
9182 * malloc/Makefile (generated): Likewise.
9183 * manual/Makefile (generated, generated-dirs): Likewise.
9184 * misc/Makefile (generated): Likewise.
9185 * posix/Makefile (generated): Likewise.
9186 * resolv/Makefile (generated): Likewise.
9187 * sunrpc/Makefile (generated, generated-dirs): Likewise.
9188 * timezone/Makefile (generated, generated-dirs): Likewise.
9190 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9192 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9194 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9195 power8 implementation.
9196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9197 file: POWER8 llround ifunc implementation.
9198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9199 (__lllround): Add POWER8 implementation.
9200 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9201 POWER8 llround implementation.
9203 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9204 power8 implementation.
9205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9206 file: POWER8 llrint ifunc implementation.
9207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9208 Add POWER8 implementation.
9209 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9210 POWER8 llrint implementation.
9212 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9213 power8 implementation.
9214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9215 file: POWER8 finite ifunc implementation.
9216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9217 Add POWER8 implementation.
9218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9220 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9221 POWER8 finite implementation.
9222 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9224 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9225 power8 implementation.
9226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9227 file: POWER8 isinf ifunc implementation.
9228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9229 POWER8 implementation.
9230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9232 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9233 isinf implementation.
9234 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9236 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9237 (INIT_ARCH): Add hwcap2 initialization.
9238 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9239 power8 implementation.
9240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9241 file: POWER8 isnan ifunc implementation.
9242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9243 POWER8 implementation.
9244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9246 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9247 isnan implementation.
9248 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9250 2014-02-27 Joey Ye <joey.ye@arm.com>
9252 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9253 (_FP_NANFRAC_Q): Set to zero.
9255 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9258 * math/auto-libm-test-in: New test inputs.
9259 * math/auto-libm-test-out: Regenerate.
9260 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9263 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9265 2014-02-27 Joseph Myers <joseph@codesourcery.com>
9267 * scripts/evaluate-test.sh: Take new argument indicating whether
9268 failure is expected.
9269 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9270 indicating whether failure is expected.
9271 * conform/Makefile (test-xfail-run-conformtest): New variable.
9272 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9274 * posix/Makefile (test-xfail-annexc): New variable.
9275 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9277 2014-02-26 Joseph Myers <joseph@codesourcery.com>
9279 * argp/Makefile: Include Makeconfig immediately after defining
9281 * assert/Makefile: Likewise.
9282 * benchtests/Makefile: Likewise.
9283 * catgets/Makefile: Likewise.
9284 * conform/Makefile: Likewise.
9285 * crypt/Makefile: Likewise.
9286 * csu/Makefile: Likewise.
9287 (all): Remove target.
9288 * ctype/Makefile: Include Makeconfig immediately after defining
9290 * debug/Makefile: Likewise.
9291 * dirent/Makefile: Likewise.
9292 * dlfcn/Makefile: Likewise.
9293 * gmon/Makefile: Likewise.
9294 * gnulib/Makefile: Likewise.
9295 * grp/Makefile: Likewise.
9296 * gshadow/Makefile: Likewise.
9297 * hesiod/Makefile: Likewise.
9298 * hurd/Makefile: Likewise.
9299 (all): Remove target.
9300 * iconvdata/Makefile: Include Makeconfig immediately after
9302 * inet/Makefile: Likewise.
9303 * intl/Makefile: Likewise.
9304 * io/Makefile: Likewise.
9305 * libio/Makefile: Likewise.
9306 (all): Remove target.
9307 * locale/Makefile: Include Makeconfig immediately after defining
9309 * login/Makefile: Likewise.
9310 * mach/Makefile: Likewise.
9311 (all): Remove target.
9312 * malloc/Makefile: Include Makeconfig immediately after defining
9314 (all): Remove target.
9315 * manual/Makefile: Include Makeconfig immediately after defining
9317 * math/Makefile: Likewise.
9318 * misc/Makefile: Likewise.
9319 * nis/Makefile: Likewise.
9320 * nss/Makefile: Likewise.
9321 * po/Makefile: Likewise.
9322 (all): Remove target.
9323 * posix/Makefile: Include Makeconfig immediately after defining
9325 * pwd/Makefile: Likewise.
9326 * resolv/Makefile: Likewise.
9327 * resource/Makefile: Likewise.
9328 * rt/Makefile: Likewise.
9329 * setjmp/Makefile: Likewise.
9330 * shadow/Makefile: Likewise.
9331 * signal/Makefile: Likewise.
9332 * socket/Makefile: Likewise.
9333 * soft-fp/Makefile: Likewise.
9334 * stdio-common/Makefile: Likewise.
9335 * stdlib/Makefile: Likewise.
9336 * streams/Makefile: Likewise.
9337 * string/Makefile: Likewise.
9338 * sunrpc/Makefile: Likewise.
9339 (all): Remove target.
9340 * sysvipc/Makefile: Include Makeconfig immediately after defining
9342 * termios/Makefile: Likewise.
9343 * time/Makefile: Likewise.
9344 * timezone/Makefile: Likewise.
9345 (all): Remove target.
9346 * wcsmbs/Makefile: Include Makeconfig immediately after defining
9348 * wctype/Makefile: Likewise.
9350 2014-02-26 Steve Ellcey <sellcey@mips.com>
9352 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9353 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9354 (libc_feholdexcept_setround_mips): Ditto.
9355 (libc_feholdsetround): New.
9356 (libc_feholdsetroundf): New.
9357 (libc_feholdsetroundl): New.
9358 (libc_feupdateenv_test_mips): New.
9359 (libc_feupdateenv_test): New.
9360 (libc_feupdateenv_testf): New.
9361 (libc_feupdateenv_testl): New.
9362 (libc_feresetround): New.
9363 (libc_feresetroundf): New.
9364 (libc_feresetroundl): New.
9365 (libc_fetestexcept_mips): New.
9366 (libc_fetestexcept): New.
9367 (libc_fetestexceptf): New.
9368 (libc_fetestexceptl): New.
9370 (libc_feholdexcept_setround_mips_ctx): New.
9371 (libc_feholdexcept_setround_ctx): New.
9372 (libc_feholdexcept_setroundf_ctx): New.
9373 (libc_feholdexcept_setroundl_ctx): New.
9374 (libc_fesetenv_mips_ctx): New.
9375 (libc_fesetenv_ctx): New.
9376 (libc_fesetenv_ctxf): New.
9377 (libc_fesetenv_ctxl): New.
9378 (libc_feupdateenv_mips_ctx): New.
9379 (libc_feupdateenv_ctx): New.
9380 (libc_feupdateenvf_ctx): New.
9381 (libc_feupdateenvl_ctx): New.
9382 (libc_feholdsetround_mips_ctx): New.
9383 (libc_feholdsetround_ctx): New.
9384 (libc_feholdsetroundf_ctx): New.
9385 (libc_feholdsetroundl_ctx): New.
9386 (libc_feresetround_mips_ctx): New.
9387 (libc_feresetround_ctx): New.
9388 (libc_feresetroundf_ctx): New.
9389 (libc_feresetroundl_ctx): New.
9391 2014-02-26 Carlos O'Donell <carlos@redhat.com>
9393 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9395 * manual/ipc.texi: New file.
9396 * manual/Makefile (chapters): Add ipc.
9397 * manual/job.texi: Add "Inter-Process Communication" to next.
9398 * manual/process.texi: Add "Inter-Process Communication" to prev.
9400 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9404 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
9406 * malloc/malloc.c (__libc_calloc): Simplify implementation.
9408 * manual/arith.texi: Fix spaces after sentences.
9409 * manual/charset.texi: Likewise.
9410 * manual/errno.texi: Likewise.
9411 * manual/install.texi: Likewise.
9412 * manual/llio.texi: Likewise.
9413 * manual/locale.texi: Likewise.
9414 * manual/maint.texi: Likewise.
9415 * manual/math.texi: Likewise.
9416 * manual/memory.texi: Likewise.
9417 * manual/message.texi: Likewise.
9418 * manual/probes.texi: Likewise.
9419 * manual/resource.texi: Likewise.
9420 * manual/signal.texi: Likewise.
9421 * manual/socket.texi: Likewise.
9422 * manual/stdio.texi: Likewise.
9423 * manual/string.texi: Likewise.
9424 * manual/time.texi: Likewise.
9425 * manual/users.texi: Likewise.
9427 2014-02-25 Carlos O'Donell <carlos@redhat.com>
9430 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9431 _DEFAULT_SOURCE is defined.
9433 2014-02-25 Ulrich Drepper <drepper@gmail.com>
9434 Carlos O'Donell <carlos@redhat.com>
9437 * elf/dl-tls.c (_dl_count_modids): New function.
9438 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9439 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9440 audit library and increment generation counter.
9441 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9442 * elf/tst-audit9.c: New file.
9443 * elf/tst-auditmod9a.c: New file.
9444 * elf/tst-auditmod9b.c: New file.
9445 * elf/Makefile: Add rules to build and run tst-audit9.
9447 2014-02-25 Florian Weimer <fweimer@redhat.com>
9450 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9452 2014-02-25 Will Newton <will.newton@linaro.org>
9454 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9455 (__longjmp): Restore sp and lr before restoring callee
9456 saved registers. Add longjmp and longjmp_target
9457 SystemTap probe point.
9458 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9459 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9460 Define to zero to match jmpbuf layout.
9461 * sysdeps/arm/setjmp.S: Include stap-probe.h.
9462 (__sigsetjmp): Save sp and lr before saving callee
9463 saved registers. Add setjmp SystemTap probe point.
9465 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9467 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9469 2014-02-24 Andreas Schwab <schwab@suse.de>
9472 * elf/pldd.c (wait_for_ptrace_stop): New function.
9473 (main): Call it after attaching.
9475 2014-02-22 Roland McGrath <roland@hack.frob.com>
9477 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9478 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9479 Versions files is now verboten.
9480 * hurd/Versions (libc: GLIBC_2.0):
9481 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9482 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9483 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9484 * mach/Versions: Likewise.
9486 * csu/Versions: Remove unused %include.
9487 * resolv/Versions: Likewise.
9489 2014-02-21 Joseph Myers <joseph@codesourcery.com>
9491 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9492 ($(objpfx)check-local-headers.out): Likewise.
9493 ($(objpfx)begin-end-check.out): Likewise.
9494 * Makerules (check-abi-%.out): Likewise.
9495 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9496 ($(objpfx)test2.cat): Likewise.
9497 ($(objpfx)de/libc.cat): Likewise.
9498 ($(objpfx)test-gencat.out): Likewise.
9499 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9500 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9501 ($(objpfx)noload-mem): Likewise.
9502 ($(objpfx)tst-pathopt.out): Likewise.
9503 ($(objpfx)tst-rtld-load-self.out): Likewise.
9504 ($(objpfx)tst-array1-cmp.out): Likewise.
9505 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9506 ($(objpfx)tst-array2-cmp.out): Likewise.
9507 ($(objpfx)tst-array3-cmp.out): Likewise.
9508 ($(objpfx)tst-array4-cmp.out): Likewise.
9509 ($(objpfx)tst-array5-cmp.out): Likewise.
9510 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9511 ($(objpfx)check-textrel.out): Likewise.
9512 ($(objpfx)check-execstack.out): Likewise.
9513 ($(objpfx)check-localplt.out): Likewise.
9514 ($(objpfx)order2-cmp.out): Likewise.
9515 ($(objpfx)tst-leaks1-mem): Likewise.
9516 ($(objpfx)tst-leaks1-static-mem): Likewise.
9517 ($(objpfx)tst-initorder-cmp.out): Likewise.
9518 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9519 ($(objpfx)tst-unused-dep.out): Likewise.
9520 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9521 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9522 * iconv/Makefile (test-iconvconfig): Likewise.
9523 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9524 ($(objpfx)iconv-test.out): Likewise.
9525 ($(objpfx)tst-tables.out): Likewise.
9526 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9527 ($(objpfx)tst-gettext.out): Likewise.
9528 ($(objpfx)tst-translit.out): Likewise.
9529 ($(objpfx)tst-gettext2.out): Likewise.
9530 ($(objpfx)tst-gettext4.out): Likewise.
9531 ($(objpfx)tst-gettext6.out): Likewise.
9532 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9533 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9534 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9535 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9536 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9537 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9538 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9539 ($(objpfx)wordexp-tst.out): Likewise.
9540 ($(objpfx)annexc.out): Likewise.
9541 ($(objpfx)tst-fnmatch-mem): Likewise.
9542 ($(objpfx)bug-regex2-mem): Likewise.
9543 ($(objpfx)bug-regex14-mem): Likewise.
9544 ($(objpfx)bug-regex21-mem): Likewise.
9545 ($(objpfx)bug-regex31-mem): Likewise.
9546 ($(objpfx)tst-vfork3-mem): Likewise.
9547 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9548 ($(objpfx)tst-pcre-mem): Likewise.
9549 ($(objpfx)tst-boost-mem): Likewise.
9550 ($(objpfx)tst-getconf.out): Likewise.
9551 ($(objpfx)bug-ga2-mem): Likewise.
9552 ($(objpfx)bug-glob2-mem): Likewise.
9553 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9554 ($(objpfx)mtrace-tst-leaks2): Likewise.
9555 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9556 ($(objpfx)tst-printf.out): Likewise.
9557 ($(objpfx)tst-setvbuf1.out): Likewise.
9558 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9559 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9560 ($(objpfx)tst-fmtmsg.out): Likewise.
9561 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9562 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9564 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9565 * bits/sigaction.h [__USE_MISC]: Likewise.
9566 * bits/waitstatus.h: Update #endif comments.
9567 * ctype/ctype.h: Likewise.
9568 * dirent/dirent.h: Likewise.
9569 [__USE_MISC]: Remove redundant conditionals.
9570 * grp/grp.h: Update #endif comments.
9571 [__USE_GNU]: Remove redundant conditionals.
9572 [__USE_MISC]: Likewise.
9573 * inet/netinet/in.h [__USE_GNU]: Likewise.
9574 * io/sys/stat.h [__USE_MISC]: Likewise.
9575 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9576 * libio/bits/stdio.h: Update #endif comments.
9577 [__USE_MISC]: Remove redundant conditionals.
9578 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9579 * libio/stdio.h: Update #endif comments.
9580 [__USE_MISC]: Remove redundant conditionals.
9581 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9582 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9583 * math/math.h: Update #else and #endif comments.
9584 [__USE_MISC]: Remove redundant conditionals.
9585 * misc/sys/uio.h: Update #endif comments.
9586 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9587 * posix/glob.h [__USE_MISC]: Likewise.
9588 * posix/sys/types.h: Update #endif comments.
9589 [__USE_MISC]: Remove redundant conditionals.
9590 * posix/sys/wait.h: Update #endif comments.
9591 [__USE_MISC]: Remove redundant conditionals.
9592 * posix/unistd.h: Update #endif comments.
9593 [__USE_MISC]: Remove redundant conditionals.
9594 * pwd/pwd.h [__USE_GNU]: Likewise.
9595 [__USE_MISC]: Likewise.
9596 * resolv/netdb.h [__USE_GNU]: Likewise.
9597 * signal/signal.h: Update #endif comments.
9598 [__USE_MISC]: Remove redundant conditionals.
9599 * stdlib/stdlib.h: Update #else and #endif comments.
9600 [__USE_MISC]: Remove redundant conditionals.
9601 [__USE_GNU]: Likewise.
9602 * string/bits/string2.h [__USE_MISC]: Likewise.
9603 * string/string.h: Update #endif comments.
9604 [__USE_MISC]: Remove redundant conditionals.
9605 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9607 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9608 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9609 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9611 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9613 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9615 [__USE_MISC]: Remove redundant conditionals.
9616 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9617 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9618 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9619 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9620 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9622 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9623 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9625 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9626 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9628 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9630 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9631 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9633 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9635 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9636 * sysdeps/x86/bits/string.h: Update #endif comments.
9637 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9639 * time/sys/time.h: Update #endif comments.
9640 * time/time.h: Likewise.
9641 [__USE_MISC]: Remove redundant conditionals.
9643 2014-02-21 Yury Gribov <y.gribov@samsung.com>
9646 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9648 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9650 * Versions.def (librt): Add GLIBC_2.17.
9652 2014-02-21 Adam Conrad <adconrad@0c3.net>
9654 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9655 synonym for _SYS_AUXV_H to allow direct inclusion.
9656 * sysdeps/sparc/bits/hwcap.h: Likewise.
9657 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9658 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9659 * sysdeps/sparc/sysdep.h: Likewise.
9661 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9663 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9665 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9667 * benchtests/bench-strrchr.c: Print length instead of position.
9669 2014-02-20 Joseph Myers <joseph@codesourcery.com>
9672 * sysdeps/unix/sysv/linux/kernel-features.h
9673 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9674 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9675 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9676 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9678 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9679 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9680 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9681 (__ASSUME_SENDMMSG): Define instead of using previous
9682 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9683 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9684 (__ASSUME_SENDMMSG_SYSCALL): Define.
9685 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9686 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9688 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9689 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9691 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9692 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9694 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9695 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9696 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9697 [__ASSUME_SENDMMSG]: Change conditionals to
9698 [__ASSUME_SENDMMSG_SOCKETCALL].
9699 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9700 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9702 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9703 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9705 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9706 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9707 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9708 [!__ASSUME_SENDMMSG]: Change conditional to
9709 [!__ASSUME_SENDMMSG_SOCKETCALL].
9710 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9711 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9715 * sysdeps/unix/sysv/linux/kernel-features.h
9716 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9717 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9718 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9719 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9720 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9721 [__i386__ || __sparc__]
9722 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9723 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9724 (__ASSUME_RECVMMSG): Define instead of using previous
9725 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9726 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9727 (__ASSUME_RECVMMSG_SYSCALL): Define.
9728 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9729 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9731 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9732 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9734 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9735 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9737 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9738 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9739 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9740 [__ASSUME_RECVMMSG]: Change condition to
9741 [__ASSUME_RECVMMSG_SOCKETCALL].
9742 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9743 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9745 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9746 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9747 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9749 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9750 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9751 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9752 [!__ASSUME_RECVMMSG]: Change condition to
9753 [!__ASSUME_RECVMMSG_SOCKETCALL].
9754 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9755 (__ASSUME_RECVMMSG_SYSCALL): Define.
9758 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9759 __powerpc__ || __s390__ || __sh__ || __sparc__]
9760 (__ASSUME_SOCKETCALL): Define.
9761 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9762 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9763 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9764 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9765 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9766 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9767 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9768 (__ASSUME_ACCEPT4): Define instead of using previous
9769 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9770 __powerpc__ || __sparc__ || __s390__)] condition.
9771 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9772 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9773 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9774 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9775 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9776 [!__ASSUME_ACCEPT4]: Change condition to
9777 [!__ASSUME_ACCEPT4_SOCKETCALL].
9778 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9779 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
9780 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9781 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9782 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9783 __ASSUME_ACCEPT4_SYSCALL.
9784 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9785 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9786 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9787 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9788 __ASSUME_ACCEPT4_SYSCALL.
9789 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9790 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9791 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9792 [__ASSUME_ACCEPT4]: Change condition to
9793 [__ASSUME_ACCEPT4_SOCKETCALL].
9794 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9795 (__ASSUME_SOCKETCALL): Define.
9796 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9797 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9798 (__ASSUME_SOCKETCALL): Define.
9799 (__ASSUME_ACCEPT4): Remove.
9800 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9802 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9803 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9805 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9806 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9808 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9810 (HWCAP_ARM_LPAE): Likewise.
9811 (HWCAP_ARM_EVTSTRM): Likewise.
9812 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9813 Add vpfd32, lpae and evtstrm.
9814 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9817 2014-02-19 Joseph Myers <joseph@codesourcery.com>
9819 * math/auto-libm-test-in: Add tests of clog10.
9820 * math/auto-libm-test-out: Regenerated.
9821 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9822 * sysdeps/i386/fpu/libm-test-ulps: Update.
9823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9825 2014-02-18 Andreas Schwab <schwab@suse.de>
9828 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9829 Store non-zero if the second buffer was newly allocated.
9830 (send_dg): Likewise.
9831 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9832 to send_vc and send_dg.
9833 (res_nsend): Pass NULL for ansp2_malloced.
9834 * resolv/res_query.c (__libc_res_nquery): Add parameter
9835 answerp2_malloced and pass it down to __libc_res_nsend.
9836 (res_nquery): Pass additional NULL to __libc_res_nquery.
9837 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9838 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
9839 second answer buffer if answerp2_malloced was set.
9840 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9841 (__libc_res_nquerydomain): Add parameter
9842 answerp2_malloced and pass it down to __libc_res_nquery.
9843 (res_nquerydomain): Pass additional NULL to
9844 __libc_res_nquerydomain.
9845 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9846 additional NULL to __libc_res_nsend and __libc_res_nquery.
9847 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9848 additional NULL to __libc_res_nsearch.
9849 (_nss_dns_gethostbyname4_r): Revert last change. Use new
9850 parameter of __libc_res_nsearch to check for separately allocated
9852 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9854 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9855 additional NULL to __libc_res_nquery.
9856 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9858 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9859 * include/resolv.h: Update prototypes of __libc_res_nquery,
9860 __libc_res_nsearch, __libc_res_nsend.
9862 2014-02-18 Joseph Myers <joseph@codesourcery.com>
9864 * math/auto-libm-test-in: Add tests of fma.
9865 * math/auto-libm-test-out: Regenerated.
9866 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9867 (fma_towardzero_test_data): Likewise.
9868 (fma_downward_test_data): Likewise.
9869 (fma_upward_test_data): Likewise.
9870 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9872 (rounding_modes): Add values for new field.
9873 (func_calc_method): Add value mpfr_fff_f.
9874 (func_calc_desc): Add mpfr_fff_f union field.
9875 (test_function): Add field exact_args.
9876 (FUNC): Add macro argument EXACT_ARGS.
9877 (FUNC_mpfr_f_f): Update call to FUNC.
9878 (FUNC_mpfr_f_f): Likewise.
9879 (FUNC_mpfr_ff_f): Likewise.
9880 (FUNC_mpfr_if_f): Likewise.
9881 (FUNC_mpc_c_f): Likewise.
9882 (FUNC_mpc_c_c): Likewise.
9883 (test_functions): Add fma. Update calls to FUNC.
9884 (handle_input_arg): Add argument exact_args.
9885 (add_test): Update call to handle_input_arg.
9886 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
9887 (output_for_one_input_case): Update call to calc_generic_results.
9888 Recalculate exact zero results in each rounding mode.
9890 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9891 non-negative before setting low bit.
9892 * math/auto-libm-test-in: Mark one asin test possibly having
9894 * math/auto-libm-test-out: Regenerated.
9895 * sysdeps/i386/fpu/libm-test-ulps: Update.
9896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9898 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
9900 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9901 * sysdeps/unix/sysv/linux/microblaze: Move directory from
9902 ports/sysdeps/unix/sysv/linux/microblaze.
9903 * README: Add missing listing for microblaze*-*-linux-gnu.
9905 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
9907 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
9910 2014-02-16 Mike Frysinger <vapier@gentoo.org>
9912 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9913 * sysdeps/unix/sysv/linux/ia64: Move directory from
9914 ports/sysdeps/unix/sysv/linux/ia64.
9915 * README: Update listing for ia64-*-linux-gnu.
9917 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
9918 Joseph Myers <joseph@codesourcery.com>
9920 * Makeconfig (test-name): New variable.
9921 (evaluate-test): Likewise.
9922 * Makerules (do-test-clean): Remove .test-result files.
9923 (common-mostlyclean): Likewise.
9924 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9925 * scripts/evaluate-test.sh: New file.
9927 2014-02-14 Joseph Myers <joseph@codesourcery.com>
9929 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9930 separate $(objpfx)tst-fopenloc-cmp.out and
9931 $(objpfx)tst-fopenloc-mem.out targets.
9932 (tests): Update dependencies.
9933 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9934 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9935 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9936 (tst-rxspencer-no-utf8-ARGS): New variable.
9937 (tst-rxspencer-no-utf8-ENV): Likewise.
9938 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9939 instead of $(objpfx)tst-rxspencer-mem.
9940 ($(objpfx)tst-rxspencer-mem): Change target to
9941 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
9942 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9943 * posix/tst-rxspencer-no-utf8.c: New file.
9945 * elf/Makefile ($(objpfx)order.out): Remove rule.
9946 [$(run-built-tests) = yes] (tests): Depend on
9947 $(objpfx)order-cmp.out.
9948 ($(objpfx)order-cmp.out): New rule.
9949 [$(run-built-tests) = yes] (tests): Depend on
9950 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9951 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9952 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9953 $(objpfx)tst-array5-static-cmp.out.
9954 ($(objpfx)tst-array1.out): Remove rule.
9955 ($(objpfx)tst-array1-cmp.out): New rule.
9956 ($(objpfx)tst-array1-static.out): Remove rule.
9957 ($(objpfx)tst-array1-static-cmp.out): New rule.
9958 ($(objpfx)tst-array2.out): Remove rule.
9959 ($(objpfx)tst-array2-cmp.out): New rule.
9960 ($(objpfx)tst-array3.out): Remove rule.
9961 ($(objpfx)tst-array3-cmp.out): New rule.
9962 ($(objpfx)tst-array4.out): Remove rule.
9963 ($(objpfx)tst-array4-cmp.out): New rule.
9964 ($(objpfx)tst-array5.out): Remove rule.
9965 ($(objpfx)tst-array5-cmp.out): New rule.
9966 ($(objpfx)tst-array5-static.out): Remove rule.
9967 ($(objpfx)tst-array5-static-cmp.out): New rule.
9968 [$(run-built-tests) = yes] (tests): Depend on
9969 $(objpfx)order2-cmp.out.
9970 ($(objpfx)order2.out): Remove rule.
9971 ($(objpfx)order2-cmp.out): New rule.
9972 ($(objpfx)tst-initorder.out): Remove rule.
9973 [$(run-built-tests) = yes] (tests): Depend on
9974 $(objpfx)tst-initorder-cmp.out.
9975 ($(objpfx)tst-initorder-cmp.out): New rule.
9976 ($(objpfx)tst-initorder2.out): Remove rule.
9977 [$(run-built-tests) = yes] (tests): Depend on
9978 $(objpfx)tst-initorder2-cmp.out.
9979 ($(objpfx)tst-initorder2-cmp.out): New rule.
9980 [$(run-built-tests) = yes] (tests): Depend on
9981 $(objpfx)tst-unused-dep-cmp.out.
9982 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9983 ($(objpfx)tst-unused-dep-cmp.out): New rule.
9984 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9985 on $(objpfx)tst-setvbuf1-cmp.out.
9986 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9987 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9988 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9989 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9990 ($(objpfx)tst-svc.out): Remove rule.
9991 ($(objpfx)tst-svc-cmp.out): New rule.
9993 2014-02-13 Joseph Myers <joseph@codesourcery.com>
9995 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9996 * ctype/ctype.h [__USE_MISC]: Likewise.
9997 * dirent/dirent.h [__USE_MISC]: Likewise.
9998 * grp/grp.h [__USE_MISC]: Likewise.
9999 * io/fcntl.h [__USE_MISC]: Likewise.
10000 * io/sys/stat.h [__USE_MISC]: Likewise.
10001 * libio/stdio.h [__USE_MISC]: Likewise.
10002 * posix/unistd.h [__USE_MISC]: Likewise.
10003 * pwd/pwd.h [__USE_MISC]: Likewise.
10004 * stdlib.h [__USE_MISC]: Likewise.
10005 * string/bits/string2.h [__USE_MISC]: Likewise.
10006 * string/string.h [__USE_MISC]: Likewise.
10007 * time/time.h [__USE_MISC]: Likewise.
10009 2014-02-13 Andreas Schwab <schwab@suse.de>
10012 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10013 second answer buffer if it was separately allocated.
10015 2014-02-12 Joseph Myers <joseph@codesourcery.com>
10017 * sysdeps/mips/math-tests.h: Include <features.h>.
10018 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10019 (ROUNDING_TESTS_long_double): Do not define.
10020 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10021 (EXCEPTION_TESTS_long_double): Likewise.
10022 * sysdeps/mips/mips64/libm-test-ulps: Update.
10024 * include/features.h (__USE_BSD): Remove macro definitions.
10025 (__USE_SVID): Likewise.
10026 (_BSD_SOURCE): Likewise.
10027 (_SVID_SOURCE): Likewise.
10028 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10029 from definition of _DEFAULT_SOURCE.
10030 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10032 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10033 * bits/mman.h [__USE_BSD]: Likewise.
10034 * bits/termios.h [__USE_BSD]: Likewise.
10035 * bits/waitstatus.h [__USE_BSD]: Likewise.
10036 * ctype/ctype.h [__USE_SVID]: Likewise.
10037 * dirent/dirent.h [__USE_BSD]: Likewise.
10038 * grp/grp.h [__USE_SVID]: Likewise.
10039 [__USE_BSD]: Likewise.
10040 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10041 * io/fcntl.h [__USE_BSD]: Likewise.
10042 * io/ftw.h [__USE_BSD]: Likewise.
10043 * io/sys/stat.h [__USE_BSD]: Likewise.
10044 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10045 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10046 * libio/stdio.h [__USE_SVID]: Likewise.
10047 [__USE_BSD]: Likewise.
10048 * math/math.h [__USE_SVID]: Likewise.
10049 [__USE_BSD]: Likewise.
10050 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10051 * misc/bits/syslog.h [__USE_BSD]: Likewise.
10052 * misc/search.h [__USE_SVID]: Likewise.
10053 * misc/sys/mman.h [__USE_BSD]: Likewise.
10054 * misc/sys/syslog.h [__USE_BSD]: Likewise.
10055 * misc/sys/uio.h [__USE_BSD]: Likewise.
10056 * posix/bits/unistd.h [__USE_BSD]: Likewise.
10057 * posix/glob.h [__USE_BSD]: Likewise.
10058 * posix/regex.h [__USE_BSD]: Likewise.
10059 * posix/sys/types.h [__USE_BSD]: Likewise.
10060 [__USE_SVID]: Likewise.
10061 * posix/sys/utsname.h [__USE_SVID]: Likewise.
10062 * posix/sys/wait.h [__USE_BSD]: Likewise.
10063 [__USE_SVID]: Likewise.
10064 * posix/unistd.h [__USE_BSD]: Likewise.
10065 [__USE_SVID]: Likewise.
10066 * pwd/pwd.h [__USE_SVID]: Likewise.
10067 * resolv/netdb.h [__USE_BSD]: Likewise.
10068 * setjmp/setjmp.h [__USE_BSD]: Likewise.
10069 * signal/signal.h [__USE_BSD]: Likewise.
10070 [__USE_SVID]: Likewise.
10071 * socket/sys/socket.h [__USE_BSD]: Likewise.
10072 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10073 * stdlib/stdlib.h [__USE_BSD]: Likewise.
10074 [__USE_SVID]: Likewise.
10075 * string/bits/string2.h [__USE_BSD]: Likewise.
10076 [__USE_SVID]: Likewise.
10077 * string/bits/string3.h [__USE_BSD]: Likewise.
10078 * string/endian.h [__USE_BSD]: Likewise.
10079 * string/string.h [__USE_SVID]: Likewise.
10080 [__USE_BSD]: Likewise.
10081 * string/strings.h [__USE_BSD]: Likewise.
10082 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10083 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10084 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10085 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10086 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10087 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10089 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10091 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10092 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10094 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10095 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10097 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10099 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10100 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10101 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10103 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10105 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10106 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10107 * termios/termios.h [__USE_BSD]: Likewise.
10108 * time/sys/time.h [__USE_BSD]: Likewise.
10109 * time/time.h [__USE_BSD]: Likewise.
10110 [__USE_SVID]: Likewise.
10112 * Makefile (subdir_targets): Remove subdir_lint.out.
10114 * stdio-common/Makefile (do-tst-unbputc): Remove target.
10115 (do-tst-printf): Likewise.
10116 (tests): Depend directly on $(objpfx)tst-unbputc.out and
10117 $(objpfx)tst-printf.out.
10119 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10121 * Makerules (check-abi-%): Change target to
10122 $(objpfx)check-abi-%.out.
10123 (check-abi target): Update dependencies.
10124 (check-abi-pattern variable): Redirect output of diff to $@.
10125 (check-abi variable): Likewise.
10126 * elf/Makefile (check-abi): Update dependencies.
10128 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10130 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10131 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10133 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10134 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10135 value has largest subnormal exponent.
10136 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10137 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10138 * sysdeps/aarch64/soft-fp/sfp-machine.h
10139 (_FP_TININESS_AFTER_ROUNDING): New macro.
10140 * sysdeps/alpha/soft-fp/sfp-machine.h
10141 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10142 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10144 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10145 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10146 * sysdeps/mips/soft-fp/sfp-machine.h
10147 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10148 * sysdeps/powerpc/soft-fp/sfp-machine.h
10149 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10150 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10152 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10153 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10154 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10155 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10156 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10159 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
10162 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10165 2014-02-12 Richard Henderson <rth@redhat.com>
10167 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10168 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10169 * sysdeps/unix/sysv/linux/alpha: Move directory from
10170 ports/sysdeps/unix/sysv/linux/alpha.
10171 * README: Update listing for alpha-*-linux-gnu.
10173 2014-02-11 Joseph Myers <joseph@codesourcery.com>
10175 * include/features.h: Update comment documenting feature test
10177 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
10179 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10180 (_SVID_SOURCE): Likewise.
10181 (_DEFAULT_SOURCE): Update description of default features.
10182 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10184 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10185 (S_ISVTX): Likewise.
10186 * manual/math.texi (Mathematical Constants): Likewise.
10187 * manual/signal.texi (Interrupted Primitives): Likewise.
10188 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10189 * math/test-matherr.c (_SVID_SOURCE): Do not define.
10190 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10191 Don't refer to _SVID_SOURCE in warning text.
10193 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10195 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10197 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10198 * sysdeps/mips/dl-lookup.c: Remove.
10199 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10201 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10204 * math/auto-libm-test-in: Add testcase for expl.
10205 * math/auto-libm-test-out: Regenerate.
10206 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10207 calculation of unsafe.
10208 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10210 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
10212 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10213 * sysdeps/unix/sysv/linux/aarch64: Move directory from
10214 ports/sysdeps/unix/sysv/linux/aarch64.
10215 * README: Update listing for aarch64*-*-linux-gnu.
10217 2014-02-11 Will Newton <will.newton@linaro.org>
10219 * manual/probes.texi (Mathematical Function Probes): Use
10220 "triggered" instead of "hit".
10222 * manual/probes.texi (Internal Probes): Add documentation
10223 of setjmp, longjmp and longjmp_target probes.
10225 * include/stap-probe.h: Add comment about probe argument
10228 * malloc/mtrace.c (attribute_hidden): Remove unused macro
10229 definition. (tr_where, tr_freehook, tr_mallochook,
10230 tr_reallochook, tr_memalignhook): Use ANSI protoype.
10232 2014-02-11 David S. Miller <davem@davemloft.net>
10234 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10235 processing int_tests.
10237 2014-02-10 Joseph Myers <joseph@codesourcery.com>
10239 * sysdeps/mips: Move directory from ports/sysdeps/mips.
10240 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10241 * sysdeps/unix/sysv/linux/mips: Move directory from
10242 ports/sysdeps/unix/sysv/linux/mips.
10243 * README: Update listing for mips-*-linux-gnu and
10244 mips64-*-linux-gnu.
10246 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
10248 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10249 * sysdeps/unix/sysv/linux/m68k: Move directory from
10250 ports/sysdeps/unix/sysv/linux/m68k.
10251 * README: Update listing for m68k-*-linux-gnu.
10253 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
10255 * sysdeps/tile: Move directory from ports/sysdeps/tile.
10256 * sysdeps/unix/sysv/linux/generic: Move directory from
10257 ports/sysdeps/unix/sysv/linux/generic.
10258 * sysdeps/unix/sysv/linux/tile: Move directory from
10259 ports/sysdeps/unix/sysv/linux/tile.
10260 * README: Update listing for tile*-*-linux-gnu.
10262 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
10264 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10266 * benchtests/bench-memmem.c (simple_memmem): Likewise.
10267 * catgets/open_catalog.c (__open_catalog): Likewise.
10268 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10269 * debug/confstr_chk.c: Likewise.
10270 * debug/fread_chk.c (__fread_chk): Likewise.
10271 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10272 * debug/getgroups_chk.c: Likewise.
10273 * debug/mbsnrtowcs_chk.c: Likewise.
10274 * debug/mbsrtowcs_chk.c: Likewise.
10275 * debug/mbstowcs_chk.c: Likewise.
10276 * debug/memcpy_chk.c: Likewise.
10277 * debug/memmove_chk.c: Likewise.
10278 * debug/mempcpy_chk.c: Likewise.
10279 * debug/memset_chk.c: Likewise.
10280 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10281 * debug/strcat_chk.c (__strcat_chk): Likewise.
10282 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10283 * debug/strncat_chk.c (__strncat_chk): Likewise.
10284 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10285 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10286 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10287 * debug/wcpncpy_chk.c: Likewise.
10288 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10289 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10290 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10291 * debug/wcsncpy_chk.c: Likewise.
10292 * debug/wcsnrtombs_chk.c: Likewise.
10293 * debug/wcsrtombs_chk.c: Likewise.
10294 * debug/wcstombs_chk.c: Likewise.
10295 * debug/wmemcpy_chk.c: Likewise.
10296 * debug/wmemmove_chk.c: Likewise.
10297 * debug/wmempcpy_chk.c: Likewise.
10298 * debug/wmemset_chk.c: Likewise.
10299 * dirent/scandirat.c (SCANDIRAT): Likewise.
10300 * dlfcn/dladdr1.c (dladdr1): Likewise.
10301 * dlfcn/dladdr.c (dladdr): Likewise.
10302 * dlfcn/dlclose.c (dlclose_doit): Likewise.
10303 * dlfcn/dlerror.c (__dlerror): Likewise.
10304 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10305 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10306 * dlfcn/dlopen.c (dlopen_doit): Likewise.
10307 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10308 * dlfcn/dlsym.c (dlsym_doit): Likewise.
10309 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10310 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10311 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10313 * elf/dl-conflict.c: Likewise.
10314 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10315 * elf/dl-dst.h: Likewise.
10316 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10317 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10318 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10319 * elf/dl-init.c (call_init, _dl_init): Likewise.
10320 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10321 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10322 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10324 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10326 * elf/dl-minimal.c (__libc_memalign): Likewise.
10327 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10328 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10329 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10330 * elf/dl-sym.c (do_sym): Likewise.
10331 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10332 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10333 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10334 * elf/dl-writev.h (_dl_writev): Likewise.
10335 * elf/ldconfig.c (search_dir): Likewise.
10336 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10337 (dl_main): Likewise.
10338 * elf/setup-vdso.h (setup_vdso): Likewise.
10339 * grp/compat-initgroups.c (compat_call): Likewise.
10340 * grp/fgetgrent.c (fgetgrent): Likewise.
10341 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10342 * grp/putgrent.c (putgrent): Likewise.
10343 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10345 * hurd/hurdinit.c: Likewise.
10346 * iconvdata/8bit-gap.c (struct): Likewise.
10347 * iconvdata/ansi_x3.110.c : Likewise.
10348 * iconvdata/big5.c : Likewise.
10349 * iconvdata/big5hkscs.c : Likewise.
10350 * iconvdata/cp1255.c: Likewise.
10351 * iconvdata/cp1258.c : Likewise.
10352 * iconvdata/cp932.c : Likewise.
10353 * iconvdata/euc-cn.c: Likewise.
10354 * iconvdata/euc-jisx0213.c : Likewise.
10355 * iconvdata/euc-jp.c: Likewise.
10356 * iconvdata/euc-jp-ms.c : Likewise.
10357 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10358 * iconvdata/gb18030.c : Likewise.
10359 * iconvdata/gbbig5.c (const): Likewise.
10360 * iconvdata/gbgbk.c: Likewise.
10361 * iconvdata/gbk.c : Likewise.
10362 * iconvdata/ibm1364.c : Likewise.
10363 * iconvdata/ibm930.c : Likewise.
10364 * iconvdata/ibm932.c: Likewise.
10365 * iconvdata/ibm933.c : Likewise.
10366 * iconvdata/ibm935.c : Likewise.
10367 * iconvdata/ibm937.c : Likewise.
10368 * iconvdata/ibm939.c : Likewise.
10369 * iconvdata/ibm943.c: Likewise.
10370 * iconvdata/iso_11548-1.c: Likewise.
10371 * iconvdata/iso-2022-cn.c : Likewise.
10372 * iconvdata/iso-2022-cn-ext.c : Likewise.
10373 * iconvdata/iso-2022-jp-3.c: Likewise.
10374 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10375 * iconvdata/iso-2022-kr.c : Likewise.
10376 * iconvdata/iso646.c (gconv_end): Likewise.
10377 * iconvdata/iso_6937-2.c : Likewise.
10378 * iconvdata/iso_6937.c : Likewise.
10379 * iconvdata/iso8859-1.c: Likewise.
10380 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10381 * iconvdata/shift_jisx0213.c : Likewise.
10382 * iconvdata/sjis.c : Likewise.
10383 * iconvdata/t.61.c : Likewise.
10384 * iconvdata/tcvn5712-1.c : Likewise.
10385 * iconvdata/tscii.c: Likewise.
10386 * iconvdata/uhc.c : Likewise.
10387 * iconvdata/unicode.c (gconv_end): Likewise.
10388 * iconvdata/utf-16.c (gconv_end): Likewise.
10389 * iconvdata/utf-32.c (gconv_end): Likewise.
10390 * iconvdata/utf-7.c (base64): Likewise.
10391 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10392 * iconv/gconv_close.c (__gconv_close): Likewise.
10393 * iconv/gconv_open.c (__gconv_open): Likewise.
10394 * iconv/gconv_simple.c (internal_ucs4_loop_single)
10395 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10396 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10397 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10398 (ucs4le_internal_loop_single): Likewise.
10399 * iconv/iconv.c (iconv): Likewise.
10400 * iconv/iconv_close.c: Likewise.
10401 * iconv/loop.c (SINGLE): Likewise.
10402 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10403 * include/atomic.h: Likewise.
10404 * inet/inet6_option.c (option_alloc): Likewise.
10405 * intl/bindtextdom.c (set_binding_values): Likewise.
10406 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10407 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10408 * intl/localealias.c (read_alias_file): Likewise.
10409 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10410 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10411 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10412 * libio/fmemopen.c (fmemopen): Likewise.
10413 * libio/iofgets.c (_IO_fgets): Likewise.
10414 * libio/iofgets_u.c (fgets_unlocked): Likewise.
10415 * libio/iofgetws.c (fgetws): Likewise.
10416 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10417 * libio/iogetdelim.c (_IO_getdelim): Likewise.
10418 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10419 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10420 * locale/findlocale.c (_nl_find_locale): Likewise.
10421 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10422 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10424 * locale/setlocale.c (setlocale): Likewise.
10425 * login/programs/pt_chown.c (main): Likewise.
10426 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10427 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10428 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10429 (mmap, mmap64, mremap, munmap): Likewise.
10430 * math/e_exp2l.c: Likewise.
10431 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10432 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10433 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10434 * math/s_catan.c (__catan): Likewise.
10435 * math/s_catanf.c (__catanf): Likewise.
10436 * math/s_catanh.c (__catanh): Likewise.
10437 * math/s_catanhf.c (__catanhf): Likewise.
10438 * math/s_catanhl.c (__catanhl): Likewise.
10439 * math/s_catanl.c (__catanl): Likewise.
10440 * math/s_ccosh.c (__ccosh): Likewise.
10441 * math/s_ccoshf.c (__ccoshf): Likewise.
10442 * math/s_ccoshl.c (__ccoshl): Likewise.
10443 * math/s_cexp.c (__cexp): Likewise.
10444 * math/s_cexpf.c (__cexpf): Likewise.
10445 * math/s_cexpl.c (__cexpl): Likewise.
10446 * math/s_clog10.c (__clog10): Likewise.
10447 * math/s_clog10f.c (__clog10f): Likewise.
10448 * math/s_clog10l.c (__clog10l): Likewise.
10449 * math/s_clog.c (__clog): Likewise.
10450 * math/s_clogf.c (__clogf): Likewise.
10451 * math/s_clogl.c (__clogl): Likewise.
10452 * math/s_csin.c (__csin): Likewise.
10453 * math/s_csinf.c (__csinf): Likewise.
10454 * math/s_csinh.c (__csinh): Likewise.
10455 * math/s_csinhf.c (__csinhf): Likewise.
10456 * math/s_csinhl.c (__csinhl): Likewise.
10457 * math/s_csinl.c (__csinl): Likewise.
10458 * math/s_csqrt.c (__csqrt): Likewise.
10459 * math/s_csqrtf.c (__csqrtf): Likewise.
10460 * math/s_csqrtl.c (__csqrtl): Likewise.
10461 * math/s_ctan.c (__ctan): Likewise.
10462 * math/s_ctanf.c (__ctanf): Likewise.
10463 * math/s_ctanh.c (__ctanh): Likewise.
10464 * math/s_ctanhf.c (__ctanhf): Likewise.
10465 * math/s_ctanhl.c (__ctanhl): Likewise.
10466 * math/s_ctanl.c (__ctanl): Likewise.
10467 * math/w_pow.c: Likewise.
10468 * math/w_powf.c: Likewise.
10469 * math/w_powl.c: Likewise.
10470 * math/w_scalb.c (sysv_scalb): Likewise.
10471 * math/w_scalbf.c (sysv_scalbf): Likewise.
10472 * math/w_scalbl.c (sysv_scalbl): Likewise.
10473 * misc/error.c (error_tail): Likewise.
10474 * misc/pselect.c (__pselect): Likewise.
10475 * nis/nis_callback.c (__nis_create_callback): Likewise.
10476 * nis/nis_call.c (__nisfind_server): Likewise.
10477 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10478 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10479 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10480 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10481 * nis/nis_lookup.c (nis_lookup): Likewise.
10482 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10483 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10484 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10485 * nis/nis_xdr.c (xdr_endpoint): Likewise.
10486 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10487 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10488 * nis/nss_compat/compat-initgroups.c (add_group)
10489 (internal_getgrent_r): Likewise.
10490 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10491 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10492 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10493 (internal_getspnam_r): Likewise.
10494 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10495 (_nss_nis_getaliasbyname_r): Likewise.
10496 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10497 (_nss_nis_getntohost_r): Likewise.
10498 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10499 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10500 (_nss_nis_getgrgid_r): Likewise.
10501 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10502 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10503 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10504 (_nss_nis_gethostbyname4_r): Likewise.
10505 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10506 (initgroups_netid): Likewise.
10507 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10508 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10509 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10510 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10511 (_nss_nis_getprotobynumber_r): Likewise.
10512 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10513 (_nss_nis_getsecretkey): Likewise.
10514 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10515 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10516 (_nss_nis_getpwuid_r): Likewise.
10517 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10518 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10519 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10520 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10521 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10522 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10523 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10525 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10526 (_nss_nisplus_getntohost_r): Likewise.
10527 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10528 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10529 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10530 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10532 * nis/nss_nisplus/nisplus-initgroups.c
10533 (_nss_nisplus_initgroups_dyn): Likewise.
10534 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10535 (_nss_nisplus_getnetbyaddr_r): Likewise.
10536 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10537 (_nss_nisplus_getprotobynumber_r): Likewise.
10538 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10539 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10540 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10542 * nis/nss_nisplus/nisplus-service.c
10543 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10544 (_nss_nisplus_getservbyport_r): Likewise.
10545 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10546 (_nss_nisplus_getspnam_r): Likewise.
10547 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10549 * nscd/aicache.c (addhstaiX): Likewise.
10550 * nscd/cache.c (cache_search, prune_cache): Likewise.
10551 * nscd/connections.c (register_traced_file, send_ro_fd)
10552 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10553 (main_loop_epoll): Likewise.
10554 * nscd/grpcache.c (addgrbyX): Likewise.
10555 * nscd/hstcache.c (addhstbyX): Likewise.
10556 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10557 * nscd/mem.c (gc, mempool_alloc): Likewise.
10558 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10559 (addinnetgrX): Likewise.
10560 * nscd/nscd-client.h (__nscd_acquire_maplock)
10561 (__nscd_drop_map_ref): Likewise.
10562 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10563 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10564 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10566 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10567 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10568 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10569 (__nscd_get_map_ref): Likewise.
10570 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10571 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10573 * nscd/pwdcache.c (addpwbyX): Likewise.
10574 * nscd/selinux.c (preserve_capabilities): Likewise.
10575 * nscd/servicescache.c (addservbyX): Likewise.
10576 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10577 * posix/fnmatch.c (fnmatch): Likewise.
10578 * posix/getopt.c (_getopt_internal_r): Likewise.
10579 * posix/glob.c (glob, glob_in_dir): Likewise.
10580 * posix/wordexp.c (exec_comm_child): Likewise.
10581 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10582 (getanswer_r, gaih_getanswer_slice): Likewise.
10583 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10584 * resolv/res_init.c: Likewise.
10585 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10586 * resolv/res_query.c (__libc_res_nquery): Likewise.
10587 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10589 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10590 * stdio-common/perror.c (perror): Likewise.
10591 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10592 * stdio-common/tmpnam.c (tmpnam): Likewise.
10593 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10594 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10595 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10597 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10598 * stdlib/putenv.c (putenv): Likewise.
10599 * stdlib/setenv.c (__add_to_environ): Likewise.
10600 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10601 * stdlib/strtol_l.c (INTERNAL): Likewise.
10602 * string/memmem.c (memmem): Likewise.
10603 * string/strerror.c (strerror): Likewise.
10604 * string/strnlen.c (__strnlen): Likewise.
10605 * string/test-memmem.c (simple_memmem): Likewise.
10606 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10607 * sunrpc/pm_getport.c (__get_socket): Likewise.
10608 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10609 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10610 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10611 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10613 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10614 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10615 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10616 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10617 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10618 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10620 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10622 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10623 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10624 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10625 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10626 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10627 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10628 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10629 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10630 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10631 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10632 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10633 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10635 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10637 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10639 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10640 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10641 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10642 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10643 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10644 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10645 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10646 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10647 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10648 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10649 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10650 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10651 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10652 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10653 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10654 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10656 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10658 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10660 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10662 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10663 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10664 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10666 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10667 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10668 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10669 * sysdeps/posix/sleep.c: Likewise.
10670 * sysdeps/posix/tempname.c: Likewise.
10671 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10672 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10674 * sysdeps/powerpc/powerpc32/dl-machine.h
10675 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10676 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10677 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10678 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10679 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10681 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10682 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10683 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10684 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10685 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10686 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10687 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10688 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10689 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10690 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10691 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10692 (elf_machine_lazy_rel): Likewise.
10693 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10694 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10695 (elf_machine_lazy_rel): Likewise.
10696 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10697 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10698 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10699 * sysdeps/unix/grantpt.c (grantpt): Likewise.
10700 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10701 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10702 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10703 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10705 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10706 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10707 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10708 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10709 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10710 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10711 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10712 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10713 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10714 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10715 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10717 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10718 (__posix_fallocate64_l64): Likewise.
10719 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10720 (posix_fallocate): Likewise.
10721 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10723 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10724 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10725 (getifaddrs_internal): Likewise.
10726 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10727 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10728 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10729 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10730 * sysdeps/unix/sysv/linux/posix_fallocate64.c
10731 (__posix_fallocate64_l64): Likewise.
10732 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10734 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10735 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10736 (__get_clockfreq): Likewise.
10737 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10738 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10739 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10740 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10741 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10742 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10743 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10744 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10746 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10747 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10748 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10749 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10750 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10751 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10752 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10754 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10755 (posix_fallocate): Likewise.
10756 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10757 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10758 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
10759 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10760 (elf_machine_rela, elf_machine_rela_relative)
10761 (elf_machine_lazy_rel): Likewise.
10762 * time/asctime.c (asctime_internal): Likewise.
10763 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10764 * time/tzset.c (__tzset_parse_tz): Likewise.
10765 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10766 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10767 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10768 * wcsmbs/wcsmbsload.h: Likewise.
10771 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10773 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10774 (arena_get2): Remove THREAD_STATS conditionals.
10775 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10776 (__malloc_stats, int): Likewise.
10778 2014-02-08 Mike Frysinger <vapier@gentoo.org>
10780 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10781 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
10783 * manual/setjmp.texi: Fix typos/grammar errors.
10785 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10786 Only return early when n is <= 0. Delete unused return statement.
10788 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10789 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10790 * debug/tst-longjmp_chk3.c: New file.
10792 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10793 (test_main): Replace code with set_fortify_handler call.
10794 * debug/test-strcpy_chk.c: Likewise.
10795 * debug/tst-chk1.c: Likewise.
10796 * debug/tst-longjmp_chk.c: Likewise.
10797 * test-skeleton.c: Include fcntl.h & paths.h
10798 (set_fortify_handler): Define.
10800 * debug/tst-longjmp_chk.c: Add header comment and include
10801 ../test-skeleton.c.
10802 (do_test): Mark static.
10803 (TEST_FUNCTION): Define.
10805 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10806 (IP_PMTUDISC_INTERFACE): Likewise.
10807 (IP_MULTICAST_IF): Likewise.
10808 (IP_MULTICAST_TTL): Likewise.
10809 (IP_MULTICAST_LOOP): Likewise.
10810 (IP_ADD_MEMBERSHIP): Likewise.
10811 (IP_DROP_MEMBERSHIP): Likewise.
10812 (IP_UNBLOCK_SOURCE): Likewise.
10813 (IP_BLOCK_SOURCE): Likewise.
10814 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10815 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10816 (IP_MSFILTER): Likewise.
10817 (MCAST_JOIN_GROUP): Likewise.
10818 (MCAST_BLOCK_SOURCE): Likewise.
10819 (MCAST_UNBLOCK_SOURCE): Likewise.
10820 (MCAST_LEAVE_GROUP): Likewise.
10821 (MCAST_JOIN_SOURCE_GROUP): Likewise.
10822 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10823 (MCAST_MSFILTER): Likewise.
10824 (IP_MULTICAST_ALL): Likewise.
10825 (IP_UNICAST_IF): Likewise.
10827 * timezone/Makefile: Delete $(have-ksh) check.
10828 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10829 * timezone/tzselect.ksh: Add +x mode bits.
10831 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10832 (ANON_INODE_FS_MAGIC): Likewise.
10833 (BDEVFS_MAGIC): Likewise.
10834 (BINFMTFS_MAGIC): Likewise.
10835 (BTRFS_TEST_MAGIC): Likewise.
10836 (CRAMFS_MAGIC_WEND): Likewise.
10837 (DEBUGFS_MAGIC): Likewise.
10838 (ECRYPTFS_SUPER_MAGIC): Likewise.
10839 (EXT3_SUPER_MAGIC): Likewise.
10840 (EXT4_SUPER_MAGIC): Likewise.
10841 (FUTEXFS_SUPER_MAGIC): Likewise.
10842 (HOSTFS_SUPER_MAGIC): Likewise.
10843 (HUGETLBFS_MAGIC): Likewise.
10844 (MINIX3_SUPER_MAGIC): Likewise.
10845 (MTD_INODE_FS_MAGIC): Likewise.
10846 (NILFS_SUPER_MAGIC): Likewise.
10847 (OPENPROM_SUPER_MAGIC): Likewise.
10848 (PIPEFS_MAGIC): Likewise.
10849 (PSTOREFS_MAGIC): Likewise.
10850 (QNX6_SUPER_MAGIC): Likewise.
10851 (RAMFS_MAGIC): Likewise.
10852 (REISERFS_SUPER_MAGIC_STRING): Likewise.
10853 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10854 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10855 (SECURITYFS_MAGIC): Likewise.
10856 (SELINUX_MAGIC): Likewise.
10857 (SMACK_MAGIC): Likewise.
10858 (SOCKFS_MAGIC): Likewise.
10859 (SQUASHFS_MAGIC): Likewise.
10860 (STACK_END_MAGIC): Likewise.
10861 (TMPFS_MAGIC): Likewise.
10862 (USBDEVICE_SUPER_MAGIC): Likewise.
10863 (V9FS_MAGIC): Likewise.
10864 (XENFS_SUPER_MAGIC): Likewise.
10865 (CRAMFS_MAGIC): Fix typo in comment.
10866 (EXT2_SUPER_MAGIC): Update comment.
10867 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10869 2014-02-08 Joseph Myers <joseph@codesourcery.com>
10871 * sysdeps/arm: Move directory from ports/sysdeps/arm.
10872 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10873 * sysdeps/unix/sysv/linux/arm: Move directory from
10874 ports/sysdeps/unix/sysv/linux/arm.
10875 * README: Update listing for arm-*-linux-gnueabi.
10877 * README: Remove mention of am33.
10879 2014-02-07 Roland McGrath <roland@hack.frob.com>
10881 * bits/sigset.h (__sigemptyset): Use a statement expression rather
10882 than the comma operator, to avoid "rhs of comma has no effect"
10884 (__sigfillset, __sigandset, __sigorset): Likewise.
10885 * include/signal.h (__sigemptyset): Likewise.
10886 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10888 2014-02-07 Allan McRae <allan@archlinux.org>
10890 * version.h (RELEASE): Set to "development".
10891 (VERSION): Set to "2.19.90"
10892 * NEWS: Add 2.20 section.
10894 2014-02-06 Carlos O'Donell <carlos@redhat.com>
10897 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10899 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10901 * manual/contrib.texi: Update entry for Carlos O'Donell,
10902 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10904 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
10906 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10908 * sysdeps/unix/sysv/linux/kernel-features.h
10909 [__LINUX_KERNEL_VERSION >= 0x020621]
10910 (__ASSUME_PROC_PID_TASK_COMM): Define.
10912 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10915 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10916 conversion when destination buffer does not have enough space.
10917 * libio/tst-ftell-partial-wide.c: New test case.
10918 * libio/Makefile (tests): Add tst-ftell-partial-wide.
10920 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10921 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
10922 Leonard and Allan McRae.
10924 2014-02-04 David S. Miller <davem@davemloft.net>
10926 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10929 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10958 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10960 * nptl/shlib-versions: Change powerpc*le start to 2.17.
10961 * shlib-versions: Likewise.
10963 2014-02-04 Roland McGrath <roland@hack.frob.com>
10964 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10966 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10967 (abilist-pattern): New variable, set to %-le.abilist.
10969 * Makerules (abilist-pattern): New variable.
10970 (vpath): Use $(abilist-pattern) in place of %.abilist.
10971 (check-abi-% pattern rule): Likewise.
10972 (check-abi, update-abi): Likewise.
10974 2014-02-04 Eric Wong <normalperson@yhbt.net>
10976 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10978 2014-02-03 Carlos O'Donell <carlos@redhat.com>
10980 * manual/startup.texi: Add next, previous, and top entries for
10981 the `Program Arguments' and `Environment Variables' nodes.
10983 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
10985 * manual/macros.texi: Add comments before MTASC-safety macros.
10987 * manual/users.texi: Document MTASC-safety properties.
10989 * manual/threads.texi (pthread_key_create, pthread_key_delete)
10990 (pthread_getspecific, pthread_setspecific): Format with
10991 @deftypefun, and add @safety note.
10992 * manual/signal.texi: Move comments that analyze the above
10993 functions to their home place.
10995 2014-02-03 Allan McRae <allan@archlinux.org>
10997 * po/sl.po: Update Slovenian translation from translation project.
10999 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
11001 * manual/time.texi (timegm): Add missing blank after @c.
11002 Reported by Joseph Myers <joseph@codesourcery.com>.
11004 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
11006 * manual/check-safety.sh: New.
11007 * manual/Makefile ($(objpfx)stamp-summary): Run it.
11009 * manual/terminal.texi: Document MTASC-safety properties.
11011 * manual/filesys.texi: Document MTASC-safety properties.
11013 * manual/errno.texi: Document MTASC-safety properties.
11015 * manual/intro.texi: Document safety identifiers and
11018 * manual/string.texi (wcstok): Fix prototype.
11019 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11021 * manual/time.texi: Document MTASC-safety properties.
11023 * manual/string.texi: Document MTASC-safety properties.
11025 * manual/threads.texi: Document MTASC-safety properties.
11027 * manual/stdio.texi: Document MTASC-safety properties.
11029 * manual/syslog.texi: Document MTASC-safety properties.
11031 * manual/sysinfo.texi: Document MTASC-safety properties.
11033 * manual/startup.texi: Document MTASC-safety properties.
11035 * manual/socket.texi: Document MTASC-safety properties.
11037 * manual/signal.texi: Document MTASC-safety properties.
11039 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
11041 * manual/setjmp.texi: Document MTASC-safety properties.
11043 * manual/search.texi: Document MTASC-safety properties.
11045 * manual/resource.texi: Document MTASC-safety properties.
11047 * manual/process.texi: Document MTASC-safety properties.
11049 * manual/platform.texi: Document MTASC-safety properties.
11051 * manual/pipe.texi: Document MTASC-safety properties.
11053 * manual/pattern.texi: Document MTASC-safety properties.
11055 * manual/message.texi: Document MTASC-safety properties.
11058 * manual/memory.texi: Document MTASC-safety properties.
11060 * manual/math.texi: Document MTASC-safety properties.
11062 * manual/locale.texi: Document MTASC-safety properties.
11064 * manual/llio.texi: Document MTASC-safety properties.
11066 * manual/libdl.texi: New.
11068 * manual/lang.texi: Document MTASC-safety properties.
11070 * manual/job.texi: Document MTASC-safety properties.
11072 * manual/getopt.texi: Document MTASC-safety properties.
11074 * manual/ctype.texi: Document MTASC-safety properties.
11076 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
11079 * csu/libc-tls.c (static_map): Remove variable.
11080 (__libc_setup_tls): Use main executable's link map for TLS data.
11081 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11082 casing for LM_ID_BASE and GL(dl_nns).
11083 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11084 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
11085 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11086 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11087 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11089 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11092 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
11094 * manual/debug.texi: Document MTASC-safety properties.
11096 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
11099 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11100 of __x86_64__ when disabling x87 inline functions.
11102 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
11104 * manual/charset.texi: Document MTASC-safety properties.
11106 * manual/crypt.texi: Document MTASC-safety properties.
11108 * manual/conf.texi: Document MTASC-safety properties.
11110 * manual/arith.texi: Document MTASC-safety properties.
11112 * manual/argp.texi: Document MTASC-safety properties.
11114 * manual/macros.texi: Introduce macros to document multi
11115 thread, asynchronous signal and asynchronous cancellation
11117 * manual/intro.texi: Introduce the properties themselves.
11119 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11121 * sysdeps/sh/sh4/Makefile: New file.
11123 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
11125 * math/gen-libm-test.pl ($srcdir): New variable.
11126 ($auto_input): Use it.
11128 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11131 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11132 access beyond array bounds when parsing netgroups file.
11134 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11135 the old buffer before realloc.
11137 2014-01-27 Allan McRae <allan@archlinux.org>
11139 * po/fr.po: Update French translation from translation project.
11141 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11143 * sysdeps/sh/libm-test-ulps: Regenerate.
11145 2014-01-24 David S. Miller <davem@davemloft.net>
11147 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11149 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11151 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11152 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11154 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11157 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11158 string pointers after reallocation.
11160 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11162 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11163 __SH4A__ instead of __SH_FPU_ANY__.
11165 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11167 * sysdeps/sh/fpu_control.h: New file.
11168 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11169 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11170 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11171 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11172 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11173 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11174 * sysdeps/sh/sys/ucontext.h: Remove.
11175 * sysdeps/sh/sys: Remove directory.
11177 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11179 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11180 s390/sys/ucontext.h.
11181 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11182 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11184 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
11187 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11189 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11192 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11193 Adjust the vDSO correctly for internal calls.
11194 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11196 2014-01-20 Allan McRae <allan@archlinux.org>
11198 * po/ca.po: Update Catalan translation from translation project.
11200 2014-01-16 Mike Frysinger <vapier@gentoo.org>
11202 * sysdeps/s390/sotruss-lib.c: New file.
11204 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11207 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11208 (__GI___gettimeofday): Alias for a different internal symbol to avoid
11209 local calls issues by not having a PLT stub required for IFUNC calls.
11210 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11212 2014-01-16 Joseph Myers <joseph@codesourcery.com>
11214 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11215 * math/test-fpucw-static.c: Likewise.
11217 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11220 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11222 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11224 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11225 implementation for powerpc.
11227 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
11230 * sysdeps/posix/system.c (__libc_system): Do not enable
11231 asynchronous cancellation.
11233 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11236 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11237 handling only for numbers special also in the IEEE case.
11239 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11241 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11243 2014-01-11 Allan McRae <allan@archlinux.org>
11245 * po/bg.po: Update Bulgarian translation from translation project.
11247 * po/de.po: Update German translation from translation project.
11249 2014-01-10 Roland McGrath <roland@hack.frob.com>
11251 * sysdeps/generic/gcc-compat.h: New file.
11253 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11255 * benchtests/asin-inputs: Correct slow inputs.
11256 * benchtests/acos-inputs: Likewise.
11258 2014-01-10 Allan McRae <allan@archlinux.org>
11260 * po:sv.po: Update Swedish translation from translation project.
11262 * po/vi.po: Update Vietnamese translation from translation project.
11264 * po/eo.po: Update Esperanto translation from translation project.
11266 * po/cs.po: Update Czech translation from translation project.
11268 * po/nl.po: Update Dutch translation from translation project.
11270 * po/pl.po: Update Polish translation from translation project.
11272 * po/ru.po: Update Russian translation from translation project.
11274 * po/uk.po: Update Ukrainian translation from translation project.
11276 2014-01-08 Brooks Moses <bmoses@google.com>
11278 * elf/dl-load.c: Fix comment typo.
11280 2014-01-08 Carlos O'Donell <carlos@redhat.com>
11282 * po/header.pot: Rename to...
11283 * po/pot.header: ... this.
11284 * po/Makefile: Use pot.header.
11286 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
11287 Maxim Kuvyrkov <maxim@kugelworks.com>
11290 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11291 SRC and DEST against LEN.
11293 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11296 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11298 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11300 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11304 2014-01-08 Joseph Myers <joseph@codesourcery.com>
11307 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11308 for large positive arguments.
11310 2014-01-07 Joseph Myers <joseph@codesourcery.com>
11312 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11314 * math/auto-libm-test-in: Mark various tests with
11315 xfail-rounding:ldbl-128ibm.
11316 * math/auto-libm-test-out: Regenerated.
11319 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11320 Increase overflow threshold.
11322 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
11325 * stdio-common/vfprintf.c: Check for integer overflow.
11327 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11329 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11330 the first argument and return value of __tls_get_addr_internal.
11332 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11334 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11335 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11337 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11339 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11340 * sysdeps/s390/rtld-global-offsets.sym: New file.
11341 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11343 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11344 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11345 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11347 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11348 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11354 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11355 halfs of GPRs for high_gprs contexts.
11356 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11357 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
11359 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11361 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11363 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11364 for high GPRs (uc_high_gprs) and for future extensions
11366 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11367 for future extensions (__reserved).
11368 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11370 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11371 SC_HIGHGPRS offset definition.
11372 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11373 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11375 * Versions.def: Add GLIBC_2.19 for libpthread.
11376 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11377 siglongjmp for libpthread with GLIBC_2.19 symver.
11378 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11379 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11380 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11381 * sysdeps/s390/__longjmp.c: New file.
11382 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11383 * sysdeps/s390/longjmp.c: New file.
11384 * sysdeps/s390/setjmp.S: New file.
11385 * sysdeps/s390/sigjmp.S: New file.
11386 * sysdeps/s390/v1-longjmp.c: New file.
11387 * sysdeps/s390/v1-setjmp.h: New file.
11388 * sysdeps/s390/v1-sigjmp.c: New file.
11389 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11390 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11391 GLIBC_2.19 version.
11392 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11393 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11394 versioned symbols for ____longjmp_chk.
11395 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11405 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11406 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11407 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11408 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11409 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11410 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11411 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11412 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11413 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11414 * sysdeps/s390/rtld-__longjmp.c: New file.
11415 * sysdeps/s390/rtld-setjmp.S: New file.
11417 2014-01-06 Joseph Myers <joseph@codesourcery.com>
11420 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11421 Return -__logl (x) for small positive arguments without evaluating
11424 2014-01-06 Mike Frysinger <vapier@gentoo.org>
11426 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11428 (__ptrace_peeksiginfo_args): ... this.
11429 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11430 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11431 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11433 2014-01-06 Allan McRae <allan@archlinux.org>
11435 * inet/netinet/in.h: Fix typo in comment.
11437 2014-01-05 Andreas Jaeger <aj@suse.de>
11439 * sysdeps/i386/fpu/libm-test-ulps: Update.
11441 2014-01-05 Allan McRae <allan@archlinux.org>
11443 * po/libc.pot: Regenerated.
11445 * malloc/memusagestat.c: Fix gettext call formatting.
11447 2014-01-04 Sami Kerola <kerolasa@iki.fi>
11449 * nscd/nscd.c: Improve usage() output.
11451 2014-01-04 Mike Frysinger <vapier@gentoo.org>
11453 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11454 * sysdeps/unix/sysv/linux/configure: Regenerated.
11455 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11456 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11458 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11461 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11462 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11464 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11466 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11467 extra tokens at end of #undef directive.
11468 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11469 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11470 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11472 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11474 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11476 * math/auto-libm-test-in: Mark various tests with
11477 xfail-rounding:ldbl-128ibm.
11478 * math/auto-libm-test-out: Regenerated.
11480 2014-01-02 Joseph Myers <joseph@codesourcery.com>
11483 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11484 numbers with subnormal high part when calculating exponent.
11487 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11491 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11493 (__ieee754_acoshl): Use __log1pl not __log1p.
11495 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
11497 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11498 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11499 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11500 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11501 (reused_arena, arena_get2): Convert to GNU style.
11502 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11503 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11504 (memalign_check, __malloc_set_state): Likewise.
11505 * malloc/mallocbug.c (main): Likewise.
11506 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11507 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11508 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11509 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11510 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11511 (__posix_memalign, malloc_info): Likewise.
11512 * malloc/malloc.h: Likewise.
11513 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11514 (mallochook, memalignhook, reallochook, mabort): Likewise.
11515 * malloc/mcheck.h: Likewise.
11516 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11517 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11518 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11519 * malloc/morecore.c (__default_morecore): Likewise.
11520 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11521 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11522 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11523 (print_and_abort): Likewise.
11524 * malloc/obstack.h: Likewise.
11525 * malloc/set-freeres.c (__libc_freeres): Likewise.
11526 * malloc/tst-mallocstate.c (main): Likewise.
11527 * malloc/tst-mtrace.c (main): Likewise.
11528 * malloc/tst-realloc.c (do_test): Likewise.
11530 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11533 * nscd/netgroupcache.c (do_notfound): New function.
11534 (addgetnetgrentX): Use it.
11537 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11538 NSS_STATUS_NOTFOUND.
11540 2014-01-01 Joseph Myers <joseph@codesourcery.com>
11542 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11545 2014-01-01 Allan McRae <allan@archlinux.org>
11547 * scripts/update-copyrights: Update configure input file suffix.
11549 * NEWS: Update copyright year.
11550 * catgets/gencat.c: Likewise.
11551 * csu/version.c: Likewise.
11552 * debug/catchsegv.sh: Likewise.
11553 * debug/pcprofiledump.c: Likewise.
11554 * debug/xtrace.sh: Likewise.
11555 * elf/ldconfig.c: Likewise.
11556 * elf/ldd.bash.in: Likewise.
11557 * elf/pldd.c: Likewise.
11558 * elf/sotruss.ksh: Likewise.
11559 * elf/sprof.c: Likewise.
11560 * iconv/iconv_prog.c: Likewise.
11561 * iconv/iconvconfig.c: Likewise.
11562 * locale/programs/locale.c: Likewise.
11563 * locale/programs/localedef.c: Likewise.
11564 * login/programs/pt_chown.c: Likewise.
11565 * malloc/memusage.sh: Likewise.
11566 * malloc/memusagestat.c: Likewise.
11567 * malloc/mtrace.pl: Likewise.
11568 * manual/libc.texinfo: Likewise.
11569 * nscd/nscd.c: Likewise.
11570 * nss/getent.c: Likewise.
11571 * nss/makedb.c: Likewise.
11572 * posix/getconf.c: Likewise.
11573 * scripts/test-installation.pl: Likewise.
11575 * All files with FSF copyright notices: Update copyright dates
11576 using scripts/update-copyrights.
11577 * intl/plural.c: Regenerated.
11578 * locale/programs/charmap-kw.h: Likewise.
11579 * locale/programs/locfile-kw.h: Likewise.
11581 2013-12-31 Mike Frysinger <vapier@gentoo.org>
11583 * sysdeps/unix/sysv/linux/configure: Regenerated.
11584 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11585 the linux/fanotify.h header.
11586 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11587 HAVE_LINUX_FANOTIFY_H is defined.
11589 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11591 * benchtests/cos-inputs: New inputs.
11592 * benchtests/sin-inputs: Likewise.
11594 * benchtests/atan-inputs: New inputs. Fix name of multiple
11595 precision fallback inputs.
11597 * benchtests/atanh-inputs: New inputs.
11598 * benchtests/tanh-inputs: Likewise.
11600 * benchtests/acosh-inputs: New inputs.
11601 * benchtests/asinh-inputs: Likewise.
11603 * benchtests/cosh-inputs: New inputs.
11604 * benchtests/sinh-inputs: Likewise.
11606 * benchtests/acos-inputs: Add more inputs.
11607 * benchtests/asin-inputs: Likewise.
11609 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
11612 * manual/arith.texi: Fix spelling.
11613 * manual/charset.texi: Likewise.
11614 * manual/errno.texi: Likewise.
11615 * manual/filesys.texi: Likewise.
11616 * manual/lang.texi: Likewise.
11617 * manual/llio.texi: Likewise.
11618 * manual/locale.texi: Likewise.
11619 * manual/message.texi: Likewise.
11620 * manual/resource.texi: Likewise.
11621 * manual/search.texi: Likewise.
11622 * manual/setjmp.texi: Likewise.
11623 * manual/stdio.texi: Likewise.
11624 * manual/string.texi: Likewise.
11625 * manual/sysinfo.texi: Likewise.
11626 * manual/time.texi: Likewise.
11628 2013-12-27 Carlos O'Donell <carlos@redhat.com>
11630 * po/sl.po: New file.
11632 2013-12-27 Mike Frysinger <vapier@gentoo.org>
11634 * .gitignore: Add core/.gdbinit/.gdb_history.
11636 2013-12-27 Allan McRae <allan@archlinux.org>
11639 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11640 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11642 2013-12-24 Brooks Moses <bmoses@google.com>
11644 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11645 all compilers that claim C++98 compliance, not just GCC.
11646 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11649 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11651 * NEWS: Restore accidentally deleted bug-fix entries.
11653 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11654 Ondřej Bílka <neleai@seznam.cz>
11657 * malloc/malloc.c (_int_free): Perform sanity check only if we
11660 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
11663 * manual/stdio.texi (String Input Conversions): Clarify that character
11664 classes are not supported.
11666 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11670 2013-12-22 Joseph Myers <joseph@codesourcery.com>
11673 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11674 Calculate results for small negative arguments directly rather
11675 than using reflection formula with special underflow handling.
11677 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11678 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11679 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11680 (fchflags): Likewise.
11681 (revoke): Likewise.
11682 (setlogin): Likewise.
11683 (sigaltstack): Likewise.
11685 (sigblock): Remove.
11686 (sigsetmask): Likewise.
11688 (waitpid): Likewise.
11689 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11690 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11692 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11693 * sysdeps/unix/bsd/Makefile: ... here.
11694 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11695 * sysdeps/unix/bsd/Versions: ... here.
11696 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11697 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11698 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11699 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11700 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11701 * sysdeps/unix/bsd/sigblock.c: ... here.
11702 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11703 * sysdeps/unix/bsd/sigsetmask.c: ... here.
11704 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11705 * sysdeps/unix/bsd/sigvec.c: ... here.
11706 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11707 * sysdeps/unix/bsd/tcdrain.c: ... here.
11708 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11709 * sysdeps/unix/bsd/tcgetattr.c: ... here.
11710 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11711 * sysdeps/unix/bsd/tcsetattr.c: ... here.
11712 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11713 * sysdeps/unix/bsd/wait.c: ... here.
11714 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11715 * sysdeps/unix/bsd/wait3.c: ... here.
11716 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11717 * sysdeps/unix/bsd/waitpid.c: ... here.
11719 2013-12-21 Joseph Myers <joseph@codesourcery.com>
11722 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11723 round-to-nearest for [!USE_AS_EXPM1L].
11724 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11725 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
11726 more tests of exp and exp10. Expect some exp10 tests to miss
11727 exceptions or fail in directed rounding modes.
11728 * math/auto-libm-test-out: Regenerated.
11729 * math/libm-test.inc (exp10_tonearest_test_data): New array.
11730 (exp10_test_tonearest): New function.
11731 (exp10_towardzero_test_data): New array.
11732 (exp10_test_towardzero): New function.
11733 (exp10_downward_test_data): New array.
11734 (exp10_test_downward): New function.
11735 (exp10_upward_test_data): New array.
11736 (exp10_test_upward): New function.
11737 (main): Call the new functions.
11738 * sysdeps/i386/fpu/libm-test-ulps: Update.
11739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11741 2013-12-20 Joseph Myers <joseph@codesourcery.com>
11743 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11744 asinh, atan, atan2, atanh, cbrt, cos and cosh.
11745 * math/auto-libm-test-out: Regenerated.
11746 * math/libm-test.inc (acosh_test_data): Add more tests.
11747 (atanh_test_data): Likewise.
11748 (ceil_test_data): Likewise.
11749 (copysign_test_data): Likewise.
11750 * sysdeps/i386/fpu/libm-test-ulps: Update.
11751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11753 * timezone/checktab.awk: Update from tzcode 2013i.
11754 * timezone/private.h: Likewise.
11755 * timezone/scheck.c: Likewise.
11756 * timezone/tzfile.h: Likewise.
11757 * timezone/tzselect.ksh: Likewise.
11758 * timezone/zdump.c: Likewise.
11759 * timezone/zic.c: Likewise.
11761 * math/auto-libm-test-in: Add tests of cpow.
11762 * math/auto-libm-test-out: Regenerated.
11763 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
11764 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11766 (func_calc_desc): Add mpc_cc_c union field.
11767 (test_functions): Add cpow.
11768 (special_fill_2pi): New function.
11769 (special_real_inputs): Add 2pi.
11770 (calc_generic_results): Handle mpc_cc_c.
11771 * sysdeps/i386/fpu/libm-test-ulps: Update.
11772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11774 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11775 csqrt, ctan and ctanh.
11776 * math/auto-libm-test-out: Regenerated.
11777 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11778 (TEST_COND_x86): Likewise.
11779 (ccos_test_data): Use AUTO_TESTS_c_c.
11780 (ccosh_test_data): Likewise.
11781 (cexp_test_data): Likewise.
11782 (clog_test_data): Likewise.
11783 (csqrt_test_data): Likewise.
11784 (ctan_test_data): Likewise.
11785 (ctan_tonearest_test_data): Likewise.
11786 (ctan_towardzero_test_data): Likewise.
11787 (ctan_downward_test_data): Likewise.
11788 (ctan_upward_test_data): Likewise.
11789 (ctanh_test_data): Likewise.
11790 (ctanh_tonearest_test_data): Likewise.
11791 (ctanh_towardzero_test_data): Likewise.
11792 (ctanh_downward_test_data): Likewise.
11793 (ctanh_upward_test_data): Likewise.
11794 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11796 (func_calc_desc): Add mpc_c_c union field.
11797 (FUNC_mpc_c_c): New macro.
11798 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11799 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11801 (special_fill_min_subnorm_p120): New function.
11802 (special_real_inputs): Add min_subnorm_p120.
11803 (calc_generic_results): Handle mpc_c_c.
11804 * sysdeps/i386/fpu/libm-test-ulps: Update.
11805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11807 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11809 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11810 (do_sin_slow): New functions.
11811 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11812 (cslow2, csloww1, csloww2): Use the new functions.
11814 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11815 Use M to change sign of result instead of X. Assume X is
11817 (csloww1): Likewise.
11821 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11822 arguments A and DA.
11826 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11828 (sloww1): Don't adjust sign of DX.
11829 (csloww1): Likewise.
11830 (sloww2): Use X directly and don't adjust sign of DX.
11831 (csloww2): Likewise.
11833 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11835 * math/auto-libm-test-in: Add tests of cabs and carg.
11836 * math/auto-libm-test-out: Regenerated.
11837 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11838 (carg_test_data): Likewise.
11839 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11841 (func_calc_desc): Add mpc_c_f union field.
11842 (test_functions): Add cabs and carg.
11843 (calc_generic_results): Handle mpc_c_f.
11845 * sysdeps/powerpc/powerpc32/libgcc-compat.S
11846 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11847 as a macro and a compat symbol.
11848 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11849 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11850 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11851 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11852 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11853 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11855 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11857 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11859 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11861 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11863 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11865 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11866 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11869 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11873 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11875 * manual/texinfo.tex: Update to version 2013-11-26.10 with
11876 trailing whitespace removed.
11877 * scripts/config.guess: Update to version 2013-11-29.
11878 * scripts/config.sub: Update to version 2013-10-01.
11880 * math/auto-libm-test-in: Add tests of sincos.
11881 * math/auto-libm-test-out: Regenerated.
11882 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11883 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11885 (func_calc_desc): Add mpfr_f_11 union field.
11886 (test_functions): Add sincos.
11887 (calc_generic_results): Handle mpfr_f_11.
11888 * sysdeps/i386/fpu/libm-test-ulps: Update.
11889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11891 2013-12-19 Andreas Schwab <schwab@suse.de>
11893 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11895 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11896 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11897 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11899 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11901 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11902 * sysdeps/i386/fpu/libm-test-ulps: Update.
11903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11906 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11907 round-to-nearest mode when using frndint.
11908 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11909 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11910 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11912 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
11914 * math/auto-libm-test-out: Regenerated.
11915 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11916 (TEST_COND_x86): Likewise.
11917 (expm1_tonearest_test_data): New array.
11918 (expm1_test_tonearest): New function.
11919 (expm1_towardzero_test_data): New array.
11920 (expm1_test_towardzero): New function.
11921 (expm1_downward_test_data): New array.
11922 (expm1_test_downward): New function.
11923 (expm1_upward_test_data): New array.
11924 (expm1_test_upward): New function.
11925 (main): Run the new test functions.
11926 * sysdeps/i386/fpu/libm-test-ulps: Update.
11927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11929 * include/features.h: Update comment documenting feature test
11930 macros. Mention _DEFAULT_SOURCE in comment.
11931 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11932 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11933 _BSD_SOURCE and _SVID_SOURCE.
11934 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11935 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11936 !_SVID_SOURCE]: Likewise.
11937 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11938 (__USE_POSIX_IMPLICITLY): Define.
11939 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11940 (_POSIX_SOURCE): Undefine and redefine.
11941 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11942 (_POSIX_C_SOURCE): Likewise.
11943 * manual/creature.texi (_DEFAULT_SOURCE): Document.
11944 (Feature Test Macros): Update documentation of default features.
11946 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11948 * benchtests/Makefile: Add bench-strtok.
11949 * benchtests/bench-strtok.c: New file: strtok benchtest.
11951 2013-12-19 Allan McRae <allan@archlinux.org>
11953 * manual/install.texi: Suppress menu for plain text output.
11954 * INSTALL: Regenerated.
11956 2013-12-18 Brooks Moses <bmoses@google.com>
11959 * misc/getauxval.c: Include errno.h.
11960 (__getauxval): Set errno to ENOENT if the requested type is not
11962 * misc/sys/auxv.h (getauxval): Document that it may set errno;
11963 don't declare with __attribute_const__.
11964 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11965 * manual/startup.texi: Document that getauxval sets errno.
11967 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11969 * math/auto-libm-test-in: Add tests of jn and yn.
11970 * math/auto-libm-test-out: Regenerated.
11971 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11972 (yn_test_data): Likewise.
11973 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11975 (func_calc_desc): Add mpfr_if_f union field.
11976 (FUNC_mpfr_if_f): New macro.
11977 (test_functions): Add jn and yn.
11978 (calc_generic_results): Assert type of second input for
11979 mpfr_ff_f. Handle mpfr_if_f.
11980 (output_for_one_input_case): Disable all checking for arguments
11981 fitting floating-point types in case of an integer argument.
11982 * sysdeps/i386/fpu/libm-test-ulps: Update.
11983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11986 Don't expect fegetround reference in libm.so.
11988 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11990 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11991 $(config-cflags-nofma).
11993 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11995 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11996 * math/auto-libm-test-out: Regenerated.
11999 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12000 to determine exponent and adjust argument to have exponent of -1.
12001 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12003 * math/auto-libm-test-out: Regenerated.
12004 * sysdeps/i386/fpu/libm-test-ulps: Update.
12005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12007 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
12009 * manual/probes.texi: Remove cases when per-thread arenas are
12012 2013-12-18 Andreas Schwab <schwab@suse.de>
12014 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12015 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12016 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12017 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12018 * sysdeps/i386/i686/multiarch/Makefile: Update.
12019 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12021 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12023 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12024 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12026 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
12029 Support TZ transition times < 00:00:00.
12030 This is needed for version-3 tz-format files; it supports time
12031 stamps past 2037 for America/Godthab (the only entry in the tz
12032 database for which this change is relevant).
12033 * manual/time.texi (TZ Variable): Document transition times
12034 from -167:59:59 through -00:00:01.
12035 * time/tzset.c (tz_rule): Time of day is now signed.
12036 (__tzset_parse_tz): Parse negative time of day.
12038 Document TZ transition times >= 25:00:00.
12039 * manual/time.texi (TZ Variable): Document transition times from
12040 25:00:00 through 167:59:59. These are already supported, and this
12041 support will help with version-3 tz-format files.
12043 * manual/time.texi (TZ Variable): Modernize North America example
12044 to reflect current (i.e., 2007-and-later) daylight saving rules.
12046 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12048 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12050 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12051 * sysdeps/unix/bsd/bits/stat.h: Likewise.
12052 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12053 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12054 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12055 * sysdeps/unix/bsd/bsdstat.h: Likewise.
12056 * sysdeps/unix/bsd/clock.c: Likewise.
12057 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12058 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12059 * sysdeps/unix/bsd/init-posix.c: Likewise.
12060 * sysdeps/unix/bsd/poll.c: Likewise.
12061 * sysdeps/unix/bsd/ptsname.c: Likewise.
12062 * sysdeps/unix/bsd/seekdir.c: Likewise.
12063 * sysdeps/unix/bsd/setegid.c: Likewise.
12064 * sysdeps/unix/bsd/seteuid.c: Likewise.
12065 * sysdeps/unix/bsd/setgid.c: Likewise.
12066 * sysdeps/unix/bsd/setrgid.c: Likewise.
12067 * sysdeps/unix/bsd/setruid.c: Likewise.
12068 * sysdeps/unix/bsd/setsid.c: Likewise.
12069 * sysdeps/unix/bsd/setuid.c: Likewise.
12070 * sysdeps/unix/bsd/sigaction.c: Likewise.
12071 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12072 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12073 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12074 * sysdeps/unix/bsd/telldir.c: Likewise.
12075 * sysdeps/unix/bsd/times.c: Likewise.
12076 * sysdeps/unix/bsd/usleep.c: Likewise.
12078 * misc/Makefile (install-lib): Remove libbsd-compat.a.
12079 ($(objpfx)libbsd-compat.a): Remove rule.
12081 * include/features.h (__FAVOR_BSD): Do not define.
12082 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12083 features conflicting with POSIX.
12084 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12085 (_BSD_SOURCE): Remove description of not being a subset of other
12086 feature test macros.
12087 * manual/job.texi (getpgrp): Do not document BSD version.
12088 (getpgid): Do not document by reference to BSD getpgrp.
12089 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12090 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12091 * signal/signal.h [__FAVOR_BSD]: Likewise.
12092 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12093 instead of making contents conditional on [__FAVOR_BSD].
12094 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12096 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12100 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12103 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12104 values below 2**-450, not 2**-500.
12105 * math/auto-libm-test-in: Don't allow spurious underflow from
12107 * math/auto-libm-test-out: Regenerated.
12111 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12112 values of ha and hb and sort them after adjusting subnormal
12114 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12116 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12117 values of ea and eb and sort them after adjusting subnormal
12119 * math/auto-libm-test-in: Do not expect some hypot tests of
12120 subnormals to fail. Add more hypot tests.
12121 * math/auto-libm-test-out: Regenerated.
12123 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12126 * sysdeps/sh/s_fma.c: New file.
12127 * sysdeps/sh/s_fmaf.c: New file.
12128 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
12130 * sysdeps/sh/Implies: Add sh/soft-fp.
12132 2013-12-16 Roland McGrath <roland@hack.frob.com>
12134 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
12135 level of indirection to members `objname', `errstring', `malloced'.
12136 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12137 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
12138 it as the __longjmp argument (just pass 1 instead).
12139 (_dl_catch_error): Initialize C with argument pointers and address of
12140 volatile local ERRCODE rather than copying values out of C at return.
12142 2013-12-16 Joseph Myers <joseph@codesourcery.com>
12144 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12145 * math/auto-libm-test-out: Regenerated.
12146 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12147 (hypot_test_data): Likewise.
12148 (pow_test_data): Likewise.
12149 (pow_tonearest_test_data): Likewise.
12150 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12152 (func_calc_desc): Add mpfr_ff_f union field.
12153 (FUNC_mpfr_ff_f): New macro.
12154 (test_functions): Add atan2, hypot and pow.
12155 (special_fill_min): New function.
12156 (special_fill_minus_min): Likewise.
12157 (special_fill_min_subnorm): Likewise.
12158 (special_fill_minus_min_subnorm): Likewise.
12159 (special_real_inputs): Add min, -min, min_subnorm and
12161 (calc_generic_results): Handle mpfr_ff_f.
12162 * sysdeps/i386/fpu/libm-test-ulps: Update.
12163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12165 2013-12-16 Will Newton <will.newton@linaro.org>
12167 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12168 (Aligned Memory Blocks): Add documentation for aligned_alloc
12169 and suggest it as an alternative to posix_memalign.
12170 (Hooks for Malloc): Document __memalign_hook is also called
12171 for aligned_alloc. (Summary of Malloc): Add summary for
12172 aligned alloc. Document __memalign_hook is also called
12175 2013-12-16 Will Newton <will.newton@linaro.org>
12177 * manual/memory.texi (Malloc Examples): Clarify default
12178 alignment documentation. Suggest posix_memalign rather
12179 than memalign or valloc.
12180 (Aligned Memory Blocks): Remove suggestion to use memalign
12181 or valloc. Remove obsolete comment about BSD.
12182 Document memalign errno values and mark the function obsolete.
12183 Document posix_memalign returned error codes. Mark valloc
12184 as obsolete. (Hooks for Malloc): __memalign_hook is also
12185 called for posix_memalign and valloc.
12186 (Summary of Malloc): Add posix_memalign to function summary.
12187 __memalign_hook is also called for posix_memalign and valloc.
12189 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12191 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12195 (sloww): Use mynumber union. Expand ternary operator into
12196 if-else statements.
12197 (cslow): use mynumber union.
12199 2013-12-16 Allan McRae <allan@archlinux.org>
12201 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12202 * configure: Regenerated.
12204 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12207 * configure.ac: Added --enable-maintainer-mode. Check for
12208 autoconf when enabled.
12209 * configure: Regenerated.
12211 * nscd/nscd.service: New file.
12212 * nscd/nscd.tmpfiles: New file.
12214 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
12217 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12218 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12219 * sysdeps/x86_64/multiarch/strstr.c: ... here.
12220 (strstr): Add __strstr_sse2_unaligned ifunc.
12221 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12222 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12223 (strcasestr): Remove __strcasestr_sse42 ifunc.
12224 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12225 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12226 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12228 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12230 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12231 * sysdeps/sh/bits/fenv.h: ... here.
12232 * sysdeps/sh/sh4/fpu/bits: Remove directory.
12234 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12236 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12238 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12239 hypotf multiarch implementations.
12240 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12241 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12242 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12243 multiarch hypot for PPC64.
12244 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12245 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12246 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12247 multiarch hypotf for PPC64.
12249 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12250 modff multiarch implementations.
12251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12254 multiarch modf for PPC64.
12255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12258 multiarch modff for PPC64.
12260 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12261 and logl multiarch implementations.
12262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12265 multiarch logb for PPC64.
12266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12269 multiarch logb for PPC64.
12270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12273 multiarch logb for PPC64.
12275 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12276 isinff multiarch implementation.
12277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12281 multiarch isinf for PPC64.
12282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12285 multiarch isinff for PPC64.
12287 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12288 finitef multiarch implementation.
12289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12293 multiarch finite for PPC64.
12294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12297 multiarch finitef for PPC64.
12299 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12300 lrint multiarch implementation.
12301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12305 multiarch llrint for PPC64.
12306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12307 multiarch lrint for PPC64.
12309 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12310 copysignf multiarch implementation.
12311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12316 multiarch copysign for PPC64.
12317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12318 multiarch copysignf for PPC64.
12320 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12321 multiarch implementation.
12322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12330 multiarch llround for PPC64.
12331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12332 multiarch trunc for PPC64.
12333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12334 multiarch truncf for PPC64.
12336 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12337 multiarch implementation.
12338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12346 multiarch llround for PPC64.
12347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12348 multiarch round for PPC64.
12349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12350 multiarch roundf for PPC64.
12352 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12353 multiarch implementation.
12354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12362 multiarch llround for PPC64.
12363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12364 multiarch floor for PPC64.
12365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12366 multiarch floorf for PPC64.
12368 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12369 multiarch implementation.
12370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12378 multiarch llround for PPC64.
12379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12380 multiarch ceil for PPC64.
12381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12382 multiarch ceilf for PPC64.
12384 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12385 multiarch implementation.
12386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12393 multiarch llround for PPC64.
12394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12395 multiarch lround for PPC64.
12397 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12398 multiarch implementation.
12399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12406 multiarch isnan for PPC64.
12407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12408 multiarch isnanf for PPC64.
12410 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12411 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12412 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12413 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12414 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12417 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12418 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12419 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12420 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12422 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12423 multiarch implementations.
12424 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12425 (__libc_ifunc_impl_list): Likewise.
12426 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12427 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12428 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12429 multiarch stpcpy for PPC64.
12431 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12432 multiarch implementations.
12433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12434 (__libc_ifunc_impl_list): Likewise.
12435 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12436 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12437 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12438 multiarch strcpy for PPC64.
12440 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12441 redefine function name.
12442 (_wordcopy_fwd_dest_aligned): Likewise.
12443 (_wordcopy_bwd_aligned): Likewise.
12444 (_wordcopy_bwd_dest_aligned): Likewise.
12445 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12446 multiarch implementations.
12447 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12448 (__libc_ifunc_impl_list): Likewise.
12449 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12450 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12451 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12452 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12453 multiarch wcscpy for PPC64.
12455 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12456 multiarch implementations.
12457 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12458 (__libc_ifunc_impl_list): Likewise.
12459 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12460 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12461 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12462 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12463 multiarch wcscpy for PPC64.
12465 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12466 multiarch implementations.
12467 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12468 (__libc_ifunc_impl_list): Likewise.
12469 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12470 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12471 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12472 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12473 multiarch wcsrchr for PPC64.
12475 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12476 multiarch implementations.
12477 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12478 (__libc_ifunc_impl_list): Likewise.
12479 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12480 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12481 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12482 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12483 multiarch wcschr for PPC64.
12485 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12486 multiarch implementations.
12487 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12488 (__libc_ifunc_impl_list): Likewise.
12489 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12490 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12491 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12492 multiarch strchrnul for PPC64.
12494 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12496 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12497 (__libc_ifunc_impl_list): Likewise.
12498 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12499 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12500 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12501 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12504 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12506 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12507 (__libc_ifunc_impl_list): Likewise.
12508 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12509 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12510 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12511 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12514 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12515 multiarch implementations.
12516 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12517 (__libc_ifunc_impl_list): Likewise.
12518 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12519 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12520 strncasecmp for PPC64.
12521 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12522 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12523 multiarch strncasecmp_l for PPC64.
12525 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12526 multiarch implementations.
12527 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12528 (__libc_ifunc_impl_list): Likewise.
12529 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12530 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12531 multiarch strcasecmp for PPC64.
12532 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12534 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12535 multiarch strcasecmp_l for PPC64.
12537 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12539 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12540 (__libc_ifunc_impl_list): Likewise.
12541 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12542 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12543 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12546 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12548 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12549 (__libc_ifunc_impl_list): Likewise.
12550 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12551 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12552 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12555 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12557 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12558 (__libc_ifunc_impl_list): Likewise.
12559 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12560 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12561 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12562 rawmemrchr for PPC64.
12564 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12566 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12567 (__libc_ifunc_impl_list): Likewise.
12568 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12569 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12570 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12573 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12575 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12576 (__libc_ifunc_impl_list): Likewise.
12577 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12578 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12579 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12582 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12584 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12585 (__libc_ifunc_impl_list): Likewise.
12586 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12587 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12588 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12591 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12592 avoid cretion of __bzero symbol.
12593 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12595 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12597 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12599 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12600 multiarch implementations.
12601 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12602 (__libc_ifunc_impl_list): Likewise.
12603 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12604 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12605 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12606 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12608 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12609 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12610 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12611 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12612 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12614 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12616 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12617 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12619 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12620 (__libc_ifunc_impl_list): Likewise.
12621 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12622 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12623 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12624 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12627 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12628 multiarch for POWER/PPC64.
12629 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12630 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12631 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12632 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12633 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12634 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12635 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12636 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12637 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12640 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12641 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12642 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12643 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12644 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12645 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12646 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12647 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12648 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12649 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12650 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12651 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12652 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12653 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12654 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12663 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12665 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12667 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12669 * benchtests/Makefile (bench): Add exp2 and log2.
12670 (LDLIBS-bench-exp2): Add -lm.
12671 (LDLIBS-bench-log2): Likewise.
12672 * benchtests/exp2-inputs: New inputs file.
12673 * benchtests/log2-inputs: New inputs file.
12674 * benchtests/log-inputs: Add new inputs.
12675 * benchtests/tan-inputs: Likewise.
12677 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12679 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12681 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12682 (csloww2): ... from here.
12684 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12685 instead of structures.
12686 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12687 (POLYNOMIAL): Likewise.
12688 (TAYLOR_SLOW): Likewise.
12694 (sloww1); Likewise.
12695 (sloww2): Likewise.
12696 (bsloww1): Likewise.
12697 (bsloww2): Likewise.
12698 (cslow2): Likewise.
12699 (csloww): Likewise.
12700 (csloww1): Likewise.
12701 (csloww2): Likewise.
12703 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
12705 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12706 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12707 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12708 * malloc/hooks.c (realloc_check): Likewise.
12710 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12711 * malloc/arena.c: Remove PER_THREAD conditional.
12712 [!PER_THREAD]: Remove code.
12713 (ptmalloc_unlock_all2): Likewise.
12714 (ptmalloc_init): Likewise.
12715 (_int_new_arena): Likewise.
12716 (arena_get2): Likewise.
12717 * malloc/hooks.c (__malloc_get_state): Likewise.
12718 (__malloc_set_state): Likewise.
12719 * malloc/malloc.c: Likewise.
12720 (struct malloc_state): Likewise.
12721 (struct malloc_par): Likewise.
12722 (__libc_realloc): Likewise.
12723 (__libc_mallopt): Likewise.
12725 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12727 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12729 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
12731 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12732 macro to a function. Check for zero perturb_byte.
12733 (_int_malloc, _int_free): Remove zero perturb_byte checks.
12735 * malloc/malloc.c: (force_reg): Remove.
12736 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12737 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12738 force_reg by atomic_forced_read.
12739 * malloc/arena.c (ptmalloc_init): Likewise.
12740 * malloc/hooks.c (top_check): Likewise.
12742 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12744 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12746 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
12748 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12750 2013-12-08 Joseph Myers <joseph@codesourcery.com>
12752 * math/auto-libm-test-in: Add tests of lgamma.
12753 * math/auto-libm-test-out: Regenerated.
12754 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12755 (M_LOG_2_SQRT_PIl): Likewise.
12756 (lgamma_test_data): Use AUTO_TESTS_f_f1.
12757 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12759 (func_calc_desc): Add mpfr_f_f1 union field.
12760 (ARGS1): New macro.
12768 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12769 (test_functions): Add lgamma.
12770 (calc_generic_results): Handle mpfr_f_f1.
12771 * sysdeps/i386/fpu/libm-test-ulps: Update.
12772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12774 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12776 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12777 __mpn_add_n for PowerPC64/POWER7.
12778 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12779 __mpn_sub_n for PowerPC64/POWER7.
12781 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12782 __mpn_addmul_1 for PowerPC64.
12783 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12784 __mpn_submul_1 for PowerPC64.
12785 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12787 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12790 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
12793 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12795 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12797 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12799 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12800 add multiarch folders.
12801 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12802 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12803 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12804 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12805 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12806 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12807 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12808 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12809 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12810 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12811 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12820 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12826 multiarch __ieee754_hypot for PowerPC32.
12827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12832 multiarch __ieee754_hypotf for PowerPC32.
12834 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12835 long_double_symbol only if __logbl is defined.
12836 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12837 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12838 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12839 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12840 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12841 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12842 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12843 path for implementation.
12844 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12845 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12847 logb, and logbl multiarch implementations for PowerPC32.
12848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12853 multiarch logb for PowerPC32.
12854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12859 multiarch logbf for PowerPC32.
12860 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12864 multiarch logbl implementation for PowerPC32.
12866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12867 and modff multiarch implementations.
12868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12873 multiarch modf for PowerPC32.
12874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12879 multiarch modff for PowerPC32.
12881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12882 and lrintf multiarch implementations.
12883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12888 multiarch lrint for PowerPC32.
12889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12890 file: multiarch lrintf for PowerPC32.
12892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12893 and lroundf multiarch implementations.
12894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12901 multiarch lround for PowerPC32.
12902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12903 file: multiarch lroundf for PowerPC32.
12905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12906 copysign and copysignf multiarch implementations.
12907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12912 file: multiarch copysign for PowerPC32.
12913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12914 file: multiarch copysignf for PowerPC32.
12916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12917 and truncf multiarch implementations.
12918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12923 multiarch trunc for PowerPC32.
12924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12929 multiarch truncf for PowerPC32.
12931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12932 and roundf multiarch implementations.
12933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12938 multiarch round for PowerPC32.
12939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12944 multiarch roundf for PowerPC32.
12946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12947 and floorf multiarch implementations.
12948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12953 multiarch floor for PowerPC32.
12954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12959 multiarch floorf for PowerPC32.
12961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12962 and ceilf multiarch implementations.
12963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12968 multiarch ceil for PowerPC32.
12969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12974 multiarch ceilf for PowerPC32.
12976 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12978 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12979 FINITEF is defined.
12980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12981 and finitef multiarch implementations.
12982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12987 multiarch finite for PowerPC32.
12988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12991 file: multiarch finitef for PowerPC32.
12993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12994 and isinff multiarch implementations.
12995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13000 multiarch isinf for PowerPC32.
13001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13004 multiarch isinff for PowerPC32.
13006 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13007 alias when __isnan is defined.
13008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13009 and isnanf multiarch implementations.
13010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13019 multiarch isnan for PowerPC32.
13020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13025 multiarch isnanf for PowerPC32.
13027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13028 and sqrtf multiarch implementations.
13029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13034 multiarch sqrt for PowerPC32.
13035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13040 multiarch sqrtf for PowerPC32.
13042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13043 and llroundf multiarch implementations.
13044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13051 file: multiarch llround for PowerPC32.
13052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13053 file: multiarch llroundf for PowerPC32.
13055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13056 multiarch PowerPC32 fpu implementations.
13057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13062 multiarch llrint for PowerPC32.
13063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13072 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13074 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13076 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13078 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13079 multiarch wordcopy for PPC32.
13080 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13082 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13083 (__libc_ifunc_impl_list): Likewise.
13084 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13085 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13086 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13087 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13088 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13089 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13091 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13092 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13094 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13096 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13098 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13099 multiarch wcscpy for PPC32.
13100 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13102 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13103 (__libc_ifunc_impl_list): Likewise.
13104 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13105 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13106 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13107 sysdeps/powerpc/power6/wcscpy.c.
13109 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13110 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13112 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13114 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13116 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13117 multiarch wcsrchr for PPC32.
13118 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13120 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13121 (__libc_ifunc_impl_list): Likewise.
13122 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13123 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13124 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13125 sysdeps/powerpc/power6/wcsrchr.c.
13127 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13129 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13131 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13132 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13133 multiarch wcschr for PPc32.
13134 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13136 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13137 (__libc_ifunc_impl_list): Likewise.
13138 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13139 * sysdeps/powerpc/power6/wcschr.c: ... to here.
13140 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13141 sysdeps/powerpc/power6/wcschr.c.
13143 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13144 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13146 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13147 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13148 file: multiarch strchr for PPC32.
13149 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13151 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13152 (__libc_ifunc_impl_list): Likewise.
13154 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13156 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13158 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13160 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13161 multiarch strchrnul for PPC32.
13162 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13164 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13165 (__libc_ifunc_impl_list): Likewise.
13167 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13169 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13170 multiarch strncasecmp for PPC32.
13171 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13173 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13174 multiarch strncasecmp_l for PPC32.
13175 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13176 strncasecmp multiarch objects.
13177 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13178 (__libc_ifunc_impl_list): Likewise.
13180 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13182 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13183 multiarch strncasecmp for PPC32.
13184 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13186 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13187 multiarch strcasecmp_l for PPC32.
13188 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13190 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13191 (__libc_ifunc_impl_list): Likewise.
13193 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13195 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13197 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13198 multiarch strncmp for PPC32.
13199 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13201 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13202 (__libc_ifunc_impl_list): Likewise.
13204 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13205 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13207 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13208 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13209 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13211 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13212 (__libc_ifunc_impl_list): Likewise.
13214 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13216 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13218 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13219 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13221 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13222 (__libc_ifunc_impl_list): Likewise.
13224 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13226 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13228 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13229 multiarch rawmemchr for PPC32.
13230 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13232 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13233 (__libc_ifunc_impl_list): Likewise.
13235 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13237 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13239 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13240 file: memrchr multiarch for PPC32.
13241 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13243 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13244 (__libc_ifunc_impl_list): Likewise.
13246 * string/memchr.c (__memchr): Using macro to redefine symbol name.
13247 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13249 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13250 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13251 multiarch memchr for PPC32.
13252 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13254 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13255 (__libc_ifunc_impl_list): Likewise.
13257 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13258 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13260 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13262 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13263 file: multiarch mempcpy for PPC32.
13264 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13266 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13267 (__libc_ifunc_impl_list): Likewise.
13269 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13270 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13271 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13272 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13273 multiarch bzero for PPC32.
13274 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13276 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13278 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13279 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13280 file: multiarch memset for PPC32.
13281 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13282 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13283 memset multiarch objects.
13284 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13285 (__libc_ifunc_impl_list): Likewise.
13287 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13289 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13290 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13292 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13293 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13295 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13296 (__libc_ifunc_impl_list): Likewise.
13298 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13299 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13300 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13302 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13304 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13306 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13307 multiarch memcpy for PPC32.
13308 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13310 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13311 (__libc_ifunc_impl_list): Likewise.
13313 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13314 support multiarch for POWER/PPC32.
13315 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13317 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13319 Implies file to make multiarch folder appers before the fpu and
13320 default folder for power4 configuration.
13322 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13324 * scripts/bench.pl: Append volatile keyword to type.
13326 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13328 * sysdeps/sh/sotruss-lib.c: New file.
13329 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13331 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13335 2013-12-05 Joseph Myers <joseph@codesourcery.com>
13338 * math/w_tgamma.c: Include <errno.h>.
13339 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
13340 * math/w_tgammaf.c: Include <errno.h>.
13341 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
13342 * math/w_tgammal.c: Include <errno.h>.
13343 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
13344 * math/auto-libm-test-in: Do not allow missing errno on tgamma
13345 underflow. Add more tgamma tests.
13346 * math/auto-libm-test-out: Regenerated.
13347 * sysdeps/i386/fpu/libm-test-ulps: Update.
13348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13350 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13351 sin, sinh, tan, tanh, tgamma, y0 and y1.
13352 * math/auto-libm-test-out: Regenerated.
13353 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13354 (TEST_COND_x86): Likewise.
13355 (M_E2l): Remove macro.
13357 (M_2_SQRT_PIl): Likewise.
13358 (M_SQRT_PIl): Likewise.
13359 (M_1_DIV_El): Likewise.
13360 (log_test_data): Use AUTO_TESTS_f_f.
13361 (log10_test_data): Likewise.
13362 (log1p_test_data): Likewise.
13363 (log2_test_data): Likewise.
13364 (sin_test_data): Likewise.
13365 (sin_tonearest_test_data): Likewise.
13366 (sin_towardzero_test_data): Likewise.
13367 (sin_downward_test_data): Likewise.
13368 (sin_upward_test_data): Likewise.
13369 (sinh_test_data): Likewise.
13370 (sinh_tonearest_test_data): Likewise.
13371 (sinh_towardzero_test_data): Likewise.
13372 (sinh_downward_test_data): Likewise.
13373 (sinh_upward_test_data): Likewise.
13374 (tan_test_data): Likewise.
13375 (tan_tonearest_test_data): Likewise.
13376 (tan_towardzero_test_data): Likewise.
13377 (tan_downward_test_data): Likewise.
13378 (tan_upward_test_data): Likewise.
13379 (tanh_test_data): Likewise.
13380 (tgamma_test_data): Likewise.
13381 (y0_test_data): Likewise.
13382 (y1_test_data): Likewise.
13383 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13384 (special_real_inputs): Add pi/4.
13385 * sysdeps/i386/fpu/libm-test-ulps: Update.
13386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13388 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13390 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13391 "longjmp_target" static probes.
13392 (__longjmp): Rename to __longjmp_symbol.
13393 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13394 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13395 on which longjmp to generate.
13396 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13397 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13399 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13400 (__sigjmp_save): Rename to __sigjmp_save_symbol.
13401 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13402 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13403 and __sigjmp_save_symbol based on which sigsetjmp to generated.
13404 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13406 __longjmp_symbol based on which __longjmp to generate.
13407 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13409 (setjmp): Rename to setjmp_symbol.
13410 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13411 (_setjmp): Rename to _setjmp_symbol.
13412 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13413 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13414 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13415 which setjmp to generate.
13416 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13417 "longjmp_target" static probes.
13419 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13421 * benchtests/README: Add note about output arguments.
13422 * benchtests/bench-sincos.c: Remove file.
13423 * benchtests/sincos-inputs: New file.
13424 * scripts/bench.pl: Identify output arguments and define
13425 static variables for them.
13427 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13430 * Makefile (INSTALL): Add install-plain.texi as the primary
13432 * manual/install-plain.texi: New file.
13433 * manual/install.texi: Include node directive only for
13434 non-plaintext output.
13436 2013-12-04 Joseph Myers <joseph@codesourcery.com>
13438 * stdlib/longlong.h: Update from GCC.
13442 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13443 * math/w_j0f.c (y0f): Likewise.
13444 * math/w_j0l.c (__y0l): Likewise.
13445 * math/w_j1.c (y1): Likewise.
13446 * math/w_j1f.c (y1f): Likewise.
13447 * math/w_j1l.c (__y1l): Likewise
13448 * math/w_jn.c (yn): Likewise.
13449 * math/w_jnf.c (ynf): Likewise.
13450 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13451 Bessel function pole errors in _POSIX_ mode. Use NAN as return
13452 value for Bessel function domain errors outside _SVID_ mode.
13453 Adjust sign of return value for yn (negative integer, 0).
13454 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13455 by zero in return for negative x and set sign appropriately for
13457 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13458 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13459 * math/libm-test.inc (y0_test_data): Add more tests and adjust
13460 expectations in error cases.
13461 (y1_test_data): Likewise.
13462 (yn_test_data): Likewise.
13463 * sysdeps/i386/fpu/libm-test-ulps: Update.
13464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13466 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13468 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13469 "64" to "64-v1". Add "64-v2".
13470 (abi-64-options): Rename to ...
13471 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
13472 (abi-64-condition): Rename to ...
13473 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
13474 (abi-64-ld-soname): Rename to ...
13475 (abi-64-v1-ld-soname): ... this.
13476 (abi-64-v2-options): Define.
13477 (abi-64-v2-condition): Likewise.
13478 (abi-64-v2-ld-soname): Likewise.
13479 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13480 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13485 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13486 Alan Modra <amodra@gmail.com>
13488 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13489 New versions for use with the ELFv2 ABI.
13490 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13491 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13493 (struct La_ppc64v2_retval): Likewise.
13494 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13495 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13496 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13497 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13498 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13499 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13500 Do not save or restore CR.
13501 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13502 (_dl_profile_resolve): Do no save or restore CR. Support extended
13503 return values for ELFv2 ABI. Fix location of FPR return registers.
13504 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13505 updated values for _CALL_ELF == 2.
13506 (La_regs, La_retval, int_retval): Likewise.
13508 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13510 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13511 (FRAME_MIN_SIZE_PARM): Likewise.
13512 (FRAME_BACKCHAIN): Likewise.
13513 (FRAME_CR_SAVE): Likewise.
13514 (FRAME_LR_SAVE): Likewise.
13515 (FRAME_TOC_SAVE): Likewise.
13516 (FRAME_PARM_SAVE): Likewise.
13517 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13518 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13519 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13520 (call_mcount_parm_offset): New macro.
13521 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13522 (PROF): Use symbolic stack frame offsets.
13523 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13524 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13525 Redefine in terms of FRAME_MIN_SIZE.
13526 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13527 (_dl_profile_resolve): Likewise. Update comment.
13528 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13529 symbols stack frame offsets.
13530 (__sigsetjmp): Likewise.
13531 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13532 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13533 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13534 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13537 (FRAME_BACKCHAIN): Remove.
13538 (FRAME_CR_SAVE): Likewise.
13539 (FRAME_LR_SAVE): Likewise.
13540 (FRAME_COMPILER_DW): Likewise.
13541 (FRAME_LINKER_DW): Likewise.
13542 (FRAME_TOC_SAVE): Likewise.
13543 (FRAME_PARM_SAVE): Likewise.
13544 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13545 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13546 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13548 (CHECK_SP): Use symbolic stack frame offsets.
13549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13550 zone" instead of caller's parameter save area for temp storage.
13551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13552 Likewise. Also, use symbolic stack frame offsets.
13553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13554 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13555 our own stack frame instead of the caller's.
13556 (__socket): Use symbolic stack frame offsets.
13558 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13559 Alan Modra <amodra@gmail.com>
13561 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13563 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13564 (PPC64_LOCAL_ENTRY_OFFSET): Define.
13565 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13567 (elf_machine_fixup_plt): Call it.
13568 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13570 (elf_machine_rela): Update call to elf_machine_plt_conflict.
13571 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13572 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13573 r2 before calling target.
13575 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13576 Alan Modra <amodra@gmail.com>
13578 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13579 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13580 versions of macros to support ELFv2 ABI.
13581 (LOCALENTRY): New macro.
13582 (ENTRY, EALIGN): Use it.
13583 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13584 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13585 fall through into ENTRY entry point.
13586 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13587 Only define if _CALL_ELF != 2.
13589 (elf_machine_matches_host): Verify ABI version matches.
13590 (RTLD_START): Use LOCALENTRY.
13591 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13592 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13593 (PLT_ENTRY_WORDS): New macro.
13594 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13595 (elf_machine_runtime_setup): Support ELFv2 ABI.
13596 (elf_machine_fixup_plt): Likewise.
13597 (elf_machine_plt_conflict): Likewise.
13598 (resolve_ifunc): Likewise.
13599 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13600 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13603 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13605 (makecontext): Support ELFv2 ABI.
13606 * elf/elf.h (EF_PPC64_ABI): Define.
13608 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13610 * sysdeps/powerpc/powerpc64/sysdep.h
13611 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13612 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13613 (ENTRY) [ASSEMBLER]: ... but instead here ...
13614 (EALIGN) [ASSEMBLER]: ... and here.
13615 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13616 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13617 (ENTRY_2) [!ASSEMBLER]: Use it.
13618 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13619 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
13620 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13621 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13622 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13624 Use PPC64_LOAD_FUNCPTR.
13626 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13628 2013-12-04 Alan Modra <amodra@gmail.com>
13630 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13631 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13632 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13633 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13635 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13636 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13637 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13638 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13639 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13640 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13642 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13645 (__makecontext): Fix incorrect CFI when backtracing out of
13646 context created via makecontext.
13647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13648 (__setcontext): Fix incorrect CFI during switch to new context.
13649 (__novec_setcontext): Likewise.
13651 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13654 * time/strptime_l.c (__strptime_internal): Allow modifiers
13656 * time/tst-strptime.c (day_tests): Add testcase.
13658 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13660 * scripts/bench.pl: Skip over blank lines.
13662 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13665 * manual/time.texi (Calendar Time): Clarify what timezone functions
13668 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13672 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13674 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13676 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13677 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13678 * debug/memset_chk.c (__memset_chk): Likewise.
13679 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13680 * debug/strncpy_chk.c: Likewise.
13682 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13686 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13687 (__ieee754_exp): For possibly underflowing results, check size of
13688 result and force underflow exception if required.
13689 * math/auto-libm-test-in: Add more tests of exp.
13690 * math/auto-libm-test-out: Regenerated.
13691 * sysdeps/i386/fpu/libm-test-ulps: Update.
13692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13695 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13696 * math/w_exp2f.c (__exp2f): Likewise.
13697 * math/w_exp2l.c (__exp2l): Likewise.
13698 * math/auto-libm-test-in: Do not allow missing errno on exp2
13700 * math/auto-libm-test-out: Regenerated.
13702 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
13705 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13706 handle filename validation.
13707 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13710 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13713 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13714 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13715 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13717 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13718 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13719 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13720 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13721 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13722 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13723 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13724 * math/auto-libm-test-in: Don't allow missing errno from erfc.
13725 Add more erfc tests.
13726 * math/auto-libm-test-out: Regenerated.
13727 * sysdeps/i386/fpu/libm-test-ulps: Update.
13728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13730 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13731 exp2, expm1, j0 and j1.
13732 * math/auto-libm-test-out: Regenerated.
13733 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13734 (erfc_test_data): Likewise.
13735 (exp_test_data): Likewise.
13736 (exp_tonearest_test_data): Likewise.
13737 (exp_towardzero_test_data): Likewise.
13738 (exp_downward_test_data): Likewise.
13739 (exp_upward_test_data): Likewise.
13740 (exp10_test_data): Likewise.
13741 (exp2_test_data): Likewise.
13742 (expm1_test_data): Likewise.
13743 (j0_test_data): Likewise.
13744 (j1_test_data): Likewise.
13745 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13746 (input_flag_type): Add flag_xfail_rounding.
13747 (input_flags): Add xfail-rounding.
13748 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13749 (output_for_one_input_case): Handle flag_xfail_rounding.
13750 * sysdeps/i386/fpu/libm-test-ulps: Update.
13751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13753 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
13756 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13759 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13762 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13763 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13764 (STAP_PROBE0): New macro.
13765 (STAP_PROBE1): Likewise.
13766 (STAP_PROBE2): Likewise.
13767 (STAP_PROBE3): Likewise.
13768 (STAP_PROBE4): Likewise.
13770 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
13772 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13774 2013-12-02 Steve Ellcey <sellcey@mips.com>
13776 * benchtests/Makefile (bench): Add sqrt.
13777 (LDLIBS-bench-sqrt): New.
13778 * benchtests/sqrt-input: New.
13780 2013-12-02 Pavel Simerda <psimerda@redhat.com>
13782 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13783 (GAIH_EAI): Likewise.
13784 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13785 (gaih_inet): Likewise.
13786 (getaddrinfo): Don't use GAIH_EAI.
13788 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13789 (struct gaih): Remove definition.
13791 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13793 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13794 Use HERRNOP directly.
13796 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13800 2013-11-30 Joseph Myers <joseph@codesourcery.com>
13802 * math/gen-auto-libm-tests.c (test_functions): Add more
13803 single-argument functions.
13804 (special_fill_pi_2): New function.
13805 (special_fill_minus_pi_2): Likewise.
13806 (special_fill_pi_6): Likewise.
13807 (special_fill_minus_pi_6): Likewise.
13808 (special_fill_pi_3): Likewise.
13809 (special_fill_2pi_3): Likewise.
13810 (special_fill_e): Likewise.
13811 (special_fill_1_e): Likewise.
13812 (special_fill_e_minus_1): Likewise.
13813 (special_real_inputs): Add more special inputs.
13814 (output_for_one_input_case): Do not require ERANGE on underflow to
13815 zero if round-to-nearest result does not underflow to zero, unless
13816 exact results required.
13817 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13818 atan, atanh, cbrt, cos and cosh.
13819 * math/auto-libm-test-out: Regenerated.
13820 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13821 (acos_tonearest_test_data): Likewise.
13822 (acos_towardzero_test_data): Likewise.
13823 (acos_downward_test_data): Likewise.
13824 (acos_upward_test_data): Likewise.
13825 (acosh_test_data): Likewise.
13826 (asin_test_data): Likewise.
13827 (asin_tonearest_test_data): Likewise.
13828 (asin_towardzero_test_data): Likewise.
13829 (asin_upward_test_data): Likewise.
13830 (asinh_test_data): Likewise.
13831 (atan_test_data): Likewise.
13832 (atanh_test_data): Likewise.
13833 (cbrt_test_data): Likewise.
13834 (cos_test_data): Likewise.
13835 (cos_tonearest_test_data): Likewise.
13836 (cos_towardzero_test_data): Likewise.
13837 (cos_downward_test_data): Likewise.
13838 (cos_upward_test_data): Likewise.
13839 (cosh_test_data): Likewise.
13840 (cosh_tonearest_test_data): Likewise.
13841 (cosh_towardzero_test_data): Likewise.
13842 (cosh_downward_test_data): Likewise.
13843 (cosh_upward_test_data): Likewise.
13844 * sysdeps/i386/fpu/libm-test-ulps: Update.
13845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13847 2013-11-29 Joseph Myers <joseph@codesourcery.com>
13850 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13851 * math/w_exp10f.c (__exp10f): Likewise.
13852 * math/w_exp10l.c (__exp10l): Likewise.
13853 * math/libm-test.inc (exp10_test_data): Add more tests and expect
13854 errno settings in existing tests.
13857 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13858 precision control set to double precision.
13859 * sysdeps/i386/fpu/w_sqrt.c: New file.
13860 * math/auto-libm-test-in: Add more tests.
13861 * math/auto-libm-test-out: Update.
13863 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13864 (sqrt_test_tonearest): New function.
13865 (sqrt_towardzero_test_data): New variable.
13866 (sqrt_test_towardzero): New function.
13867 (sqrt_downward_test_data): New variable.
13868 (sqrt_test_downward): New function.
13869 (sqrt_upward_test_data): New variable.
13870 (sqrt_test_upward): New function.
13871 (main): Call the new functions.
13873 * math/gen-auto-libm-tests.c: New file.
13874 * math/auto-libm-test-in: Likewise.
13875 * math/auto-libm-test-out: New generated file.
13876 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13878 (%beautify): Add generated representations of zero.
13879 (top level): Set $auto_input and call parse_auto_input.
13880 (beautify): Remove trailing "f" from hex float constants.
13881 (parse_args): Handle XFAIL_TEST.
13882 (convert_condition): New function.
13883 (or_value): Likewise.
13884 (or_cond_value): Likewise.
13885 (generate_testfile): Handle AUTO_TESTS_* lines.
13886 (parse_auto_input): New function.
13887 * math/libm-test.inc (XFAIL_TEST): New macro.
13888 (ERRNO_UNCHANGED): Update value.
13889 (ERRNO_EDOM): Likewise.
13890 (ERRNO_ERANGE): Likewise.
13891 (IGNORE_RESULT): Likewise.
13892 (TEST_COND_flt_32): New macro.
13893 (TEST_COND_dbl_64): Likewise.
13894 (TEST_COND_ldbl_96_intel): Likewise.
13895 (TEST_COND_ldbl_96_m68k): Likewise.
13896 (TEST_COND_ldbl_128): Likewise.
13897 (TEST_COND_ldbl_128ibm): Likewise.
13898 (TEST_COND_long32): Likewise.
13899 (TEST_COND_long64): Likewise.
13900 (TEST_COND_before_rounding): Likewise.
13901 (TEST_COND_after_rounding): Likewise.
13902 (enable_test): Handle XFAIL_TEST flag.
13903 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13904 with finite results.
13905 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13906 auto-libm-test-out.
13908 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13909 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13912 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13913 __tls_get_addr_internal instead of __tls_get_offset in order to
13914 avoid GOT pointer dependency. Make rtld export
13915 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13916 __tls_get_addr since we are a __tls_get_offset platform.
13917 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13918 GOT pointer being set up before.
13919 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13921 2013-11-28 Joseph Myers <joseph@codesourcery.com>
13923 * manual/math.texi (Errors in Math Functions): Document accuracy
13927 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13928 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13929 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13930 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13931 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13932 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13933 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13934 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13935 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13936 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13937 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13938 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13939 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13940 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13941 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13942 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13944 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13945 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13946 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13947 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13948 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13950 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13952 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13954 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13955 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13956 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13957 atomic-feupdateenv and flt-rounds.
13958 * sysdeps/powerpc/nofpu/Versions (libc): Add
13959 __atomic_feholdexcept, __atomic_feclearexcept,
13960 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13961 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13962 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13963 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13964 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13969 * manual/arith.texi (FP Exceptions): Document that exceptions may
13970 not be raised when matherr is used.
13971 (Math Error Reporting): Document overflow in directed rounding
13972 modes. Document that errno may not be set when finite values are
13973 returned on overflow. Document intent to set errno on underflow
13974 only for underflow to zero.
13977 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13978 round-to-nearest then adjust result for other rounding modes.
13979 * include/fenv.h (fegetround): Use libm_hidden_proto.
13980 * math/fegetround.c (fegetround): Use libm_hidden_def.
13981 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13982 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13983 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13984 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13986 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13987 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13988 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13989 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13991 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13994 * nss/Versions (libnss_files): Add
13995 _nss_files_gethostbyname3_r.
13996 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13998 (HOST_DB_LOOKUP): Remove macro.
13999 (_nss_files_gethostbyname_r): Implement function without the
14000 HOST_DB_LOOKUP macro.
14001 (_nss_files_gethostbyname2_r): Likewise.
14003 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
14005 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14007 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
14009 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14010 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14013 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14015 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14016 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14017 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14018 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14019 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14020 __fe_nomask_env_priv and attribute_hidden.
14021 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14022 (libc_feupdateenv_test_ppc): Likewise.
14023 (libc_feresetround_ppc): Likewise.
14024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14025 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14026 compat_symbol macro.
14027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14028 (__fe_nomask_env): Likewise.
14029 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14031 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14033 * string/Makefile: Remove ifunc tests.
14034 * string/test-string.h: Define TEST_IFUNC.
14035 * string/test-bcopy-ifunc.c: Remove.
14036 * string/test-bzero-ifunc.c: Likewise.
14037 * string/test-memccpy-ifunc.c: Likewise.
14038 * string/test-memchr-ifunc.c: Likewise.
14039 * string/test-memcmp-ifunc.c: Likewise.
14040 * string/test-memcpy-ifunc.c: Likewise.
14041 * string/test-memmem-ifunc.c: Likewise.
14042 * string/test-memmove-ifunc.c: Likewise.
14043 * string/test-mempcpy-ifunc.c: Likewise.
14044 * string/test-memrchr-ifunc.c: Likewise.
14045 * string/test-memset-ifunc.c: Likewise.
14046 * string/test-rawmemchr-ifunc.c: Likewise.
14047 * string/test-stpcpy-ifunc.c: Likewise.
14048 * string/test-stpncpy-ifunc.c: Likewise.
14049 * string/test-strcasecmp-ifunc.c: Likewise.
14050 * string/test-strcasestr-ifunc.c: Likewise.
14051 * string/test-strcat-ifunc.c: Likewise.
14052 * string/test-strchr-ifunc.c: Likewise.
14053 * string/test-strchrnul-ifunc.c: Likewise.
14054 * string/test-strcmp-ifunc.c: Likewise.
14055 * string/test-strcpy-ifunc.c: Likewise.
14056 * string/test-strcspn-ifunc.c: Likewise.
14057 * string/test-strlen-ifunc.c: Likewise.
14058 * string/test-strncasecmp-ifunc.c: Likewise.
14059 * string/test-strncat-ifunc.c: Likewise.
14060 * string/test-strncmp-ifunc.c: Likewise.
14061 * string/test-strncpy-ifunc.c: Likewise.
14062 * string/test-strnlen-ifunc.c: Likewise.
14063 * string/test-strpbrk-ifunc.c: Likewise.
14064 * string/test-strrchr-ifunc.c: Likewise.
14065 * string/test-strspn-ifunc.c: Likewise.
14066 * string/test-strstr-ifunc.c: Likewise.
14068 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14070 * benchtests/Makefile: Remove ifunc tests.
14071 * benchtests/bench-string.h: Define TEST_IFUNC.
14072 * benchtests/bench-bcopy-ifunc.c: Remove.
14073 * benchtests/bench-bzero-ifunc.c: Likewise.
14074 * benchtests/bench-memccpy-ifunc.c: Likewise.
14075 * benchtests/bench-memchr-ifunc.c: Likewise.
14076 * benchtests/bench-memcmp-ifunc.c: Likewise.
14077 * benchtests/bench-memcpy-ifunc.c: Likewise.
14078 * benchtests/bench-memmem-ifunc.c: Likewise.
14079 * benchtests/bench-memmove-ifunc.c: Likewise.
14080 * benchtests/bench-mempcpy-ifunc.c: Likewise.
14081 * benchtests/bench-memrchr-ifunc.c: Likewise.
14082 * benchtests/bench-memset-ifunc.c: Likewise.
14083 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14084 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14085 * benchtests/bench-stpcpy-ifunc.c: Likewise.
14086 * benchtests/bench-stpncpy-ifunc.c: Likewise.
14087 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14088 * benchtests/bench-strcasestr-ifunc.c: Likewise.
14089 * benchtests/bench-strcat-ifunc.c: Likewise.
14090 * benchtests/bench-strchr-ifunc.c: Likewise.
14091 * benchtests/bench-strchrnul-ifunc.c: Likewise.
14092 * benchtests/bench-strcmp-ifunc.c: Likewise.
14093 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14094 * benchtests/bench-strcpy-ifunc.c: Likewise.
14095 * benchtests/bench-strcspn-ifunc.c: Likewise.
14096 * benchtests/bench-strlen-ifunc.c: Likewise.
14097 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14098 * benchtests/bench-strncat-ifunc.c: Likewise.
14099 * benchtests/bench-strncmp-ifunc.c: Likewise.
14100 * benchtests/bench-strncpy-ifunc.c: Likewise.
14101 * benchtests/bench-strnlen-ifunc.c: Likewise.
14102 * benchtests/bench-strpbrk-ifunc.c: Likewise.
14103 * benchtests/bench-strrchr-ifunc.c: Likewise.
14104 * benchtests/bench-strsep-ifunc.c: Likewise.
14105 * benchtests/bench-strspn-ifunc.c: Likewise.
14106 * benchtests/bench-strstr-ifunc.c: Likewise.
14108 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14110 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14112 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14114 * resolv/netdb.h: Use __glibc_reserved instead __unused.
14115 * rt/aio.h: Likewise.
14116 * sysdeps/gnu/bits/utmp.h: Likewise.
14117 * sysdeps/gnu/bits/utmpx.h: Likewise.
14118 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14119 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14120 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14121 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14122 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14123 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14124 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14125 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14126 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14127 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14128 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14129 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14130 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14132 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14133 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14134 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14135 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14136 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14137 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14138 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14139 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14140 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14141 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14142 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14143 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14144 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14145 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14146 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14147 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14148 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14149 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14150 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14151 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14152 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14153 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14154 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14155 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14156 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14157 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14158 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14159 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14161 2013-11-25 Carlos O'Donell <carlos@redhat.com>
14164 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14165 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14167 2013-11-25 Joseph Myers <joseph@codesourcery.com>
14169 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14170 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14173 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14175 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14176 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14177 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14178 (__fesetround): Remove define.
14179 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14180 rounding and exceptions handling.
14181 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14182 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14183 (__fe_nomask_env): Likewise.
14184 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14185 __fegetround instead of fegetround.
14186 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14187 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14189 2013-11-21 Roland McGrath <roland@hack.frob.com>
14191 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14194 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14196 2013-11-21 Meador Inge <meadori@codesourcery.com>
14199 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14200 (encrypt_r): Likewise.
14201 * malloc/obstack.h (obstack_free): Likewise.
14202 * posix/unistd.h (encrypt): Likewise.
14204 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
14206 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14207 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14208 DL_CALL_DT_FINI() that call the functions directly.
14209 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14210 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14211 * elf/dl-fini.c: Likewise.
14213 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
14215 * malloc/hooks.c (memalign_check): Add alignment rounding.
14216 * malloc/malloc.c (_mid_memalign): New function.
14217 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14218 Implement by calling _mid_memalign.
14219 * manual/probes.texi (Memory Allocation Probes): Remove
14220 memory_valloc_retry and memory_pvalloc_retry.
14222 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14224 * locale/programs/locarchive.c (open_archive): Add const
14225 qualifier to ARCHIVEFNAME and copy default fname to
14229 * libio/tst-widetext.input: Rename Oriya to Odia.
14230 * locale/iso-639.def: Likewise.
14232 * manual/probes.texi (Mathematical Function Probes): Add
14233 documentation for sin, cos, asin and acos probes.
14234 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14235 (__sin32): Add slowasin probe.
14236 (__cos32): Add slowacos probe.
14237 (__mpsin): Add slowsin probe.
14238 (__mpcos): Add slowcos probe.
14240 2013-11-19 Joseph Myers <joseph@codesourcery.com>
14243 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14244 thread-local __sim_exceptions_thread and global
14245 __sim_exceptions_global.
14246 (__sim_disabled_exceptions): Change to thread-local
14247 __sim_disabled_exceptions_thread and global
14248 __sim_disabled_exceptions_global.
14249 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14250 and global __sim_round_mode_global.
14251 (__simulate_exceptions): Use thread-local floating-point state and
14252 set global state from it as needed.
14253 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14254 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14255 __sim_round_mode_thread.
14256 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14257 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14258 and global __sim_exceptions_global.
14259 (__sim_disabled_exceptions): Change to thread-local
14260 __sim_disabled_exceptions_thread and global
14261 __sim_disabled_exceptions_global.
14262 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14263 and global __sim_round_mode_global.
14264 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14265 (SIM_SET_GLOBAL): Likewise.
14266 * sysdeps/powerpc/soft-fp/sfp-machine.h
14267 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14268 __sim_round_mode_thread.
14269 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14270 __sim_disabled_exceptions_thread.
14271 (__sim_exceptions): Change to __sim_exceptions_thread.
14272 (__sim_disabled_exceptions): Change to
14273 __sim_disabled_exceptions_thread.
14274 (__sim_round_mode): Change to __sim_round_mode_thread.
14275 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14276 thread-local floating-point state and set global state from it as
14278 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14279 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14280 (__sim_disabled_exceptions): Remove extern declaration.
14281 (feenableexcept): Use thread-local floating-point state and set
14282 global state from it as needed.
14283 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14284 extern declaration.
14285 (__sim_disabled_exceptions): Likewise.
14286 (__sim_round_mode): Likewise.
14287 (__fegetenv): Use thread-local floating-point state.
14288 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14289 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14290 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14291 floating-point state and set global state from it as needed.
14292 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14293 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14294 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14296 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14297 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14299 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14300 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14301 Use __sim_round_mode_thread.
14302 * math/test-fenv-tls.c: New file.
14303 * math/Makefile (tests): Add test-fenv-tls.
14304 ($(objpfx)test-fenv-tls): Depend on
14305 $(common-objpfx)nptl/libpthread.so.
14307 2013-11-19 Andreas Schwab <schwab@suse.de>
14309 * locale/programs/locale.c (show_info): Decode wordarray elements.
14310 * locale/categories.def (LC_MONETARY): Add element for
14311 _NL_MONETARY_CRNCYSTR.
14312 * locale/C-monetary.c (conversion_rate): New variable.
14313 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14316 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
14318 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14319 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14321 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14323 * elf/Makefile (tst-auxv): New test.
14324 * elf/tst-auxv.c: New
14325 * elf/rtld.c (dl_main): Adjust AT_EXECFN
14327 2013-11-18 Joseph Myers <joseph@codesourcery.com>
14329 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14330 (hidden_proto): Caller changed.
14331 (hidden_tls_proto): New macro.
14332 (libc_hidden_tls_proto): Likewise.
14333 (rtld_hidden_tls_proto): Likewise.
14334 (libm_hidden_tls_proto): Likewise.
14335 (libresolv_hidden_tls_proto): Likewise.
14336 (librt_hidden_tls_proto): Likewise.
14337 (libdl_hidden_tls_proto): Likewise.
14338 (libnss_files_hidden_tls_proto): Likewise.
14339 (libnsl_hidden_tls_proto): Likewise.
14340 (libnss_nisplus_hidden_tls_proto): Likewise.
14341 (libutil_hidden_tls_proto): Likewise.
14343 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
14346 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14347 (decompose_rpath): Defer expansion to fillin_rpath.
14348 (_dl_init_paths): Pass linkmap to fillin_rpath.
14350 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14352 * benchtests/Makefile: Add strsep.
14353 * benchtests/bench-strsep.c: New file: strsep benchtest.
14354 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14356 2013-11-18 Andreas Schwab <schwab@suse.de>
14358 * locale/programs/locale.c (show_info) [case byte]: Check for
14359 '\377' instead of '\177'.
14360 * locale/C-monetary.c (not_available): Always use "\377".
14361 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14362 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
14363 detect unavailable sign_posn locale elements.
14364 * locale/localeconv.c (__localeconv): For grouping and
14365 mon_grouping handle "\177" and "\377" like no grouping.
14366 (INT_ELEM): New macro. Use it to set all numeric members.
14367 * locale/programs/ld-monetary.c (monetary_read)
14368 <tok_mon_grouping>: Normalize single -1 to the empty string.
14369 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14372 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14375 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14376 when we match (nil).
14377 * stdio-common/tst-sscanf.c (struct test): Add testcase.
14379 2013-11-16 Joseph Myers <joseph@codesourcery.com>
14381 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14382 (NO_TEST_INLINE): Update value.
14383 (ERRNO_UNCHANGED): Likewise.
14384 (ERRNO_EDOM): Likewise.
14385 (ERRNO_ERANGE): Likewise.
14386 (IGNORE_RESULT): Likewise.
14387 (check_float_internal): Check signs of NaN results if
14388 TEST_NAN_SIGN used.
14389 (check_complex): Pass TEST_NAN_SIGN flag through to second
14390 check_float_internal call.
14391 (copysign_test_data): Add tests with quiet NaNs as second
14392 argument. Use TEST_NAN_SIGN.
14393 (fabs_test_data): Add test of negative quiet NaN argument. Use
14395 (signbit_test_data): Add tests of quiet NaN argument.
14396 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14398 * math/gen-libm-test.pl (show_exceptions): Take extra argument
14400 (parse_args): Handle function results specified as IGNORE.
14401 * math/libm-test.inc (IGNORE_RESULT): New macro.
14402 (check_float_internal): Do not check numerical result if flag
14404 (check_complex): Pass through IGNORE_RESULT to second
14405 check_float_internal call.
14406 (check_int): Do not check numerical result if flag IGNORE_RESULT
14408 (check_long): Likewise.
14409 (check_bool): Likewise.
14410 (check_longlong): Likewise.
14411 (lrint_test_data): Add tests of infinite and NaN arguments.
14412 (lrint_tonearest_test_data): Likewise.
14413 (lrint_towardzero_test_data): Likewise.
14414 (lrint_downward_test_data): Likewise.
14415 (lrint_upward_test_data): Likewise.
14416 (llrint_test_data): Likewise.
14417 (llrint_tonearest_test_data): Likewise.
14418 (llrint_towardzero_test_data): Likewise.
14419 (llrint_downward_test_data): Likewise.
14420 (llrint_upward_test_data): Likewise.
14421 (lround_test_data): Likewise.
14422 (llround_test_data): Likewise.
14424 * math/libm-test.inc (NO_TEST_INLINE): New macro.
14425 (ERRNO_UNCHANGED): Update value.
14426 (ERRNO_EDOM): Likewise.
14427 (ERRNO_ERANGE): Likewise.
14428 (NO_TEST_INLINE_FLOAT): New macro.
14429 (NO_TEST_INLINE_DOUBLE): Likewise.
14430 (enable_test): New function.
14431 (RUN_TEST_f_f): Check enable_test before running test.
14432 (RUN_TEST_2_f): Likewise.
14433 (RUN_TEST_fff_f): Likewise.
14434 (RUN_TEST_c_f): Likewise.
14435 (RUN_TEST_f_f1): Likewise.
14436 (RUN_TEST_fF_f1): Likewise.
14437 (RUN_TEST_fI_f1): Likewise.
14438 (RUN_TEST_ffI_f1): Likewise.
14439 (RUN_TEST_c_c): Likewise.
14440 (RUN_TEST_cc_c): Likewise.
14441 (RUN_TEST_f_i): Likewise.
14442 (RUN_TEST_f_i_tg): Likewise.
14443 (RUN_TEST_ff_i_tg): Likewise.
14444 (RUN_TEST_f_b): Likewise.
14445 (RUN_TEST_f_b_tg): Likewise.
14446 (RUN_TEST_f_l): Likewise.
14447 (RUN_TEST_f_L): Likewise.
14448 (RUN_TEST_fFF_11): Likewise.
14449 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14451 (cosh_test_data): Likewise.
14452 (exp_test_data): Likewise.
14453 (expm1_test_data): Likewise.
14454 (hypot_test_data): Likewise.
14455 (pow_test_data): Likewise.
14456 (sinh_test_data): Likewise.
14457 (tanh_test_data): Likewise.
14458 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14461 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14462 tests with quiet NaN input and output.
14463 (acosh_test_data): Likewise.
14464 (asin_test_data): Likewise.
14465 (asinh_test_data): Likewise.
14466 (atan_test_data): Likewise.
14467 (atanh_test_data): Likewise.
14468 (atan2_test_data): Likewise.
14469 (cbrt_test_data): Likewise.
14470 (cos_test_data): Likewise.
14471 (cosh_test_data): Likewise.
14472 (erf_test_data): Likewise.
14473 (erfc_test_data): Likewise.
14474 (exp_test_data): Likewise.
14475 (exp10_test_data): Likewise.
14476 (exp2_test_data): Likewise.
14477 (expm1_test_data): Likewise.
14478 (hypot_test_data): Likewise.
14479 (j0_test_data): Likewise.
14480 (j1_test_data): Likewise.
14481 (jn_test_data): Likewise.
14482 (lgamma_test_data): Likewise.
14483 (log_test_data): Likewise.
14484 (log10_test_data): Likewise.
14485 (log1p_test_data): Likewise.
14486 (log2_test_data): Likewise.
14487 (pow_test_data): Likewise.
14488 (scalb_test_data): Likewise.
14489 (sin_test_data): Likewise.
14490 (sincos_test_data): Likewise.
14491 (sinh_test_data): Likewise.
14492 (tan_test_data): Likewise.
14493 (tanh_test_data): Likewise.
14494 (tgamma_test_data): Likewise.
14495 (y0_test_data): Likewise.
14496 (y1_test_data): Likewise.
14497 (yn_test_data): Likewise.
14500 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14501 argument being NaN and avoid computations with second argument in
14503 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14504 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14505 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14507 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14509 * locale/iso-639.def: Add Chitwani Tharu (the).
14511 2013-11-14 Andreas Schwab <schwab@suse.de>
14513 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14514 word instead of empty string.
14516 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14519 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14521 (__fe_nomask_env): Likewise.
14523 2013-11-13 Steve Ellcey <sellcey@mips.com>
14525 * benchtests/bench-timing.h: Include time.h.
14527 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14530 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14532 * sysdeps/unix/sysv/linux/configure: Regenerated.
14534 2013-11-13 Joseph Myers <joseph@codesourcery.com>
14537 * stdlib/strtod_l.c (round_and_return): Do not consider
14538 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14539 exponent one less than half the least subnormal exponent.
14540 * stdlib/test-strtod-round-data: Add more tests.
14541 * stdlib/tst-strtod-round.c (tests): Regenerated.
14543 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14546 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14547 (__fe_mask_env): Likewise.
14548 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14549 libm_hidden_proto and add function prototype.
14550 (__fe_mask_env): Add function prototype.
14551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14552 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14554 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14556 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14558 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14560 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14561 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14563 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14565 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14566 of htab_find_slot().
14568 2013-11-11 David S. Miller <davem@davemloft.net>
14571 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14572 symbol in the non-vis3 case in static builds.
14573 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14574 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14575 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14576 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14578 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14581 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14584 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14586 * benchtests/Makefile: Add bench-strtod.
14587 * benchtests/bench-strtod.c: New file: strtod benchtest
14589 2013-11-11 Andreas Schwab <schwab@suse.de>
14592 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14593 terminating NUL in key length.
14595 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14597 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14598 Add artificial ODP entry for vDSO symbol for PPC64.
14599 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14600 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14602 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14605 * nss/getent.c (services_keys): Recognize services starting with digit.
14607 2013-11-06 David S. Miller <davem@davemloft.net>
14610 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14611 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14613 2013-11-06 Will Newton <will.newton@linaro.org>
14615 * manual/memory.texi (Malloc Examples): Remove register
14616 keyword from examples.
14618 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
14620 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14622 2013-11-04 Joseph Myers <joseph@codesourcery.com>
14625 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14626 depending on [__GCC_IEC_559 > 0].
14627 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14628 depending on [__GCC_IEC_559_COMPLEX > 0].
14630 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
14632 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14635 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
14637 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14639 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
14642 * malloc/malloc (malloc_info): Do not handle first bin as
14645 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
14647 * locale/iso-639.def: Add Central Nahuatl (nhn).
14649 2013-11-01 Bruno Haible <bruno@clisp.org>
14652 * manual/math.texi (BSD Random): Specify range upper bound as
14655 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
14657 * locale/iso-639.def: Add Meadow Mari (mhr).
14659 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
14661 [BZ #14752], [BZ #15763]
14662 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14664 * rt/tst_shm.c: Add test for escaping directory.
14666 2013-10-31 Andreas Schwab <schwab@suse.de>
14669 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14670 followed by 'x' as part of digit sequence.
14671 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14673 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14676 * configure.ac: allow GNU Make 4.0 and greater.
14677 * configure: Regenerated.
14679 2013-10-30 Will Newton <will.newton@linaro.org>
14682 * malloc/hooks.c (memalign_check): Limit alignment to the
14683 maximum representable power of two.
14684 * malloc/malloc.c (__libc_memalign): Likewise.
14685 * malloc/tst-memalign.c (do_test): Add test for very
14686 large alignment values.
14687 * malloc/tst-posix_memalign.c (do_test): Likewise.
14689 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14692 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14693 (munmap_chunk): Likewise.
14694 (mremap_chunk): Likewise.
14696 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14699 * stdlib/div.c (div): Remove obsolete code.
14700 * stdlib/ldiv.c (ldiv): Likewise.
14701 * stdlib/lldiv.c (lldiv): Likewise.
14703 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14706 * nss/nss_files/files-XXX.c (get_contents_ret): New
14708 (get_contents): New function.
14709 (internal_getent): Use it. Expand size of LINEBUFLEN.
14711 2013-10-30 Mike Frysinger <vapier@gentoo.org>
14713 * configure.in: Moved to ...
14714 * configure.ac: ... here. Change reference to configure.in
14716 * sysdeps/arm/preconfigure.ac: ... here.
14717 configure.in to configure.ac.
14718 * sysdeps/gnu/configure.in: Moved to ...
14719 * sysdeps/gnu/configure.ac: ... here.
14720 * sysdeps/i386/configure.in: Moved to ...
14721 * sysdeps/i386/configure.ac: ... here.
14722 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14723 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14724 * sysdeps/mach/configure.in: Moved to ...
14725 * sysdeps/mach/configure.ac: ... here.
14726 * sysdeps/mach/hurd/configure.in: Moved to ...
14727 * sysdeps/mach/hurd/configure.ac: ... here.
14728 * sysdeps/powerpc/configure.in: Moved to ...
14729 * sysdeps/powerpc/configure.ac: ... here.
14730 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14731 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14732 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14733 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14734 * sysdeps/s390/s390-32/configure.in: Moved to ...
14735 * sysdeps/s390/s390-32/configure.ac: ... here.
14736 * sysdeps/s390/s390-64/configure.in: Moved to ...
14737 * sysdeps/s390/s390-64/configure.ac: ... here.
14738 * sysdeps/sh/configure.in: Moved to ...
14739 * sysdeps/sh/configure.ac: ... here.
14740 * sysdeps/sparc/configure.in: Moved to ...
14741 * sysdeps/sparc/configure.ac: ... here.
14742 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14743 * sysdeps/unix/sysv/linux/configure.ac: ... here.
14744 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14745 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14746 * sysdeps/x86_64/configure.in: Moved to ...
14747 * sysdeps/x86_64/configure.ac: ... here.
14748 * sysdeps/x86_64/preconfigure.in: Moved to ...
14749 * sysdeps/x86_64/preconfigure.ac: ... here.
14750 * aclocal.m4: Change reference to configure.in to configure.ac.
14751 * config.h.in: Likewise.
14752 * manual/install.texi: Likewise.
14753 * manual/maint.texi: Likewise.
14754 * Makefile: Likewise.
14755 * malloc/Makefile: Likewise.
14756 * nscd/Makefile: Likewise.
14757 * Makeconfig: Change reference to configure.in and
14758 preconfigure.in to configure.ac and preconfigure.ac
14760 * INSTALL: Regenerated.
14761 * configure: Likewise.
14762 * sysdeps/gnu/configure: Likewise.
14763 * sysdeps/i386/configure: Likewise.
14764 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14765 * sysdeps/mach/configure: Likewise.
14766 * sysdeps/mach/hurd/configure: Likewise.
14767 * sysdeps/powerpc/configure: Likewise.
14768 * sysdeps/powerpc/powerpc32/configure: Likewise.
14769 * sysdeps/powerpc/powerpc64/configure: Likewise.
14770 * sysdeps/s390/s390-32/configure: Likewise.
14771 * sysdeps/s390/s390-64/configure: Likewise.
14772 * sysdeps/sh/configure: Likewise.
14773 * sysdeps/sparc/configure: Likewise.
14774 * sysdeps/unix/sysv/linux/configure: Likewise.
14775 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14776 * sysdeps/x86_64/configure: Likewise.
14777 * sysdeps/x86_64/preconfigure: Likewise.
14779 2013-10-29 Andreas Schwab <schwab@suse.de>
14781 * stdio-common/Makefile (tst-swscanf-ENV): Define.
14783 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14785 * benchtests/pow-inputs: Add new inputs.
14787 * benchtests/exp-inputs: Add new inputs.
14789 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14790 conditional check for return value.
14791 (__cos32): Likewise.
14793 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14795 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14796 to provide a boost for large inputs with word alignment.
14797 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14798 implementation based on optimized PPC64 strcpy.
14799 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14800 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14801 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14802 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14804 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14807 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14809 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14812 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14813 * time/tst-strptime.c (day_tests): Add testcase.
14815 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14818 * manual/pattern.texi: Acknowledge that fnmatch can fail.
14820 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
14823 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14824 MAP_FAILED on error.
14826 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14829 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14830 heap for large requests.
14832 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
14835 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14836 result if the result has no associated interface.
14837 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14838 interface for all 127.X.Y.Z addresses.
14840 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
14842 * locale/iso-639.def: Add Ligurian (lij)
14844 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
14847 * sunrpc/rpc_main.c: Document rpcgen -5.
14849 2013-10-19 Michael Stahl <mstahl@redhat.com>
14851 * elf/rtld.c (do_preload): Print the reason why preloading failed.
14853 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14856 * posix/glob.c: Match only directories when trailing slash is present.
14857 * posix/tst-gnuglob.c (my_opendir): Do not open files.
14858 (main): Add testcase.
14860 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14863 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14865 2013-10-18 Carlos O'Donell <carlos@redhat.com>
14867 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14868 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14869 AUTH_DES and cindex for FIPS 140-2.
14870 (DES Encryption): Add cindex FIPS 46-3.
14872 * locale/locarchive.h (struct locarhandle): Add fname.
14873 * locale/programs/localedef.c (main): Pass ARGV[remaining]
14874 if an optional argument was specified to --list-archive,
14876 * locale/programs/locarchive.c (show_archive_content): Take new
14877 argument fname and pass it via ah.fname to open_archive.
14878 * locale/programs/localedef.h: Update decl.
14879 (open_archive): If AH->fname is non-null, open that file
14880 rather than the default file name, and don't ignore ENOENT.
14881 (create_archive): Set AH.fname to NULL.
14882 (delete_locales_from_archive): Likewise.
14883 (add_locales_to_archive): Likewise.
14884 * locale/programs/locfile.c (write_all_categories): Likewise.
14886 2013-10-18 Joseph Myers <joseph@codesourcery.com>
14887 Aldy Hernandez <aldyh@redhat.com>
14889 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14890 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14891 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14892 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14893 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14894 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14895 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14896 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14897 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14898 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14899 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14900 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14901 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14902 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14903 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14905 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14907 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14909 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14911 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14912 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14914 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14915 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14916 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14917 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14919 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14920 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14921 * sysdeps/powerpc/preconfigure: Likewise.
14922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14924 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14925 Replace contents of file by #include of <fenv_libc.h>.
14926 * sysdeps/powerpc/soft-fp/sfp-machine.h
14927 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14929 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14930 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14931 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14932 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14933 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14934 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14935 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14936 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14937 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14938 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14939 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14940 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14942 Allow copysignl PLT reference to be missing.
14944 2013-10-18 Richard Sandiford <richard@codesourcery.com>
14945 Joseph Myers <joseph@codesourcery.com
14948 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14950 (add_to_tablewc): Assert sequence of wide characters is nonempty.
14952 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14954 * elf/tst-tls-dlinfo.c: Don't include tls.h.
14955 * elf/tst-tls1.c: Likewise.
14956 * elf/tst-tls10.h: Likewise.
14957 * elf/tst-tls14.c: Likewise.
14958 * elf/tst-tls2.c: Likewise.
14959 * elf/tst-tls3.c: Likewise.
14960 * elf/tst-tls4.c: Likewise.
14961 * elf/tst-tls5.c: Likewise.
14962 * elf/tst-tls6.c: Likewise.
14963 * elf/tst-tls7.c: Likewise.
14964 * elf/tst-tls8.c: Likewise.
14965 * elf/tst-tls9.c: Likewise.
14966 * elf/tst-tlsmod1.c: Likewise.
14967 * elf/tst-tlsmod13.c: Likewise.
14968 * elf/tst-tlsmod13a.c: Likewise.
14969 * elf/tst-tlsmod14a.c: Likewise.
14970 * elf/tst-tlsmod16a.c: Likewise.
14971 * elf/tst-tlsmod16b.c: Likewise.
14972 * elf/tst-tlsmod2.c: Likewise.
14973 * elf/tst-tlsmod3.c: Likewise.
14974 * elf/tst-tlsmod4.c: Likewise.
14975 * elf/tst-tlsmod5.c: Likewise.
14976 * elf/tst-tlsmod6.c: Likewise.
14978 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
14981 * malloc/malloc.c: remove checks for statistics.
14983 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14986 * inet/inet_net.c (inet_network): Detect additional invalid strings.
14987 * inet/tst-network.c: Add testcase.
14989 2013-10-17 Andreas Schwab <schwab@suse.de>
14992 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14993 to determine canonical name.
14995 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14997 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14998 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14999 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15000 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15001 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15002 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15003 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15004 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15005 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15006 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15007 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15008 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15009 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15010 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15011 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15012 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15013 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15014 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15015 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15016 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15017 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15018 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15019 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15020 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15021 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15022 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15023 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15024 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15025 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15026 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15027 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15028 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15029 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15030 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15031 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15032 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15033 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15034 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15035 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15036 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15037 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15038 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15039 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15040 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15041 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15042 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15043 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15044 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15045 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15046 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15047 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15048 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15049 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15050 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15051 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15052 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15053 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15054 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15056 2013-10-17 Joseph Myers <joseph@codesourcery.com>
15059 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15060 make result into a quiet NaN.
15062 2013-10-16 Joseph Myers <joseph@codesourcery.com>
15064 * soft-fp/adddf3.c: Fix horizontal whitespace.
15065 * soft-fp/addsf3.c: Likewise.
15066 * soft-fp/addtf3.c: Likewise.
15067 * soft-fp/divdf3.c: Likewise.
15068 * soft-fp/divsf3.c: Likewise.
15069 * soft-fp/divtf3.c: Likewise.
15070 * soft-fp/double.h: Likewise.
15071 * soft-fp/eqdf2.c: Likewise.
15072 * soft-fp/eqsf2.c: Likewise.
15073 * soft-fp/eqtf2.c: Likewise.
15074 * soft-fp/extenddftf2.c: Likewise.
15075 * soft-fp/extended.h: Likewise.
15076 * soft-fp/extendsfdf2.c: Likewise.
15077 * soft-fp/extendsftf2.c: Likewise.
15078 * soft-fp/extendxftf2.c: Likewise.
15079 * soft-fp/fixdfdi.c: Likewise.
15080 * soft-fp/fixdfsi.c: Likewise.
15081 * soft-fp/fixdfti.c: Likewise.
15082 * soft-fp/fixsfdi.c: Likewise.
15083 * soft-fp/fixsfsi.c: Likewise.
15084 * soft-fp/fixsfti.c: Likewise.
15085 * soft-fp/fixtfdi.c: Likewise.
15086 * soft-fp/fixtfsi.c: Likewise.
15087 * soft-fp/fixtfti.c: Likewise.
15088 * soft-fp/fixunsdfdi.c: Likewise.
15089 * soft-fp/fixunsdfsi.c: Likewise.
15090 * soft-fp/fixunsdfti.c: Likewise.
15091 * soft-fp/fixunssfdi.c: Likewise.
15092 * soft-fp/fixunssfsi.c: Likewise.
15093 * soft-fp/fixunssfti.c: Likewise.
15094 * soft-fp/fixunstfdi.c: Likewise.
15095 * soft-fp/fixunstfsi.c: Likewise.
15096 * soft-fp/fixunstfti.c: Likewise.
15097 * soft-fp/floatdidf.c: Likewise.
15098 * soft-fp/floatdisf.c: Likewise.
15099 * soft-fp/floatditf.c: Likewise.
15100 * soft-fp/floatsidf.c: Likewise.
15101 * soft-fp/floatsisf.c: Likewise.
15102 * soft-fp/floatsitf.c: Likewise.
15103 * soft-fp/floattidf.c: Likewise.
15104 * soft-fp/floattisf.c: Likewise.
15105 * soft-fp/floattitf.c: Likewise.
15106 * soft-fp/floatundidf.c: Likewise.
15107 * soft-fp/floatundisf.c: Likewise.
15108 * soft-fp/floatunditf.c: Likewise.
15109 * soft-fp/floatunsidf.c: Likewise.
15110 * soft-fp/floatunsisf.c: Likewise.
15111 * soft-fp/floatunsitf.c: Likewise.
15112 * soft-fp/floatuntidf.c: Likewise.
15113 * soft-fp/floatuntisf.c: Likewise.
15114 * soft-fp/floatuntitf.c: Likewise.
15115 * soft-fp/fmadf4.c: Likewise.
15116 * soft-fp/fmasf4.c: Likewise.
15117 * soft-fp/fmatf4.c: Likewise.
15118 * soft-fp/gedf2.c: Likewise.
15119 * soft-fp/gesf2.c: Likewise.
15120 * soft-fp/getf2.c: Likewise.
15121 * soft-fp/ledf2.c: Likewise.
15122 * soft-fp/lesf2.c: Likewise.
15123 * soft-fp/letf2.c: Likewise.
15124 * soft-fp/muldf3.c: Likewise.
15125 * soft-fp/mulsf3.c: Likewise.
15126 * soft-fp/multf3.c: Likewise.
15127 * soft-fp/negdf2.c: Likewise.
15128 * soft-fp/negsf2.c: Likewise.
15129 * soft-fp/negtf2.c: Likewise.
15130 * soft-fp/op-1.h: Likewise.
15131 * soft-fp/op-2.h: Likewise.
15132 * soft-fp/op-4.h: Likewise.
15133 * soft-fp/op-8.h: Likewise.
15134 * soft-fp/op-common.h: Likewise.
15135 * soft-fp/quad.h: Likewise.
15136 * soft-fp/single.h: Likewise.
15137 * soft-fp/soft-fp.h: Likewise.
15138 * soft-fp/sqrtdf2.c: Likewise.
15139 * soft-fp/sqrtsf2.c: Likewise.
15140 * soft-fp/sqrttf2.c: Likewise.
15141 * soft-fp/subdf3.c: Likewise.
15142 * soft-fp/subsf3.c: Likewise.
15143 * soft-fp/subtf3.c: Likewise.
15144 * soft-fp/truncdfsf2.c: Likewise.
15145 * soft-fp/trunctfdf2.c: Likewise.
15146 * soft-fp/trunctfsf2.c: Likewise.
15147 * soft-fp/trunctfxf2.c: Likewise.
15148 * soft-fp/unorddf2.c: Likewise.
15149 * soft-fp/unordsf2.c: Likewise.
15150 * soft-fp/unordtf2.c: Likewise.
15152 2013-10-15 Joseph Myers <joseph@codesourcery.com>
15154 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15155 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15157 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
15159 * elf/dl-libc.c: Clear initfini list after freeing.
15161 2013-10-14 Joseph Myers <joseph@codesourcery.com>
15163 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15164 * soft-fp/addsf3.c: Likewise.
15165 * soft-fp/addtf3.c: Likewise.
15166 * soft-fp/divdf3.c: Likewise.
15167 * soft-fp/divsf3.c: Likewise.
15168 * soft-fp/divtf3.c: Likewise.
15169 * soft-fp/double.h: Likewise.
15170 * soft-fp/eqdf2.c: Likewise.
15171 * soft-fp/eqsf2.c: Likewise.
15172 * soft-fp/eqtf2.c: Likewise.
15173 * soft-fp/extenddftf2.c: Likewise.
15174 * soft-fp/extended.h: Likewise.
15175 * soft-fp/extendsfdf2.c: Likewise.
15176 * soft-fp/extendsftf2.c: Likewise.
15177 * soft-fp/extendxftf2.c: Likewise.
15178 * soft-fp/fixdfdi.c: Likewise.
15179 * soft-fp/fixdfsi.c: Likewise.
15180 * soft-fp/fixdfti.c: Likewise.
15181 * soft-fp/fixsfdi.c: Likewise.
15182 * soft-fp/fixsfsi.c: Likewise.
15183 * soft-fp/fixsfti.c: Likewise.
15184 * soft-fp/fixtfdi.c: Likewise.
15185 * soft-fp/fixtfsi.c: Likewise.
15186 * soft-fp/fixtfti.c: Likewise.
15187 * soft-fp/fixunsdfdi.c: Likewise.
15188 * soft-fp/fixunsdfsi.c: Likewise.
15189 * soft-fp/fixunsdfti.c: Likewise.
15190 * soft-fp/fixunssfdi.c: Likewise.
15191 * soft-fp/fixunssfsi.c: Likewise.
15192 * soft-fp/fixunssfti.c: Likewise.
15193 * soft-fp/fixunstfdi.c: Likewise.
15194 * soft-fp/fixunstfsi.c: Likewise.
15195 * soft-fp/fixunstfti.c: Likewise.
15196 * soft-fp/floatdidf.c: Likewise.
15197 * soft-fp/floatdisf.c: Likewise.
15198 * soft-fp/floatditf.c: Likewise.
15199 * soft-fp/floatsidf.c: Likewise.
15200 * soft-fp/floatsisf.c: Likewise.
15201 * soft-fp/floatsitf.c: Likewise.
15202 * soft-fp/floattidf.c: Likewise.
15203 * soft-fp/floattisf.c: Likewise.
15204 * soft-fp/floattitf.c: Likewise.
15205 * soft-fp/floatundidf.c: Likewise.
15206 * soft-fp/floatundisf.c: Likewise.
15207 * soft-fp/floatunsidf.c: Likewise.
15208 * soft-fp/floatunsisf.c: Likewise.
15209 * soft-fp/floatuntidf.c: Likewise.
15210 * soft-fp/floatuntisf.c: Likewise.
15211 * soft-fp/floatuntitf.c: Likewise.
15212 * soft-fp/fmadf4.c: Likewise.
15213 * soft-fp/fmasf4.c: Likewise.
15214 * soft-fp/fmatf4.c: Likewise.
15215 * soft-fp/gedf2.c: Likewise.
15216 * soft-fp/gesf2.c: Likewise.
15217 * soft-fp/getf2.c: Likewise.
15218 * soft-fp/ledf2.c: Likewise.
15219 * soft-fp/lesf2.c: Likewise.
15220 * soft-fp/letf2.c: Likewise.
15221 * soft-fp/muldf3.c: Likewise.
15222 * soft-fp/mulsf3.c: Likewise.
15223 * soft-fp/multf3.c: Likewise.
15224 * soft-fp/negdf2.c: Likewise.
15225 * soft-fp/negsf2.c: Likewise.
15226 * soft-fp/negtf2.c: Likewise.
15227 * soft-fp/op-1.h: Likewise.
15228 * soft-fp/op-2.h: Likewise.
15229 * soft-fp/op-4.h: Likewise.
15230 * soft-fp/op-8.h: Likewise.
15231 * soft-fp/op-common.h: Likewise.
15232 * soft-fp/quad.h: Likewise.
15233 * soft-fp/single.h: Likewise.
15234 * soft-fp/soft-fp.h: Likewise.
15235 * soft-fp/sqrtdf2.c: Likewise.
15236 * soft-fp/sqrtsf2.c: Likewise.
15237 * soft-fp/sqrttf2.c: Likewise.
15238 * soft-fp/subdf3.c: Likewise.
15239 * soft-fp/subsf3.c: Likewise.
15240 * soft-fp/subtf3.c: Likewise.
15241 * soft-fp/truncdfsf2.c: Likewise.
15242 * soft-fp/trunctfdf2.c: Likewise.
15243 * soft-fp/trunctfsf2.c: Likewise.
15244 * soft-fp/trunctfxf2.c: Likewise.
15245 * soft-fp/unorddf2.c: Likewise.
15246 * soft-fp/unordsf2.c: Likewise.
15247 * soft-fp/unordtf2.c: Likewise.
15249 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
15252 * misc/error.c (error_tail): Fix possible buffer overflow.
15254 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
15257 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15260 2013-10-14 P. J. McDermott <pj@pehjota.net>
15263 * elf/ldd.bash.in (try_trace): New function. Delete previous code
15264 testing pipefail option.
15266 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15268 * soft-fp/double.h: Indent preprocessor directives inside #if.
15269 * soft-fp/extended.h: Likewise.
15270 * soft-fp/op-2.h: Likewise.
15271 * soft-fp/op-4.h: Likewise.
15272 * soft-fp/op-common.h: Likewise.
15273 * soft-fp/quad.h: Likewise.
15274 * soft-fp/single.h: Likewise.
15275 * soft-fp/soft-fp.h: Likewise.
15277 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
15279 * iconv/iconv_prog.c: Fix typos.
15280 * stdio-common/psiginfo-data.h: Likewise.
15282 2013-10-12 Reuben Thomas <rrt@sc3d.org>
15285 * locale/setlocale.c: Fix typo.
15287 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15290 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15291 signaling NaN arguments.
15292 * soft-fp/unordsf2.c (__unordsf2): Likewise.
15293 * soft-fp/unordtf2.c (__unordtf2): Likewise.
15296 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15297 unordered operands.
15298 * soft-fp/gesf2.c (__gesf2): Likewise.
15299 * soft-fp/getf2.c (__getf2): Likewise.
15300 * soft-fp/ledf2.c (__ledf2): Likewise.
15301 * soft-fp/lesf2.c (__lesf2): Likewise.
15302 * soft-fp/letf2.c (__letf2): Likewise.
15304 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15305 * soft-fp/eqsf2.c (__eqsf2): Likewise.
15306 * soft-fp/eqtf2.c (__eqtf2): Likewise.
15307 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15308 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15309 * soft-fp/fixdfti.c (__fixdfti): Likewise.
15310 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15311 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15312 * soft-fp/fixsfti.c (__fixsfti): Likewise.
15313 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15314 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15315 * soft-fp/fixtfti.c (__fixtfti): Likewise.
15316 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15317 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15318 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15319 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15320 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15321 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15322 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15323 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15324 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15325 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15326 * soft-fp/floatdisf.c (__floatdisf): Likewise.
15327 * soft-fp/floatsisf.c (__floatsisf): Likewise.
15328 * soft-fp/floattidf.c (__floattidf): Likewise.
15329 * soft-fp/floattisf.c (__floattisf): Likewise.
15330 * soft-fp/floattitf.c (__floattitf): Likewise.
15331 * soft-fp/floatundidf.c (__floatundidf): Likewise.
15332 * soft-fp/floatundisf.c (__floatundisf): Likewise.
15333 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15334 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15335 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15336 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15337 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15338 * soft-fp/gesf2.c (__gesf2): Likewise.
15339 * soft-fp/getf2.c (__getf2): Likewise.
15340 * soft-fp/ledf2.c (__ledf2): Likewise.
15341 * soft-fp/lesf2.c (__lesf2): Likewise.
15342 * soft-fp/letf2.c (__letf2): Likewise.
15344 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15345 Undefine and redefine.
15346 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15347 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15348 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15349 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15350 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15351 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15352 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15353 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15354 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15355 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15356 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15357 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15358 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15359 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15360 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15363 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15364 without decrementing exponent if mantissa >= that for the
15365 denominator, not >.
15366 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15367 denominator, not >. Decrement exponent in < case instead of
15368 incrementing in >= case.
15369 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15370 without decrementing exponent if mantissa >= that for the
15371 denominator, not >.
15373 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15374 computing saturated result for unsigned overflow.
15376 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15377 Jeff Law <law@redhat.com>
15379 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15380 (atan2Mp): Add systemtap probe marker.
15381 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15382 (__ieee754_log): Add systemtap probe marker.
15383 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15384 (atanMp): Add systemtap probe marker.
15385 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15386 (tanMp): Add systemtap probe marker.
15387 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15388 (__slowexp): Add systemtap probe marker.
15389 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15390 (__slowpow): Add systemtap probe marker.
15391 * manual/probes.texi: Document probes.
15393 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
15396 * libio/fileops.c (_IO_new_file_write): Return count of bytes
15398 (_IO_new_file_xsputn): Don't return EOF if nothing has been
15400 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15401 written to buffer but not flushed.
15402 * libio/iofwrite_u.c: Likewise.
15403 * libio/iopadn.c: Return bytes returned even if EOF was
15405 * libio/iowpadn.c: Likewise.
15406 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15407 if _IO_padn does not write the whole buffer.
15408 [!COMPILE_WPRINTF] (PAD): Likewise.
15410 2013-10-10 David S. Miller <davem@davemloft.net>
15412 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15415 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15417 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
15418 instead of FSF address.
15419 * soft-fp/fixdfti.c: Likewise.
15420 * soft-fp/fixsfti.c: Likewise.
15421 * soft-fp/fixtfti.c: Likewise.
15422 * soft-fp/fixunsdfti.c: Likewise.
15423 * soft-fp/fixunssfti.c: Likewise.
15424 * soft-fp/fixunstfti.c: Likewise.
15425 * soft-fp/floattidf.c: Likewise.
15426 * soft-fp/floattisf.c: Likewise.
15427 * soft-fp/floattitf.c: Likewise.
15428 * soft-fp/floatuntidf.c: Likewise.
15429 * soft-fp/floatuntisf.c: Likewise.
15430 * soft-fp/floatuntitf.c: Likewise.
15431 * soft-fp/trunctfxf2.c: Likewise.
15433 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
15434 * soft-fp/fixdfti.c: Likewise.
15435 * soft-fp/fixsfti.c: Likewise.
15436 * soft-fp/fixtfti.c: Likewise.
15437 * soft-fp/fixunsdfti.c: Likewise.
15438 * soft-fp/fixunssfti.c: Likewise.
15439 * soft-fp/fixunstfti.c: Likewise.
15440 * soft-fp/floattidf.c: Likewise.
15441 * soft-fp/floattisf.c: Likewise.
15442 * soft-fp/floattitf.c: Likewise.
15443 * soft-fp/floatuntidf.c: Likewise.
15444 * soft-fp/floatuntisf.c: Likewise.
15445 * soft-fp/floatuntitf.c: Likewise.
15446 * soft-fp/trunctfxf2.c: Likewise.
15448 2013-10-10 David S. Miller <davem@davemloft.net>
15450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15452 2013-10-10 Joseph Myers <joseph@codsourcery.com>
15454 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15455 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15456 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15457 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15458 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15459 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15460 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15462 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15463 for NaNs before doing comparisons on argument.
15464 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15467 2013-10-10 Will Newton <will.newton@linaro.org>
15469 * malloc/hooks.c (memalign_check): Ensure the value of bytes
15470 passed to _int_memalign does not overflow.
15472 2013-10-10 Torvald Riegel <triegel@redhat.com>
15474 * scripts/bench.pl: Add include-sources directive.
15475 * benchtests/README: Update documentation.
15477 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15479 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15480 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15481 instead of FP_INIT_ROUNDMODE.
15482 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15483 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15486 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15487 copy class of input value.
15488 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15489 not handle exceptions.
15490 * soft-fp/negsf2.c (__negsf2): Likewise.
15491 * soft-fp/negtf2.c (__negtf2): Likewise.
15492 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15494 2013-10-09 Joseph Myers <joseph@codesourcery.com>
15496 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15497 semicolon. From Linux kernel.
15499 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15501 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15503 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15506 * manual/socket.texi: Added statement about buffer
15507 for gethostbyname2_r.
15509 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
15511 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15512 Use .p2align directive instead, throughout.
15513 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15514 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15515 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15516 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15517 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15518 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15519 * sysdeps/x86_64/strchr.S: Likewise.
15520 * sysdeps/x86_64/strrchr.S: Likewise.
15522 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15524 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15526 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15528 * sysdeps/generic/math_private.h (__mpsin1): Remove
15530 (__mpcos1): Likewise.
15531 (__mpsin): New argument __range_reduce.
15532 (__mpcos): Likewise.
15533 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15534 (slow): Use __mpsin and __mpcos.
15538 (sloww1): Likewise.
15539 (sloww2): Likewise.
15540 (bsloww): Likewise.
15541 (bsloww1): Likewise.
15542 (bsloww2): Likewise.
15543 (cslow2): Likewise.
15544 (csloww): Likewise.
15545 (csloww1): Likewise.
15546 (csloww2): Likewise.
15547 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15548 range_reduce. Merge in __mpsin1.
15549 (__mpcos): Likewise.
15550 (__mpsin1): Remove.
15551 (__mpcos1): Likewise.
15553 2013-10-07 Joseph Myers <joseph@codesourcery.com>
15555 * locale/loadlocale.c (_nl_intern_locale_data): Use
15557 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15558 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15559 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15560 obstack data is appropriately aligned.
15561 (obstack_int32_grow_fast): Likewise.
15562 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15563 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15564 (add_locale_uint32_array): Likewise.
15566 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15568 * benchtests/Makefile: Remove ARGLIST and RET variables.
15569 ($(objpfx)bench-%.c): Pass only function name to the script.
15570 * benchtests/README: Update documentation.
15571 * benchtests/acos-inputs: Add new directives.
15572 * benchtests/acosh-inputs: Likewise.
15573 * benchtests/asin-inputs: Likewise.
15574 * benchtests/asinh-inputs: Likewise.
15575 * benchtests/atan-inputs: Likewise.
15576 * benchtests/atanh-inputs: Likewise.
15577 * benchtests/cos-inputs: Likewise.
15578 * benchtests/cosh-inputs: Likewise.
15579 * benchtests/exp-inputs: Likewise.
15580 * benchtests/log-inputs: Likewise.
15581 * benchtests/pow-inputs: Likewise.
15582 * benchtests/rint-inputs: Likewise.
15583 * benchtests/sin-inputs: Likewise.
15584 * benchtests/sinh-inputs: Likewise.
15585 * benchtests/tan-inputs: Likewise.
15586 * benchtests/tanh-inputs: Likewise.
15587 * scripts/bench.pl: Add support for new directives.
15589 2013-10-07 Alan Modra <amodra@gmail.com>
15591 * README: Fix careless merge.
15593 2013-10-05 Alan Modra <amodra@gmail.com>
15595 * NEWS: Mention powerpc64le support and bugs fixed.
15596 * README: Both big-endian and little-endian powerpc64 supported.
15598 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15600 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15601 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15602 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15603 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15605 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15607 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15610 2013-10-04 Joseph Myers <joseph@codesourcery.com>
15612 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15613 Move -mhard-float appending from
15614 ports/sysdeps/powerpc/powerpc32/Makefile.
15615 [$(with-fp) = yes] (ASFLAGS): Likewise.
15616 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15617 * sysdeps/powerpc/nofpu: Move directory from
15618 ports/sysdeps/powerpc/nofpu.
15619 * sysdeps/powerpc/soft-fp: Move directory from
15620 ports/sysdeps/powerpc/soft-fp.
15621 * sysdeps/powerpc/powerpc32/405: Move directory from
15622 ports/sysdeps/powerpc/powerpc32/405.
15623 * sysdeps/powerpc/powerpc32/440: Move directory from
15624 ports/sysdeps/powerpc/powerpc32/440.
15625 * sysdeps/powerpc/powerpc32/464: Move directory from
15626 ports/sysdeps/powerpc/powerpc32/464.
15627 * sysdeps/powerpc/powerpc32/476: Move directory from
15628 ports/sysdeps/powerpc/powerpc32/476.
15629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15630 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15632 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15634 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15636 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15638 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15639 * README: Update for powerpc-*-linux-gnu software floating point
15642 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15643 case to powerpc/powerpc32*.
15644 * sysdeps/unix/sysv/linux/configure: Regenerated.
15646 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15647 (_FPU_MASK_OM): Define as 0x04.
15648 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15649 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15651 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15653 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15656 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15659 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15662 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15663 and setcontext_e500.
15665 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15667 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15669 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15671 * manual/threads.texi (Default Thread Attributes): Fix typo.
15673 2013-10-04 Will Newton <will.newton@linaro.org>
15675 * malloc/Makefile: Add tst-memalign.
15676 * malloc/tst-memalign.c: New file.
15678 * malloc/tst-posix_memalign.c: Add comments.
15679 (do_test): Add comments and call free on all potentially
15680 allocated pointers. Add space after cast.
15682 * malloc/tst-pvalloc.c: Add comments.
15683 (do_test): Add comments and call free on all potentially
15684 allocated pointers. Remove duplicate check for NULL pointer.
15685 Add space after cast.
15687 * malloc/tst-valloc.c: Add comments.
15688 (do_test): Add comments and call free on all potentially
15689 allocated pointers. Remove duplicate check for NULL pointer.
15690 Add space after cast.
15692 2013-10-04 Alan Modra <amodra@gmail.com>
15694 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15695 Use stdint types in rather than __attribute__((mode())).
15696 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15698 2013-10-04 Alan Modra <amodra@gmail.com>
15700 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15701 Correct handling of unaligned relocs for little-endian.
15702 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15704 2013-10-04 Alan Modra <amodra@gmail.com>
15706 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15707 * configure: Regenerate.
15708 * nptl/shlib-versions: Powerpc*le starts at 2.18.
15709 * shlib-versions: Likewise.
15711 2013-10-04 Alan Modra <amodra@gmail.com>
15713 * string/tester.c (test_memrchr): Increment reported test cycle.
15715 2013-10-04 Alan Modra <amodra@gmail.com>
15717 * string/test-memcpy.c (do_one_test): When reporting errors, print
15718 string address and don't overrun end of string.
15720 2013-10-04 Alan Modra <amodra@gmail.com>
15722 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15723 insrdi. Make better use of reg selection to speed exit slightly.
15724 Schedule entry path a little better. Remove useless "are we done"
15725 checks on entry to main loop. Handle wrapping around zero address.
15726 Correct main loop count. Handle single left-over word from main
15727 loop inline rather than by using loop_small. Remove extra word
15728 case in loop_small caused by wrong loop count. Add little-endian
15730 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15731 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
15733 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15734 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15735 support. Avoid rlwimi.
15736 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15738 2013-10-04 Alan Modra <amodra@gmail.com>
15740 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15741 insrdi. Formatting.
15742 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15743 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15744 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15745 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15746 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15747 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15749 2013-10-04 Alan Modra <amodra@gmail.com>
15751 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15752 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15753 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15754 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15755 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15756 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15757 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15758 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15759 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
15760 use of regs. Use power7 mtocrf. Tidy function tails.
15762 2013-10-04 Alan Modra <amodra@gmail.com>
15764 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15765 Formatting. Consistently use rXXX register defines or rN defines.
15766 Use early exit labels that avoid restoring unused non-volatile regs.
15767 Make cr field use more consistent with rWORDn compares. Rename
15768 regs used as shift registers for unaligned loop, using rN defines
15769 for short lifetime/multiple use regs.
15770 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15771 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
15772 addi 1,1,64 to pop stack frame. Simplify return value code.
15773 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15775 2013-10-04 Alan Modra <amodra@gmail.com>
15777 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15778 support. Correct typos, formatting. Optimize tail. Use insrdi
15779 rather than rlwimi.
15780 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15781 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15782 little-endian support. Correct typos.
15783 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
15784 rather than rlwimi.
15785 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
15786 in loop and entry code to keep "and." results.
15787 (strchr): Add little-endian support. Comment. Move cntlzd
15789 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15791 2013-10-04 Alan Modra <amodra@gmail.com>
15793 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15794 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15795 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15796 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15798 2013-10-04 Alan Modra <amodra@gmail.com>
15800 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15801 (rTMP): Define as r11.
15802 (strcmp): Add little-endian support. Optimise tail.
15803 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15804 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15805 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15806 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15807 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15808 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15809 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15811 2013-10-04 Alan Modra <amodra@gmail.com>
15813 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15814 little-endian support. Remove unnecessary "are we done" tests.
15815 Handle "s" wrapping around zero and extremely large "size".
15816 Correct main loop count. Handle single left-over word from main
15817 loop inline rather than by using small_loop. Correct comments.
15818 Delete "zero" tail, use "end_max" instead.
15819 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15821 2013-10-04 Alan Modra <amodra@gmail.com>
15823 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15824 support. Don't branch over align.
15825 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15826 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15827 support. Rearrange tmp reg use to suit. Comment.
15828 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15830 2013-10-04 Alan Modra <amodra@gmail.com>
15832 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15834 2013-10-04 Alan Modra <amodra@gmail.com>
15836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15837 conditional form of branch and link when obtaining pc.
15838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15840 2013-10-04 Alan Modra <amodra@gmail.com>
15842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15847 2013-10-04 Alan Modra <amodra@gmail.com>
15849 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15850 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15851 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15852 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15853 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15854 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15855 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15856 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15857 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15858 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15860 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15861 Alistair Popple <alistair@ozlabs.au.ibm.com>
15862 Alan Modra <amodra@gmail.com>
15865 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15866 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15867 _dl_hwcap access for little-endian.
15868 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
15869 destroy vmx regs when saving unaligned.
15870 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15871 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
15872 destroy vmx regs when saving unaligned.
15874 2013-10-04 Alan Modra <amodra@gmail.com>
15876 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15877 Don't use a union to pack hi/low value.
15879 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15881 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15883 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15884 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15885 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15886 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15887 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15889 2013-10-04 Alan Modra <amodra@gmail.com>
15891 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15892 constants to usual value for .cst8 section, and remove redundant
15894 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15895 constant for 0x1p52. Load little-endian words of double from
15896 correct stack offsets.
15898 2013-10-04 Alan Modra <amodra@gmail.com>
15900 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15901 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15902 words of double from correct stack offsets.
15903 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15904 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15905 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15906 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15907 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15908 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15909 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15910 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15911 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15912 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15913 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15914 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15915 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15916 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15917 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15918 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15919 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15921 2013-10-04 Alan Modra <amodra@gmail.com>
15923 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15924 64-bit int/double union.
15925 (_FPU_SETCW): Likewise.
15926 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15927 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15929 2013-10-04 Alan Modra <amodra@gmail.com>
15931 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15932 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15934 2013-10-04 Alan Modra <amodra@gmail.com>
15936 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15937 use vector int constants.
15938 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15940 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15942 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15943 array with long long.
15944 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15945 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15946 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15947 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15948 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15949 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15950 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15951 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15952 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15953 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15954 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15955 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15956 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15958 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15960 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15961 (__signbit): Likewise. Correct for little-endian.
15962 (__signbitl): Call __signbit.
15963 (lrint): Correct for little-endian.
15964 (lrintf): Call lrint.
15966 2013-10-04 Alan Modra <amodra@gmail.com>
15968 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15969 union 32-bit int array member with 64-bit int array.
15970 (t515, tm256): Double rather than long double.
15971 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15973 2013-10-04 Alan Modra <amodra@gmail.com>
15975 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15977 (IEEE854_LONG_DOUBLE_BIAS): Delete.
15978 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15979 version of math_ldbl.h.
15981 2013-10-04 Alan Modra <amodra@gmail.com>
15983 [BZ #15734], [BZ #15735]
15984 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15985 all uses of ieee875 long double macros and unions. Simplify test
15986 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
15987 ldbl_extract_mantissa value for ix,iy exponents. Properly
15988 normalize after ldbl_extract_mantissa, and don't add hidden bit
15989 already handled. Don't treat low word of ieee854 mantissa like
15990 low word of IBM long double and mask off bit when testing for
15992 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15993 all uses of ieee875 long double macros and unions. Simplify tests
15994 for 0.0L and inf. Correct double adjustment of k. Delete dead code
15995 adjusting ha,hb. Simplify code setting kld. Delete two600 and
15996 two1022, instead use their values. Recognise that tests for large
15997 "a" and small "b" are mutually exclusive. Rename vars. Comment.
15998 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15999 Rewrite all uses of ieee875 long double macros and unions. Simplify
16000 test for 0.0L and nan. Correct negation.
16001 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16002 ieee875 long double macros and unions. Correct output for large
16003 magnitude x. Correct absolute value calculation.
16004 (__erfcl): Likewise.
16005 * math/libm-test.inc: Add tests for errors discovered in IBM long
16006 double versions of fmodl, remainderl, erfl and erfcl.
16008 2013-10-04 Alan Modra <amodra@gmail.com>
16010 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16011 all uses of ieee854 long double macros and unions. Simplify tests
16012 for long doubles that are fully specified by the high double.
16013 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16015 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16016 Remove dead code too.
16017 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16018 (__ieee754_ynl): Likewise.
16019 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16020 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16021 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16022 Remove dead code too.
16023 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16024 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16025 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16026 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16028 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16030 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16031 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16032 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16033 Comment on variable precision.
16034 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16035 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16037 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16038 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16039 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16040 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16041 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16043 2013-10-04 Alan Modra <amodra@gmail.com>
16045 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16046 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16047 all uses of ieee854 long double macros and unions.
16048 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16049 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16050 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16051 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16052 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16053 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16055 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16056 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16057 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16058 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16059 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16060 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16061 Simplify sign and nan test too.
16062 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16063 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16064 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16065 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16067 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16068 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16070 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16071 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16072 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16073 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16074 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16075 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16077 2013-10-04 Alan Modra <amodra@gmail.com>
16079 * stdio-common/printf_size.c (__printf_size): Don't use
16080 union ieee854_long_double in fpnum union.
16081 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
16082 signbit macro to retrieve sign from long double.
16083 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16084 retrieve sign from long double.
16085 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16086 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16087 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16088 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16089 * math/test-misc.c (main): Don't use union ieee854_long_double.
16091 2013-10-04 Alan Modra <amodra@gmail.com>
16094 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16095 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16096 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16097 calculation. Remove unnecessary test for denormal exponent.
16098 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16099 Correct handling of denormals. Avoid undefined shift behaviour.
16100 Correct normalisation of low mantissa when low double is denormal.
16101 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16102 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
16103 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16104 Correct normalisation of low mantissa. Test for overflow of high
16105 mantissa and normalise.
16106 (ldbl_nearbyint): Use more readable constant for two52.
16107 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16108 (__mpn_construct_long_double): Fix test for overflow of high
16109 mantissa and correct normalisation. Avoid undefined shift.
16111 2013-10-04 Alan Modra <amodra@gmail.com>
16113 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16114 (union ibm_extended_long_double): Define as an array of ieee754_double.
16115 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16116 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16117 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16118 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16119 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16120 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16121 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16122 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16123 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16124 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16125 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16127 2013-10-03 Joseph Myers <joseph@codesourcery.com>
16129 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16130 page size instead of calling getpagesize.
16132 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16133 (LOCFILE_ALIGN_MASK): Likewise.
16134 (LOCFILE_ALIGN_UP): Likewise.
16135 (LOCFILE_ALIGNED_P): Likewise.
16136 * locale/programs/ld-collate.c (collate_output): Use the new
16137 macros instead of __alignof__ (int32_t).
16138 * locale/weight.h (findidx): Likewise.
16140 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
16143 * manual/string.texi: Fix strncat and wcsncat.
16145 2013-10-03 Brooks Moses <bmoses@google.com>
16148 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16149 * Makerules: ...here, and adjust associated comments.
16151 2013-10-02 Will Newton <will.newton@linaro.org>
16153 * malloc/Makefile: Add tst-pvalloc.
16154 * malloc/tst-pvalloc.c: New file.
16156 2013-10-02 Will Newton <will.newton@linaro.org>
16158 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16159 improve test coverage.
16161 2013-10-02 Will Newton <will.newton@linaro.org>
16163 * malloc/Makefile: Add tst-posix_memalign.
16164 * malloc/tst-posix_memalign.c: New file.
16166 2013-10-01 Eric Blake <eblake@redhat.com>
16168 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16169 Use __THROWNL rather than __THROW on static functions.
16171 2013-09-30 Petr Machata <pmachata@redhat.com>
16173 * elf/elf.h (R_AARCH64_ABS16): New macro.
16174 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16175 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16176 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16177 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16178 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16179 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16180 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16181 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16182 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16183 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16184 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16185 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16186 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16187 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16188 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16189 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16190 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16191 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16192 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16193 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16194 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16195 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16196 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16197 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16198 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16199 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16200 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16201 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16202 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16203 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16204 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16205 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16206 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16207 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16208 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16209 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16210 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16211 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16212 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16213 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16214 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16215 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16216 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16217 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16218 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16219 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16220 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16221 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16222 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16223 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16224 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16225 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16226 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16227 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16228 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16229 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16230 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16231 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16232 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16233 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16234 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16235 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16236 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16237 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16238 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16239 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16240 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16241 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16242 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16243 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16244 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16245 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16246 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16247 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16248 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16249 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16250 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16251 (R_AARCH64_TLSDESC_LDR): Likewise.
16252 (R_AARCH64_TLSDESC_ADD): Likewise.
16253 (R_AARCH64_TLSDESC_CALL): Likewise.
16255 2013-09-30 Andreas Schwab <schwab@suse.de>
16258 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16259 the nss database lookup.
16260 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16261 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16263 2013-09-28 Mike Frysinger <vapier@gentoo.org>
16265 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16267 2013-09-28 P. J. McDermott <pj@pehjota.net>
16269 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16270 ${Bash-specific parameter/pattern/string} parameter expansion.
16271 * sysdeps/unix/make-syscalls.sh: Likewise.
16273 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16275 * sysdeps/sh/stackguard-macros.h: New file.
16277 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
16279 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16280 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16281 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16282 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16283 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16284 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16286 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16288 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16289 Fix thread ID register.
16291 2013-09-25 Joseph Myers <joseph@codesourcery.com>
16293 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16294 [POSIX || UNIX98]: Require rather than permitting all symbols from
16296 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16297 element of struct sched_param.
16298 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16299 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16300 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16301 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16304 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
16306 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16307 argument calculation.
16309 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16311 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16313 [POSIX] (pthread_attr_t): Do not require type.
16314 [POSIX] (pthread_cond_t): Likewise.
16315 [POSIX] (pthread_condattr_t): Likewise.
16316 [POSIX] (pthread_key_t): Likewise.
16317 [POSIX] (pthread_mutex_t): Likewise.
16318 [POSIX] (pthread_mutexattr_t): Likewise.
16319 [POSIX] (pthread_once_t): Likewise.
16320 [POSIX] (pthread_t): Likewise.
16321 [POSIX-based standards] (pthread_atfork): Expect function.
16323 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16324 Richard Sandiford <richard@codesourcery.com>
16326 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16327 (swap_endianness_p): New extern variable.
16328 (set_big_endian): New inline function.
16329 (maybe_swap_uint32): Likewise.
16330 (maybe_swap_uint32_array): Likewise.
16331 (maybe_swap_uint32_obstack): Likewise.
16332 * locale/programs/locfile.c: Include <stdbool.h>.
16333 (swap_endianness_p): New variable.
16334 (add_locale_uint32): Call maybe_swap_uint32.
16335 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16336 (write_locale_data): Call maybe_swap_uint32_array.
16337 * locale/programs/ld-collate.c (obstack_int32_grow): Call
16339 (obstack_int32_grow_fast): Likewise.
16340 (output_weightwc): Call maybe_swap_uint32_obstack.
16341 (collate_output): Likewise.
16342 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16343 (OPT_LITTLE_ENDIAN): Likewise.
16344 (options): Add --little-endian and --big-endian options.
16345 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16346 * locale/programs/locarchive.c: Include "locfile.h".
16350 (create_archive): Use the new macros to access fields of
16351 structures directly mapped from or written to locale archives.
16352 (oldlocrecentcmp): Likewise.
16353 (enlarge_archive): Likewise.
16354 (insert_name): Likewise.
16355 (add_alias): Likewise.
16356 (add_locale): Likewise.
16357 (delete_locales_from_archive): Likewise.
16358 (show_archive_content): Likewise.
16359 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
16362 2013-09-24 Roland McGrath <roland@hack.frob.com>
16364 * manual/freemanuals.texi: Updated from (newly) canonical copy at
16365 http://www.gnu.org/doc/freemanuals.texi.
16366 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16368 2013-09-24 Will Newton <will.newton@linaro.org>
16370 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16373 2013-09-23 Joseph Myers <joseph@codesourcery.com>
16375 * locale/hashval.h (compute_hashval): Interpret bytes of key as
16378 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
16380 * manual/threads.texi (POSIX Threads): Fix a typo.
16382 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16385 * string/tst-strcoll-overflow.c: New test case.
16386 * string/Makefile (xtests): Add tst-strcoll-overflow.
16387 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16388 cache if string sizes may cause integer overflow.
16391 * string/strcoll_l.c (coll_seq): New members rule, idx,
16392 save_idx and back_us.
16393 (get_next_seq_nocache): New function.
16394 (do_compare_nocache): New function.
16395 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16398 2013-09-23 Carlos O'Donell <carlos@redhat.com>
16401 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16402 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16403 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16406 * elf/Makefile (tests): Add tst-ptrguard1.
16407 (tests-static): Add tst-ptrguard1-static.
16408 (tst-ptrguard1-ARGS): Define.
16409 (tst-ptrguard1-static-ARGS): Define.
16410 * elf/tst-ptrguard1.c: New file.
16411 * elf/tst-ptrguard1-static.c: New file.
16412 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16413 * sysdeps/i386/stackguard-macros.h: Likewise.
16414 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16415 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16416 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16417 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16418 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16419 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16421 2013-09-23 Hector Marco <hecmargi@upv.es>
16422 Ismael Ripoll <iripoll@disca.upv.es>
16423 Carlos O'Donell <carlos@redhat.com>
16426 * sysdeps/generic/stackguard-macros.h: Define
16427 __pointer_chk_guard_local and POINTER_CHK_GUARD.
16428 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16429 Define __pointer_chk_guard_local.
16430 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16431 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16433 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
16436 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16438 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
16440 * include/string.h (__ffs): Declare as hidden.
16441 * string/ffs.c (__ffs): Define as hidden.
16442 * sysdeps/i386/ffs.c (__ffs): Likewise.
16443 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16444 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16445 * sysdeps/s390/ffs.c (__ffs): Likewise.
16446 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16448 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
16450 * NEWS: Mention malloc probes.
16452 * malloc/arena.c (new_heap): New memory_heap_new probe.
16453 (grow_heap): New memory_heap_more probe.
16454 (shrink_heap): New memory_heap_less probe.
16455 (heap_trim): New memory_heap_free probe.
16456 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16457 (systrim): New memory_sbrk_less probe.
16458 * manual/probes.texi: Document them.
16460 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16461 * manual/probes.texi: Document it.
16463 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16464 (__libc_realloc): Add memory_realloc_retry probe.
16465 (__libc_memalign): Add memory_memalign_retry probe.
16466 (__libc_valloc): Add memory_valloc_retry probe.
16467 (__libc_pvalloc): Add memory_pvalloc_retry probe.
16468 (__libc_calloc): Add memory_calloc_retry probe.
16469 * manual/probes.texi: Document them.
16471 * malloc/arena.c (get_free_list): Add probe
16472 memory_arena_reuse_free_list.
16473 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16474 and memory_arena_reuse.
16475 (arena_get2) [!PER_THREAD]: Likewise.
16476 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16477 memory_arena_reuse_realloc.
16478 * manual/probes.texi: Document them.
16480 * malloc/malloc.c (__libc_free): Add
16481 memory_mallopt_free_dyn_thresholds probe.
16482 (__libc_mallopt): Add multiple memory_mallopt probes.
16483 * manual/probes.texi: Document them.
16485 * malloc/malloc.c: Include stap-probe.h.
16486 (__libc_mallopt): Add memory_mallopt probe.
16487 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16488 * manual/probes.texi: New.
16489 * manual/Makefile (chapters): Add probes.
16490 * manual/threads.texi: Set next node.
16492 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
16494 [BZ #15963, #13985]
16495 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16496 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16497 Add `Chinese' to `nan' entry name.
16499 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16501 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16502 (POLYNOMIAL): Likewise.
16503 (TAYLOR_SINCOS): Likewise.
16504 (TAYLOR_SLOW): Likewise.
16505 (__sin): Use TAYLOR_SINCOS.
16507 (slow): Use TAYLOR_SLOW.
16509 (bsloww): Likewise.
16510 (csloww): Likewise.
16512 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16514 * stdlib/strtod_l.c: Fix buffer overrun.
16516 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16518 * benchtests/Makefile (bench): Add sincos.
16519 * benchtests/bench-sincos.c: New file.
16521 * math/libm-test.inc (cos_test_data): New test inputs.
16522 (sin_test_data): Likewise.
16524 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16530 (sloww1): Likewise.
16531 (sloww2): Likewise.
16532 (bsloww1): Likewise.
16533 (bsloww2): Likewise.
16534 (cslow2): Likewise.
16535 (csloww1): Likewise.
16536 (csloww2): Likewise.
16538 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16543 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16547 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16549 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16550 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16551 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16552 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16553 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16554 * elf/cache.c (print_entry): Handle the new cache flags.
16556 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16557 Aldy Hernandez <aldyh@redhat.com>
16559 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16560 Change condition to [_SOFT_FLOAT].
16561 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16562 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16563 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16564 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16565 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16566 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16567 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16568 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16569 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16570 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16571 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16572 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16573 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16574 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16575 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16576 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16579 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16581 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16582 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16583 (__longjmp): Use LOAD_GP to load saved GPRs.
16584 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16585 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16586 (__sigsetjmp): Use SAVE_GP to save GPRs.
16588 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16589 Do not append -msoft-float.
16590 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16592 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16594 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16596 2013-09-17 Joseph Myers <joseph@codesourcery.com>
16599 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16600 (_FPU_GETCW): Use initial "__" on variable and field names but not
16601 on macro parameter name.
16602 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16603 parentheses around reference to macro parameter.
16605 2013-09-13 Richard Sandiford <richard@codesourcery.com>
16607 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16609 (ctype_startup): Use uint32_t in cast and sizeof for
16612 2013-09-11 Jia Liu <proljc@gmail.com>
16614 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16616 [__FreeBSD__]: Likewise.
16618 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
16620 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16621 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16622 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16623 (strchr): Remove __strchr_sse42 ifunc selection.
16624 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16625 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16627 2013-09-11 Will Newton <will.newton@linaro.org>
16629 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16630 parameter to RES. Remove hardcoded 1000 value.
16631 * benchtests/bench-skeleton.c (main): Pass RES parameter
16632 to TIMING_INIT and multiply result by 1000.
16634 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16636 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16638 2013-09-11 Andreas Schwab <schwab@suse.de>
16640 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16642 (O_TMPFILE) [__USE_GNU]: Define.
16643 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16646 2013-09-11 Will Newton <will.newton@linaro.org>
16649 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16652 2013-09-11 Will Newton <will.newton@linaro.org>
16655 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16658 2013-09-11 Will Newton <will.newton@linaro.org>
16661 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16664 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
16666 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16667 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16668 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16669 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16670 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16672 2013-09-10 Allan McRae <allan@archlinux.org>
16675 * manual/arith.texi (Parsing of Floats): Clarify
16679 * manual/install.texi (Running make install): Mention
16681 * INSTALL: Regenerated.
16683 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16685 * csu/init-first.c (_init): Remove the !SHARED condition around
16686 FPU control word initialization.
16687 * elf/dl-support.c (_dl_fpu_control): New variable.
16688 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16689 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16690 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16691 * math/test-fpucw-static.c: New file.
16692 * math/test-fpucw-ieee.c: New file.
16693 * math/test-fpucw-ieee-static.c: New file.
16694 * math/Makefile (tests): Add `test-fpucw-ieee' and
16696 (tests-static): New variable.
16697 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16699 [($(build-shared),yes)]
16700 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16702 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16705 2013-09-09 Allan McRae <allan@archlinux.org>
16708 * manual/string.texi (Collation Functions): Fix typo in
16710 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16713 * stdlib/isomac.c (get_null_defines): Fix memory leak.
16716 * libio/memstream.c (open_memstream): Fix memory leak.
16717 * libio/wmemstream.c (open_wmemstream): Likewise.
16720 * nscd/netgroupcache.c: Fix nesting of ifdefs.
16722 2013-09-09 Will Newton <will.newton@linaro.org>
16724 * malloc/Makefile: Add tst-realloc to tests.
16725 * malloc/tst-realloc.c: New file.
16727 2013-09-09 Allan McRae <allan@archlinux.org>
16730 * COPYING: Update from GNU website to fix FSF address.
16731 * COPYING.LIB: Likewise.
16733 2013-09-06 David S. Miller <davem@davemloft.net>
16735 * po/zh_TW.po: Update Chinese (traditional) translation from
16736 translation project.
16738 2013-09-06 Richard Sandiford <richard@codesourcery.com>
16739 Joseph Myers <joseph@codesourcery.com>
16741 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16743 (obstack_chunk_alloc): New macro.
16744 (obstack_chunk_free): Likewise.
16745 (record_offset): New function.
16746 (init_locale_data): Likewise.
16747 (align_locale_data): Likewise.
16748 (add_locale_empty): Likewise.
16749 (add_locale_raw_data): Likewise.
16750 (add_locale_raw_obstack): Likewise.
16751 (add_locale_string): Likewise.
16752 (add_locale_wstring): Likewise.
16753 (add_locale_uint32): Likewise.
16754 (add_locale_uint32_array): Likewise.
16755 (add_locale_char): Likewise.
16756 (start_locale_structure): Likewise.
16757 (end_locale_structure): Likewise.
16758 (start_locale_prelude): Likewise.
16759 (end_locale_prelude): Likewise.
16760 (write_locale_data): Take locale_file structure rather than an
16762 * locale/programs/locfile.h: Include "obstack.h".
16763 (struct locale_file): Change to store locale file contents instead
16765 (init_locale_data): New prototype.
16766 (align_locale_data): Likewise.
16767 (add_locale_empty): Likewise.
16768 (add_locale_raw_data): Likewise.
16769 (add_locale_raw_obstack): Likewise.
16770 (add_locale_string): Likewise.
16771 (add_locale_wstring): Likewise.
16772 (add_locale_uint32): Likewise.
16773 (add_locale_uint32_array): Likewise.
16774 (add_locale_char): Likewise.
16775 (start_locale_structure): Likewise.
16776 (end_locale_structure): Likewise.
16777 (start_locale_prelude): Likewise.
16778 (end_locale_prelude): Likewise.
16779 (write_locale_data): Update prototype.
16780 * locale/programs/3level.h (struct TABLE): Remove result field.
16781 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16782 Use new locale_file interface.
16783 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16784 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16785 * locale/programs/ld-address.c (address_output): Use new
16786 locale_file interface.
16787 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16789 (collate_finish): Don't call collseq_table_finalize.
16790 (collate_output): Use new locale_file interface.
16791 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16793 (NO_FINALIZE): Change to NO_ADD_LOCALE.
16794 (TABLE): Move defines earlier in file.
16795 (ELEMENT): Likewise.
16796 (DEFAULT): Likewise.
16797 (wctrans_table_add): Move macro and inline function earlier in
16799 (struct wctype_table): Move type earlier in file.
16800 (add_locale_wctype_table): New static prototype.
16801 (struct locale_ctype_t): Use logical types instead of struct iovec
16802 pointers for members.
16803 (ctype_output): Use new locale_file interface.
16804 (wctype_table_finalize): Change to add_locale_wctype_table. Use
16805 new locale_file interface.
16806 (allocate_arrays): Update for use of new locale_file interface.
16807 * locale/programs/ld-identification.c (identification_output): Use
16808 new locale_file interface.
16809 * locale/programs/ld-measurement.c (measurement_output): Likewise.
16810 * locale/programs/ld-messages.c (messages_output): Likewise.
16811 * locale/programs/ld-monetary.c (monetary_output): Likewise.
16812 * locale/programs/ld-name.c (name_output): Likewise.
16813 * locale/programs/ld-numeric.c (numeric_output): Likewise.
16814 * locale/programs/ld-paper.c (paper_output): Likewise.
16815 * locale/programs/ld-telephone.c (telephone_output): Likewise.
16816 * locale/programs/ld-time.c (time_output): Likewise.
16818 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16820 * benchtests/Makefile: Add memrchr benchmark.
16821 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16822 benchmark as memrchr.
16823 * benchtests/bench-memrchr-ifunc.c: New file.
16824 * benchtests/bench-memrchr.c: New file.
16826 2013-09-06 Will Newton <will.newton@linaro.org>
16828 * benchtests/Makefile (string-bench): Add memcpy.
16830 2013-09-05 Carlos O'Donell <carlos@redhat.com>
16831 Cong Wang <amwang@redhat.com>
16834 * sysdeps/unix/sysv/linux/bits/in.h
16835 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16836 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16837 before __USE_KERNEL_IPV6_DEFS uses.
16838 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16840 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16841 sockaddr_in6, or ipv6_mreq.
16843 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16845 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16846 memory access for final bytes in some large inputs.
16847 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16849 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16851 * string/test-memrchr.c: New file.
16852 * string/test-memrchr-ifunc.c: New file.
16853 * string/Makefile: Add new memrchr testcase.
16855 2013-09-05 Mike Frysinger <vapier@gentoo.org>
16857 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16858 fanotify_init returns EPERM.
16860 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16862 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16864 (top level): Treat second token from macro or constant entries for
16865 allowed headers as allowed.
16866 * include/complex.h: Condition internal declarations on
16868 * include/fenv.h: Condition include of <stdbool.h> and internal
16869 declarations on [!_ISOMAC].
16871 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
16874 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16876 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16878 * configure.in (--enable-versioning): Remove configure option.
16879 (libc_cv_asm_symver_directive): Remove configure test.
16880 (libc_cv_ld_version_script_option): Likewise.
16881 (VERSIONING): Remove variable and AC_SUBST.
16882 (DO_VERSIONING): Remove AC_DEFINE.
16883 * configure: Regenerated.
16884 * config.h.in (DO_VERSIONING): Remove macro.
16885 * Makerules [$(versioning) = yes]: Change conditionals to
16886 [$(build-shared) = yes].
16887 * config.make.in (versioning): Remove variable.
16888 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16889 [$(build-shared) = yes].
16890 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16891 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16892 * elf/Makefile [$(versioning) = yes]: Change conditionals to
16893 [$(build-shared) = yes].
16894 * extra-lib.mk [$(versioning) = yes]: Likewise.
16895 * hurd/Makefile [$(versioning) = yes]: Likewise.
16896 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16898 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16900 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16901 [SHARED && !NO_HIDDEN].
16902 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16904 [SHARED && DO_VERSIONING]: Likewise..
16905 * libio/Makefile [$(versioning) = yes]: Change conditionals to
16906 [$(build-shared) = yes].
16907 * manual/install.texi (--disable-versioning): Remove
16909 * INSTALL: Regenerated.
16910 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16912 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16913 [$(build-shared) = yes].
16914 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16915 * sysdeps/i386/i686/multiarch/strstr-c.c
16916 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16917 [SHARED && !NO_HIDDEN].
16918 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16919 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16920 * sysdeps/powerpc/powerpc32/dl-machine.c
16921 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16922 * sysdeps/powerpc/powerpc32/sysdep.h
16923 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16924 to [SHARED && PIC && !NO_HIDDEN].
16925 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16926 conditional to [SHARED].
16928 2013-09-04 Will Newton <will.newton@linaro.org>
16930 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16931 * benchtests/bench-string.h: Include bench-timing.h instead
16932 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16933 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16934 call to HP_TIMING_DIFF_INIT.
16935 * benchtests/bench-memccpy.c: Use bench-timing.h macros
16936 instead of hp-timing.h macros.
16937 * benchtests/bench-memchr.c: Likewise.
16938 * benchtests/bench-memcmp.c: Likewise.
16939 * benchtests/bench-memcpy.c: Likewise.
16940 * benchtests/bench-memmem.c: Likewise.
16941 * benchtests/bench-memmove.c: Likewise.
16942 * benchtests/bench-memset.c: Likewise.
16943 * benchtests/bench-rawmemchr.c: Likewise.
16944 * benchtests/bench-strcasecmp.c: Likewise.
16945 * benchtests/bench-strcasestr.c: Likewise.
16946 * benchtests/bench-strcat.c: Likewise.
16947 * benchtests/bench-strchr.c: Likewise.
16948 * benchtests/bench-strcmp.c: Likewise.
16949 * benchtests/bench-strcpy.c: Likewise.
16950 * benchtests/bench-strcpy_chk.c: Likewise.
16951 * benchtests/bench-strlen.c: Likewise.
16952 * benchtests/bench-strncasecmp.c: Likewise.
16953 * benchtests/bench-strncat.c: Likewise.
16954 * benchtests/bench-strncmp.c: Likewise.
16955 * benchtests/bench-strncpy.c: Likewise.
16956 * benchtests/bench-strnlen.c: Likewise.
16957 * benchtests/bench-strpbrk.c: Likewise.
16958 * benchtests/bench-strrchr.c: Likewise.
16959 * benchtests/bench-strspn.c: Likewise.
16960 * benchtests/bench-strstr.c: Likewise.
16962 2013-09-04 Will Newton <will.newton@linaro.org>
16964 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16966 2013-09-03 Joseph Myers <joseph@codesourcery.com>
16969 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16970 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16971 * math/libm-test.inc (lgamma_test_data): Add more tests.
16972 * sysdeps/i386/fpu/libm-test-ulps: Update.
16973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16975 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
16977 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16978 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16980 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16981 Add strcmp-sse2-unaligned
16982 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16984 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16986 * Versions.def (libc): Add GLIBC_2.19.
16988 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16990 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16991 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16993 2013-09-02 Joseph Myers <joseph@codesourcery.com>
16996 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16997 intermediate calculations in recurrence.
16998 (__ieee754_ynf): Likewise.
16999 * math/libm-test.inc (jn_test_data): Do not allow spurious
17000 underflow exception. Add more tests.
17001 (yn_test_data): Add more tests.
17002 * sysdeps/i386/fpu/libm-test-ulps: Update.
17003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17005 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
17007 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17009 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17011 * csu/init-first.c: Fix then/than typos.
17012 * locale/programs/ld-collate.c: Likewise.
17013 * locale/programs/linereader.h: Likewise.
17014 * manual/charset.texi: Likewise.
17015 * manual/filesys.texi: Likewise.
17016 * manual/stdio.texi: Likewise.
17017 * manual/string.texi: Likewise.
17018 * stdlib/fmtmsg.c: Likewise.
17019 * sysdeps/i386/stpncpy.S: Likewise.
17020 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17021 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17022 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17023 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17025 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17027 * elf/dl-open.c: Fix typos.
17028 * iconvdata/gbbig5.c: Likewise.
17029 * iconvdata/iso-2022-jp.c: Likewise.
17030 * iconv/gconv_int.h: Likewise.
17031 * iconv/loop.c: Likewise.
17032 * nis/rpcsvc/nis.h: Likewise.
17033 * resolv/ns_name.c: Likewise.
17034 * stdio-common/vfscanf.c: Likewise.
17035 * streams/stropts.h: Likewise.
17036 * sunrpc/rpc_thread.c: Likewise.
17037 * sysdeps/i386/strpbrk.S: Likewise.
17038 * sysdeps/ieee754/k_standard.c: Likewise.
17039 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17040 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17041 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17042 * sysdeps/mach/hurd/profil.c: Likewise.
17043 * sysdeps/s390/dl-procinfo.h: Likewise.
17044 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17045 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17046 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17047 * sysdeps/x86_64/dl-trampoline.S: Likewise.
17048 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17050 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17052 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17053 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17055 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17057 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17058 aix specific files.
17059 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17060 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17061 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17062 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17063 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17064 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17065 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17066 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17068 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17069 Roland McGrath <roland@hack.frob.com>
17071 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17072 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17074 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17076 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17077 __executable_start symbol instead of _start.
17079 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17081 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17082 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17084 * sysdeps/gnu/ldsodefs.h: ... this new file.
17086 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17087 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17088 instead of ELFOSABI_LINUX.
17090 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17091 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17092 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17093 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17095 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17096 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17097 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17099 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17100 (ibm_extended_long_double): Add ieee_nan member.
17101 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17102 (do_test): New function.
17104 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17106 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17107 functions, renamed from truncdfsf_test, trunctfsf_test,
17109 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17111 (do_test): Run all these.
17113 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17115 * argp/argp-help.c: Fix typos.
17116 * argp/argp-parse.c: Likewise.
17117 * debug/backtracesyms.c: Likewise.
17118 * elf/elf.h: Likewise.
17119 * malloc/malloc.c: Likewise.
17120 * nis/nis_print.c: Likewise.
17121 * resolv/res_comp.c: Likewise.
17122 * stdlib/stdlib.h: Likewise.
17123 * sunrpc/clnt_tcp.c: Likewise.
17124 * sunrpc/clnt_udp.c: Likewise.
17125 * sunrpc/clnt_unix.c: Likewise.
17126 * sysdeps/unix/bsd/ptsname.c: Likewise.
17127 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17128 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17135 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17137 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17139 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17140 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17142 2013-08-27 Mike Frysinger <vapier@gentoo.org>
17145 * dlfcn/Makefile (tests): Add bug-dl-leaf.
17146 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17147 ($(objpfx)bug-dl-leaf): New rule.
17148 ($(objpfx)bug-dl-leaf.so): Likewise.
17149 ($(objpfx)bug-dl-leaf.out): Likewise.
17150 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17151 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17152 * dlfcn/bug-dl-leaf.c: New test.
17153 * dlfcn/bug-dl-leaf-lib.c: Likewise.
17154 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17155 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17156 (dlclose): Likewise.
17157 (dlmopen): Likewise.
17159 2013-08-27 Roland McGrath <roland@hack.frob.com>
17161 * include/netdb.h [!_ISOMAC]:
17162 Don't include <tls.h>.
17163 (h_errno, __libc_h_errno): Move declaration and macros out of
17166 * include/resolv.h [_RESOLV_H_]:
17167 Don't include <tls.h>.
17168 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17169 * resolv/res_libc.c: Don't include <tls.h>.
17170 (_res): Use __attribute__ ((nocommon)) in place of
17171 __attribute__ ((section (".bss"))).
17173 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17174 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17176 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17178 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17179 only under [SIOCGIFCONF && SIOCGIFNETMASK].
17181 * resolv/res_mkquery.c: Include <sys/time.h>.
17183 * inet/ifreq.c: Moved to ...
17184 * sysdeps/unix/ifreq.c: ... here.
17185 * inet/ifreq.c: New file, true stub version.
17187 * socket/sa_len.c: New file.
17188 * socket/Makefile (aux): Add it.
17189 * sysdeps/unix/sysv/linux/Makefile
17190 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17191 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17192 and #include <socket/sa_len.c>.
17193 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17194 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17196 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17197 * bits/socket.h: ... here.
17199 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17200 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17201 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17203 2013-08-27 Andreas Schwab <schwab@suse.de>
17206 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17207 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17208 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17209 * string/test-strcasecmp.c (test_main): Run tests in several
17211 * string/test-strncasecmp.c (test_main): Likewise.
17213 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17214 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17215 to __strcasecmp_nonascii and __strncasecmp_nonascii.
17216 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17217 (__strncasecmp_ssse3) [PIC]: Likewise.
17219 2013-08-26 Roland McGrath <roland@hack.frob.com>
17221 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17223 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17224 instead of explicitly declaring xdecrypt.
17225 * nis/nss_nis/nis-publickey.c: Likewise.
17227 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17230 * nscd/aicache.c: Include res_hconf.h.
17231 (addhstaiX): Initialize res_hconf.
17233 2013-08-26 Andreas Schwab <schwab@suse.de>
17235 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17236 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17238 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17240 * nscd/aicache.c (addhstaiX): Fix indentation.
17242 2013-08-25 Mike Frysinger <vapier@gentoo.org>
17244 * configure.ac: Quote $build_pt_chown test.
17245 * configure: Regenerated.
17247 2013-08-23 Joseph Myers <joseph@codesourcery.com>
17250 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17251 * math/s_cexpf.c (__cexpf): Likewise.
17252 * math/s_cexpl.c (__cexpl): Likewise.
17253 * math/libm-test.inc (cexp_test_data): Correct expected return
17254 value for NaN + i0. Add another test.
17256 2013-08-22 David S. Miller <davem@davemloft.net>
17258 * po/ca.po: Update Catalan translation from translation project.
17259 * po/uk.po: Add Ukrainian translations from translation project.
17261 2013-08-21 Joseph Myers <joseph@codesourcery.com>
17264 * math/s_fdim.c (__fdim): Check for infinite arguments if result
17265 is infinite, not alongside NaN test.
17266 * math/s_fdimf.c (__fdimf): Likewise.
17267 * math/s_fdiml.c (__fdiml): Likewise.
17268 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
17269 errno is unchanged.
17271 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
17273 * argp/argp-help.c: Fix typos.
17274 * crypt/speeds.c: Likewise.
17275 * csu/check_fds.c: Likewise.
17276 * elf/dl-load.c: Likewise.
17277 * elf/dl-open.c: Likewise.
17278 * elf/reldep3.c: Likewise.
17279 * elf/reldep.c: Likewise.
17280 * elf/sprof.c: Likewise.
17281 * iconv/iconv_charmap.c: Likewise.
17282 * iconv/skeleton.c: Likewise.
17283 * iconv/strtab.c: Likewise.
17284 * io/lockf64.c: Likewise.
17285 * libio/libioP.h: Likewise.
17286 * resolv/gai_notify.c: Likewise.
17287 * resolv/ns_name.c: Likewise.
17288 * resolv/ns_samedomain.c: Likewise.
17289 * resolv/res_send.c: Likewise.
17290 * stdlib/random.c: Likewise.
17291 * sunrpc/rpc/xdr.h: Likewise.
17292 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17293 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17294 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17295 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17296 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17297 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17298 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17299 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17300 * sysdeps/mach/hurd/check_fds.c: Likewise.
17301 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17302 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17303 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17304 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17305 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17306 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17307 * sysdeps/pthread/aio_notify.c: Likewise.
17308 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17309 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17310 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17311 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17312 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17314 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17316 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17317 version if bit_Slow_SSE4_2 is set.
17318 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17319 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17321 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17324 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17325 trampoline stack frame information.
17326 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17327 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17328 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17329 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17330 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17331 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17332 (_libc_vdso_platform_setup): Initialize the signal trampolines.
17333 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17335 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17336 interrupting a syscall and set with option SA_SIGINFO.
17338 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17341 * math/s_cproj.c (__cproj): Only return an infinity if one part of
17342 argument is infinite.
17343 * math/s_cprojf.c (__cprojf): Likewise.
17344 * math/s_cprojl.c (__cprojl): Likewise.
17345 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17346 * math/libm-test.inc (cproj_test_data): Add more tests.
17348 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17350 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17351 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17352 size. Use __ffs to determine corresponding shift.
17354 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17355 Roland McGrath <roland@hack.frob.com>
17357 * Makefile (INSTALL): Remove trailing blank lines from output of
17360 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17362 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17363 Align 32 bit compat elf_greg to 8 bytes.
17365 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17367 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17369 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17371 * string/strcoll_l.c (coll_seq): New structure.
17372 (get_next_seq_cached): New function.
17373 (get_next_seq): New function.
17374 (do_compare): New function.
17375 (STRCOLL): Use GNU style definition. Simplify implementation
17376 by using get_next_seq, get_next_seq_cached and do_compare.
17378 2013-08-16 Florian Weimer <fweimer@redhat.com>
17382 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17384 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17386 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17387 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17388 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
17390 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17391 GETDENTS_64BIT_ALIGNED.
17392 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17393 * manual/filesys.texi (Reading/Closing Directory): Document
17394 ENAMETOOLONG return value of readdir_r. Recommend readdir more
17396 * manual/conf.texi (Limits for Files): Add portability note to
17397 NAME_MAX, PATH_MAX.
17398 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17400 2013-08-13 Andreas Schwab <schwab@suse.de>
17403 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17405 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17406 LDBL_MAX_EXP >= 16384]: Add tests for it.
17408 2013-08-12 David S. Miller <davem@davemloft.net>
17410 * version.h (RELEASE): Set to "development".
17411 (VERSION): Set to "2.18.90".
17412 * NEWS: Add 2.19 section.
17414 2013-08-03 David S. Miller <davem@davemloft.net>
17416 * po/ko.po: Update Korean translation from translation project.
17418 2013-08-01 David S. Miller <davem@davemloft.net>
17420 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
17421 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17424 2013-07-30 David S. Miller <davem@davemloft.net>
17426 * po/fr.po: Update French translation from translation project.
17428 2013-07-28 David S. Miller <davem@davemloft.net>
17430 * po/cs.po: Update Czech translation from translation project.
17432 * po/sv.po: Update Swedish translation from translation project.
17434 2013-07-27 David S. Miller <davem@davemloft.net>
17436 * po/eo.po: Update Esperanto translation from translation project.
17438 * po/vi.po: Update Vietnamese translation from translation project.
17440 * po/de.po: Update German translation from translation project.
17442 2013-07-26 David S. Miller <davem@davemloft.net>
17444 * po/bg.po: Update Bulgarian translation from translation project.
17446 * po/nl.po: Update Dutch translation from translation project.
17447 * po/pl.po: Update Polish translation from translation project.
17448 * po/ru.po: Update Russian translation from translation project.
17450 2013-07-24 David S. Miller <davem@davemloft.net>
17452 * po/libc.pot: Update.
17454 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17456 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17457 variable page size.
17458 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17459 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17460 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17462 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17464 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17466 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17467 Andreas Schwab <schwab@suse.de>
17468 Roland McGrath <roland@hack.frob.com>
17469 Joseph Myers <joseph@codesourcery.com>
17470 Carlos O'Donell <carlos@redhat.com>
17473 * config.h.in: Define HAVE_PT_CHOWN.
17474 * config.make.in (build-pt-chown): New variable.
17475 * configure.in (--enable-pt_chown): New configure option.
17476 * configure: Regenerate.
17477 * login/Makefile: Include Makeconfig. Build pt_chown only if
17478 build-pt-chown is enabled.
17479 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17480 pt_chown to fix pty ownership.
17481 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17483 * manual/install.texi (Configuring and compiling): Mention
17484 --enable-pt_chown. Add @findex for grantpt.
17485 * INSTALL: Regenerate.
17487 2013-07-20 David S. Miller <davem@davemloft.net>
17489 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17490 difference between 32-bit and 64-bit.
17492 2013-07-15 Carlos O'Donell <carlos@redhat.com>
17495 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17496 Avoid system header dependency with -ffreestanding.
17497 ($(objpfx)bits/syscall%d): Likewise.
17499 2013-07-13 David S. Miller <davem@davemloft.net>
17501 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17502 underflows from atanl/atan2l due to bug 15319.
17503 (casinh_test_data): Likewise.
17505 2013-07-07 David S. Miller <davem@davemloft.net>
17507 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17509 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17511 * sysdeps/i386/fpu/libm-test-ulps: Update.
17512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17514 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17516 * configure.in (--enable-lock-elision): Fix message text.
17517 * INSTALL: Regenerate.
17518 * configure: Regenerate.
17520 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17524 2013-07-03 Andreas Jaeger <aj@suse.de>
17526 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17528 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17529 (ptrace_peeksiginfo_args): Add.
17530 (__ptrace_peeksiginfo_flags): Add.
17531 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17532 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17533 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17535 2013-07-03 Allan McRae <allan@archlinux.org>
17537 * sysdeps/i386/fpu/libm-test-ulps: Update.
17539 2013-07-02 David S. Miller <davem@davemloft.net>
17541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17543 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17545 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17547 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17549 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17552 2013-07-02 Andi Kleen <ak@linux.intel.com>
17554 * config.h.in (ENABLE_LOCK_ELISION): Add.
17555 * configure.in (--enable-lock-elision): Add option.
17556 * manual/install.texi: Document --enable lock elision.
17557 * configure: Regenerate
17558 * INSTALL: Regenerate.
17560 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17562 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17563 SSE4.2 strcasecmp for libc.a.
17564 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17566 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17569 * soft-fp/op-common.h (_FP_FMA): New macro.
17570 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17571 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17572 (_FP_MUL_MEAT_1_imm): ... here.
17573 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17574 (_FP_MUL_MEAT_1_wide): ... here.
17575 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17576 (_FP_MUL_MEAT_1_hard): ... here.
17577 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17578 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17579 (_FP_MUL_MEAT_2_wide): ... here.
17580 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17581 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17582 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17583 (_FP_MUL_MEAT_2_gmp): ... here.
17584 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17585 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17586 (_FP_MUL_MEAT_4_wide): ... here.
17587 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17588 (_FP_MUL_MEAT_4_gmp): ... here.
17589 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17590 (_FP_WFRACBITS_DW_S): Likewise.
17591 (_FP_WFRACXBITS_DW_S): Likewise.
17592 (_FP_HIGHBIT_DW_S): Likewise.
17593 (FP_FMA_S): Likewise.
17594 (_FP_FRAC_HIGH_DW_S): Likewise.
17595 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17596 (_FP_WFRACBITS_DW_D): Likewise.
17597 (_FP_WFRACXBITS_DW_D): Likewise.
17598 (_FP_HIGHBIT_DW_D): Likewise.
17599 (FP_FMA_D): Likewise.
17600 (_FP_FRAC_HIGH_DW_D): Likewise.
17601 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17602 (_FP_WFRACBITS_DW_E): Likewise.
17603 (_FP_WFRACXBITS_DW_E): Likewise.
17604 (_FP_HIGHBIT_DW_E): Likewise.
17605 (FP_FMA_E): Likewise.
17606 (_FP_FRAC_HIGH_DW_E): Likewise.
17607 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17608 (_FP_WFRACBITS_DW_Q): Likewise.
17609 (_FP_WFRACXBITS_DW_Q): Likewise.
17610 (_FP_HIGHBIT_DW_Q): Likewise.
17611 (FP_FMA_Q): Likewise.
17612 (_FP_FRAC_HIGH_DW_Q): Likewise.
17613 * soft-fp/fmasf4.c: New file.
17614 * soft-fp/fmadf4.c: Likewise.
17615 * soft-fp/fmatf4.c: Likewise.
17617 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17619 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17620 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17622 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17624 (index_Slow_SSE4_2): Likewise.
17625 (index_Prefer_PMINUB_for_stringop): Likewise.
17626 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17627 bit_Slow_SSE4_2 is set.
17628 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17629 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17631 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17633 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17634 rtld_global._dl_hwcap2.
17635 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17637 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17638 POWER8 feature descriptions defined in _dl_hwcap2.
17639 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17640 string handling for POWER8 feature bits.
17641 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17642 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17643 _dl_powerpc_cap_flags.
17644 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17645 * sysdeps/powerpc/rtld-global-offsets.sym
17646 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17647 _dl_hwcap2 in the rtld_global_ro structure.
17649 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17651 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17652 hardware capabilities in support of AT_HWCAP2.
17653 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17654 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17656 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17657 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17658 explicitly the unknown a_type display mechanism is used.
17659 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17660 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17662 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17663 to macro prototype for AT_HWCAP2 support.
17664 * sysdeps/i386/dl-procinfo.h: Likewise.
17665 * sysdeps/s390/dl-procinfo.h: Likewise.
17666 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17667 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17668 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17669 return -1 for unknown a_type display fallback.
17670 * sysdeps/sparc/dl-procinfo.h: Likewise.
17671 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17672 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17674 2013-06-28 Joseph Myers <joseph@codesourcery.com>
17676 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17677 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17679 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17682 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17683 mprotect making __stack_prot writable.
17685 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17686 Joseph Myers <joseph@codesourcery.com>
17688 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17689 as being properly aligned.
17691 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17693 * dlfcn/modstatic5.c: New file.
17694 * dlfcn/tststatic5.c: New file.
17695 * dlfcn/Makefile (tests): Add tststatic5.
17696 (tests-static): Likewise.
17697 (modules-names): Add modstatic5.
17698 (tststatic5-ENV): New variable.
17699 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17702 * elf/dl-support.c (_dl_main_map): New variable.
17703 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17704 (_dl_nns, _dl_load_adds): Set to 1.
17705 (_dl_initial_searchlist): Refer to _dl_main_map.
17706 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17707 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17708 call to _dl_get_origin.
17709 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17711 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17712 * dlfcn/modstatic3.c: New file.
17713 * dlfcn/tststatic3.c: New file.
17714 * dlfcn/tststatic4.c: New file.
17715 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17716 (tests-static): Likewise.
17717 (modules-names): Add modstatic3.
17718 (tststatic3-ENV, tststatic4-ENV): New variables.
17719 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17720 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17722 2013-06-26 Joseph Myers <joseph@codesourcery.com>
17724 * configure.in (CC): Require GCC version 4.4 or later.
17725 * configure: Regenerated.
17726 * manual/install.texi (Tools for Compilation): Update GCC version
17728 * INSTALL: Regenerated.
17730 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17733 * string/test-memcmp.c (check2): New.
17734 (main): Call check2.
17736 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17738 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
17741 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17743 (dl_open_worker) [!SHARED]: ... here.
17745 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17747 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17749 2013-06-25 Richard Henderson <rth@redhat.com>
17751 * locale/programs/locarchive.c: Include <libc-internal.h>
17753 2013-06-25 Joseph Myers <joseph@codesourcery.com>
17755 * manual/texinfo.tex: Update to version 2013-06-21.17, with
17756 trailing whitespace removed.
17758 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17761 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17762 * locale/programs/locarchive.c: Include libc-mmap.h.
17763 (prepare_address_space): Take two new outputs (the mmap base and len).
17764 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
17766 (create_archive): Declare new mmap base and len values for
17767 prepare_address_space, and store the result in ah.
17768 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17769 (enlarge_archive): If ah->mmap_base is not NULL, use that and
17770 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17771 Declare new mmap base and len values for
17772 prepare_address_space, and store the result in new_ah.
17773 (open_archive): Declare new mmap base and len values for
17774 prepare_address_space, and store the result in ah.
17775 (close_archive): If ah->mmap_base is not NULL, use that and
17776 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17777 * sysdeps/generic/libc-mmap.h: New file.
17779 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17781 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17782 (ALIGN_UP): Likewise.
17783 (PTR_ALIGN_DOWN): Likewise.
17784 (PTR_ALIGN_UP): Likewise.
17786 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17788 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17789 entry mapped to PPC_PLATFORM_POWER8.
17790 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17792 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17793 (_dl_string_platform): Add case for exporting platform position for
17795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17796 search path to sysdeps/powerpc/powerpc32/power8 directory.
17797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17798 search path to sysdeps/powerpc/powerpc64/power8 directory.
17799 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17800 power7 directories.
17801 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17802 power7 directories.
17804 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17806 * INSTALL: Regenerate.
17808 * nscd/connections.c (nscd_init): Fix comment.
17810 2013-06-22 Joseph Myers <joseph@codesourcery.com>
17812 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17815 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17816 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17818 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17820 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17822 (DL_DST_REQ_STATIC): Remove macro.
17824 2013-06-21 Joseph Myers <joseph@codesourcery.com>
17827 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17828 with a shift of 0 bits.
17830 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17832 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17835 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17838 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17840 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17842 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17843 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17844 accepts -fno-tree-loop-distribute-patterns.
17845 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17846 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17848 * string/memset.c (memset): Likewise.
17849 * string/test-memmove.c (simple_memmove): Disable loop transformation
17851 * string/test-memset.c (simple_memset): Likewise.
17852 * benchtests/bench-memmove.c (simple_memmove): Likewise.
17853 * benchtests/bench-memset.c (simple_memset): Likewise.
17854 * configure: Regenerated.
17856 2013-06-20 Joseph Myers <joseph@codesourcery.com>
17858 * math/test-misc.c (main): Ignore fesetround failure when failures
17859 of subsequent rounding tests would be ignored.
17862 * math/fedisblxcpt.c (fedisableexcept): Return 0.
17863 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17864 * math/fegetenv.c (__fegetenv): Return 0.
17865 * math/fegetexcept.c (fegetexcept): Return 0.
17866 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17868 * math/feholdexcpt.c (feholdexcept): Return 0.
17869 * math/fesetenv.c (__fesetenv): Return 0.
17870 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17871 argument FE_TONEAREST.
17872 * math/feupdateenv.c (__feupdateenv): Return 0.
17873 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17875 2013-06-18 Roland McGrath <roland@hack.frob.com>
17877 * elf/rtld-Rules (rtld-compile-command.S): New variable.
17878 (rtld-compile-command.s, rtld-compile-command.c): New variables.
17879 ($(objpfx)rtld-%.os rules): Use them.
17881 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17883 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17886 2013-06-17 Roland McGrath <roland@hack.frob.com>
17888 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17889 length of target pattern, then descending length of dependency pattern.
17890 * configure.in (AWK): Require gawk 3.1.2 or newer.
17891 * manual/install.texi (Tools for Compilation): Say that we do.
17892 * configure: Regenerated.
17894 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17895 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17896 * scripts/sysd-rules.awk: ... this new script.
17897 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17898 than a glob-style pattern.
17900 2013-06-17 Joseph Myers <joseph@codesourcery.com>
17902 * math/test-misc.c (main): Do not treat incorrectly rounded
17903 conversions as failure unless ROUNDING_TESTS passes.
17905 2013-06-15 Joseph Myers <joseph@codesourcery.com>
17908 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17909 restore exception state around main square root computation, then
17910 check for inexactness explicitly.
17912 * math/libm-test.inc (fma_test_data): Add another test.
17914 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17916 * manual/threads.texi (Non-POSIX Extensions): New document
17917 node. Document pthread_getattr_default_np and
17918 pthread_setattr_default_np.
17920 * Versions.def (libpthread): Add GLIBC_2.18.
17921 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17930 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17932 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17934 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17936 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17938 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17941 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17943 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17944 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17946 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17947 H.J. Lu <hjl.tools@gmail.com>
17950 * sysdeps/x86_64/rtld-memset.c: Remove file.
17951 * sysdeps/x86_64/rtld-memset.S: New file.
17953 2013-06-14 Joseph Myers <joseph@codesourcery.com>
17955 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17956 (test_in_one_mode): Take arguments for whether the rounding mode
17957 is supported for each floating-point type.
17958 (do_test): Pass new arguments to test_in_one_mode using
17961 2013-06-13 Roland McGrath <roland@hack.frob.com>
17963 * posix/tst-waitid.c (do_test): Distinguish different instances of
17964 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
17965 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17966 before entering the kernel for waitpid.
17968 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17970 * NEWS: Fix note on clock function precision. Text by Roland
17973 2013-06-13 Roland McGrath <roland@hack.frob.com>
17975 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17976 it into place only when and if the sanity check passes.
17978 2013-06-13 Joseph Myers <joseph@codesourcery.com>
17980 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17981 output for whether conversion result is exact. Take argument
17982 indicating whether type is IBM long double.
17983 (round_for_all): Change need_exact field to ibm_ld.
17984 * stdlib/tst-strtod-round.c (struct exactness): New type.
17985 (struct test): Change bool ld_ok field to struct exactness exact.
17986 (TEST): Update all definitions for change to field.
17987 (tests): Regenerate array contents.
17988 (test_in_one_mode): Take pointer to new field instead of old ld_ok
17989 field value. Check for IBM long double here.
17990 (do_test): Update calls to test_in_one_mode.
17992 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17995 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17996 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17998 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18001 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18002 generated by the compiler on loop optimizations.
18003 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18004 general definitions.
18006 2013-06-12 Joseph Myers <joseph@codesourcery.com>
18008 * math/bug-nextafter.c: Include <math-tests.h>.
18009 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18011 * math/bug-nexttoward.c: Include <math-tests.h>.
18012 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18014 * math/test-misc.c: Include <math-tests.h>.
18015 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18018 2013-06-12 Andreas Jaeger <aj@suse.de>
18020 * po/ia.po: Update Interlingua translation from translation
18023 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18025 * include/fenv.h: Include stdbool.h.
18026 (struct rm_ctx): New structure.
18027 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18029 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18030 (SET_RESTORE_ROUNDF): Likewise.
18031 (SET_RESTORE_ROUNDL): Likewise.
18032 (SET_RESTORE_ROUND_NOEX): Likewise.
18033 (SET_RESTORE_ROUND_NOEXF): Likewise.
18034 (SET_RESTORE_ROUND_NOEXL): Likewise.
18035 (SET_RESTORE_ROUND_53BIT): Likewise.
18036 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18037 (libc_feresetround_noexf_ctx): Likewise.
18038 (libc_feresetround_noexl_ctx): Likewise.
18039 (libc_feholdsetround_53bit_ctx): Likewise.
18040 (libc_feresetround_53bit_ctx): Likewise.
18041 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18042 (libc_feholdexcept_setround_sse_ctx): New function.
18043 (libc_fesetenv_sse_ctx): Likewise.
18044 (libc_feupdateenv_sse_ctx): Likewise.
18045 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18046 (libc_feholdexcept_setround_387_ctx): Likewise.
18047 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18048 (libc_feholdsetround_387_prec_ctx): Likewise.
18049 (libc_feholdsetround_387_ctx): Likewise.
18050 (libc_feholdsetround_387_53bit_ctx): Likewise.
18051 (libc_feholdsetround_sse_ctx): Likewise.
18052 (libc_feresetround_sse_ctx): Likewise.
18053 (libc_feresetround_387_ctx): Likewise.
18054 (libc_feupdateenv_387_ctx): Likewise.
18055 (libc_feholdexcept_setroundf_ctx): Define macro.
18056 (libc_fesetenvf_ctx): Likewise.
18057 (libc_feupdateenvf_ctx): Likewise.
18058 (libc_feholdsetroundf_ctx): Likewise.
18059 (libc_feresetroundf_ctx): Likewise.
18060 (libc_feholdexcept_setround_ctx): Likewise.
18061 (libc_fesetenv_ctx): Likewise.
18062 (libc_feupdateenv_ctx): Likewise.
18063 (libc_feholdsetround_ctx): Likewise.
18064 (libc_feresetround_ctx): Likewise.
18065 (libc_feholdexcept_setroundl_ctx): Likewise.
18066 (libc_feupdateenvl_ctx): Likewise.
18067 (libc_feholdsetroundl_ctx): Likewise.
18068 (libc_feresetroundl_ctx): Likewise.
18069 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18070 (libc_feresetround_53bit_ctx): Likewise.
18072 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18074 * locale/iso-639.def: Convert to UTF-8.
18076 2013-06-11 Joseph Myers <joseph@codesourcery.com>
18078 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18079 (EXCEPTION_TESTS_double): Likewise.
18080 (EXCEPTION_TESTS_long_double): Likewise.
18081 (EXCEPTION_TESTS): Likewise.
18082 * math/libm-test.inc (test_exceptions): Only test exceptions if
18083 EXCEPTION_TESTS (FLOAT).
18085 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18087 * benchtests/Makefile (string-bench): Add strcpy_chk and
18089 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18090 * benchtests/bench-stpcpy_chk.c: New file.
18091 * benchtests/bench-strcpy_chk-ifunc.c: New file.
18092 * benchtests/bench-strcpy_chk.c: New file.
18093 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18095 (do_test): Likewise.
18097 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18099 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18100 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18101 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18102 with tabs where appropriate.
18103 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18105 [PPC_PLATFORM_PPC440]: Likewise.
18106 [PPC_PLATFORM_PPC464]: Likewise.
18107 [PPC_PLATFORM_PPC476]: Likewise.
18108 (_dl_string_platform): Add support for detecting ppc405, ppc440,
18109 ppc464, and ppc476 platform strings merging from ports/
18112 2013-06-11 Andreas Schwab <schwab@suse.de>
18115 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18116 (from_ucs4_idx): Regenerate.
18117 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18118 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18119 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18120 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18121 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18122 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18123 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18124 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18125 from FROM_LOOP and TO_LOOP specific macros.
18126 (BODY): Handle combining characters.
18127 * iconvdata/BIG5HKSCS.irreversible: Update.
18128 * iconvdata/BIG5HKSCS.precomposed: New file.
18129 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18131 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18133 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18135 * include/sys/time.h: Fix indentation and add copyright header.
18137 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18138 (do_test): Likewise.
18139 * string/test-memchr.c (do_one_test): Likewise.
18140 (do_test): Likewise.
18141 * string/test-memcmp.c (do_one_test): Likewise.
18142 (do_test): Likewise.
18143 * string/test-memcpy.c (do_one_test): Likewise.
18144 (do_test): Likewise.
18145 * string/test-memmem.c (do_one_test): Likewise.
18146 (do_test): Likewise.
18147 (do_random_tests): Likewise.
18148 * string/test-memmove.c (do_one_test): Likewise.
18149 (do_test): Likewise.
18150 * string/test-memset.c (do_one_test): Likewise.
18151 (do_test): Likewise.
18152 * string/test-rawmemchr.c (do_one_test): Likewise.
18153 (do_test): Likewise.
18154 * string/test-strcasecmp.c (do_one_test): Likewise.
18155 (do_test): Likewise.
18156 * string/test-strcasestr.c (do_one_test): Likewise.
18157 (do_test): Likewise.
18158 * string/test-strcat.c (do_one_test): Likewise.
18159 (do_test): Likewise.
18160 * string/test-strchr.c (do_one_test): Likewise.
18161 (do_test): Likewise.
18162 * string/test-strcmp.c (do_one_test): Likewise.
18163 (do_test): Likewise.
18164 * string/test-strcpy.c (do_one_test): Likewise.
18165 (do_test): Likewise.
18166 * string/test-string.h: Likewise.
18167 (test_init): Likewise.
18168 * string/test-strlen.c (do_one_test): Likewise.
18169 (do_test): Likewise.
18170 * string/test-strncasecmp.c (do_one_test): Likewise.
18171 (do_test): Likewise.
18172 * string/test-strncat.c (do_one_test): Likewise.
18173 (do_test): Likewise.
18174 * string/test-strncmp.c (do_one_test): Likewise.
18175 (do_test_limit): Likewise.
18176 (do_test): Likewise.
18177 * string/test-strncpy.c (do_one_test): Likewise.
18178 (do_test): Likewise.
18179 * string/test-strnlen.c (do_one_test): Likewise.
18180 (do_test): Likewise.
18181 * string/test-strpbrk.c (do_one_test): Likewise.
18182 (do_test): Likewise.
18183 * string/test-strrchr.c (do_one_test): Likewise.
18184 (do_test): Likewise.
18185 * string/test-strspn.c (do_one_test): Likewise.
18186 (do_test): Likewise.
18187 * string/test-strstr.c (do_one_test): Likewise.
18188 (do_test): Likewise.
18190 * benchtests/Makefile (string-bench): Add string benchmarks.
18191 * benchtests/bench-bcopy-ifunc.c: New file.
18192 * benchtests/bench-bcopy.c: New file.
18193 * benchtests/bench-bzero-ifunc.c: New file.
18194 * benchtests/bench-bzero.c: New file.
18195 * benchtests/bench-memccpy-ifunc.c: New file.
18196 * benchtests/bench-memccpy.c: New file.
18197 * benchtests/bench-memchr-ifunc.c: New file.
18198 * benchtests/bench-memchr.c: New file.
18199 * benchtests/bench-memcmp-ifunc.c: New file.
18200 * benchtests/bench-memcmp.c: New file.
18201 * benchtests/bench-memmem-ifunc.c: New file.
18202 * benchtests/bench-memmem.c: New file.
18203 * benchtests/bench-memmove-ifunc.c: New file.
18204 * benchtests/bench-memmove.c: New file.
18205 * benchtests/bench-mempcpy-ifunc.c: New file.
18206 * benchtests/bench-mempcpy.c: New file.
18207 * benchtests/bench-memset-ifunc.c: New file.
18208 * benchtests/bench-memset.c: New file.
18209 * benchtests/bench-rawmemchr-ifunc.c: New file.
18210 * benchtests/bench-rawmemchr.c: New file.
18211 * benchtests/bench-stpcpy-ifunc.c: New file.
18212 * benchtests/bench-stpcpy.c: New file.
18213 * benchtests/bench-stpncpy-ifunc.c: New file.
18214 * benchtests/bench-stpncpy.c: New file.
18215 * benchtests/bench-strcasecmp-ifunc.c: New file.
18216 * benchtests/bench-strcasecmp.c: New file.
18217 * benchtests/bench-strcasestr-ifunc.c: New file.
18218 * benchtests/bench-strcasestr.c: New file.
18219 * benchtests/bench-strcat-ifunc.c: New file.
18220 * benchtests/bench-strcat.c: New file.
18221 * benchtests/bench-strchr-ifunc.c: New file.
18222 * benchtests/bench-strchr.c: New file.
18223 * benchtests/bench-strchrnul-ifunc.c: New file.
18224 * benchtests/bench-strchrnul.c: New file.
18225 * benchtests/bench-strcmp-ifunc.c: New file.
18226 * benchtests/bench-strcmp.c: New file.
18227 * benchtests/bench-strcpy-ifunc.c: New file.
18228 * benchtests/bench-strcpy.c: New file.
18229 * benchtests/bench-strcspn-ifunc.c: New file.
18230 * benchtests/bench-strcspn.c: New file.
18231 * benchtests/bench-strlen-ifunc.c: New file.
18232 * benchtests/bench-strlen.c: New file.
18233 * benchtests/bench-strncasecmp-ifunc.c: New file.
18234 * benchtests/bench-strncasecmp.c: New file.
18235 * benchtests/bench-strncat-ifunc.c: New file.
18236 * benchtests/bench-strncat.c: New file.
18237 * benchtests/bench-strncmp-ifunc.c: New file.
18238 * benchtests/bench-strncmp.c: New file.
18239 * benchtests/bench-strncpy-ifunc.c: New file.
18240 * benchtests/bench-strncpy.c: New file.
18241 * benchtests/bench-strnlen-ifunc.c: New file.
18242 * benchtests/bench-strnlen.c: New file.
18243 * benchtests/bench-strpbrk-ifunc.c: New file.
18244 * benchtests/bench-strpbrk.c: New file.
18245 * benchtests/bench-strrchr-ifunc.c: New file.
18246 * benchtests/bench-strrchr.c: New file.
18247 * benchtests/bench-strspn-ifunc.c: New file.
18248 * benchtests/bench-strspn.c: New file.
18249 * benchtests/bench-strstr-ifunc.c: New file.
18250 * benchtests/bench-strstr.c: New file.
18252 * benchtests/Makefile: Disable parallel execution of targets.
18253 (string-bench): Add memcpy.
18254 (benchset): New variable to store a list of benchmark sets.
18255 (bench-func): Renamed from bench.
18256 (bench-set): New target.
18257 (bench): Depend on bench-func and bench-set.
18258 * benchtests/README: Add section on benchmark sets.
18259 * benchtests/bench-memcpy-ifunc.c: New file.
18260 * benchtests/bench-memcpy.c: New file.
18261 * benchtests/bench-string.h: New file.
18263 2013-06-11 Andreas Schwab <schwab@suse.de>
18266 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18267 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18268 values in the triple.
18269 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18270 terminator in the group key.
18272 2013-06-11 Andreas Jaeger <aj@suse.de>
18274 * po/zh_TW.po: Update Chinese (traditional) translation from
18275 translation project.
18277 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18279 * include/time.h (__clock_gettime): Add libc_hidden_proto.
18280 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18281 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
18282 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18283 (clock_getcpuclockid): Likewise.
18284 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18285 Add weak_alias and libc_hidden_def.
18286 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18287 * rt/clock_gettime.c (clock_gettime): Rename to
18288 __clock_gettime. Add weak_alias and libc_hidden_def.
18289 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18290 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18291 __clock_nanosleep. Add weak_alias and libc_hidden_def.
18292 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18293 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18295 * rt/clock_settime.c (clock_settime): Rename to
18296 __clock_settime. Add weak_alias and libc_hidden_def.
18297 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18299 2013-06-10 Joseph Myers <joseph@codesourcery.com>
18301 * mach/err_boot.sub: Remove trailing whitespace.
18302 * mach/err_ipc.sub: Likewise.
18303 * mach/err_mach.sub: Likewise.
18305 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18306 (ROUNDING_TESTS_double): Likewise.
18307 (ROUNDING_TESTS_long_double): Likewise.
18308 (ROUNDING_TESTS): Likewise.
18309 * math/libm-test.inc: Include <math-tests.h>.
18310 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18311 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18312 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18313 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18315 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18317 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18320 2013-06-08 Joseph Myers <joseph@codesourcery.com>
18322 * sysdeps/gnu/errlist.awk: Do not generate space at end of
18323 otherwise empty TRANS lines.
18324 * sysdeps/gnu/errlist.c: Regenerated.
18326 * catgets/gencat.c (error_print): Use (void) in function
18328 * crypt/crypt_util.c (__init_des): Likewise.
18329 * crypt/speeds.c (Stop): Likewise.
18331 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18332 * inet/ruserpass.c (token): Likewise.
18333 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18334 * intl/localealias.c (extend_alias_table): Likewise.
18335 * intl/plural-exp.c (init_germanic_plural): Likewise.
18336 * libio/fcloseall.c (__fcloseall): Likewise.
18337 * libio/genops.c (_IO_flush_all): Likewise.
18338 (_IO_flush_all_linebuffered): Likewise.
18339 (_IO_cleanup): Likewise.
18340 (_IO_iter_begin): Likewise.
18341 (_IO_iter_end): Likewise.
18342 (_IO_list_lock): Likewise.
18343 (_IO_list_unlock): Likewise.
18344 (_IO_list_resetlock): Likewise.
18345 * libio/getchar.c (getchar): Likewise.
18346 * libio/getchar_u.c (getchar_unlocked): Likewise.
18347 * libio/getwchar.c (getwchar): Likewise.
18348 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18349 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18350 * login/getpt.c (__getpt): Likewise.
18351 * login/tst-utmp.c (main): Likewise.
18352 * malloc/hooks.c (__malloc_check_init): Likewise.
18353 * malloc/malloc.c (__malloc_stats): Likewise.
18354 * malloc/mtrace.c (tr_break): Likewise.
18355 (mtrace): Likewise.
18356 (muntrace): Likewise.
18357 * misc/fstab.c (endfsent): Likewise.
18358 * misc/getclktck.c (__getclktck): Likewise.
18359 * misc/getdtsz.c (__getdtablesize): Likewise.
18360 * misc/gethostid.c (gethostid): Likewise.
18361 * misc/getpagesize.c (__getpagesize): Likewise.
18362 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18363 (__get_nprocs): Likewise.
18364 (__get_phys_pages): Likewise.
18365 (__get_avphys_pages): Likewise.
18366 * misc/getttyent.c (getttyent): Likewise.
18367 (setttyent): Likewise.
18368 (endttyent): Likewise.
18369 * misc/getusershell.c (getusershell): Likewise.
18370 (endusershell): Likewise.
18371 (setusershell): Likewise.
18372 (initshells): Likewise.
18373 * misc/hsearch.c (__hdestroy): Likewise.
18374 * misc/sync.c (sync): Likewise.
18375 * misc/syslog.c (closelog_internal): Likewise.
18376 (closelog): Likewise.
18377 * misc/ttyslot.c (ttyslot): Likewise.
18378 * misc/vhangup.c (vhangup): Likewise.
18379 * posix/fork.c (__fork): Likewise.
18380 * posix/getegid.c (__getegid): Likewise.
18381 * posix/geteuid.c (__geteuid): Likewise.
18382 * posix/getgid.c (__getgid): Likewise.
18383 * posix/getpid.c (__getpid): Likewise.
18384 * posix/getppid.c (__getppid): Likewise.
18385 * posix/getuid.c (__getuid): Likewise.
18386 * posix/pause.c (pause): Likewise.
18387 * posix/setpgrp.c (setpgrp): Likewise.
18388 * posix/setsid.c (__setsid): Likewise.
18389 * posix/test-vfork.c (noop): Likewise.
18390 * resolv/gethnamaddr.c (_endhtent): Likewise.
18391 (_gethtent): Likewise.
18392 (ht_endhostent): Likewise.
18393 (gethostent): Likewise.
18394 (dns_service): Likewise.
18395 * stdlib/drand48.c (drand48): Likewise.
18396 * stdlib/lrand48.c (lrand48): Likewise.
18397 * stdlib/mrand48.c (mrand48): Likewise.
18398 * stdlib/rand.c (rand): Likewise.
18399 * stdlib/random.c (__random): Likewise.
18400 * stdlib/setenv.c (clearenv): Likewise.
18401 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18402 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18403 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18404 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18405 (__get_nprocs): Likewise.
18406 (__get_phys_pages): Likewise.
18407 (__get_avphys_pages): Likewise.
18408 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18409 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18410 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18411 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18412 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18413 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18414 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18415 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18416 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18417 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18418 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18419 * sysdeps/mach/hurd/sync.c (sync): Likewise.
18420 * sysdeps/posix/clock.c (clock): Likewise.
18421 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18422 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18423 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18424 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18425 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18426 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18427 (__get_nprocs_conf): Likewise.
18428 (__get_phys_pages): Likewise.
18429 (__get_avphys_pages): Likewise.
18430 * time/clock.c (clock): Likewise.
18431 * time/tzset.c (__tzname_max): Likewise.
18433 2013-06-07 Joseph Myers <joseph@codesourcery.com>
18435 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18436 (__bswap_32): Do not use "register".
18437 * crypt/crypt.c (_ufc_doit_r): Likewise.
18438 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18439 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18440 * gmon/gmon.c (__monstartup): Likewise.
18441 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18442 * hurd/hurdmalloc.c (more_memory): Likewise.
18443 (malloc): Likewise.
18445 (realloc): Likewise.
18446 (malloc_fork_prepare): Likewise.
18447 (malloc_fork_parent): Likewise.
18448 (malloc_fork_child): Likewise.
18449 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18450 (_svcauth_des): Likewise.
18451 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18452 * inet/inet_net.c (inet_network): Likewise.
18453 * inet/inet_netof.c (inet_netof): Likewise.
18454 * inet/rcmd.c (__validuser2_sa): Likewise.
18455 * io/fts.c (fts_open): Likewise.
18456 (fts_load): Likewise.
18457 (fts_close): Likewise.
18458 (fts_read): Likewise.
18459 (fts_children): Likewise.
18460 (fts_build): Likewise.
18461 (fts_stat): Likewise.
18462 (fts_sort): Likewise.
18463 (fts_alloc): Likewise.
18464 (fts_lfree): Likewise.
18465 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18466 (_IO_file_xsgetn): Likewise.
18467 (_IO_file_xsgetn_mmap): Likewise.
18468 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18469 (_IO_cookie_write): Likewise.
18470 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18471 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18472 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18473 * malloc/obstack.c (_obstack_begin): Likewise.
18474 (_obstack_begin_1): Likewise.
18475 (_obstack_newchunk): Likewise.
18476 (_obstack_allocated_p): Likewise.
18477 (obstack_free): Likewise.
18478 (_obstack_memory_used): Likewise.
18479 * misc/getttyent.c (getttynam): Likewise.
18480 (getttyent): Likewise.
18483 * misc/getusershell.c (initshells): Likewise.
18484 * misc/syslog.c (__vsyslog_chk): Likewise.
18485 * misc/ttyslot.c (ttyslot): Likewise.
18486 * nis/nis_hash.c (__nis_hash): Likewise.
18487 * posix/fnmatch_loop.c (FCT): Likewise.
18488 * posix/getconf.c (print_all): Likewise.
18490 * posix/getopt.c (exchange): Likewise.
18491 * posix/glob.c (globfree): Likewise.
18492 (prefix_array): Likewise.
18493 (__glob_pattern_type): Likewise.
18494 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18495 (NS_GET32): Likewise.
18496 (NS_PUT16): Likewise.
18497 (NS_PUT32): Likewise.
18498 * resolv/gethnamaddr.c (getanswer): Likewise.
18499 (gethostbyname2): Likewise.
18500 (gethostbyaddr): Likewise.
18501 (_gethtent): Likewise.
18502 (_gethtbyname2): Likewise.
18503 (_gethtbyaddr): Likewise.
18504 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18505 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18506 * resolv/res_init.c (__res_vinit): Likewise.
18507 (net_mask): Likewise.
18508 * resolv/res_mkquery.c (outchar): Likewise.
18510 * stdio-common/printf_fp.c (outchar): Likewise.
18512 * stdio-common/printf_fphex.c (outchar): Likewise.
18514 * stdio-common/printf_size.c (outchar): Likewise.
18516 * stdio-common/test_rdwr.c (main): Likewise.
18517 * stdio-common/tfformat.c (matches): Likewise.
18518 * stdio-common/vfprintf.c (outchar): Likewise.
18519 (printf_unknown): Likewise.
18520 (buffered_vfprintf): Likewise.
18521 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18522 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18523 (ReadFile): Likewise.
18524 * stdlib/qsort.c (SWAP): Likewise.
18525 (_quicksort): Likewise.
18526 * stdlib/setenv.c (__add_to_environ): Likewise.
18527 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18528 * stdlib/strtol_l.c (__strtol_l): Likewise.
18529 * stdlib/tst-strtod.c (main): Likewise.
18530 * stdlib/tst-strtol.c (main): Likewise.
18531 * stdlib/tst-strtoll.c (main): Likewise.
18532 * string/bits/string2.h (__strcmp_cc): Likewise.
18533 (__strcmp_cg): Likewise.
18534 (__strcspn_c1): Likewise.
18535 (__strcspn_c2): Likewise.
18536 (__strcspn_c3): Likewise.
18537 (__strspn_c1): Likewise.
18538 (__strspn_c2): Likewise.
18539 (__strspn_c3): Likewise.
18540 (__strsep_1c): Likewise.
18541 (__strsep_2c): Likewise.
18542 (__strsep_3c): Likewise.
18543 * string/memccpy.c (__memccpy): Likewise.
18544 * string/stpcpy.c (__stpcpy): Likewise.
18545 * string/strcmp.c (strcmp): Likewise.
18546 * string/strrchr.c (strrchr): Likewise.
18547 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18549 * sysdeps/mach/hurd/getcwd.c
18550 (_hurd_canonicalize_directory_name_internal): Likewise.
18551 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18552 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18553 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18554 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18555 Likewise, in both definitions.
18556 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18558 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18559 64] (__bswap_64): Likewise.
18560 * time/test_time.c (main): Likewise.
18561 * time/tzfile.c (__tzfile_read): Likewise.
18562 (__tzfile_compute): Likewise.
18563 * time/tzset.c (__tzset_parse_tz): Likewise.
18564 (tzset_internal): Likewise.
18565 (compute_change): Likewise.
18566 * wcsmbs/wcscat.c (__wcscat): Likewise.
18567 * wcsmbs/wcschr.c (wcschr): Likewise.
18568 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18569 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18570 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18571 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18572 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18573 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18574 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18575 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18576 * wcsmbs/wmemset.c (wmemset): Likewise.
18578 2013-06-06 Joseph Myers <joseph@codesourcery.com>
18580 * scripts/config.guess: Update to version 2013-05-16.
18581 * scripts/config.sub: Update to version 2013-04-24.
18582 * scripts/install-sh: Update to version 2011-11-20.07.
18583 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18584 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18586 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
18588 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18589 * elf/sln.c: Likewise.
18590 * hurd/hurd/ioctl.h: Likewise.
18591 * hurd/hurdmalloc.c: Likewise.
18592 * hurd/xattr.c: Likewise.
18593 * include/shlib-compat.h: Likewise.
18594 * inet/ruserpass.c: Likewise.
18595 * libio/iofgets_u.c: Likewise.
18596 * libio/iofgetws_u.c: Likewise.
18597 * locale/programs/ld-identification.c: Likewise.
18598 * locale/programs/ld-time.c: Likewise.
18599 * mach/msg-destroy.c: Likewise.
18600 * nss/nss_files/files-netgrp.c: Likewise.
18601 * resolv/res_data.c: Likewise.
18602 * soft-fp/op-1.h: Likewise.
18603 * soft-fp/op-2.h: Likewise.
18604 * soft-fp/op-4.h: Likewise.
18605 * soft-fp/op-common.h: Likewise.
18606 * stdio-common/printf_fphex.c: Likewise.
18607 * stdlib/strtod_l.c: Likewise.
18608 * sunrpc/rpc/clnt.h: Likewise.
18609 * sysdeps/generic/framestate.c: Likewise.
18610 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18611 * sysdeps/i386/bsd-setjmp.S: Likewise.
18612 * sysdeps/i386/__longjmp.S: Likewise.
18613 * sysdeps/i386/setjmp.S: Likewise.
18614 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18615 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18616 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18617 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18618 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18619 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18620 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18621 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18622 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18623 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18624 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18625 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18626 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18627 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18628 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18629 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18630 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18631 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18632 * sysdeps/ieee754/support.c: Likewise.
18633 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18634 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18635 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18636 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18637 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18638 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18639 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18640 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18641 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18642 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18643 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18644 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18645 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18646 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18647 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18648 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18649 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18652 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
18654 * posix/transbug.c: Remove executable mode.
18656 2013-06-05 Joseph Myers <joseph@codesourcery.com>
18658 * crypt/speeds.c: Remove trailing whitespace.
18659 * dlfcn/default.c: Likewise.
18660 * elf/ifuncdep2.c: Likewise.
18661 * elf/ifuncmain1.c: Likewise.
18662 * elf/ifuncmain1vis.c: Likewise.
18663 * elf/testobj.h: Likewise.
18664 * elf/tst-stackguard1.c: Likewise.
18665 * gmon/sys/gmon.h: Likewise.
18666 * hurd/hurdmsg.c: Likewise.
18667 * hurd/new-fd.c: Likewise.
18668 * hurd/ports-get.c: Likewise.
18669 * iconvdata/ibm1008_420.c: Likewise.
18670 * inet/tst-getni1.c: Likewise.
18671 * inet/tst-getni2.c: Likewise.
18672 * libio/ioungetc.c: Likewise.
18673 * libio/wfiledoalloc.c: Likewise.
18674 * manual/libm-err-tab.pl: Likewise.
18675 * math/w_dremf.c: Likewise.
18676 * misc/ftruncate.c: Likewise.
18677 * posix/bug-glob2.c: Likewise.
18678 * posix/tst-pcre.c: Likewise.
18679 * posix/wait4.c: Likewise.
18680 * resolv/README: Likewise.
18681 * resolv/res_debug.h: Likewise.
18682 * resolv/tst-inet_ntop.c: Likewise.
18683 * setjmp/bug269-setjmp.c: Likewise.
18684 * soft-fp/extended.h: Likewise.
18685 * soft-fp/op-1.h: Likewise.
18686 * soft-fp/op-2.h: Likewise.
18687 * soft-fp/op-4.h: Likewise.
18688 * soft-fp/op-8.h: Likewise.
18689 * soft-fp/testit.c: Likewise.
18690 * stdio-common/bug16.c: Likewise.
18691 * stdlib/random.c: Likewise.
18692 * sunrpc/rpcsvc/rquota.x: Likewise.
18693 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18694 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18695 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18696 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18697 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18698 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18699 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18700 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18701 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18702 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18703 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18704 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18705 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18706 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18707 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18708 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18709 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18710 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18711 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18712 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18713 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18714 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18715 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18716 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18717 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18718 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18719 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18720 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18721 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18722 * sysdeps/ieee754/s_lib_version.c: Likewise.
18723 * sysdeps/mach/hurd/check_fds.c: Likewise.
18724 * sysdeps/mach/hurd/getsockname.c: Likewise.
18725 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18726 * sysdeps/mach/hurd/recvfrom.c: Likewise.
18727 * sysdeps/powerpc/bits/link.h: Likewise.
18728 * sysdeps/powerpc/dl-procinfo.c: Likewise.
18729 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18730 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18731 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18732 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18733 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18734 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18735 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18736 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18737 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18738 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18739 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18740 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18741 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18742 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18743 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18744 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18745 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18746 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18747 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18748 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18749 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18750 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18751 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18752 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18753 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18754 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18755 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18756 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18757 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18758 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18759 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18760 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18761 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18762 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18763 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18764 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18765 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18766 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18767 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18768 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18769 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18770 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18771 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18772 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18773 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18774 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18775 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18776 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18777 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18778 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18779 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18780 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18781 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18782 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18783 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18784 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18785 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18786 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18787 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18788 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18789 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18790 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18791 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18792 * sysdeps/powerpc/sysdep.h: Likewise.
18793 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18794 * sysdeps/s390/s390-64/sub_n.S: Likewise.
18795 * sysdeps/sh/dl-trampoline.S: Likewise.
18796 * sysdeps/sh/memset.S: Likewise.
18797 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18798 * sysdeps/sh/strlen.S: Likewise.
18799 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18800 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18801 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18802 * sysdeps/sparc/sparc32/rem.S: Likewise.
18803 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18804 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18805 * sysdeps/sparc/sparc32/strchr.S: Likewise.
18806 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18807 * sysdeps/sparc/sparc32/urem.S: Likewise.
18808 * sysdeps/sparc/sparc64/add_n.S: Likewise.
18809 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18810 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18811 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18812 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18813 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18814 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18815 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18816 * sysdeps/unix/bsd/times.c: Likewise.
18817 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18818 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18822 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18823 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18824 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18825 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18826 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18827 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18828 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18829 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18830 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18831 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18832 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18833 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18834 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18835 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18836 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18837 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18838 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18839 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18840 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18841 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18842 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18843 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18844 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18845 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18846 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18847 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18848 * sysdeps/x86_64/strcspn.S: Likewise.
18850 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18852 * locale/C-translit.h: Revert #include <stdint.h> because this is a
18853 generated file. Regenerate properly from gen-translit.pl.
18854 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
18855 locale/C-translit.h.
18857 2013-06-05 Andreas Schwab <schwab@suse.de>
18860 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18861 week as 6 instead of -1.
18862 * time/tst-strptime.c (day_tests): Add test case.
18864 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18866 * sysdeps/generic/math_private.h
18867 (libc_feholdexcept_setround_53bit): Replace with
18868 libc_feholdsetround_53bit.
18869 (libc_feupdateenv_53bit): Replace with
18870 libc_feresetround_53bit.
18871 (SET_RESTORE_ROUND_53BIT): Adjust.
18873 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18875 * string/test-strchrnul.c: Add copyright header.
18877 * posix/tst-getaddrinfo4.c: Increase test timeout.
18879 2013-06-03 Carlos O'Donell <carlos@redhat.com>
18882 * math/libm-test.inc (MAX_EXP): Remove
18884 (ulp): Use MIN_EXP - MANT_DIG.
18885 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18887 2013-05-31 Carlos O'Donell <carlos@redhat.com>
18889 * po/be.po: Revert last change.
18890 * po/zh_CN.po: Likewise.
18891 * po/header.pot: Likewise.
18893 2013-05-31 Joseph Myers <joseph@codesourcery.com>
18895 * Makefile ($(common-objpfx)linkobj/libc.so): Define
18896 link-libc-deps to empty as target-specific variable.
18897 * Makerules (link-libc-args): New variable.
18898 (libc-for-link): Likewise.
18899 (link-libc-deps): Likewise.
18900 (lib%.so): Depend on $(link-libc-deps). Link with
18902 (build-module): Link with $(link-libc-args).
18903 (build-module-asneeded): Likewise.
18904 (build-module-helper-objlist): Filter out $(link-libc-deps) from
18906 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18907 target-specific variable.
18908 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18909 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18910 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18912 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18914 ($(objpfx)libpcprofile.so): Likewise.
18915 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18917 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18918 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18919 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18921 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18922 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18923 * login/Makefile ($(objpfx)libutil.so): Likewise.
18924 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18925 * math/Makefile ($(objpfx)libm.so): Likewise.
18926 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18927 $(objpfx)libnsl.so): Define libc-for-link as target-specific
18928 variable instead of depending directly on libc.
18929 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18930 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18932 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18934 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18935 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18936 ($(objpfx)libanl.so): Likewise.
18937 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18939 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18941 * sysdeps/i386/fpu/Makefile: Remove file.
18942 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18943 ($(objpfx)libm.so): Remove dependency on ld.so.
18945 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
18948 * nis/yp_xdr.c (XDRMAXNAME): Define.
18949 (XDRMAXRECORD): Define.
18950 (xdr_domainname): Use XDRMAXNAME.
18951 (xdr_mapname): Likewise.
18952 (xdr_peername): Likewise.
18953 (xdr_keydat): Use XDRMAXRECORD.
18954 (xdr_valdat): Likewise.
18956 2013-05-30 Jeff Law <law@redhat.com>
18959 * manual/errno.texi (ESTALE): Update to account for more than
18960 just NFS file systems.
18961 * sysdeps/gnu/errlist.c: Regenerated.
18963 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18966 * elf/Makefile (tests): Add tst-null-argv.
18967 (modules-names): Add tst-null-argv-lib.
18968 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18969 (tst-null-argv-ENV): Set environment for tst-null-argv.
18970 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18971 (RTLD_PROGNAME): New macro.
18972 * elf/tst-null-argv.c: New test case.
18973 * elf/tst-null-argv-lib.c: Library for test case.
18974 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18975 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18976 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18977 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18978 * elf/dl-init.c (call_init): Likewise.
18979 (_dl_init): Likewise.
18980 * elf/dl-load.c (print_search_path): Likewise.
18981 (_dl_map_object): Likewise.
18982 * elf/dl-lookup.c (do_lookup_x): Likewise.
18983 (add_dependency): Likewise.
18984 (_dl_lookup_symbol_x): Likewise.
18985 (_dl_debug_bindings): Likewise.
18986 * elf/dl-open.c (_dl_show_scope): Likewise.
18987 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18988 * elf/dl-version.c (match_symbol): Likewise.
18989 (_dl_check_map_versions): Likewise.
18990 * elf/rtld.c (dl_main): Likewise.
18991 (print_unresolved): Use RTLD_PROGNAME.
18992 (print_missing_version): Likewise.
18993 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18994 (elf_machine_rela): Likewise.
18995 * sysdeps/powerpc/powerpc32/dl-machine.c
18996 (__process_machine_rela): Likewise.
18997 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18999 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19001 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19003 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19004 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19006 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19008 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19010 2013-05-28 Carlos O'Donell <carlos@redhat.com>
19012 * po/be.po: Add descriptive title.
19013 * po/zh_CN.po: Likewise.
19014 * po/header.pot: Likewise.
19016 2013-05-28 Mike Frysinger <vapier@gentoo.org>
19018 * locale/programs/locarchive.c (create_archive): Inlucde fname in
19020 (enlarge_archive): Likewise.
19022 2013-05-28 Ben North <ben@redfrontdoor.org>
19024 * manual/arith.texi (frexp): It is the magnitude of the return
19025 value which lies in [0.5, 1), not the return value itself.
19027 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19031 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
19033 * stdio-common/bug26.c (main): Correct fscanf template.
19035 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19036 declare _dl_skip_args.
19038 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19041 * manual/platform.texi: Add missing @end deftypefun.
19043 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19046 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19047 bit of mantissa of 2^16382.
19048 * math/libm-test.inc (hypot_test_data): Add more tests.
19050 * math/libm-test.inc: Add drem and pow10 to list of tested
19052 (pow10_test): New function.
19053 (drem_test): Likewise.
19054 (drem_test_tonearest): Likewise.
19055 (drem_test_towardzero): Likewise.
19056 (drem_test_downward): Likewise.
19057 (drem_test_upward): Likewise.
19058 (main): Call the new functions.
19060 * math/libm-test.inc (finite_test_data): Remove.
19061 (finite_test): Run tests from isfinite_test_data.
19062 (gamma_test_data): Remove.
19063 (gamma_test): Run tests from lgamma_test_data.
19064 * sysdeps/i386/fpu/libm-test-ulps: Update.
19065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19067 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19069 * manual/platform.texi: Add PowerPC PPR function set documentation.
19070 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19073 2013-05-24 Carlos O'Donell <carlos@redhat.com>
19075 * math/libm-test.inc (MAX_EXP): Define.
19077 (ulp): New function.
19078 (check_float_internal): Use ULPDIFF.
19079 (cpow_test): Disable failing test.
19080 (check_ulp): Test ulp() implemetnation.
19081 (main): Call check_ulp before starting tests.
19083 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19085 * math/gen-libm-test.pl (generate_testfile): Do not handle
19086 START_DATA and END_DATA.
19087 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19089 (acos_tonearest_test_data): Likewise.
19090 (acos_towardzero_test_data): Likewise.
19091 (acos_downward_test_data): Likewise.
19092 (acos_upward_test_data): Likewise.
19093 (acosh_test_data): Likewise.
19094 (asin_test_data): Likewise.
19095 (asin_tonearest_test_data): Likewise.
19096 (asin_towardzero_test_data): Likewise.
19097 (asin_downward_test_data): Likewise.
19098 (asin_upward_test_data): Likewise.
19099 (asinh_test_data): Likewise.
19100 (atan_test_data): Likewise.
19101 (atanh_test_data): Likewise.
19102 (atan2_test_data): Likewise.
19103 (cabs_test_data): Likewise.
19104 (cacos_test_data): Likewise.
19105 (cacosh_test_data): Likewise.
19106 (carg_test_data): Likewise.
19107 (casin_test_data): Likewise.
19108 (casinh_test_data): Likewise.
19109 (catan_test_data): Likewise.
19110 (catanh_test_data): Likewise.
19111 (cbrt_test_data): Likewise.
19112 (ccos_test_data): Likewise.
19113 (ccosh_test_data): Likewise.
19114 (ceil_test_data): Likewise.
19115 (cexp_test_data): Likewise.
19116 (cimag_test_data): Likewise.
19117 (clog_test_data): Likewise.
19118 (clog10_test_data): Likewise.
19119 (conj_test_data): Likewise.
19120 (copysign_test_data): Likewise.
19121 (cos_test_data): Likewise.
19122 (cos_tonearest_test_data): Likewise.
19123 (cos_towardzero_test_data): Likewise.
19124 (cos_downward_test_data): Likewise.
19125 (cos_upward_test_data): Likewise.
19126 (cosh_test_data): Likewise.
19127 (cosh_tonearest_test_data): Likewise.
19128 (cosh_towardzero_test_data): Likewise.
19129 (cosh_downward_test_data): Likewise.
19130 (cosh_upward_test_data): Likewise.
19131 (cpow_test_data): Likewise.
19132 (cproj_test_data): Likewise.
19133 (creal_test_data): Likewise.
19134 (csin_test_data): Likewise.
19135 (csinh_test_data): Likewise.
19136 (csqrt_test_data): Likewise.
19137 (ctan_test_data): Likewise.
19138 (ctan_tonearest_test_data): Likewise.
19139 (ctan_towardzero_test_data): Likewise.
19140 (ctan_downward_test_data): Likewise.
19141 (ctan_upward_test_data): Likewise.
19142 (ctanh_test_data): Likewise.
19143 (ctanh_tonearest_test_data): Likewise.
19144 (ctanh_towardzero_test_data): Likewise.
19145 (ctanh_downward_test_data): Likewise.
19146 (ctanh_upward_test_data): Likewise.
19147 (erf_test_data): Likewise.
19148 (erfc_test_data): Likewise.
19149 (exp_test_data): Likewise.
19150 (exp_tonearest_test_data): Likewise.
19151 (exp_towardzero_test_data): Likewise.
19152 (exp_downward_test_data): Likewise.
19153 (exp_upward_test_data): Likewise.
19154 (exp10_test_data): Likewise.
19155 (exp2_test_data): Likewise.
19156 (expm1_test_data): Likewise.
19157 (fabs_test_data): Likewise.
19158 (fdim_test_data): Likewise.
19159 (finite_test_data): Likewise.
19160 (floor_test_data): Likewise.
19161 (fma_test_data): Likewise.
19162 (fma_towardzero_test_data): Likewise.
19163 (fma_downward_test_data): Likewise.
19164 (fma_upward_test_data): Likewise.
19165 (fmax_test_data): Likewise.
19166 (fmin_test_data): Likewise.
19167 (fmod_test_data): Likewise.
19168 (fpclassify_test_data): Likewise.
19169 (frexp_test_data): Likewise.
19170 (gamma_test_data): Likewise.
19171 (hypot_test_data): Likewise.
19172 (ilogb_test_data): Likewise.
19173 (isfinite_test_data): Likewise.
19174 (isgreater_test_data): Likewise.
19175 (isgreaterequal_test_data): Likewise.
19176 (isinf_test_data): Likewise.
19177 (isless_test_data): Likewise.
19178 (islessequal_test_data): Likewise.
19179 (islessgreater_test_data): Likewise.
19180 (isnan_test_data): Likewise.
19181 (isnormal_test_data): Likewise.
19182 (issignaling_test_data): Likewise.
19183 (isunordered_test_data): Likewise.
19184 (j0_test_data): Likewise.
19185 (j1_test_data): Likewise.
19186 (jn_test_data): Likewise.
19187 (ldexp_test_data): Likewise.
19188 (lgamma_test_data): Likewise.
19189 (lrint_test_data): Likewise.
19190 (lrint_tonearest_test_data): Likewise.
19191 (lrint_towardzero_test_data): Likewise.
19192 (lrint_downward_test_data): Likewise.
19193 (lrint_upward_test_data): Likewise.
19194 (llrint_test_data): Likewise.
19195 (llrint_tonearest_test_data): Likewise.
19196 (llrint_towardzero_test_data): Likewise.
19197 (llrint_downward_test_data): Likewise.
19198 (llrint_upward_test_data): Likewise.
19199 (log_test_data): Likewise.
19200 (log10_test_data): Likewise.
19201 (log1p_test_data): Likewise.
19202 (log2_test_data): Likewise.
19203 (logb_test_data): Likewise.
19204 (logb_downward_test_data): Likewise.
19205 (lround_test_data): Likewise.
19206 (llround_test_data): Likewise.
19207 (modf_test_data): Likewise.
19208 (nearbyint_test_data): Likewise.
19209 (nextafter_test_data): Likewise.
19210 (nexttoward_test_data): Likewise.
19211 (pow_test_data): Likewise.
19212 (pow_tonearest_test_data): Likewise.
19213 (pow_towardzero_test_data): Likewise.
19214 (pow_downward_test_data): Likewise.
19215 (pow_upward_test_data): Likewise.
19216 (remainder_test_data): Likewise.
19217 (remainder_tonearest_test_data): Likewise.
19218 (remainder_towardzero_test_data): Likewise.
19219 (remainder_downward_test_data): Likewise.
19220 (remainder_upward_test_data): Likewise.
19221 (remquo_test_data): Likewise.
19222 (rint_test_data): Likewise.
19223 (rint_tonearest_test_data): Likewise.
19224 (rint_towardzero_test_data): Likewise.
19225 (rint_downward_test_data): Likewise.
19226 (rint_upward_test_data): Likewise.
19227 (round_test_data): Likewise.
19228 (scalb_test_data): Likewise.
19229 (scalbn_test_data): Likewise.
19230 (scalbln_test_data): Likewise.
19231 (signbit_test_data): Likewise.
19232 (sin_test_data): Likewise.
19233 (sin_tonearest_test_data): Likewise.
19234 (sin_towardzero_test_data): Likewise.
19235 (sin_downward_test_data): Likewise.
19236 (sin_upward_test_data): Likewise.
19237 (sincos_test_data): Likewise.
19238 (sinh_test_data): Likewise.
19239 (sinh_tonearest_test_data): Likewise.
19240 (sinh_towardzero_test_data): Likewise.
19241 (sinh_downward_test_data): Likewise.
19242 (sinh_upward_test_data): Likewise.
19243 (sqrt_test_data): Likewise.
19244 (tan_test_data): Likewise.
19245 (tan_tonearest_test_data): Likewise.
19246 (tan_towardzero_test_data): Likewise.
19247 (tan_downward_test_data): Likewise.
19248 (tan_upward_test_data): Likewise.
19249 (tanh_test_data): Likewise.
19250 (tgamma_test_data): Likewise.
19251 (trunc_test_data): Likewise.
19252 (y0_test_data): Likewise.
19253 (y1_test_data): Likewise.
19254 (yn_test_data): Likewise.
19255 (significand_test_data): Likewise.
19257 * math/gen-libm-test.pl (@functions): Remove variable.
19258 (generate_testfile): Don't handle START and END lines.
19259 * math/libm-test.inc (START): New macro.
19261 (END_COMPLEX): Likewise.
19262 (acos_test): Use END macro without arguments.
19263 (acos_test_tonearest): Likewise.
19264 (acos_test_towardzero): Likewise.
19265 (acos_test_downward): Likewise.
19266 (acos_test_upward): Likewise.
19267 (acosh_test): Likewise.
19268 (asin_test): Likewise.
19269 (asin_test_tonearest): Likewise.
19270 (asin_test_towardzero): Likewise.
19271 (asin_test_downward): Likewise.
19272 (asin_test_upward): Likewise.
19273 (asinh_test): Likewise.
19274 (atan_test): Likewise.
19275 (atanh_test): Likewise.
19276 (atan2_test): Likewise.
19277 (cabs_test): Likewise.
19278 (cacos_test): Use END_COMPLEX macro without arguments.
19279 (cacosh_test): Likewise.
19280 (carg_test): Use END macro without arguments.
19281 (casin_test): Use END_COMPLEX macro without arguments.
19282 (casinh_test): Likewise.
19283 (catan_test): Likewise.
19284 (catanh_test): Likewise.
19285 (cbrt_test): Use END macro without arguments.
19286 (ccos_test): Use END_COMPLEX macro without arguments.
19287 (ccosh_test): Likewise.
19288 (ceil_test): Use END macro without arguments.
19289 (cexp_test): Use END_COMPLEX macro without arguments.
19290 (cimag_test): Use END macro without arguments.
19291 (clog_test): Use END_COMPLEX macro without arguments.
19292 (clog10_test): Likewise.
19293 (conj_test): Likewise.
19294 (copysign_test): Use END macro without arguments.
19295 (cos_test): Likewise.
19296 (cos_test_tonearest): Likewise.
19297 (cos_test_towardzero): Likewise.
19298 (cos_test_downward): Likewise.
19299 (cos_test_upward): Likewise.
19300 (cosh_test): Likewise.
19301 (cosh_test_tonearest): Likewise.
19302 (cosh_test_towardzero): Likewise.
19303 (cosh_test_downward): Likewise.
19304 (cosh_test_upward): Likewise.
19305 (cpow_test): Use END_COMPLEX macro without arguments.
19306 (cproj_test): Likewise.
19307 (creal_test): Use END macro without arguments.
19308 (csin_test): Use END_COMPLEX macro without arguments.
19309 (csinh_test): Likewise.
19310 (csqrt_test): Likewise.
19311 (ctan_test): Likewise.
19312 (ctan_test_tonearest): Likewise.
19313 (ctan_test_towardzero): Likewise.
19314 (ctan_test_downward): Likewise.
19315 (ctan_test_upward): Likewise.
19316 (ctanh_test): Likewise.
19317 (ctanh_test_tonearest): Likewise.
19318 (ctanh_test_towardzero): Likewise.
19319 (ctanh_test_downward): Likewise.
19320 (ctanh_test_upward): Likewise.
19321 (erf_test): Use END macro without arguments.
19322 (erfc_test): Likewise.
19323 (exp_test): Likewise.
19324 (exp_test_tonearest): Likewise.
19325 (exp_test_towardzero): Likewise.
19326 (exp_test_downward): Likewise.
19327 (exp_test_upward): Likewise.
19328 (exp10_test): Likewise.
19329 (exp2_test): Likewise.
19330 (expm1_test): Likewise.
19331 (fabs_test): Likewise.
19332 (fdim_test): Likewise.
19333 (finite_test): Likewise.
19334 (floor_test): Likewise.
19335 (fma_test): Likewise.
19336 (fma_test_towardzero): Likewise.
19337 (fma_test_downward): Likewise.
19338 (fma_test_upward): Likewise.
19339 (fmax_test): Likewise.
19340 (fmin_test): Likewise.
19341 (fmod_test): Likewise.
19342 (fpclassify_test): Likewise.
19343 (frexp_test): Likewise.
19344 (gamma_test): Likewise.
19345 (hypot_test): Likewise.
19346 (ilogb_test): Likewise.
19347 (isfinite_test): Likewise.
19348 (isgreater_test): Likewise.
19349 (isgreaterequal_test): Likewise.
19350 (isinf_test): Likewise.
19351 (isless_test): Likewise.
19352 (islessequal_test): Likewise.
19353 (islessgreater_test): Likewise.
19354 (isnan_test): Likewise.
19355 (isnormal_test): Likewise.
19356 (issignaling_test): Likewise.
19357 (isunordered_test): Likewise.
19358 (j0_test): Likewise.
19359 (j1_test): Likewise.
19360 (jn_test): Likewise.
19361 (ldexp_test): Likewise.
19362 (lgamma_test): Likewise.
19363 (lrint_test): Likewise.
19364 (lrint_test_tonearest): Likewise.
19365 (lrint_test_towardzero): Likewise.
19366 (lrint_test_downward): Likewise.
19367 (lrint_test_upward): Likewise.
19368 (llrint_test): Likewise.
19369 (llrint_test_tonearest): Likewise.
19370 (llrint_test_towardzero): Likewise.
19371 (llrint_test_downward): Likewise.
19372 (llrint_test_upward): Likewise.
19373 (log_test): Likewise.
19374 (log10_test): Likewise.
19375 (log1p_test): Likewise.
19376 (log2_test): Likewise.
19377 (logb_test): Likewise.
19378 (logb_test_downward): Likewise.
19379 (lround_test): Likewise.
19380 (llround_test): Likewise.
19381 (modf_test): Likewise.
19382 (nearbyint_test): Likewise.
19383 (nextafter_test): Likewise.
19384 (nexttoward_test): Likewise.
19385 (pow_test): Likewise.
19386 (pow_test_tonearest): Likewise.
19387 (pow_test_towardzero): Likewise.
19388 (pow_test_downward): Likewise.
19389 (pow_test_upward): Likewise.
19390 (remainder_test): Likewise.
19391 (remainder_test_tonearest): Likewise.
19392 (remainder_test_towardzero): Likewise.
19393 (remainder_test_downward): Likewise.
19394 (remainder_test_upward): Likewise.
19395 (remquo_test): Likewise.
19396 (rint_test): Likewise.
19397 (rint_test_tonearest): Likewise.
19398 (rint_test_towardzero): Likewise.
19399 (rint_test_downward): Likewise.
19400 (rint_test_upward): Likewise.
19401 (round_test): Likewise.
19402 (scalb_test): Likewise.
19403 (scalbn_test): Likewise.
19404 (scalbln_test): Likewise.
19405 (signbit_test): Likewise.
19406 (sin_test): Likewise.
19407 (sin_test_tonearest): Likewise.
19408 (sin_test_towardzero): Likewise.
19409 (sin_test_downward): Likewise.
19410 (sin_test_upward): Likewise.
19411 (sincos_test): Likewise.
19412 (sinh_test): Likewise.
19413 (sinh_test_tonearest): Likewise.
19414 (sinh_test_towardzero): Likewise.
19415 (sinh_test_downward): Likewise.
19416 (sinh_test_upward): Likewise.
19417 (sqrt_test): Likewise.
19418 (tan_test): Likewise.
19419 (tan_test_tonearest): Likewise.
19420 (tan_test_towardzero): Likewise.
19421 (tan_test_downward): Likewise.
19422 (tan_test_upward): Likewise.
19423 (tanh_test): Likewise.
19424 (tgamma_test): Likewise.
19425 (trunc_test): Likewise.
19426 (y0_test): Likewise.
19427 (y1_test): Likewise.
19428 (yn_test): Likewise.
19429 (significand_test): Likewise.
19431 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
19434 * libio/genops.c (_IO_no_init): Initialize wide struct info.
19436 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
19439 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19440 __ppc_mdoio and __ppc_mdoom.
19441 * manual/platform.texi: Document new functions __ppc_yield,
19442 __ppc_mdoio and __ppc_mdoom.
19444 2013-05-22 Carlos O'Donell <carlos@redhat.com>
19446 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19447 (main): Mention "tls" pseudo-hwcap is legacy.
19448 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19450 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19452 * math/gen-libm-test.pl (parse_args): Output only string of
19453 arguments as text for test name, not full call or descriptions of
19454 tests for extra outputs.
19455 (generate_testfile): Do not pass function name to parse_args.
19456 Generate this_func variable from START.
19457 * math/libm-test.inc (struct test_f_f_data): Rename test_name
19459 (struct test_ff_f_data): Likewise.
19460 (test_ff_f_data_nexttoward): Likewise.
19461 (struct test_fi_f_data): Likewise.
19462 (struct test_fl_f_data): Likewise.
19463 (struct test_if_f_data): Likewise.
19464 (struct test_fff_f_data): Likewise.
19465 (struct test_c_f_data): Likewise.
19466 (struct test_f_f1_data): Likewise. Remove field extra_name.
19467 (struct test_fF_f1_data): Likewise.
19468 (struct test_ffI_f1_data): Likewise.
19469 (struct test_c_c_data): Rename test_name field to arg_str.
19470 (struct test_cc_c_data): Likewise.
19471 (struct test_f_i_data): Likewise.
19472 (struct test_ff_i_data): Likewise.
19473 (struct test_f_l_data): Likewise.
19474 (struct test_f_L_data): Likewise.
19475 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19477 (COMMON_TEST_SETUP): New macro.
19478 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19479 (COMMON_TEST_CLEANUP): Likewise.
19480 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19481 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19483 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19484 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19486 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19487 (RUN_TEST_fff_f): Take argument string. Call new setup and
19489 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19490 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19492 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19493 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19495 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19496 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19498 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19499 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19501 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19502 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19504 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19505 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19507 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19508 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19510 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19511 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19513 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19514 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19516 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19517 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19519 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19520 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19522 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19523 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19525 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19526 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19528 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19529 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19531 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19532 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19534 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19536 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19538 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19539 to _sifields.sigfault.
19540 (si_addr_lsb): Define new macro.
19541 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19542 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19543 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19545 2013-05-03 Carlos O'Donell <carlos at redhat.com>
19548 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19550 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19552 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19553 loading the domain.
19555 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19557 * math/gen-libm-test.pl (parse_args): Do not include expected
19558 result in test name.
19559 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19560 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19561 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19562 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19563 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19566 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19568 * benchtests/Makefile: Sort function entries.
19570 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19571 tanh, asinh, acosh, atanh.
19572 * benchtests/acos-inputs: New file.
19573 * benchtests/acosh-inputs: New file.
19574 * benchtests/asin-inputs: New file.
19575 * benchtests/asinh-inputs: New file.
19576 * benchtests/atanh-inputs: New file.
19577 * benchtests/cosh-inputs: New file.
19578 * benchtests/log-inputs: New file.
19579 * benchtests/sinh-inputs: New file.
19580 * benchtests/tanh-inputs: New file.
19582 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19585 * posix/tst-getaddrinfo4.c: New test.
19586 * posix/Makefile (tests): Add it.
19588 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19591 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19592 when no services were used.
19593 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19594 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19596 2013-05-21 Andreas Schwab <schwab@suse.de>
19599 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19600 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19602 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19603 redundant variable declarations and reallocation of buffer when
19604 parsing as IPv6 address. Always set NSS status when called from
19605 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19606 buffer too small. Correct computation of needed size.
19607 * nss/Makefile (tests): Add test-digits-dots.
19608 * nss/test-digits-dots.c: New test.
19610 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19612 * benchtests/Makefile: Remove instructions for adding
19614 * benchtests/README: New file to explain how to execute and
19615 enhance the benchmark tests.
19617 2013-05-21 Andreas Schwab <schwab@suse.de>
19620 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19621 * setjmp/tst-sigsetjmp.c: New test.
19623 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19625 * sysdeps/x86_64/memset.S (memset): New implementation.
19626 (__bzero): Likewise.
19627 (__memset_tail): New function.
19629 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19631 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19632 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19633 __memcpy_sse2_unaligned ifunc selection.
19634 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19635 Add memcpy-sse2-unaligned.S.
19636 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19637 Add: __memcpy_sse2_unaligned.
19639 2013-05-19 Joseph Myers <joseph@codesourcery.com>
19642 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19643 math_force_eval before restoring floating-point envrionment.
19644 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19645 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19647 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19649 (__nearbyintl): Use math_force_eval before restoring
19650 floating-point environment.
19651 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19653 * math/gen-libm-test.pl (special_functions): Remove.
19654 (parse_args): Don't handle TEST_extra. Handle functions with no
19656 * math/libm-test.inc (struct test_sincos_data): Replace with
19657 struct test_fFF_11_data.
19658 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19659 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19660 (sincos_test_data): Change element type to struct
19661 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19662 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19663 RUN_TEST_LOOP_sincos.
19664 * math/README.libm-test: Don't mention special handling of
19665 individual functions.
19666 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19667 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19668 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19669 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19670 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19673 * math/gen-libm-test.pl (get_variable): Remove function.
19674 (parse_args): Don't show pointer parameters to call in test
19675 names. Use "extra output N" in test names for extra outputs
19676 rather than naming variables.
19678 2013-05-18 Joseph Myers <joseph@codesourcery.com>
19681 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19682 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19683 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19685 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19687 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19690 * math/gen-libm-test.pl (@tests): Remove variable.
19691 ($count): Likewise.
19692 (new_test): Remove function.
19693 (show_exceptions): New function.
19694 (special_functions): Use show_exceptions instead of new_test.
19695 (parse_args): Likewise.
19696 (generate_testfile): Pass only function name in generated call to
19697 print_max_error or print_complex_max_error.
19698 (get_ulps): Do not handle complex tests specially.
19699 (output_test): Rename to ...
19700 (get_all_ulps_for_test): ... this. Return a string rather than
19701 printing to a file. Require ulps to be present.
19702 (output_ulps): Generate arrays rather than #defines.
19703 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19704 (struct ulp_data): New type.
19705 (BUILD_COMPLEX_ULP): Remove macro.
19706 (compare_ulp_data): New function.
19707 (find_ulps): Likewise.
19708 (find_test_ulps): Likewise.
19709 (find_function_ulps): Likewise.
19710 (find_complex_function_ulps): Likewise.
19711 (print_max_error): Determine allowed ulps using
19712 find_function_ulps.
19713 (print_complex_max_error): Determine allowed ulps using
19714 find_complex_function_ulps.
19715 (check_float_internal): Determine max ulps using find_test_ulps.
19716 (check_float): Do not take max_ulp parameter. Update call to
19717 check_float_internal.
19718 (check_complex): Likewise.
19719 (check_int): Do not take max_ulp parameter.
19720 (check_long): Likewise.
19721 (check_bool): Likewise.
19722 (check_longlong): Likewise.
19723 (struct test_f_f_data): Remove max_ulp field.
19724 (struct test_ff_f_data): Likewise.
19725 (struct test_ff_f_data_nexttoward): Likewise.
19726 (struct test_fi_f_data): Likewise.
19727 (struct test_fl_f_data): Likewise.
19728 (struct test_if_f_data): Likewise.
19729 (struct test_fff_f_data): Likewise.
19730 (struct test_c_f_data): Likewise.
19731 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19732 (struct test_fF_f1_data): Likewise.
19733 (struct test_ffI_f1_data): Likewise.
19734 (struct test_c_c_data): Remove max_ulp field.
19735 (struct test_cc_c_data): Likewise.
19736 (struct test_f_i_data): Likewise.
19737 (struct test_ff_i_data): Likewise.
19738 (struct test_f_l_data): Likewise.
19739 (struct test_f_L_data): Likewise.
19740 (struct test_sincos_data): Likewise.
19741 (RUN_TEST_f_f): Do not handle ulps.
19742 (RUN_TEST_LOOP_f_f): Likewise.
19743 (RUN_TEST_2_f): Likewise.
19744 (RUN_TEST_LOOP_2_f): Likewise.
19745 (RUN_TEST_fff_f): Likewise.
19746 (RUN_TEST_LOOP_fff_f): Likewise.
19747 (RUN_TEST_c_f): Likewise.
19748 (RUN_TEST_LOOP_c_f): Likewise.
19749 (RUN_TEST_f_f1): Likewise.
19750 (RUN_TEST_LOOP_f_f1): Likewise.
19751 (RUN_TEST_fF_f1): Likewise.
19752 (RUN_TEST_LOOP_fF_f1): Likewise.
19753 (RUN_TEST_fI_f1): Likewise.
19754 (RUN_TEST_LOOP_fI_f1): Likewise.
19755 (RUN_TEST_ffI_f1): Likewise.
19756 (RUN_TEST_LOOP_ffI_f1): Likewise.
19757 (RUN_TEST_c_c): Likewise.
19758 (RUN_TEST_LOOP_c_c): Likewise.
19759 (RUN_TEST_cc_c): Likewise.
19760 (RUN_TEST_LOOP_cc_c): Likewise.
19761 (RUN_TEST_f_i): Likewise.
19762 (RUN_TEST_LOOP_f_i): Likewise.
19763 (RUN_TEST_f_i_tg): Likewise.
19764 (RUN_TEST_LOOP_f_i_tg): Likewise.
19765 (RUN_TEST_ff_i_tg): Likewise.
19766 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19767 (RUN_TEST_f_b): Likewise.
19768 (RUN_TEST_LOOP_f_b): Likewise.
19769 (RUN_TEST_f_b_tg): Likewise.
19770 (RUN_TEST_LOOP_f_b_tg): Likewise.
19771 (RUN_TEST_f_l): Likewise.
19772 (RUN_TEST_LOOP_f_l): Likewise.
19773 (RUN_TEST_f_L): Likewise.
19774 (RUN_TEST_LOOP_f_L): Likewise.
19775 (RUN_TEST_sincos): Likewise.
19776 (RUN_TEST_LOOP_sincos): Likewise.
19778 2013-05-17 Joseph Myers <joseph@codesourcery.com>
19782 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19783 main case of finite arguments, set rounding mode to FE_TONEAREST
19784 and discard exceptions.
19785 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19787 (remainder_tonearest_test_data): New variable.
19788 (remainder_test_tonearest): New function.
19789 (remainder_towardzero_test_data): New variable.
19790 (remainder_test_towardzero): New function.
19791 (remainder_downward_test_data): New variable.
19792 (remainder_test_downward): New function.
19793 (remainder_upward_test_data): New variable.
19794 (remainder_test_upward): New function.
19795 (main): Call the new test functions.
19797 * math/libm-test.inc (struct test_f_f1_data): Remove field
19799 (struct test_fF_f1_data): Likewise.
19800 (struct test_ffI_f1_data): Likewise.
19801 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
19802 based on value of EXTRA_EXPECTED.
19803 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19804 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
19805 EXTRA_VAR based on value of EXTRA_EXPECTED.
19806 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19807 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
19808 EXTRA_VAR based on value of EXTRA_EXPECTED.
19809 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19810 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
19811 EXTRA_VAR based on value of EXTRA_EXPECTED.
19812 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19813 * math/gen-libm-test.pl (parse_args): Don't output initializers
19814 for extra output values.
19816 * math/libm-test.inc (check_int): Expect result to be exactly
19817 equal to expected value and do not handle ulps.
19818 (check_long): Likewise.
19819 (check_longlong): Likewise.
19821 * math/libm-test.inc (ceil_test_data): Test for "inexact"
19823 (cimag_test_data): Likewise.
19824 (conj_test_data): Likewise.
19825 (copysign_test_data): Likewise.
19826 (cproj_test_data): Likewise.
19827 (creal_test_data): Likewise.
19828 (fabs_test_data): Likewise.
19829 (fdim_test_data): Likewise.
19830 (finite_test_data): Likewise.
19831 (floor_test_data): Likewise.
19832 (fmax_test_data): Likewise.
19833 (fmin_test_data): Likewise.
19834 (fmod_test_data): Likewise.
19835 (fpclassify_test_data): Likewise.
19836 (frexp_test_data): Likewise.
19837 (ilogb_test_data): Likewise.
19838 (isfinite_test_data): Likewise.
19839 (isgreater_test_data): Likewise.
19840 (isgreaterequal_test_data): Likewise.
19841 (isinf_test_data): Likewise.
19842 (isless_test_data): Likewise.
19843 (islessequal_test_data): Likewise.
19844 (islessgreater_test_data): Likewise.
19845 (isnan_test_data): Likewise.
19846 (isnormal_test_data): Likewise.
19847 (issignaling_test_data): Likewise.
19848 (isunordered_test_data): Likewise.
19849 (ldexp_test_data): Likewise.
19850 (lrint_test_data): Likewise.
19851 (lrint_test_data) [TEST_FLOAT]: Disable one test.
19852 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19853 (lrint_tonearest_test_data): Test for "inexact" exceptions.
19854 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19855 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19856 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19858 (lrint_towardzero_test_data): Test for "inexact" exceptions.
19859 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19860 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19861 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19863 (lrint_downward_test_data): Test for "inexact" exceptions.
19864 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19865 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19866 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19868 (lrint_upward_test_data): Test for "inexact" exceptions.
19869 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19871 (llrint_test_data): Test for "inexact" exceptions.
19872 (llrint_test_data) [TEST_FLOAT]: Disable one test.
19873 (llrint_tonearest_test_data): Test for "inexact" exceptions.
19874 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19875 (llrint_towardzero_test_data): Test for "inexact" exceptions.
19876 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19877 (llrint_downward_test_data): Test for "inexact" exceptions.
19878 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19879 (llrint_upward_test_data): Test for "inexact" exceptions.
19880 (logb_test_data): Likewise.
19881 (logb_downward_test_data): Likewise.
19882 (nextafter_test_data): Likewise.
19883 (nexttoward_test_data): Likewise.
19884 (remainder_test_data): Likewise.
19885 (remquo_test_data): Likewise.
19886 (scalbn_test_data): Likewise.
19887 (scalbln_test_data): Likewise.
19888 (signbit_test_data): Likewise.
19889 (sqrt_test_data): Likewise.
19890 (significand_test_data): Likewise.
19892 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19895 * benchtests/bench-modf.c (struct args): Mark arg0 as
19897 * scripts/bench.pl: Mark members of struct args as volatile.
19899 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19902 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19903 negative infinity on POWER6 or lower.
19904 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19906 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
19909 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19910 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19911 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19912 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19913 (_FP_SETQNAN): New macro.
19914 (_FP_SETQNAN_SEMIRAW): Likewise.
19915 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19916 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19917 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19918 (FP_EXTEND): Use _FP_FRAC_SNANP.
19919 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19920 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19922 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19924 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19927 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19929 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19930 with DIVIDE_BY_ZERO_EXCEPTION.
19931 (gamma_test_data): Likewise.
19932 (lgamma_test_data): Likewise.
19933 (log_test_data): Likewise.
19934 (log10_test_data): Likewise.
19935 (log2_test_data): Likewise.
19936 (tgamma_test_data): Likewise.
19938 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19939 (acos_test_tonearest): Likewise.
19940 (acos_test_towardzero): Likewise.
19941 (acos_test_downward): Likewise.
19942 (acos_test_upward): Likewise.
19943 (acosh_test): Likewise.
19944 (asin_test): Likewise.
19945 (asin_test_tonearest): Likewise.
19946 (asin_test_towardzero): Likewise.
19947 (asin_test_downward): Likewise.
19948 (asin_test_upward): Likewise.
19949 (asinh_test): Likewise.
19950 (atan_test): Likewise.
19951 (atanh_test): Likewise.
19952 (atan2_test): Likewise.
19953 (cabs_test): Likewise.
19954 (cacos_test): Likewise.
19955 (cacosh_test): Likewise.
19956 (casin_test): Likewise.
19957 (casinh_test): Likewise.
19958 (catan_test): Likewise.
19959 (catanh_test): Likewise.
19960 (cbrt_test): Likewise.
19961 (ccos_test): Likewise.
19962 (ccosh_test): Likewise.
19963 (cexp_test): Likewise.
19964 (clog_test): Likewise.
19965 (clog10_test): Likewise.
19966 (cos_test): Likewise.
19967 (cos_test_tonearest): Likewise.
19968 (cos_test_towardzero): Likewise.
19969 (cos_test_downward): Likewise.
19970 (cos_test_upward): Likewise.
19971 (cosh_test): Likewise.
19972 (cosh_test_tonearest): Likewise.
19973 (cosh_test_towardzero): Likewise.
19974 (cosh_test_downward): Likewise.
19975 (cosh_test_upward): Likewise.
19976 (cpow_test): Likewise.
19977 (csin_test): Likewise.
19978 (csinh_test): Likewise.
19979 (csqrt_test): Likewise.
19980 (ctan_test): Likewise.
19981 (ctan_test_tonearest): Likewise.
19982 (ctan_test_towardzero): Likewise.
19983 (ctan_test_downward): Likewise.
19984 (ctan_test_upward): Likewise.
19985 (ctanh_test): Likewise.
19986 (ctanh_test_tonearest): Likewise.
19987 (ctanh_test_towardzero): Likewise.
19988 (ctanh_test_downward): Likewise.
19989 (ctanh_test_upward): Likewise.
19990 (erf_test): Likewise.
19991 (erfc_test): Likewise.
19992 (exp_test): Likewise.
19993 (exp_test_tonearest): Likewise.
19994 (exp_test_towardzero): Likewise.
19995 (exp_test_downward): Likewise.
19996 (exp_test_upward): Likewise.
19997 (exp10_test): Likewise.
19998 (exp2_test): Likewise.
19999 (expm1_test): Likewise.
20000 (fmod_test): Likewise.
20001 (gamma_test): Likewise.
20002 (hypot_test): Likewise.
20003 (j0_test): Likewise.
20004 (j1_test): Likewise.
20005 (jn_test): Likewise.
20006 (lgamma_test): Likewise.
20007 (log_test): Likewise.
20008 (log10_test): Likewise.
20009 (log1p_test): Likewise.
20010 (log2_test): Likewise.
20011 (logb_test_downward): Likewise.
20012 (pow_test): Likewise.
20013 (pow_test_tonearest): Likewise.
20014 (pow_test_towardzero): Likewise.
20015 (pow_test_downward): Likewise.
20016 (pow_test_upward): Likewise.
20017 (remainder_test): Likewise.
20018 (remquo_test): Likewise.
20019 (sin_test): Likewise.
20020 (sin_test_tonearest): Likewise.
20021 (sin_test_towardzero): Likewise.
20022 (sin_test_downward): Likewise.
20023 (sin_test_upward): Likewise.
20024 (sincos_test): Likewise.
20025 (sinh_test): Likewise.
20026 (sinh_test_tonearest): Likewise.
20027 (sinh_test_towardzero): Likewise.
20028 (sinh_test_downward): Likewise.
20029 (sinh_test_upward): Likewise.
20030 (sqrt_test): Likewise.
20031 (tan_test): Likewise.
20032 (tan_test_tonearest): Likewise.
20033 (tan_test_towardzero): Likewise.
20034 (tan_test_downward): Likewise.
20035 (tan_test_upward): Likewise.
20036 (tanh_test): Likewise.
20037 (tgamma_test): Likewise.
20038 (y0_test): Likewise.
20039 (y1_test): Likewise.
20040 (yn_test): Likewise.
20042 * math/gen-libm-test.pl (adjust_arg): Remove function.
20043 (special_function): Remove argument $in_func. Only handle
20044 generating output for tables of tests, not inside functions.
20045 (parse_args): Likewise.
20046 (generate_testfile): Remove variable $in_func. Update call to
20048 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20049 (MINUS_ZERO_INIT): Rename macro to minus_zero.
20050 (PLUS_INFTY_INIT): Rename macro to plus_infty.
20051 (MINUS_INFTY_INIT): Rename macro to minus_infty.
20052 (QNAN_VALUE_INIT): Rename macro to qnan_value.
20053 (MAX_VALUE_INIT): Rename macro to max_value.
20054 (MIN_VALUE_INIT): Rename macro to min_value.
20055 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20056 (plus_zero): Remove variable.
20057 (minus_zero): Likewise.
20058 (plus_infty): Likewise.
20059 (minus_infty): Likewise.
20060 (qnan_value): Likewise.
20061 (max_value): Likewise.
20062 (min_value): Likewise.
20063 (min_subnorm_value): Likewise.
20065 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20067 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20068 uint64_t or uint32_t usage.
20069 * crypt/sha256-block.c: Likewise.
20070 * crypt/sha256-crypt.c: Likewise.
20071 * crypt/sha256.c: Likewise.
20072 * crypt/sha512-block.c: Likewise.
20073 * crypt/sha512-crypt.c: Likewise.
20074 * crypt/sha512.c: Likewise.
20075 * debug/backtrace-tst.c: Likewise.
20076 * debug/pcprofiledump.c: Likewise.
20077 * elf/cache.c: Likewise.
20078 * elf/dl-cache.c: Likewise.
20079 * elf/dl-misc.c: Likewise.
20080 * elf/dl-profile.c: Likewise.
20081 * elf/dl-support.c: Likewise.
20082 * elf/ldconfig.c: Likewise.
20083 * elf/sprof.c: Likewise.
20084 * iconv/dummy-repertoire.c: Likewise.
20085 * iconv/iconv_charmap.c: Likewise.
20086 * iconv/skeleton.c: Likewise.
20087 * iconvdata/8bit-generic.c: Likewise.
20088 * iconvdata/cp737.h: Likewise.
20089 * iconvdata/cp775.h: Likewise.
20090 * iconvdata/ibm1008.h: Likewise.
20091 * iconvdata/ibm1025.h: Likewise.
20092 * iconvdata/ibm1046.h: Likewise.
20093 * iconvdata/ibm1097.h: Likewise.
20094 * iconvdata/ibm1112.h: Likewise.
20095 * iconvdata/ibm1122.h: Likewise.
20096 * iconvdata/ibm1123.h: Likewise.
20097 * iconvdata/ibm1124.h: Likewise.
20098 * iconvdata/ibm1129.h: Likewise.
20099 * iconvdata/ibm1130.h: Likewise.
20100 * iconvdata/ibm1132.h: Likewise.
20101 * iconvdata/ibm1133.h: Likewise.
20102 * iconvdata/ibm1137.h: Likewise.
20103 * iconvdata/ibm1140.h: Likewise.
20104 * iconvdata/ibm1141.h: Likewise.
20105 * iconvdata/ibm1142.h: Likewise.
20106 * iconvdata/ibm1143.h: Likewise.
20107 * iconvdata/ibm1144.h: Likewise.
20108 * iconvdata/ibm1145.h: Likewise.
20109 * iconvdata/ibm1146.h: Likewise.
20110 * iconvdata/ibm1147.h: Likewise.
20111 * iconvdata/ibm1148.h: Likewise.
20112 * iconvdata/ibm1149.h: Likewise.
20113 * iconvdata/ibm1153.h: Likewise.
20114 * iconvdata/ibm1154.h: Likewise.
20115 * iconvdata/ibm1155.h: Likewise.
20116 * iconvdata/ibm1156.h: Likewise.
20117 * iconvdata/ibm1157.h: Likewise.
20118 * iconvdata/ibm1158.h: Likewise.
20119 * iconvdata/ibm1160.h: Likewise.
20120 * iconvdata/ibm1161.h: Likewise.
20121 * iconvdata/ibm1162.h: Likewise.
20122 * iconvdata/ibm1163.h: Likewise.
20123 * iconvdata/ibm1164.h: Likewise.
20124 * iconvdata/ibm1166.h: Likewise.
20125 * iconvdata/ibm1167.h: Likewise.
20126 * iconvdata/ibm12712.h: Likewise.
20127 * iconvdata/ibm1390.h: Likewise.
20128 * iconvdata/ibm1399.h: Likewise.
20129 * iconvdata/ibm16804.h: Likewise.
20130 * iconvdata/ibm4517.h: Likewise.
20131 * iconvdata/ibm4899.h: Likewise.
20132 * iconvdata/ibm4909.h: Likewise.
20133 * iconvdata/ibm4971.h: Likewise.
20134 * iconvdata/ibm5347.h: Likewise.
20135 * iconvdata/ibm803.h: Likewise.
20136 * iconvdata/ibm856.h: Likewise.
20137 * iconvdata/ibm901.h: Likewise.
20138 * iconvdata/ibm902.h: Likewise.
20139 * iconvdata/ibm9030.h: Likewise.
20140 * iconvdata/ibm9066.h: Likewise.
20141 * iconvdata/ibm921.h: Likewise.
20142 * iconvdata/ibm922.h: Likewise.
20143 * iconvdata/ibm9448.h: Likewise.
20144 * iconvdata/isiri-3342.h: Likewise.
20145 * iconvdata/jis0201.h: Likewise.
20146 * include/link.h: Likewise.
20147 * include/netdb.h: Likewise.
20148 * inet/check_native.c: Likewise.
20149 * inet/check_pf.c: Likewise.
20150 * inet/getipv4sourcefilter.c: Likewise.
20151 * inet/getnameinfo.c: Likewise.
20152 * inet/getsourcefilter.c: Likewise.
20153 * inet/htonl.c: Likewise.
20154 * inet/setipv4sourcefilter.c: Likewise.
20155 * inet/setsourcefilter.c: Likewise.
20156 * inet/test-inet6_opt.c: Likewise.
20157 * inet/tst-network.c: Likewise.
20158 * locale/C-collate.c: Likewise.
20159 * locale/C-ctype.c: Likewise.
20160 * locale/C-time.c: Likewise.
20161 * locale/C-translit.h: Likewise.
20162 * locale/loadarchive.c: Likewise.
20163 * locale/programs/3level.h: Likewise.
20164 * locale/programs/charmap.c: Likewise.
20165 * locale/programs/charmap.h: Likewise.
20166 * locale/programs/ld-address.c: Likewise.
20167 * locale/programs/ld-collate.c: Likewise.
20168 * locale/programs/ld-ctype.c: Likewise.
20169 * locale/programs/ld-identification.c: Likewise.
20170 * locale/programs/ld-measurement.c: Likewise.
20171 * locale/programs/ld-messages.c: Likewise.
20172 * locale/programs/ld-monetary.c: Likewise.
20173 * locale/programs/ld-name.c: Likewise.
20174 * locale/programs/ld-numeric.c: Likewise.
20175 * locale/programs/ld-paper.c: Likewise.
20176 * locale/programs/ld-telephone.c: Likewise.
20177 * locale/programs/ld-time.c: Likewise.
20178 * locale/programs/linereader.c: Likewise.
20179 * locale/programs/locale.c: Likewise.
20180 * locale/programs/locarchive.c: Likewise.
20181 * locale/programs/locfile.h: Likewise.
20182 * locale/programs/repertoire.c: Likewise.
20183 * locale/programs/simple-hash.c: Likewise.
20184 * locale/programs/simple-hash.h: Likewise.
20185 * malloc/memusage.c: Likewise.
20186 * malloc/memusagestat.c: Likewise.
20187 * nis/nis_defaults.c: Likewise.
20188 * nis/nis_hash.c: Likewise.
20189 * nis/nis_print.c: Likewise.
20190 * nis/nis_xdr.c: Likewise.
20191 * nscd/connections.c: Likewise.
20192 * nscd/hstcache.c: Likewise.
20193 * nscd/nscd_gethst_r.c: Likewise.
20194 * nscd/nscd_getserv_r.c: Likewise.
20195 * nscd/nscd_helper.c: Likewise.
20196 * nscd/servicescache.c: Likewise.
20197 * nss/makedb.c: Likewise.
20198 * nss/nss_db/db-XXX.c: Likewise.
20199 * nss/nss_db/db-initgroups.c: Likewise.
20200 * nss/nss_db/db-netgrp.c: Likewise.
20201 * nss/nss_files/files-network.c: Likewise.
20202 * nss/nss_files/files-parse.c: Likewise.
20203 * posix/bug-regex5.c: Likewise.
20204 * posix/fnmatch_loop.c: Likewise.
20205 * posix/regcomp.c: Likewise.
20206 * posix/regexec.c: Likewise.
20207 * posix/tst-rfc3484-2.c: Likewise.
20208 * posix/tst-rfc3484-3.c: Likewise.
20209 * posix/tst-rfc3484.c: Likewise.
20210 * resolv/nss_dns/dns-canon.c: Likewise.
20211 * resolv/nss_dns/dns-network.c: Likewise.
20212 * resolv/res_init.c: Likewise.
20213 * resolv/res_mkquery.c: Likewise.
20214 * resolv/tst-aton.c: Likewise.
20215 * stdlib/cxa_atexit.c: Likewise.
20216 * stdlib/cxa_finalize.c: Likewise.
20217 * stdlib/gen-fpioconst.c: Likewise.
20218 * stdlib/strtol_l.c: Likewise.
20219 * string/tst-endian.c: Likewise.
20220 * sunrpc/auth_des.c: Likewise.
20221 * sunrpc/clnt_udp.c: Likewise.
20222 * sunrpc/rtime.c: Likewise.
20223 * sunrpc/svcauth_des.c: Likewise.
20224 * sunrpc/xdr.c: Likewise.
20225 * sunrpc/xdr_intXX_t.c: Likewise.
20226 * sunrpc/xdr_rec.c: Likewise.
20227 * sysdeps/generic/ldconfig.h: Likewise.
20228 * sysdeps/generic/ldsodefs.h: Likewise.
20229 * sysdeps/generic/memusage.h: Likewise.
20230 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20231 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20232 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20233 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20234 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20235 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20236 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20237 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20238 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20239 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20240 * sysdeps/posix/getaddrinfo.c: Likewise.
20241 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20242 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20243 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20244 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20245 * sysdeps/powerpc/test-gettimebase.c: Likewise.
20246 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20247 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20248 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20249 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20250 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20251 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20252 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20253 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20254 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20255 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20256 * sysdeps/x86_64/dl-tls.h: Likewise.
20257 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20258 * time/alt_digit.c: Likewise.
20259 * time/era.c: Likewise.
20260 * wcsmbs/tst-c16c32-1.c: Likewise.
20262 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20264 * math/libm-test.inc (struct test_sincos_data): New type.
20265 (RUN_TEST_LOOP_sincos): New macro.
20266 (sincos_test_data): New variable.
20267 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20269 2013-05-16 Richard Henderson <rth@redhat.com>
20271 * math/atest-exp2.c (LIMB64): New macro.
20272 (CONSTSZ): New macro.
20273 (mp_exp1, mp_exp_m1, mp_log2): New variables.
20275 (print_mpn_fp): ... to function scope.
20276 (read_mpn_hex): Remove.
20277 (get_log2): Remove.
20278 (exp2_mpn): Use mp_log2.
20279 (main): Use mp_exp1.
20281 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20283 * math/libm-test.inc: Remove comment about not testing "inexact"
20285 (INEXACT_EXCEPTION): New macro.
20286 (NO_INEXACT_EXCEPTION): Likewise.
20287 (INVALID_EXCEPTION_OK): Update value.
20288 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20289 (OVERFLOW_EXCEPTION_OK): Likewise.
20290 (UNDERFLOW_EXCEPTION_OK): Likewise.
20291 (IGNORE_ZERO_INF_SIGN): Likewise.
20292 (ERRNO_UNCHANGED): Likewise.
20293 (ERRNO_EDOM): Likewise.
20294 (ERRNO_ERANGE): Likewise.
20295 (test_exceptions): Handle testing "inexact" exceptions.
20296 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20297 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20298 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20299 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20301 (rint_towardzero_test_data): Likewise.
20302 (rint_downward_test_data): Likewise.
20303 (rint_upward_test_data): Likewise.
20305 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20306 with OVERFLOW_EXCEPTION.
20307 (exp10_test_data): Likewise.
20308 (exp2_test_data): Likewise.
20309 (expm1_test_data): Likewise.
20310 (lgamma_test_data): Likewise.
20311 (pow_test_data): Likewise.
20312 (tgamma_test_data): Likewise.
20313 (yn_test_data): Remove duplicate test of overflow.
20315 * math/libm-test.inc (struct test_cc_c_data): New type.
20316 (RUN_TEST_LOOP_cc_c): New macro.
20317 (cpow_test_data): New variable.
20318 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20320 * math/libm-test.inc (struct test_f_L_data): New type.
20321 (RUN_TEST_LOOP_f_L): New macro.
20322 (llrint_test_data): New variable.
20323 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20324 (llrint_tonearest_test_data): New variable.
20325 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20326 (llrint_towardzero_test_data): New variable.
20327 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20328 (llrint_downward_test_data): New variable.
20329 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20330 (llrint_upward_test_data): New variable.
20331 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20332 (llround_test_data): New variable.
20333 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20335 2013-05-13 Peter Collingbourne <pcc@google.com>
20337 * math/atest-exp2.c (get_log2): Remove const attribute.
20339 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20341 * math/libm-test.inc (struct test_f_l_data): New type.
20342 (RUN_TEST_LOOP_f_l): New macro.
20343 (lrint_test_data): New variable.
20344 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20345 (lrint_tonearest_test_data): New variable.
20346 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20347 (lrint_towardzero_test_data): New variable.
20348 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20349 (lrint_downward_test_data): New variable.
20350 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20351 (lrint_upward_test_data): New variable.
20352 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20353 (lround_test_data): New variable.
20354 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20356 2013-05-15 Peter Collingbourne <pcc@google.com>
20358 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20359 (EXTRACT_WORDS64) Use where appropriate.
20360 (INSERT_WORDS64) Likewise.
20362 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20363 constraints with x constraints.
20364 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20366 * malloc/obstack.c (_obstack_compat): Add initializer.
20368 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
20370 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20371 si_trapno and add si_addr_lsb to _sifields.sigfault.
20372 (si_trapno): Remove macro.
20373 (si_addr_lsb): Define new macro.
20374 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20376 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20378 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20379 instead of TEST_f_l.
20380 (llrint_test_tonearest): Likewise.
20381 (llrint_test_towardzero): Likewise.
20382 (llrint_test_downward): Likewise.
20383 (llrint_test_upward): Likewise.
20384 (llround_test): Likewise.
20386 * math/libm-test.inc (struct test_f_i_data): Add comment.
20387 (RUN_TEST_LOOP_f_b): New macro.
20388 (RUN_TEST_LOOP_f_b_tg): Likewise.
20389 (finite_test_data): New variable.
20390 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20391 (isfinite_test_data): New variable.
20392 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20393 (isinf_test_data): New variable.
20394 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20395 (isnan_test_data): New variable.
20396 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20397 (isnormal_test_data): New variable.
20398 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20399 (issignaling_test_data): New variable.
20400 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20401 (signbit_test_data): New variable.
20402 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20404 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20405 with INVALID_EXCEPTION.
20406 (acosh_test_data): Likewise.
20407 (asin_test_data): Likewise.
20408 (atanh_test_data): Likewise.
20409 (fmod_test_data): Likewise.
20410 (log_test_data): Likewise.
20411 (log10_test_data): Likewise.
20412 (log2_test_data): Likewise.
20413 (pow_test_data): Likewise.
20414 (sqrt_test_data): Likewise.
20415 (y0_test_data): Likewise.
20416 (y1_test_data): Likewise.
20417 (yn_test_data): Likewise.
20419 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20422 * math/libm-test.inc (struct test_ff_i_data): New type.
20423 (RUN_TEST_LOOP_ff_i_tg): New macro.
20424 (isgreater_test_data): New variable.
20425 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20426 (isgreaterequal_test_data): New variable.
20427 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20428 (isless_test_data): New variable.
20429 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20430 (islessequal_test_data): New variable.
20431 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20432 (islessgreater_test_data): New variable.
20433 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20434 (isunordered_test_data): New variable.
20435 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20437 2013-05-14 David S. Miller <davem@davemloft.net>
20439 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20441 2013-05-14 Joseph Myers <joseph@codesourcery.com>
20443 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20445 * math/libm-test.inc (struct test_fF_f1_data): Change type of
20447 (struct test_f_i_data): Change type of max_ulp to int.
20449 * math/libm-test.inc (test_ffI_f1_data): New type.
20450 (RUN_TEST_LOOP_ffI_f1): New macro.
20451 (remquo_test_data): New variable.
20452 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20454 * setjmp/tst-setjmp-fp.c: New file.
20455 * setjmp/Makefile (tests): Add tst-setjmp-fp.
20456 (link-libm): New variable.
20457 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20459 * math/libm-test.inc (struct test_f_i_data): New type.
20460 (RUN_TEST_LOOP_f_i): New macro.
20461 (RUN_TEST_LOOP_f_i_tg): Likewise.
20462 (fpclassify_test_data): New variable.
20463 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20464 (ilogb_test_data): New variable.
20465 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20467 * math/libm-test.inc (scalbln_test): Correct function name in END
20470 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20471 (RUN_TEST_LOOP_fI_f1): New macro.
20472 (frexp_test_data): New variable.
20473 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20475 * math/libm-test.inc (struct test_fF_f1_data): New type.
20476 (RUN_TEST_LOOP_fF_f1): New macro.
20477 (modf_test_data): New variable.
20478 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20480 * math/libm-test.inc (struct test_f_f1_data): New type.
20481 (RUN_TEST_LOOP_f_f1): New macro.
20482 (gamma_test_data): New variable.
20483 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20484 (lgamma_test_data): New variable.
20485 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20487 2013-05-13 Carlos O'Donell <carlos@redhat.com>
20489 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20490 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20491 (main): Comment "tls" pseudo-hwcap.
20493 2013-05-13 Joseph Myers <joseph@codesourcery.com>
20495 * math/libm-test.inc (struct test_fl_f_data): New type.
20496 (RUN_TEST_LOOP_fl_f): New variable.
20497 (scalbln_test_data): New variable.
20498 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20500 * math/libm-test.inc (struct test_fi_f_data): New type.
20501 (RUN_TEST_LOOP_fi_f): New macro.
20502 (ldexp_test_data): New variable.
20503 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20504 (scalbn_test_data): New variable.
20505 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20507 * math/libm-test.inc (struct test_c_f_data): New type.
20508 (RUN_TEST_LOOP_c_f): New macro.
20509 (cabs_test_data): New variable.
20510 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20511 (carg_test_data): New variable.
20512 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20513 (cimag_test_data): New variable.
20514 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20515 (creal_test_data): New variable.
20516 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20518 * math/libm-test.inc (struct test_if_f_data): New type.
20519 (RUN_TEST_LOOP_if_f): New macro.
20520 (jn_test_data): New variable.
20521 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20522 (yn_test_data): New variable.
20523 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20525 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20527 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20529 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20530 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20532 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20534 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20535 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20536 (bench-deps): Add bench-timing.h.
20537 * benchtests-bench-skeleton.c: Include bench-timing.h.
20538 (main): Use TIMING_* macros instead of clock_gettime.
20539 * benchtests/bench-timing.h: New file.
20542 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20543 Renamed from _LIB_VERSION.
20544 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20546 2013-05-12 Joseph Myers <joseph@codesourcery.com>
20548 * math/libm-test.inc (struct test_fff_f_data): New type.
20549 (RUN_TEST_LOOP_fff_f): New macro.
20550 (fma_test_data): New variable.
20551 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20552 (fma_towardzero_test_data): New variable.
20553 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20554 (fma_downward_test_data): New variable.
20555 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20556 (fma_upward_test_data): New variable.
20557 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20559 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20560 (struct test_c_c_data): New type.
20561 (RUN_TEST_LOOP_c_c): New macro.
20562 (cacos_test_data): New variable.
20563 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20564 (cacosh_test_data): New variable.
20565 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20566 (casin_test_data): New variable.
20567 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20568 (casinh_test_data): New variable.
20569 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20570 (catan_test_data): New variable.
20571 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20572 (catanh_test_data): New variable.
20573 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20574 (ccos_test_data): New variable.
20575 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20576 (ccosh_test_data): New variable.
20577 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20578 (cexp_test_data): New variable.
20579 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20580 (clog_test_data): New variable.
20581 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20582 (clog10_test_data): New variable.
20583 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20584 (conj_test_data): New variable.
20585 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20586 (cproj_test_data): New variable.
20587 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20588 (csin_test_data): New variable.
20589 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20590 (csinh_test_data): New variable.
20591 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20592 (csqrt_test_data): New variable.
20593 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20594 (ctan_test_data): New variable.
20595 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20596 (ctan_tonearest_test_data): New variable.
20597 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20598 (ctan_towardzero_test_data): New variable.
20599 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20600 (ctan_downward_test_data): New variable.
20601 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20602 (ctan_upward_test_data): New variable.
20603 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20604 (ctanh_test_data): New variable.
20605 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20606 (ctanh_tonearest_test_data): New variable.
20607 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20608 (ctanh_towardzero_test_data): New variable.
20609 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20610 (ctanh_downward_test_data): New variable.
20611 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20612 (ctanh_upward_test_data): New variable.
20613 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20614 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20617 * math/libm-test.inc (struct test_ff_f_data): New type.
20618 (struct test_ff_f_data_nexttoward): Likewise.
20619 (RUN_TEST_LOOP_2_f): New macro.
20620 (RUN_TEST_LOOP_ff_f): Likewise.
20621 (atan2_test_data): New variable.
20622 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20623 (copysign_test_data): New variable.
20624 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20625 (fdim_test_data): New variable.
20626 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20627 (fmax_test_data): New variable.
20628 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20629 (fmin_test_data): New variable.
20630 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20631 (fmod_test_data): New variable.
20632 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20633 (hypot_test_data): New variable.
20634 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20635 (nextafter_test_data): New variable.
20636 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20637 (nexttoward_test_data): New variable.
20638 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20639 (pow_test_data): New variable.
20640 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20641 (pow_tonearest_test_data): New variable.
20642 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20643 (pow_towardzero_test_data): New variable.
20644 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20645 (pow_downward_test_data): New variable.
20646 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20647 (pow_upward_test_data): New variable.
20648 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20649 (remainder_test_data): New variable.
20650 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20651 (scalb_test_data): New variable.
20652 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20653 * sysdeps/i386/fpu/libm-test-ulps: Update.
20655 2013-05-11 Joseph Myers <joseph@codesourcery.com>
20657 * math/libm-test.inc (fma_test): Use max_value instead of local
20659 (nextafter_test): Likewise.
20661 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20662 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20663 (acos_downward_test_data): New variable.
20664 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20665 (acos_upward_test_data): New variable.
20666 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20667 (acosh_test_data): New variable.
20668 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20669 (asin_test_data): New variable.
20670 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20671 (asin_tonearest_test_data): New variable.
20672 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20673 (asin_towardzero_test_data): New variable.
20674 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20675 (asin_downward_test_data): New variable.
20676 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20677 (asin_upward_test_data): New variable.
20678 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20679 (asinh_test_data): New variable.
20680 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20681 (atan_test_data): New variable.
20682 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20683 (atanh_test_data): New variable.
20684 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20685 (cbrt_test_data): New variable.
20686 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20687 (ceil_test_data): New variable.
20688 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20689 (cos_test_data): New variable.
20690 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20691 (cos_tonearest_test_data): New variable.
20692 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20693 (cos_towardzero_test_data): New variable.
20694 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20695 (cos_downward_test_data): New variable.
20696 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20697 (cos_upward_test_data): New variable.
20698 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20699 (cosh_test_data): New variable.
20700 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20701 (cosh_tonearest_test_data): New variable.
20702 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20703 (cosh_towardzero_test_data): New variable.
20704 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20705 (cosh_downward_test_data): New variable.
20706 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20707 (cosh_upward_test_data): New variable.
20708 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20709 (erf_test_data): New variable.
20710 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20711 (erfc_test_data): New variable.
20712 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20713 (exp_test_data): New variable.
20714 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20715 (exp_tonearest_test_data): New variable.
20716 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20717 (exp_towardzero_test_data): New variable.
20718 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20719 (exp_downward_test_data): New variable.
20720 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20721 (exp_upward_test_data): New variable.
20722 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20723 (exp10_test_data): New variable.
20724 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20725 (exp2_test_data): New variable.
20726 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20727 (expm1_test_data): New variable.
20728 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20729 (fabs_test_data): New variable.
20730 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20731 (floor_test_data): New variable.
20732 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20733 (j0_test_data): New variable.
20734 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20735 (j1_test_data): New variable.
20736 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20737 (log_test_data): New variable.
20738 (log_test): Run tests with RUN_TEST_LOOP_f_f.
20739 (log10_test_data): New variable.
20740 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20741 (log1p_test_data): New variable.
20742 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20743 (log2_test_data): New variable.
20744 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20745 (logb_test_data): New variable.
20746 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20747 (logb_downward_test_data): New variable.
20748 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20749 (nearbyint_test_data): New variable.
20750 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20751 (rint_test_data): New variable.
20752 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20753 (rint_tonearest_test_data): New variable.
20754 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20755 (rint_towardzero_test_data): New variable.
20756 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20757 (rint_downward_test_data): New variable.
20758 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20759 (rint_upward_test_data): New variable.
20760 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20761 (round_test_data): New variable.
20762 (round_test): Run tests with RUN_TEST_LOOP_f_f.
20763 (sin_test_data): New variable.
20764 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20765 (sin_tonearest_test_data): New variable.
20766 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20767 (sin_towardzero_test_data): New variable.
20768 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20769 (sin_downward_test_data): New variable.
20770 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20771 (sin_upward_test_data): New variable.
20772 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20773 (sinh_test_data): New variable.
20774 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20775 (sinh_tonearest_test_data): New variable.
20776 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20777 (sinh_towardzero_test_data): New variable.
20778 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20779 (sinh_downward_test_data): New variable.
20780 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20781 (sinh_upward_test_data): New variable.
20782 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20783 (sqrt_test_data): New variable.
20784 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20785 (tan_test_data): New variable.
20786 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20787 (tan_tonearest_test_data): New variable.
20788 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20789 (tan_towardzero_test_data): New variable.
20790 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20791 (tan_downward_test_data): New variable.
20792 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20793 (tan_upward_test_data): New variable.
20794 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20795 (tanh_test_data): New variable.
20796 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20797 (tgamma_test_data): New variable.
20798 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20799 (trunc_test_data): New variable.
20800 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20801 (y0_test_data): New variable.
20802 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20803 (y1_test_data): New variable.
20804 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20805 (significand_test_data): New variable.
20806 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20808 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
20811 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20813 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
20815 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20817 2013-05-10 Andreas Jaeger <aj@suse.de>
20820 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20821 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20823 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20825 * math/gen-libm-test.pl (adjust_arg): New function.
20826 (special_functions): Handle generating output in both functions
20828 (parse_args): Likewise.
20829 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
20830 $in_func argument to parse_args.
20831 * math/libm-test.inc (struct test_f_f_data): New type.
20832 (IF_ROUND_INIT_): New macro.
20833 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20834 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20835 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20836 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20837 (ROUND_RESTORE_): Likewise.
20838 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20839 (ROUND_RESTORE_FE_TONEAREST): Likewise.
20840 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20841 (ROUND_RESTORE_FE_UPWARD): Likewise.
20842 (RUN_TEST_LOOP_f_f): New macro.
20843 (acos_test_data): New variable.
20844 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20845 (acos_tonearest_test_data): New variable.
20846 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20848 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20850 * benchtests/bench-skeleton.c (startup): Fix coding style.
20852 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20855 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20856 negative infinity argument.
20857 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20858 negative infinity argument.
20859 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20860 negative infinity argument.
20861 * math/libm-test.inc (tgamma_test): Expect errno to be set for
20864 2013-05-10 Florian Weimer <fweimer@redhat.com>
20866 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20867 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20868 * iconv/iconv_prog.c (main): Likewise.
20869 * locale/programs/charmap-dir.c (charmap_readdir)
20870 (fopen_uncompressed): Likewise.
20871 * locale/programs/locfile.c (siblings_uncached)
20872 (write_locale_data): Use lstat64 instead of lstat.
20873 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20876 2013-05-10 Andreas Jaeger <aj@suse.de>
20879 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20881 Include <locale.h>.
20883 2013-05-09 Carlos O'Donell <carlos@redhat.com>
20885 * elf/dl-close.c (_dl_close_worker): Add comments.
20887 2013-05-09 Joseph Myers <joseph@codesourcery.com>
20890 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20892 (__ieee754_rem_pio2l): Update comments.
20895 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20897 (__ieee754_rem_pio2l): Update comments.
20899 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20900 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20902 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20905 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20906 (M_PI_34_LOG10El): Likewise.
20907 (M_PI2_LOG10El): Likewise.
20908 (M_PI4_LOG10El): Likewise.
20909 (M_PI_LOG10El): Likewise.
20911 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20915 2013-05-08 Joseph Myers <joseph@codesourcery.com>
20917 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20918 (MINUS_ZERO_INIT): Likewise.
20919 (PLUS_INFTY_INIT): Likewise.
20920 (MINUS_INFTY_INIT): Likewise.
20921 (QNAN_VALUE_INIT): Likewise.
20922 (MAX_VALUE_INIT): Likewise.
20923 (MIN_VALUE_INIT): Likewise.
20924 (MIN_SUBNORM_VALUE_INIT): Likewise.
20925 (plus_zero): Initialize with PLUS_ZERO_INIT.
20926 (minus_zero): Initialize with MINUS_ZERO_INIT.
20927 (plus_infty): Initialize with PLUS_INFTY_INIT.
20928 (minus_infty): Initialize with MINUS_INFTY_INIT.
20929 (qnan_value): Initialize with QNAN_VALUE_INIT.
20930 (max_value): Initialize with MAX_VALUE_INIT.
20931 (min_value): Initialize with MIN_VALUE_INIT.
20932 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20934 * math/libm-test.inc (RUN_TEST_if_f): New macro.
20935 (jn_test): Use TEST_if_f instead of TEST_ff_f.
20936 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20937 (yn_test): Use TEST_if_f instead of TEST_ff_f.
20939 * math/libm-test.inc (RUN_TEST_f_f): New macro.
20940 (RUN_TEST_2_f): Likewise.
20941 (RUN_TEST_ff_f): Likewise.
20942 (RUN_TEST_fi_f): Likewise.
20943 (RUN_TEST_fl_f): Likewise.
20944 (RUN_TEST_fff_f): Likewise.
20945 (RUN_TEST_c_f): Likewise.
20946 (RUN_TEST_f_f1): Likewise.
20947 (RUN_TEST_fF_f1): Likewise.
20948 (RUN_TEST_fI_f1): Likewise.
20949 (RUN_TEST_ffI_f1): Likewise.
20950 (RUN_TEST_c_c): Likewise.
20951 (RUN_TEST_cc_c): Likewise.
20952 (RUN_TEST_f_i): Likewise.
20953 (RUN_TEST_f_i_tg): Likewise.
20954 (RUN_TEST_ff_i_tg): Likewise.
20955 (RUN_TEST_f_b): Likewise.
20956 (RUN_TEST_f_b_tg): Likewise.
20957 (RUN_TEST_f_l): Likewise.
20958 (RUN_TEST_f_L): Likewise.
20959 (RUN_TEST_sincos): Likewise.
20960 * math/gen-libm-test.pl (new_test): Take new argument to indicate
20961 whether to show exceptions. Do not include ");\n" in return
20963 (special_functions): Output call to RUN_TEST_sincos instead of
20964 check_float calls. Update calls to new_test.
20965 (parse_args): Output call to single RUN_TEST_* macro instead of
20966 check_* calls and other assignments. Update calls to new_test.
20972 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20973 input to result for tgamma overflow.
20974 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20975 (gamma_coeff): New variable.
20976 (NCOEFF): New macro.
20977 (gamma_positive): New function.
20978 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20979 underflow here. Use gamma_positive instead of exp (lgamma) for
20981 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20982 (gamma_coeff): New variable.
20983 (NCOEFF): New macro.
20984 (gammaf_positive): New function.
20985 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20986 underflow here. Use gamma_positive instead of exp (lgamma) for
20988 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20989 (gamma_coeff): New variable.
20990 (NCOEFF): New macro.
20991 (gammal_positive): New function.
20992 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20993 underflow here. Use gamma_positive instead of exp (lgamma) for
20995 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20996 (gamma_coeff): New variable.
20997 (NCOEFF): New macro.
20998 (gammal_positive): New function.
20999 (__ieee754_gammal_r): Handle positive infinity, overflow and
21000 underflow here. Handle NaN the same as positive infinity. Remove
21001 check x < 0xffffffff for negative integers. Use gamma_positive
21002 instead of exp (lgamma) for other arguments.
21003 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21004 (gamma_coeff): New variable.
21005 (NCOEFF): New macro.
21006 (gammal_positive): New function.
21007 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21008 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21009 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21010 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21011 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21012 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21013 * sysdeps/generic/math_private.h (__gamma_productf): New
21015 (__gamma_product): Likewise.
21016 (__gamma_productl): Likewise.
21017 * math/Makefile (libm-calls): Add gamma_product.
21018 * math/libm-test.inc (tgamma_test): Add more tests.
21019 * sysdeps/i386/fpu/libm-test-ulps: Update.
21020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21022 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
21024 * benchtests/bench-skeleton.c (main): Preheat CPU.
21026 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
21028 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21030 2013-05-07 Roland McGrath <roland@hack.frob.com>
21032 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21033 and _dl_skip_args_internal.
21035 2013-05-07 Carlos O'Donell <carlos@redhat.com>
21037 * manual/message.texi (Message Translation): Talk about users.
21038 Message to key mapping impacts design.
21040 2013-05-06 Roland McGrath <roland@hack.frob.com>
21042 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21044 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21046 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21047 * sysdeps/wordsize-64/glob64.c: ... here.
21049 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21050 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21053 * debug/getlogin_r_chk.c: Moved to ...
21054 * login/getlogin_r_chk.c: ... here.
21055 * debug/Makefile (routines): Move getlogin_r_chk to ...
21056 * login/Makefile (routines): ... here.
21057 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21058 * login/Versions (libc: GLIBC_2.4): ... here.
21060 * io/poll.c (__poll): Renamed from poll.
21061 Add libc_hidden_def.
21062 (poll): Define as weak alias.
21064 * debug/ptsname_r_chk.c: Moved to ...
21065 * login/ptsname_r_chk.c: ... here.
21066 * debug/Makefile (routines): Move ptsname_r_chk to ...
21067 * login/Makefile (routines): ... here.
21068 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21069 * login/Versions (libc: GLIBC_2.4): ... here.
21071 * posix/getlogin.c: Moved to ...
21072 * login/getlogin.c: ... here.
21073 * posix/getlogin_r.c: Moved to ...
21074 * login/getlogin_r.c: ... here.
21075 * posix/getlogin_r.c: Moved to ...
21076 * login/getlogin_r.c: ... here.
21077 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21078 * login/Makefile (routines): ... here.
21079 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21080 * login/Versions (libc: GLIBC_2.0): ... here.
21082 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21083 (setrlimit): Define as weak alias.
21085 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21086 Call __ names for open, ftruncate, and close.
21087 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21088 (truncate): Define as weak alias.
21090 2013-05-06 Joseph Myers <joseph@codesourcery.com>
21092 * math/gen-libm-test.pl (parse_args): Initialize x before each
21093 test of frexp, modf and remquo.
21095 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21096 test signgam value.
21098 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21102 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21104 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21106 2013-05-06 Roland McGrath <roland@hack.frob.com>
21108 * elf/dl-writev.h: New file.
21109 * elf/dl-misc.c: Include it.
21110 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21111 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21113 2013-05-04 Joseph Myers <joseph@codesourcery.com>
21115 * math/libm-test.inc (noXFails): Remove variable.
21116 (noXPasses): Likewise.
21117 (BUILD_COMPLEX_INT): Remove macro.
21118 (print_screen): Remove xfail argument.
21119 (print_screen_max_error): Likewise.
21120 (update_stats): Likewise.
21121 (print_max_error): Likewise. Update calls to other affected
21123 (print_complex_max_error): Likewise.
21124 (test_single_exception): Update calls to print_screen.
21125 (test_single_errno): Likewise.
21126 (check_float_internal): Remove xfail argument. Update calls to
21127 other affected functions.
21128 (check_float): Likewise.
21129 (check_complex): Likewise.
21130 (check_int): Likewise.
21131 (check_long): Likewise.
21132 (check_bool): Likewise.
21133 (check_longlong): Likewise.
21134 (main): Don't print noXFails and noXPasses.
21135 * math/gen-libm-test.pl (top level): Don't mention expected
21136 failure handling in comment.
21137 (new_test): Don't handle expected failures.
21138 (parse_args): Don't mention expected failure handling in comment.
21139 (generate_testfile): Don't handle expected failures.
21140 (parse_ulps): Likewise.
21141 (print_ulps_file): Likewise.
21142 (get_failure): Remove function.
21143 (output_test): Don't handle expected failures.
21144 * make/README.libm-test: Don't mention expected failure handling.
21146 * math/libm-test.inc (plus_zero): Make const. Add initializer.
21147 (minus_zero): Likewise.
21148 (plus_infty): Likewise.
21149 (minus_infty): Likewise.
21150 (qnan_value): Likewise.
21151 (max_value): Likewise.
21152 (min_value): Likewise.
21153 (min_subnorm_value): Likewise.
21154 (initialize): Do not initialize those variables dynamically.
21156 2013-05-03 Roland McGrath <roland@hack.frob.com>
21158 * io/open.c (__open_2): Moved to ...
21159 * io/open_2.c: ... this new file.
21160 * io/open64.c (__open64_2): Moved to ...
21161 * io/open64_2.c: ... this new file.
21162 * io/openat.c (__openat_2): Moved to ...
21163 * io/openat_2.c: ... this new file.
21164 * io/openat64.c (__openat64_2): Moved to ...
21165 * io/openat64_2.c: ... this new file.
21166 * io/Makefile (routines): Add them.
21167 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21168 * sysdeps/unix/sysv/linux/open_2.c: File removed.
21169 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21170 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21171 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21172 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21173 (__openat64): Add hidden_ver.
21174 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21175 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21177 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21178 Separately conditionalize setting of GLRO(dl_sysinfo) so
21179 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21180 as well, but the actual setting is only under [NEED_DL_SYSINFO].
21182 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21184 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21185 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21187 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21188 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21189 (_libc_vdso_platform_setup): Add __vdso_time initialization.
21190 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21191 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21193 2013-05-03 Joseph Myers <joseph@codesourcery.com>
21195 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21196 test signgam value.
21198 * math/libm-test.inc (hypot_test): Do not use
21199 IGNORE_ZERO_INF_SIGN.
21201 2013-05-03 Andreas Jaeger <aj@suse.de>
21203 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21205 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21206 (PF_MAX): Adjust for VSOCK change.
21208 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21210 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21212 2013-05-02 Carlos O'Donell <carlos@redhat.com>
21215 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21216 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21217 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21219 2013-05-02 David S. Miller <davem@davemloft.net>
21221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21223 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
21225 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21227 2013-05-01 Roland McGrath <roland@hack.frob.com>
21229 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21231 2013-05-01 Richard Smith <richard@metafoo.co.uk>
21234 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21235 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21236 Use __attribute__ ((__gnu_inline__)).
21237 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21238 Don't use __attribute__ ((__gnu_inline__)).
21240 2013-05-01 Joseph Myers <joseph@codesourcery.com>
21243 * math/s_catan.c (__catan): Handle small real or imaginary part of
21244 input specially to avoid spurious underflow.
21245 * math/s_catanf.c (__catanf): Likewise.
21246 * math/s_catanh.c (__catanh): Likewise.
21247 * math/s_catanhf.c (__catanhf): Likewise.
21248 * math/s_catanhl.c (__catanhl): Likewise.
21249 * math/s_catanl.c (__catanl): Likewise.
21250 * math/libm-test.inc (catan_test): Add more tests.
21251 (catanh_test): Likewise.
21252 * sysdeps/i386/fpu/libm-test-ulps: Update.
21253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21255 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21259 2013-04-30 Joseph Myers <joseph@codesourcery.com>
21262 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21263 accurately for denominator in atan2.
21264 * math/s_catanf.c (__catanf): Likewise.
21265 * math/s_catanh.c (__catanh): Likewise.
21266 * math/s_catanhf.c (__catanhf): Likewise.
21267 * math/s_catanhl.c (__catanhl): Likewise.
21268 * math/s_catanl.c (__catanl): Likewise.
21269 * math/libm-test.inc (catan_test): Add more tests.
21270 (catanh_test): Likewise.
21271 * sysdeps/i386/fpu/libm-test-ulps: Update.
21272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21274 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21276 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21278 * benchtests/Makefile (bench): Remove slow benchmarks.
21279 * benchtests/atan-inputs: Add slow benchmark inputs.
21280 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21281 (BENCH_FUNC): Accept variant offset.
21283 * benchtests/bench-skeleton.c (main): Run benchmark for each
21285 * benchtests/cos-inputs: Add slow benchmark inputs.
21286 * benchtests/exp-inputs: Likewise.
21287 * benchtests/pow-inputs: Likewise.
21288 * benchtests/sin-inputs: Likewise.
21289 * benchtests/slowatan-inputs: Remove.
21290 * benchtests/slowatan.c: Remove.
21291 * benchtests/slowcos-inputs: Remove.
21292 * benchtests/slowcos.c: Remove.
21293 * benchtests/slowexp-inputs: Remove.
21294 * benchtests/slowexp.c: Remove.
21295 * benchtests/slowpow-inputs: Remove.
21296 * benchtests/slowpow.c: Remove.
21297 * benchtests/slowsin-inputs: Remove.
21298 * benchtests/slowsin.c: Remove.
21299 * benchtests/slowtan-inputs: Remove.
21300 * benchtests/slowtan.c: Remove.
21301 * benchtests/tan-inputs: Add slow benchmark inputs.
21302 * scripts/bench.pl: Parse comments and directives.
21304 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
21306 ($(objpfx)bench-%.c): Remove *-ITER.
21307 * benchtests/bench-modf.c: Remove definition of ITER.
21308 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21309 (main): Loop for DURATION seconds instead of fixed number of
21311 * scripts/bench.pl: Don't expect iterations in parameters.
21313 2013-04-29 Roland McGrath <roland@hack.frob.com>
21315 * io/fchdir.c (__fchdir): Renamed from fchdir.
21316 (fchdir): Define as weak alias.
21318 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21320 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21321 (ERRNO_EDOM): Likewise.
21322 (ERRNO_ERANGE): Likewise.
21323 (noErrnoTests): New variable.
21324 (init_max_error): Set errno to 0.
21325 (test_single_errno): New function.
21326 (test_errno): Likewise.
21327 (check_float_internal): Call test_errno. Set errno to 0.
21328 (check_complex): Refer to errno tests in comment.
21329 (check_int): Call test_errno. Set errno to 0.
21330 (check_long): Likewise.
21331 (check_bool): Likewise.
21332 (check_longlong): Likewise.
21333 (cos_test): Use ERRNO_* flags for errno tests instead of
21335 (expm1_test): Likewise.
21336 (fmod_test): Likewise.
21337 (ilogb_test): Likewise.
21338 (lgamma_test): Likewise.
21339 (pow_test): Likewise.
21340 (remainder_test): Likewise.
21341 (sin_test): Likewise.
21342 (tan_test): Likewise.
21343 (yn_test): Likewise.
21344 (initialize): Set errno to 0.
21345 (main): Print number of errno tests.
21346 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21348 2013-04-29 Andreas Jaeger <aj@suse.de>
21351 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21355 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21356 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21360 * stdlib/random.c (__initstate): Return NULL if
21364 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21365 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21368 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21372 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21374 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21375 of individual tests.
21376 (casin_test): Likewise.
21377 (casinh_test): Likewise.
21379 2013-04-27 Joseph Myers <joseph@codesourcery.com>
21382 * math/s_catan.c (__catan): Handle arguments with large real or
21383 imaginary part separately without squaring.
21384 * math/s_catanf.c (__catanf): Likewise.
21385 * math/s_catanh.c (__catanh): Likewise.
21386 * math/s_catanhf.c (__catanhf): Likewise.
21387 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21389 (__catanhl): Handle arguments with large real or imaginary part
21390 separately without squaring.
21391 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21393 (__catanl): Handle arguments with large real or imaginary part
21394 separately without squaring.
21395 * math/libm-test.inc (catan_test): Add more tests.
21396 (catanh_test): Likewise.
21397 * sysdeps/i386/fpu/libm-test-ulps: Update.
21398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21400 2013-04-27 Andreas Jaeger <aj@suse.de>
21403 * stdlib/stdlib.h: Update guards for qecvt.
21404 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21407 2013-04-27 Allan McRae <allan@archlinux.org>
21409 * sysdeps/i386/fpu/libm-test-ulps: Update.
21411 2013-04-26 Joseph Myers <joseph@codesourcery.com>
21414 * math/s_catan.c: Include <float.h>.
21415 (__catan): Ensure underflow exception occurs for underflowed
21417 * math/s_catanf.c: Include <float.h>.
21418 (__catanf): Ensure underflow exception occurs for underflowed
21420 * math/s_catanh.c: Include <float.h>.
21421 (__catanh): Ensure underflow exception occurs for underflowed
21423 * math/s_catanhf.c: Include <float.h>.
21424 (__catanhf): Ensure underflow exception occurs for underflowed
21426 * math/s_catanhl.c: Include <float.h>.
21427 (__catanhl): Ensure underflow exception occurs for underflowed
21429 * math/s_catanl.c: Include <float.h>.
21430 (__catanl): Ensure underflow exception occurs for underflowed
21432 * math/libm-test.inc (catan_test): Add more tests.
21433 (catanh_test): Likewise.
21436 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21437 underflowed result.
21438 * math/s_ccoshf.c (__ccoshf): Likewise.
21439 * math/s_ccoshl.c (__ccoshl): Likewise.
21440 * math/s_csin.c (__csin): Likewise.
21441 * math/s_csinf.c (__csinf): Likewise.
21442 * math/s_csinh.c (__csinh): Likewise.
21443 * math/s_csinhf.c (__csinhf): Likewise.
21444 * math/s_csinhl.c (__csinhl): Likewise.
21445 * math/s_csinl.c (__csinl): Likewise.
21446 * math/libm-test.inc (ccos_test): Add more tests.
21447 (ccosh_test): Likewise.
21448 (csin_test): Likewise.
21449 (csinh_test): Likewise.
21451 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21453 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21454 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21455 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21456 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21457 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21458 powerpc/power5+/fpu folders.
21459 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21462 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21464 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21466 2013-04-25 Joseph Myers <joseph@codesourcery.com>
21468 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21469 additions to variable.
21470 [$(config-machine) = x86_64] (modules-names): Likewise.
21471 ($(objpfx)tst-audit3): Remove dependency.
21472 ($(objpfx)tst-audit3.out): Likewise.
21473 ($(objpfx)tst-audit4): Likewise.
21474 ($(objpfx)tst-audit4.out): Likewise.
21475 ($(objpfx)tst-audit5): Likewise.
21476 ($(objpfx)tst-audit5.out): Likewise.
21477 ($(objpfx)tst-audit6): Likewise.
21478 ($(objpfx)tst-audit6.out): Likewise.
21479 ($(objpfx)tst-audit7): Likewise.
21480 ($(objpfx)tst-audit7.out): Likewise.
21481 (tst-audit3-ENV): Remove variable.
21482 (tst-audit4-ENV): Likewise.
21483 (tst-audit5-ENV): Likewise.
21484 (tst-audit6-ENV): Likewise.
21485 (tst-audit7-ENV): Likewise.
21486 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21487 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21488 addition to variable.
21489 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21490 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21491 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21492 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21493 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21494 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21495 tst-audit3, tst-audit4 and tst-audit5.
21496 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21497 tst-audit6 and tst-audit7.
21498 [$(subdir) = elf] (modules-names): Add audit modules for those
21500 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21501 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21502 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21503 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21504 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21505 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21506 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21507 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21508 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21509 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21510 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21511 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21512 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21513 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21514 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21515 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21517 [$(subdir) = elf && $(config-cflags-avx) = yes]
21518 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21519 [$(subdir) = elf && $(config-cflags-avx) = yes]
21520 (CFLAGS-tst-auditmod4a.c): Likewise.
21521 [$(subdir) = elf && $(config-cflags-avx) = yes]
21522 (CFLAGS-tst-auditmod4b.c): Likewise.
21523 [$(subdir) = elf && $(config-cflags-avx) = yes]
21524 (CFLAGS-tst-auditmod6b.c): Likewise.
21525 [$(subdir) = elf && $(config-cflags-avx) = yes]
21526 (CFLAGS-tst-auditmod6c.c): Likewise.
21527 [$(subdir) = elf && $(config-cflags-avx) = yes]
21528 (CFLAGS-tst-auditmod7b.c): Likewise.
21529 * elf/tst-audit3.c: Move to ...
21530 * sysdeps/x86_64/tst-audit3.c: ... here.
21531 * elf/tst-audit4.c: Move to ...
21532 * sysdeps/x86_64/tst-audit4.c: ... here.
21533 * elf/tst-audit5.c: Move to ...
21534 * sysdeps/x86_64/tst-audit5.c: ... here.
21535 * elf/tst-audit6.c: Move to ...
21536 * sysdeps/x86_64/tst-audit6.c: ... here.
21537 * elf/tst-audit7.c: Move to ...
21538 * sysdeps/x86_64/tst-audit7.c: ... here.
21539 * elf/tst-auditmod3a.c: Move to ...
21540 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21541 * elf/tst-auditmod3b.c: Move to ...
21542 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21543 * elf/tst-auditmod4a.c: Move to ...
21544 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21545 * elf/tst-auditmod4b.c: Move to ...
21546 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21547 * elf/tst-auditmod5a.c: Move to ...
21548 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21549 * elf/tst-auditmod5b.c: Move to ...
21550 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21551 * elf/tst-auditmod6a.c: Move to ...
21552 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21553 * elf/tst-auditmod6b.c: Move to ...
21554 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21555 * elf/tst-auditmod6c.c: Move to ...
21556 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21557 * elf/tst-auditmod7a.c: Move to ...
21558 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21559 * elf/tst-auditmod7b.c: Move to ...
21560 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21562 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21565 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21566 define unconditionally.
21567 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21568 define unconditionally.
21569 (INT8_C, INT16_C, etc.): Likewise.
21571 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21573 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21574 __ehdr_start with hidden visibility.
21576 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21578 2013-04-24 Carlos O'Donell <carlos@redhat.com>
21580 * math/libm-test.inc (cos_test): Use accurate hex constants.
21581 (sincost_test): Likewise.
21583 2013-04-24 Joseph Myers <joseph@codesourcery.com>
21585 * math/libm-test.inc (catan_test): Add more tests.
21586 (catanh_test): Likewise.
21588 * math/s_catanf.c (__catanf): Use suffixed floating-point
21590 * math/s_catanhf.c (__catanhf): Likewise.
21591 * math/s_catanhl.c (__catanhl): Likewise.
21592 * math/s_catanl.c (__catanl): Likewise.
21595 * math/s_catan.c (__catan): Calculate imaginary part of result
21596 with log1p not log unless computing log of number close to 0.
21597 * math/s_catanf.c (__catanf): Likewise.
21598 * math/s_catanl.c (__catanl): Likewise.
21599 * math/s_catanh.c (__catanh): Calculate real part of result with
21600 log1p not log unless computing log of number close to 0.
21601 * math/s_catanhf.c (__catanhf): Likewise.
21602 * math/s_catanhl.c (__catanhl): Likewise.
21603 * math/libm-test.inc (catan_test): Add more tests.
21604 (catanh_test): Likewise.
21605 * sysdeps/i386/fpu/libm-test-ulps: Update.
21606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21608 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21610 * benchtests/Makefile: Mention files in which fast and slow
21611 paths of math functions are implemented.
21613 2013-04-23 Roland McGrath <roland@hack.frob.com>
21615 * sysdeps/posix/timespec_get.c: New file.
21617 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21619 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21621 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21623 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21624 powerpc/power5/fpu folders.
21625 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21626 * benchtests/Makefile: Add modf testcase.
21627 * benchtests/bench-modf.c: New file: Benchmark test for mo
21629 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21632 * time/Makefile (tests): Add tst-strptime-whitespace.
21633 * time/strptime_l.c (get_number): Use ISSPACE.
21634 (__strptime_internal): Likewise.
21635 * time/tst-strptime-whitespace.c: New test case.
21637 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21639 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21641 (_nss_files_init): Set it here.
21643 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21645 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21646 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21649 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21651 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21653 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21655 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21658 2013-04-21 David S. Miller <davem@davemloft.net>
21660 * po/ru.po: Update Russion translation from translation project.
21662 2013-04-17 Adam Conrad <adconrad@0c3.net>
21664 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21667 2013-04-17 Carlos O'Donell <carlos@redhat.com>
21669 * configure.in: Remove i386 configure warning. Remove i386 case.
21670 * configure: Regenerate.
21671 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21672 Add example to error message.
21673 * sysdeps/i386/configure: Regenerate.
21675 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21677 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21679 * benchtests/cos-inputs: New file.
21680 * benchtests/slowcos-inputs: New file.
21681 * benchtests/slowcos.c: New file.
21682 * benchtests/slowtan-inputs: New file.
21683 * benchtests/slowtan.c: New file.
21684 * benchtests/tan-inputs: New file.
21686 2013-04-16 Roland McGrath <roland@hack.frob.com>
21688 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21691 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21693 * benchtests/Makefile: Include cppflags-iterator.mk to add
21694 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21696 * Makefile.in (bench-clean): New target.
21697 * benchtests/Makefile (bench-clean): Likewise.
21699 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
21701 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21703 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
21705 * stdio-common/tstdiomisc.c: Fix coding-style violation.
21707 2013-04-15 Andreas Schwab <schwab@suse.de>
21709 * nscd/grpcache.c (cache_addgr): Properly check for short write.
21710 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21711 * nscd/pwdcache.c (cache_addpw): Likewise.
21712 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
21715 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21717 * benchtests/Makefile (bench): Write all output to
21718 bench-out.tmp together.
21720 2013-04-15 Andreas Schwab <schwab@suse.de>
21722 * nscd/nscd.c (main): Don't fork again after closing files.
21724 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21726 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21728 * benchtests/Rules (bench-deps): Collect dependencies into a
21729 single variable. Add Makefile to dependencies.
21730 ($(objpfx)bench-%.c): Depend on bench-deps.
21732 2013-04-12 Roland McGrath <roland@hack.frob.com>
21733 Xavier Roche <roche+kml2@exalead.com>
21736 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21737 just that it's a file descriptor.
21738 * manual/llio.texi (Synchronizing AIO Operations): Update description
21739 for EBADF error from aio_fsync.
21741 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21743 * Rules (bench): Move target definition...
21744 * benchtests/Makefile: ... here.
21746 2013-04-11 Carlos O'Donell <carlos@redhat.com>
21748 * math/libm-test.inc (cos_test): Fix PI/2 test.
21749 (sincos_test): Likewise.
21750 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21751 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21753 2013-04-11 Andreas Schwab <schwab@suse.de>
21756 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21757 accept exponent character only when digits were seen.
21758 * stdio-common/Makefile (tests): Add bug26.
21759 * stdio-common/bug26.c: New file.
21762 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21765 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21767 * Makeconfig (rtld-prefix): Define built linker prefix.
21768 * Rules (run-bench): Use it.
21769 * math/Makefile (run-regen-ulps): Likewise.
21771 * Rules (bench): Remove eval.
21773 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21774 Roland McGrath <roland@hack.frob.com>
21775 Ondrej Bilka <neleai@seznam.cz>
21778 * time/getdate.c: Include ctype.h and alloca.h.
21779 (__getdate_r): Trim leading and trailing spaces of input.
21780 * time/tst-getdate.c (tests): Add tests with leading and
21783 2013-04-08 Roland McGrath <roland@hack.frob.com>
21786 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21787 when computing value.
21789 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21791 * math/README.libm-test (How can I generate "libm-test-ulps"?):
21792 Use testrun.sh to run libm tests.
21795 * elf/dl-open.c (dl_open_worker): memset all of seen array.
21797 2013-04-06 Marko Myllynen <myllynen@redhat.com>
21800 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21802 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21804 * Makefile.in (regen-ulps): New target.
21805 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21806 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21807 [ifneq (no,$(PERL)] (regen-ulps): New target.
21808 [ifeq (no,$(PERL)] (regen-ulps): New target.
21809 * math/libm-test.inc (ulps_file_name): Define.
21810 (output_dir): New variable.
21811 (options): Add "output-dir" option.
21812 (parse_opt): Handle 'o' case.
21813 (main): If output_dir is non-NULL use it as a prefix
21815 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21817 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21819 [BZ #10060, #10062]
21820 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21821 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21822 fail configure if __sync_val_compare_and_swap is not inlined.
21823 * sysdeps/i386/configure: Regenerate.
21824 * configure.in: Build for i686 when configured for i386.
21825 * configure: Regenerate.
21826 * README: Remove i386 reference.
21828 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21830 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21831 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21833 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
21835 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21836 (lmsnanval): New variables.
21837 (F): Add conversion tests.
21838 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21839 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21841 * stdio-common/tstdiomisc.c (F): Properly collect individual
21844 [BZ #14686, #15336]
21845 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21846 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21847 Instead, use input NaN values or generate a qNaN by arithmetic
21848 operation. Also fix bugs to comply with the standard.
21849 * math/libm-test.inc (remainder_test): Add more tests.
21851 [BZ #15335, #15342]
21852 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21853 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21854 input NaN values or generate a qNaN by arithmetic operation.
21856 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21859 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21862 2013-04-03 Joseph Myers <joseph@codesourcery.com>
21865 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21866 underflowed result.
21867 * math/s_cexpf.c (__cexpf): Likewise.
21868 * math/s_cexpl.c (__cexpl): Likewise.
21869 * math/libm-test.inc (cexp_test): Add more tests.
21871 2013-04-03 Andreas Schwab <schwab@suse.de>
21874 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21875 order arrays from heap if bigger than alloca cutoff.
21877 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
21879 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21880 (SNAN_TESTS_double): Refer to GCC PR56831.
21881 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21884 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21886 * Rules (bench): Move bench.out after the run is complete.
21888 * Rules (bench): Echo currently running benchmark.
21890 * benchtests/Makefile (bench): Add atan and slowatan.
21891 * benchtests/atan-inputs: New file.
21892 * benchtests/slowatan-inputs: New file.
21893 * benchtests/slowatan.c: New file.
21895 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21896 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21900 * sysdeps/unix/sysv/linux/kernel-features.h
21901 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21902 __ASSUME_XFS_RESTRICTED_CHOWN.
21903 * sysdeps/unix/sysv/linux/pathconf.c
21904 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21905 Save and restore errno.
21907 2013-04-02 Joseph Myers <joseph@codesourcery.com>
21910 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21911 arguments using __kernel_casinh.
21912 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21913 arguments using __kernel_casinhf.
21914 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21915 arguments using __kernel_casinhl.
21916 * math/libm-test.inc (cacosh_test): Add more tests.
21917 * sysdeps/i386/fpu/libm-test-ulps: Update.
21918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21920 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21922 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21923 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21925 * bench/Makefile (bench): Add sin and slowsin.
21926 * benchtests/sin-inputs: New file.
21927 * benchtests/slowsin-inputs: New file.
21928 * benchtests/slowsin.c: New file.
21930 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21931 (bench): Add slowexp and slowpow.
21932 (exp-ITER): Increase iterations.
21933 (pow-ITER): Likewise.
21934 * benchtests/exp-inputs: Change input.
21935 * benchtests/pow-inputs: Likewise.
21936 * benchtests/slowexp-inputs: New file.
21937 * benchtests/slowexp.c: New file.
21938 * benchtests/slowpow-inputs: New file.
21939 * benchtests/slowpow.c: New file.
21941 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21943 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21945 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21946 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21947 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21948 * benchtests/Makefile: Add rint benchtest.
21949 * benchtests/rint-inputs: Input for rint benchtest.
21951 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
21953 * Versions.def (libm): Add GLIBC_2.18.
21954 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21955 hidden libm prototypes.
21956 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21957 * math/Makefile (libm-calls): Add s_issignaling.
21958 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21959 __issignalingf, __issignalingl. Adjust all libm.abilist files.
21960 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21962 * math/math.h [__USE_GNU] (issignaling): New macro.
21963 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21964 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21965 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21966 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21967 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21968 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21969 * manual/arith.texi (issignaling): New section.
21970 * manual/libm-err-tab.pl (@all_functions): Update comment.
21971 * math/gen-libm-test.pl (parse_args): Apply special handling for
21973 * math/libm-test.inc (print_float, issignaling_test): New
21975 (check_float_internal): Add issignaling checks.
21976 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21977 default definition.
21978 * sysdeps/powerpc/math-tests.h: New file.
21979 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21981 * math/test-snan.c (TEST_FUNC): Likewise.
21983 2013-03-30 David S. Miller <davem@davemloft.net>
21985 * po/de.po: Update from translation team.
21987 2013-03-30 Joseph Myers <joseph@codesourcery.com>
21990 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21991 imaginary part less than 1.0 and real part less than 0.5
21993 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21994 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21995 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21996 (cacos_test): Add more tests.
21997 (casin_test): Likewise.
21998 (casinh_test): Likewise.
21999 * sysdeps/i386/fpu/libm-test-ulps: Update.
22000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22002 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22004 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22005 ONE with its value.
22007 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22008 (__pow_mp): Replace ONE and MONE with their values.
22009 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22010 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22011 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22012 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22013 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22014 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22016 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22018 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22019 (__pow_mp): Replace ZERO and MZERO with their values.
22020 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22021 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22022 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22023 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22024 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22025 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22028 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22030 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22032 2013-03-28 Roland McGrath <roland@hack.frob.com>
22034 * include/stdlib.h [!SHARED] (__call_tls_dtors):
22035 Declare with __attribute__ ((weak)).
22036 * stdlib/exit.c (__libc_atexit) [!SHARED]:
22037 Call __call_tls_dtors only if it's not NULL.
22039 2013-03-28 Roland McGrath <roland@hack.frob.com>
22041 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22042 didn't do it already, then set _dl_phdr and _dl_phnum based on the
22043 magic __ehdr_start linker symbol if it's defined.
22044 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22045 them up here if it was already done.
22047 * elf/dl-support.c (_dl_phdr): Make pointer to const.
22048 (_dl_aux_init): Use const in cast when setting it.
22049 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22050 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22051 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22053 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22055 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22056 * csu/libc-tls.c: Nor here.
22057 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22059 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22060 (__libc_message): Never call vsyslog.
22062 2013-03-28 Alan Modra <amodra@gmail.com>
22064 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22066 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22069 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22072 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22076 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22079 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22080 Don't add gid passed as argument.
22082 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22084 2013-03-27 Joseph Myers <joseph@codesourcery.com>
22087 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22088 imaginary part between 1.0 and 1.5 and real part less than 0.5
22090 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22091 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22092 * math/libm-test.inc (cacos_test): Add more tests.
22093 (casin_test): Likewise.
22094 (casinh_test): Likewise.
22095 * sysdeps/i386/fpu/libm-test-ulps: Update.
22096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22098 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22100 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22103 (denorm): Likewise.
22104 (__dbl_mp): Likewise.
22105 (add_magnitudes): Likewise.
22106 (sub_magnitudes): Likewise.
22114 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22116 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22117 (__dubcos): Likewise.
22118 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22119 (__ieee754_acos): Likewise.
22120 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22121 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22122 (__exp1): Likewise.
22123 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22124 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22126 (my_log2): Likewise.
22127 (checkint): Likewise.
22128 * sysdeps/ieee754/dbl-64/e_remainder.c
22129 (__ieee754_remainder): Likewise.
22130 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22131 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22132 (bsloww): Likewise.
22133 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22135 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22136 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22137 MANTISSA_STORE_T to store computations on mantissa. Use
22138 macros for rounding and division.
22139 (denorm): Likewise.
22140 (__dbl_mp): Likewise.
22141 (add_magnitudes): Likewise.
22142 (sub_magnitudes): Likewise.
22145 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22146 powers of two in terms of TWOPOW macro.
22147 (mp_no): Make type of mantissa as MANTISSA_T.
22148 [!RADIXI]: Define RADIXI.
22149 [!TWO52]: Define TWO52.
22150 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22152 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22154 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22155 llroundl symbol when building for PPC32.
22157 2013-03-24 Mark H Weaver <mhw@netris.org>
22159 * manual/arith.texi (Normalization Functions): Fix prototypes for
22160 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22162 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22165 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22166 high value to check if expl overflow.
22167 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22168 to check for underflow and overflow.
22169 * math/libm-test.inc: Add exp test.
22171 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
22174 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22177 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22179 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22182 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
22184 * math/gen-libm-test.pl (parse_args, special_functions): Properly
22185 wrap blocks consisting of several statements.
22187 * sysdeps/generic/math-tests.h: New file.
22188 * sysdeps/i386/fpu/math-tests.h: Likewise.
22189 * math/test-snan.c: Include it.
22190 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22192 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22195 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22196 (__ieee754_j0l): Do not improve calculations using cos of twice
22197 input for inputs above LDBL_MAX / 2.0L.
22198 (__ieee754_y0l): Likewise.
22199 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22200 (__ieee754_j1l): Do not improve calculations using cos of twice
22201 input for inputs above LDBL_MAX / 2.0L.
22202 (__ieee754_y1l): Likewise.
22203 * math/libm-test.inc (j0_test): Add another test.
22204 (j1_test): Likewise.
22205 (y0_test): Likewise.
22206 (y1_test): Likewise.
22207 * sysdeps/i386/fpu/libm-test-ulps: Update.
22209 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22211 * Rules ($(objpfx)bench-%.c): Include code from a C source
22214 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22217 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22218 imaginary part 1.0 and real part less than 0.5 specially.
22219 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22220 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22221 * math/libm-test.inc (cacos_test): Add more tests.
22222 (casin_test): Likewise.
22223 (casinh_test): Likewise.
22224 * sysdeps/i386/fpu/libm-test-ulps: Update.
22225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22227 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22229 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22230 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22232 2013-03-20 Joseph Myers <joseph@codesourcery.com>
22234 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22235 * config.make.in (config-cflags-sse4): Remove variable.
22236 (config-cflags-avx): Likewise.
22237 (config-cflags-sse2avx): Likewise.
22238 (config-cflags-novzeroupper): Likewise.
22239 (config-asflags-i686): Likewise.
22240 (have-mfma4): Likewise.
22241 (have-as-vis3): Likewise.
22243 * configure.in (MIG): Do not AC_SUBST.
22244 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22245 (libc_cv_cc_sse4): Do not AC_SUBST.
22246 (libc_cv_cc_avx): Likewise.
22247 (libc_cv_cc_sse2avx): Likewise.
22248 (libc_cv_cc_novzeroupper): Likewise.
22249 (libc_cv_cc_fma4): Likewise.
22250 (libc_cv_as_i686): Likewise.
22251 (libc_cv_sparc_as_vis3): Likewise.
22252 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22254 (config-asflags-i686): Likewise.
22255 (config-cflags-avx): Likewise.
22256 (config-cflags-sse2avx): Likewise.
22257 (have-mfma4): Likewise.
22258 (config-cflags-novzeroupper): Likewise.
22259 * sysdeps/mach/configure.in (MIG): Likewise.
22260 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22261 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22263 (config-cflags-avx): Likewise.
22264 (config-cflags-sse2avx): Likewise.
22265 (have-mfma4): Likewise.
22266 (config-cflags-novzeroupper): Likewise.
22267 * configure: Regenerated.
22268 * sysdeps/i386/configure: Likewise.
22269 * sysdeps/mach/configure: Likewise.
22270 * sysdeps/sparc/configure: Likewise.
22271 * sysdeps/x86_64/configure: Likewise.
22273 2013-03-20 Roland McGrath <roland@hack.frob.com>
22276 * locale/programs/localedef.c (options): Put N_ translation marker
22277 on argument names, not just descriptions.
22279 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22281 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22283 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
22286 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22288 2013-03-19 Roland McGrath <roland@hack.frob.com>
22290 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22291 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22292 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22293 [!BEFORE_ABORT] (before_abort): New function.
22294 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22295 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22296 (writev_for_fatal): New function.
22297 (WRITEV_FOR_FATAL): New macro; call that.
22298 (backtrace_and_maps): New function.
22299 (BEFORE_ABORT): New macro; call that.
22300 (struct str_list): Type removed.
22301 (__libc_message, __libc_fatal): Functions removed.
22302 Include <sysdeps/posix/libc_fatal.c> instead.
22304 2013-03-19 Joseph Myers <joseph@codesourcery.com>
22306 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22308 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22311 2013-03-19 Andreas Schwab <schwab@suse.de>
22313 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22314 * sysdeps/gnu/configure: Regenerate.
22316 * configure.in: Substitute libc_cv_rtlddir.
22317 * configure: Regenerate.
22318 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22319 * Makeconfig (rtlddir, inst_rtlddir): New variables.
22320 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22321 * elf/Makefile (install-others, CFLAGS-interp.c)
22322 (ldso_install, common-ldd-rewrite): Likewise.
22323 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22324 $(inst_slibdir)/$(rtld-installed-name).
22325 * scripts/rellns-sh: Add -p option.
22326 * Makerules (make-shlib-link): Use rellns-sh to get relative name
22329 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22331 * manual/nptl.texi: Renamed to ...
22332 * manual/threads.texi: ... this.
22333 * manual/Makefile (chapters): Update.
22335 2013-03-18 Roland McGrath <roland@hack.frob.com>
22338 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22339 on argument names, not just descriptions.
22340 * malloc/memusagestat.c (options): Likewise.
22341 * nss/getent.c (options): Likewise.
22343 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
22346 * iconv/iconv_prog.c (options): Put N_ translation marker
22347 on argument names, not just descriptions.
22348 * iconv/iconvconfig.c (options): Likewise.
22350 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
22352 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22353 implementation which is faster on all x86_64 architectures.
22354 Tested on AMD, Intel Nehalem, SNB, IVB.
22355 * sysdeps/x86_64/strnlen.S: Likewise.
22357 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22358 Remove all multiarch strlen and strnlen versions.
22359 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22360 Remove strlen and strnlen related parts.
22362 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22363 Inline strlen part.
22364 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22366 * sysdeps/x86_64/multiarch/strlen.S: Remove.
22367 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22368 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22369 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22370 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22371 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22373 2013-03-17 Carlos O'Donell <carlos@redhat.com>
22375 * manual/memory.texi (Malloc Tunable Parameters):
22376 Sort parameters alphabetically. Add comments for missing entries.
22378 2013-03-17 David S. Miller <davem@davemloft.net>
22380 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22382 2013-03-16 Joseph Myers <joseph@codesourcery.com>
22385 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22386 for arguments at most half maximum finite value.
22387 * math/libm-test.inc (j0_test): Add more tests.
22388 (j1_test): Likewise.
22389 (y0_test): Likewise.
22390 (y1_test): Likewise.
22391 * sysdeps/i386/fpu/libm-test-ulps: Update.
22392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22395 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22396 1 / x and functions P and Q for arguments above 0x1p256L.
22397 (__ieee754_y0l): Likewise.
22398 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22399 (__ieee754_y1l): Likewise.
22400 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22401 (j1_test): Likewise.
22402 (y0_test): Likewise.
22403 (y1_test): Likewise.
22405 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
22407 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22410 2013-03-15 Roland McGrath <roland@hack.frob.com>
22412 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22413 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22414 zero since it's initialized to EXEC_PAGESIZE.
22416 * sysdeps/unix/sysv/linux/ldsodefs.h
22417 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22418 * sysdeps/generic/ldsodefs.h: ... here.
22420 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
22422 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22424 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22426 * math/test-snan.c: Renamed from
22427 sysdeps/powerpc/fpu/test-powerpc-snan.c.
22428 * math/Makefile (tests): Add test-snan.
22429 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22432 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22433 SUFFIX. Initialize qNaN_var with __builtin_nan family of
22435 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
22436 __builtin_nan family of functions.
22437 * math/libm-test.inc (initialize): Initialize qnan_value with
22438 __builtin_nan family of functions.
22439 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22441 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22443 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
22444 storage class. Initialize qNaN_var and sNaN_var with
22445 __builtin_nan and __builtin_nans families of functions,
22448 * math/libm-test.inc (acosh_test): Also test with qNaN input.
22449 (sqrt_test): Remove duplicate test with qNaN input.
22450 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22451 (round_test, signbit_test, significand_test): Note missing +/-Inf
22452 as well as qNaN tests.
22454 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22455 qNaN_var. Fix a few strings, too.
22456 * math/libm-test.inc (nan_value): Rename to qnan_value.
22457 * math/gen-libm-test.pl (%beautify): Adjust to that.
22458 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22459 * math/test-misc.c (main): Likewise.
22460 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22461 to __qnan_bytes, and __qnan_union, respectively.
22462 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22464 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22465 and lqnanval, respectively.
22466 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22467 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22468 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22469 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22471 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22472 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22475 * math/test-misc.c (main): Fix copy'n'pastos.
22476 * misc/tst-efgcvt.c (special): Likewise.
22478 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22479 Remove declarations.
22481 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22483 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22484 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22485 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22486 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22488 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22490 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22491 macro to return vdso values correctly in IFUNC implementations.
22492 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22493 Optimization by using IFUNC.
22495 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22496 Richard Henderson <rth@redhat.com>
22497 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22499 * Makefile.in (bench): New target.
22500 * NEWS: Mention the benchmark framework.
22501 * Rules (bench): Likewise.
22502 (binaries-bench): Generate binaries for functions to
22504 * benchtests/Makefile: New makefile for benchmark tests.
22505 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22507 * benchtests/exp-inputs: New input file for EXP function.
22508 * benchtests/pow-inputs: New input file for POW function.
22509 * scripts/bench.pl: New script to generate source files for
22510 benchmark programs.
22512 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22514 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22515 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22516 computations on mantissa. Use macros for rounding and
22518 (denorm): Likewise.
22519 (__dbl_mp): Likewise.
22520 (add_magnitudes): Likewise.
22521 (sub_magnitudes): Likewise.
22524 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22525 powers of two in terms of TWOPOW macro.
22526 (mp_no): Make type of mantissa as MANTISSA_T.
22527 [!RADIXI]: Define RADIXI.
22528 [!TWO52]: Define TWO52.
22529 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22531 * manual/nptl.texi (cindex): Modify threads to pthreads.
22533 2013-03-15 Joseph Myers <joseph@codesourcery.com>
22535 * sysdeps/x86_64/preconfigure: Regenerated.
22537 2013-03-14 Joseph Myers <joseph@codesourcery.com>
22540 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22542 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22543 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22545 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22546 * math/libm-test.inc (j0_test): Do not allow one spurious
22547 underflow exception.
22548 (y1_test): Likewise.
22550 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22552 * manual/Makefile (chapters): Add nptl.
22553 * manual/debug.texi (Debugging Support): Add link to Threads
22555 * manual/nptl.texi: New file.
22557 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22559 2013-03-14 Petr Baudis <pasky@ucw.cz>
22561 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22562 for non-NULL pointer before the memory validity test. Pointed
22563 out by Holger Brunck <holger.brunck@keymile.com>.
22565 2013-03-13 Andreas Schwab <schwab@suse.de>
22567 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22570 2013-03-13 Joseph Myers <joseph@codesourcery.com>
22572 * timezone/zic.c: Update from tzcode 2013b.
22574 2013-03-12 Carlos O'Donell <carlos@redhat.com>
22576 * manual/install.texi (Configuring and compiling):
22577 Mention i686 and i586.
22578 * INSTALL: Regenerate.
22580 2013-03-12 Roland McGrath <roland@hack.frob.com>
22582 * sysdeps/init_array/elf-init.c: New file.
22584 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22585 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22587 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22588 __gmon_start__ as global, but as static with a .preinit_array pointer.
22589 * sysdeps/init_array/gmon-start.c: New file. Use that.
22590 * sysdeps/init_array/crti.S: New file, empty except for comments.
22591 * sysdeps/init_array/crtn.S: Likewise.
22593 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
22595 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22597 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22598 Remove Prefer_SSE_for_memop.
22599 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22600 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22601 HAS_PREFER_SSE_FOR_MEMOP.
22602 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22604 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22605 Remove bzero, memset ifunc support.
22606 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22607 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22608 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22609 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22611 2013-03-11 Andreas Schwab <schwab@suse.de>
22614 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22616 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22617 (GLIBC_2.16): Remove pthread_atfork.
22619 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22621 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22622 (ptestcases.h): Likewise.
22624 2013-03-08 Roland McGrath <roland@hack.frob.com>
22626 * Makeconfig ($(common-objpfx)config.status): Depend on
22627 sysdeps/*/preconfigure{,.in} too.
22629 2013-03-08 Joseph Myers <joseph@codesourcery.com>
22631 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22632 (__free_hook): Use void * instead of __malloc_ptr_t.
22633 (__malloc_hook): Likewise.
22634 (__realloc_hook): Likewise.
22635 (__memalign_hook): Likewise.
22636 (__after_morecore_hook): Likewise.
22637 * malloc/arena.c (save_malloc_hook): Likewise.
22638 (save_free_hook): Likewise.
22639 * malloc/hooks.c (malloc_hook_ini): Likewise.
22640 (realloc_hook_ini): Likewise.
22641 (memalign_hook_ini): Likewise.
22642 * malloc/malloc.c (malloc_hook_ini): Likewise.
22643 (realloc_hook_ini): Likewise.
22644 (memalign_hook_ini): Likewise.
22645 (__free_hook): Likewise.
22646 (__malloc_hook): Likewise.
22647 (__realloc_hook): Likewise.
22648 (__memalign_hook): Likewise.
22649 (__libc_malloc): Likewise.
22650 (__libc_free): Likewise.
22651 (__libc_realloc): Likewise.
22652 (__libc_memalign): Likewise.
22653 (__libc_valloc): Likewise.
22654 (__libc_pvalloc): Likewise.
22655 (__libc_calloc): Likewise.
22656 (__posix_memalign): Likewise.
22657 * malloc/morecore.c (__sbrk): Likewise.
22658 (__default_morecore): Likewise.
22660 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22662 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22663 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22664 __malloc_ptrdiff_t.
22666 * malloc/malloc.h (__malloc_size_t): Remove macro.
22667 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22669 (old_memalign_hook): Likewise.
22670 (old_realloc_hook): Likewise.
22671 (struct hdr): Likewise.
22673 (mallochook): Likewise.
22674 (memalignhook): Likewise.
22675 (reallochook): Likewise.
22676 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22677 (tr_old_realloc_hook): Likewise.
22678 (tr_old_memalign_hook): Likewise.
22679 (tr_mallochook): Likewise.
22680 (tr_reallochook): Likewise.
22681 (tr_memalignhook): Likewise.
22683 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22685 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22686 default_ldbl_pack and using as default implementation.
22687 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22689 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22690 redundant definition.
22691 (ldbl_insert_mantissa): Likewise.
22692 (ldbl_canonicalize): Likewise.
22693 (ldbl_nearbyint): Likewise.
22694 (ldbl_pack): Rename to ldbl_pack_ppc.
22695 (ldbl_unpack): Rename to ldbl_unpack_ppc.
22696 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22697 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22699 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22701 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22702 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22703 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22704 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22705 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22706 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22707 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22708 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22710 2013-03-07 Andreas Jaeger <aj@suse.de>
22712 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22715 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22717 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22718 Include mpa.h and declare __MPEXP.
22719 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22720 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22721 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22722 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22723 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22724 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22725 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22727 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22728 (__slowpow): Use long double EXPL and LOGL functions to
22730 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22731 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22732 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22733 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22734 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22735 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22737 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22738 intermediate variable to calculate exponent.
22740 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22744 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22745 [!NO__SQR]: Define __sqr.
22746 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22747 and NO__SQR. Remove all code except __mul and __sqr. Include
22748 sysdeps/ieee754/dbl-64/mpa.c.
22749 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22752 * posix/Makefile (tests): Add tst-pathconf.
22753 * posix/tst-pathconf.c: New test case.
22754 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22756 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22758 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
22760 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22762 2013-03-06 Andreas Jaeger <aj@suse.de>
22764 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22765 definition via __MAP_ANONYMOUS.
22767 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22768 it's not part of Linux headers.
22770 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22771 (MAP_HUGE_MASK): Define.
22773 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22775 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22776 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22778 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22779 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22781 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22782 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22784 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22786 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22787 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22788 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22789 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22790 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22791 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22793 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22796 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22797 Handle f2fs and efivarfs.
22799 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22802 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22803 (EFIVARFS_MAGIC): Add.
22804 (F2FS_LINK_MAX): Add.
22806 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22808 * stdio-common/vfprintf.c: Replace __builtin_expect with
22811 2013-03-06 Joseph Myers <joseph@codesourcery.com>
22814 * sysdeps/generic/bp-sym.h: Remove file.
22815 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22816 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22817 <bp-sym.h> and <bp-asm.h>.
22818 (__longjmp): Don't use BP_SYM.
22819 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22821 (memcpy): Don't use BP_SYM.
22822 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22823 <bp-sym.h> and <bp-asm.h>.
22824 (memcpy): Don't use BP_SYM.
22825 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22827 (memcpy): Don't use BP_SYM.
22828 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22830 (memset): Don't use BP_SYM.
22831 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22832 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22833 (__bzero): Don't use BP_SYM.
22834 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22835 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22836 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22837 <bp-sym.h> and <bp-asm.h>.
22838 (memcmp): Don't use BP_SYM. Remove comment about bounded
22840 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22841 <bp-sym.h> and <bp-asm.h>.
22842 (memcpy): Don't use BP_SYM.
22843 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22844 <bp-sym.h> and <bp-asm.h>.
22845 (memset): Don't use BP_SYM.
22846 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22847 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22848 (__bzero): Don't use BP_SYM.
22849 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22850 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22851 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22852 <bp-sym.h> and <bp-asm.h>.
22853 (strncmp): Don't use BP_SYM. Remove comment about bounded
22855 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22856 <bp-sym.h> and <bp-asm.h>.
22857 (memcpy): Don't use BP_SYM.
22858 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22859 <bp-sym.h> and <bp-asm.h>.
22860 (memset): Don't use BP_SYM.
22861 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22862 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22863 (__bzero): Don't use BP_SYM.
22864 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22865 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22866 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22867 <bp-sym.h> and <bp-asm.h>.
22868 (__memchr): Don't use BP_SYM.
22869 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22870 <bp-sym.h> and <bp-asm.h>.
22871 (memcmp): Don't use BP_SYM. Remove comment about bounded
22873 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22874 <bp-sym.h> and <bp-asm.h>.
22875 (memcpy): Don't use BP_SYM.
22876 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22877 <bp-sym.h> and <bp-asm.h>.
22878 (__mempcpy): Don't use BP_SYM.
22879 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22880 <bp-sym.h> and <bp-asm.h>.
22881 (__memrchr): Don't use BP_SYM.
22882 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22883 <bp-sym.h> and <bp-asm.h>.
22884 (memset): Don't use BP_SYM.
22885 (__bzero): Likewise.
22886 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22887 <bp-sym.h> and <bp-asm.h>.
22888 (__rawmemchr): Don't use BP_SYM.
22889 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22890 <bp-sym.h> and <bp-asm.h>.
22891 (__STRCMP): Don't use BP_SYM.
22892 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22893 <bp-sym.h> and <bp-asm.h>.
22894 (strchr): Don't use BP_SYM.
22895 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22896 <bp-sym.h> and <bp-asm.h>.
22897 (__strchrnul): Don't use BP_SYM.
22898 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22899 <bp-sym.h> and <bp-asm.h>.
22900 (strlen): Don't use BP_SYM.
22901 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22902 <bp-sym.h> and <bp-asm.h>.
22903 (strncmp): Don't use BP_SYM. Remove comment about bounded
22905 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22906 <bp-sym.h> and <bp-asm.h>.
22907 (__strnlen): Don't use BP_SYM.
22908 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22909 <bp-sym.h> and <bp-asm.h>.
22910 (__GI__setjmp): Don't use BP_SYM.
22911 (_setjmp): Likewise.
22912 (__sigsetjmp): Likewise.
22913 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22914 (L(start_addresses)): Don't use BP_SYM.
22915 (_start): Likewise.
22916 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22918 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22919 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22920 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22921 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22922 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22924 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22925 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
22926 about bounded pointers.
22927 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22928 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22929 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22931 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22932 about bounded pointers. Remove GKM FIXME comments.
22933 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22934 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22936 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22937 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
22938 Remove GKM FIXME comments.
22939 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22940 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22941 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22943 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22944 about bounded pointers. Remove GKM FIXME comment.
22945 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22947 (strncmp): Don't use BP_SYM. Remove comment about bounded
22949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22950 <bp-sym.h> and <bp-asm.h>.
22951 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22953 <bp-sym.h> and <bp-asm.h>.
22954 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22957 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22959 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22962 2013-03-05 David S. Miller <davem@davemloft.net>
22964 * po/es.po: Update from translation team.
22966 2013-03-05 Andreas Jaeger <aj@suse.de>
22968 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22969 <bits/mman-linux.h>.
22970 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22972 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22973 <bits/mman-linux.h> to end of file.
22974 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22976 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22977 <bits/mman-linux.h> to end of file.
22978 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22980 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22981 <bits/mman-linux.h> to end of file.
22983 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22984 (MCL_CURRENT, MCL_FUTURE): Define here.
22986 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22989 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22991 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22993 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22995 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22996 fourth parameter needed for rt_sigprocmask syscall.
22997 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22998 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22999 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23000 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23001 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23002 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23004 2013-03-04 Joseph Myers <joseph@codesourcery.com>
23007 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23008 comment about bounded pointers.
23009 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23010 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23012 2013-03-04 Andreas Jaeger <aj@suse.de>
23014 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23015 common definitions.
23017 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23018 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23019 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23020 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23021 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23022 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23024 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23027 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23028 __ieee754_sqrl instead of __sqrl.
23030 2013-03-01 Joseph Myers <joseph@codesourcery.com>
23032 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23033 * sysdeps/powerpc/fpu_control.h: ... here.
23034 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23035 * sysdeps/powerpc/bits/fenvinline.h: ... here.
23036 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23037 * sysdeps/powerpc/bits/mathinline.h: ... here.
23039 2013-03-01 Roland McGrath <roland@hack.frob.com>
23041 * elf/dl-hwcaps.c (_dl_important_hwcaps):
23042 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23043 to just [NEED_DL_SYSINFO_DSO].
23044 * elf/dl-support.c: Likewise.
23045 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23046 * elf/rtld.c (dl_main): Likewise.
23047 * elf/setup-vdso.h (setup_vdso): Likewise.
23048 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23049 * sysdeps/unix/sysv/linux/dl-sysdep.c
23050 (_dl_discover_osversion): Likewise.
23052 2013-03-01 Carlos O'Donell <carlos@redhat.com>
23054 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23055 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23057 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23059 * NEWS: Mention libm performance improvements and non-x86 PI
23062 * csu/libc-start.c (__pthread_initialize_minimal): Change
23063 function arguments.
23064 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23066 2013-02-28 Joseph Myers <joseph@codesourcery.com>
23069 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23070 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23071 <bp-sym.h> and <bp-asm.h>.
23072 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23073 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23075 (memcpy): Don't use BP_SYM.
23076 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23078 (__mpn_add_n): Don't use BP_SYM.
23079 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23080 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23082 (__mpn_addmul_1): Don't use BP_SYM.
23083 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23084 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23086 (_setjmp): Don't use BP_SYM.
23087 (__novmx_setjmp): Likewise.
23088 (__GI__setjmp): Likewise.
23089 (__vmx_setjmp): Likewise.
23090 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23092 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23093 (__bzero): Don't use BP_SYM.
23094 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23095 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23096 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23097 <bp-sym.h> and <bp-asm.h>.
23098 (memcpy): Don't use BP_SYM.
23099 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23100 <bp-sym.h> and <bp-asm.h>.
23101 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23102 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23103 <bp-sym.h> and <bp-asm.h>.
23104 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23105 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23107 (__mpn_lshift): Don't use BP_SYM.
23108 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23109 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23111 (memset): Don't use BP_SYM.
23112 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23113 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23114 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23116 (__mpn_mul_1): Don't use BP_SYM.
23117 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23118 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23119 <bp-sym.h> and <bp-asm.h>.
23120 (memcmp): Don't use BP_SYM.
23121 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23122 <bp-sym.h> and <bp-asm.h>.
23123 (memcpy): Don't use BP_SYM.
23124 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23125 <bp-sym.h> and <bp-asm.h>.
23126 (memset): Don't use BP_SYM.
23127 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23128 <bp-sym.h> and <bp-asm.h>.
23129 (strncmp): Don't use BP_SYM.
23130 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23131 <bp-sym.h> and <bp-asm.h>.
23132 (memcpy): Don't use BP_SYM.
23133 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23134 <bp-sym.h> and <bp-asm.h>.
23135 (memset): Don't use BP_SYM.
23136 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23137 <bp-sym.h> and <bp-asm.h>.
23138 (__memchr): Don't use BP_SYM.
23139 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23140 <bp-sym.h> and <bp-asm.h>.
23141 (memcmp): Don't use BP_SYM.
23142 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23143 <bp-sym.h> and <bp-asm.h>.
23144 (memcpy): Don't use BP_SYM.
23145 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23146 <bp-sym.h> and <bp-asm.h>.
23147 (__mempcpy): Don't use BP_SYM.
23148 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23149 <bp-sym.h> and <bp-asm.h>.
23150 (__memrchr): Don't use BP_SYM.
23151 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23152 <bp-sym.h> and <bp-asm.h>.
23153 (memset): Don't use BP_SYM.
23154 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23155 <bp-sym.h> and <bp-asm.h>.
23156 (__rawmemchr): Don't use BP_SYM.
23157 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23158 <bp-sym.h> and <bp-asm.h>.
23159 (__STRCMP): Don't use BP_SYM.
23160 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23161 <bp-sym.h> and <bp-asm.h>.
23162 (strchr): Don't use BP_SYM.
23163 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23164 <bp-sym.h> and <bp-asm.h>.
23165 (__strchrnul): Don't use BP_SYM.
23166 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23167 <bp-sym.h> and <bp-asm.h>.
23168 (strlen): Don't use BP_SYM.
23169 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23170 <bp-sym.h> and <bp-asm.h>.
23171 (strncmp): Don't use BP_SYM.
23172 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23173 <bp-sym.h> and <bp-asm.h>.
23174 (__strnlen): Don't use BP_SYM.
23175 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23177 (__mpn_rshift): Don't use BP_SYM.
23178 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23179 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23180 <bp-sym.h> and <bp-asm.h>.
23181 (__sigsetjmp): Don't use BP_SYM.
23182 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23183 (L(start_addresses)): Don't use BP_SYM.
23184 (_start): Likewise.
23185 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23187 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23188 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23189 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23190 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23192 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23193 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23194 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23195 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23197 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23199 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23200 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23202 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
23204 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23205 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23206 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23208 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23210 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23212 (strncmp): Don't use BP_SYM,
23213 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23215 (__mpn_sub_n): Don't use BP_SYM.
23216 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23217 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23219 (__mpn_submul_1): Don't use BP_SYM.
23220 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23222 <bp-sym.h> and <bp-asm.h>.
23223 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23225 <bp-sym.h> and <bp-asm.h>.
23226 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23229 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23231 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23232 Use ZK to minimize writes to Z.
23233 (sub_magnitudes): Simplify code a bit.
23234 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23235 Use ZK to minimize writes to Z.
23236 (sub_magnitudes): Simplify code a bit.
23238 2013-02-27 Roland McGrath <roland@hack.frob.com>
23240 * csu/gmon-start.c: Add special exception to license text.
23242 2013-02-27 Richard Henderson <rth@redhat.com>
23244 * scripts/config.guess: Update from config.git.
23245 * scripts/config.sub: Likewise.
23247 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23249 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23251 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23253 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23255 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23257 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23259 2013-02-26 Roland McGrath <roland@hack.frob.com>
23261 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23262 [$(build-shared = yes].
23264 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23266 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23267 (__mul): Reduce iterations for calculating mantissa.
23269 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23271 (__mpranred): Likewise.
23274 * malloc/memusagestat.c (main): Draw graphs for heap and stack
23275 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23277 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
23279 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23280 Define __attribute__.
23282 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23284 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23286 * posix/regex_internal.h (__attribute): Remove.
23287 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23288 (re_string_context_at): Likewise.
23289 (bitset_not): Use __attribute__ and mark function as possibly
23291 (bitset_merge): Likewise.
23292 (bitset_mask): Likewise.
23293 (re_string_char_size_at): Likewise.
23294 (re_string_wchar_at): Likewise.
23295 (re_string_elem_size_at): Likewise.
23297 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23299 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23303 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23307 (denorm): Likewise.
23308 (__dbl_mp): Likewise.
23309 (add_magnitudes): Likewise.
23310 (sub_magnitudes): Likewise.
23314 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23317 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23320 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23323 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23324 up changes with default code.
23325 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23328 2013-02-24 Allan McRae <allan@archlinux.org>
23330 * manual/socket.texi (The Internet Namespace): Order menu items
23331 to match that in the file.
23333 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23334 node listing of the info page menu.
23336 2013-02-21 Joseph Myers <joseph@codesourcery.com>
23339 * sysdeps/i386/bp-asm.h: Remove file.
23340 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23341 (PARMS): Do not use macros from bp-asm.h.
23345 (__mpn_add_n): Do not use BP_SYM
23346 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23348 (PARMS): Do not use macros from bp-asm.h.
23351 (__mpn_addmul_1): Do not use BP_SYM
23352 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23354 (PARMS): Do not use macros from bp-asm.h.
23355 (SIGMSK): Likewise.
23356 (_setjmp): Likewise. Do not use BP_SYM.
23357 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23359 (PARMS): Do not use macros from bp-asm.h.
23360 (SIGMSK): Likewise.
23361 (setjmp): Likewise. Do not use BP_SYM.
23362 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23364 (PARMS): Do not use macros from bp-asm.h.
23365 (__frexp): Do not use BP_SYM.
23367 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23369 (PARMS): Do not use macros from bp-asm.h.
23370 (__frexpf): Do not use BP_SYM.
23371 (frexpf): Likewise.
23372 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23374 (PARMS): Do not use macros from bp-asm.h.
23375 (__frexpl): Do not use BP_SYM.
23376 (frexpl): Likewise.
23377 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23379 (PARMS): Do not use macros from bp-asm.h.
23380 (__remquo): Do not use BP_SYM.
23381 (remquo): Likewise.
23382 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23384 (PARMS): Do not use macros from bp-asm.h.
23385 (__remquof): Do not use BP_SYM.
23386 (remquof): Likewise.
23387 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23389 (PARMS): Do not use macros from bp-asm.h.
23390 (__remquol): Do not use BP_SYM.
23391 (remquol): Likewise.
23392 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23394 (PARMS): Do not use macros from bp-asm.h.
23397 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
23398 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23400 (PARMS): Do not use macros from bp-asm.h.
23401 (strlen): Do not use BP_SYM.
23402 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23404 (PARMS): Do not use macros from bp-asm.h.
23408 (__mpn_add_n): Do not use BP_SYM.
23409 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23411 (PARMS): Do not use macros from bp-asm.h.
23414 (__mpn_addmul_1): Do not use BP_SYM.
23415 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23418 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23420 (PARMS): Do not use macros from bp-asm.h.
23423 (__mpn_lshift): Do not use BP_SYM.
23424 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23426 (PARMS): Do not use macros from bp-asm.h.
23430 (memcpy): Likewise. Do not use BP_SYM.
23431 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23432 libc_hidden_def and weak_alias.
23433 (mempcpy): Do not use BP_SYM in weak_alias.
23434 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23436 (PARMS): Do not use macros from bp-asm.h.
23439 [!BZERO_P] (CHR): Likewise.
23440 (memset): Likewise. Do not use BP_SYM.
23441 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23443 (PARMS): Do not use macros from bp-asm.h.
23446 (__mpn_mul_1): Do not use BP_SYM.
23447 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23449 (PARMS): Do not use macros from bp-asm.h.
23452 (__mpn_rshift): Do not use BP_SYM.
23453 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23455 (PARMS): Do not use macros from bp-asm.h.
23458 (strchr): Likewise. Do not use BP_SYM.
23459 (index): Do not use BP_SYM in weak_alias.
23460 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23462 (PARMS): Do not use macros from bp-asm.h.
23465 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
23466 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23468 (PARMS): Do not use macros from bp-asm.h.
23469 (strlen): Do not use BP_SYM.
23470 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23472 (PARMS): Do not use macros from bp-asm.h.
23476 (__mpn_sub_n): Do not use BP_SYM.
23477 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23479 (PARMS): Do not use macros from bp-asm.h.
23482 (__mpn_submul_1): Do not use BP_SYM.
23483 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23485 (PARMS): Do not use macros from bp-asm.h.
23489 (__mpn_add_n): Do not use BP_SYM.
23490 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23493 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23495 (PARMS): Do not use macros from bp-asm.h.
23498 (memcmp): Do not use BP_SYM.
23499 (bcmp): Do not use BP_SYM in weak_alias.
23500 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23502 (PARMS): Do not use macros from bp-asm.h.
23506 (memcpy): Likewise. Do not use BP_SYM.
23507 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23509 (PARMS): Do not use macros from bp-asm.h.
23513 (memmove): Likewise. Do not use BP_SYM.
23514 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23516 (PARMS): Do not use macros from bp-asm.h.
23520 (__mempcpy): Likewise. Do not use BP_SYM.
23521 (mempcpy): Do not use BP_SYM in weak_alias.
23522 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23524 (PARMS): Do not use macros from bp-asm.h.
23527 [!BZERO_P] (CHR): Likewise.
23528 (memset): Likewise. Do not use BP_SYM.
23529 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23531 (PARMS): Do not use macros from bp-asm.h.
23533 (strcmp): Do not use BP_SYM.
23534 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23536 (PARMS): Do not use macros from bp-asm.h.
23539 [USE_AS_STRTOK_R] (SAVE): Likewise.
23540 (FUNCTION): Likewise. Do not use BP_SYM.
23541 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23543 (strtok_r): Likewise.
23544 (__GI___strtok_r): Likewise.
23545 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23546 (PARMS): Do not use macros from bp-asm.h.
23549 (__mpn_lshift): Do not use BP_SYM.
23550 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23551 (PARMS): Do not use macros from bp-asm.h.
23554 (__memchr): Do not use BP_SYM.
23555 (memchr): Do not use BP_SYM in weak_alias.
23556 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23557 (PARMS): Do not use macros from bp-asm.h.
23560 (memcmp): Do not use BP_SYM.
23561 (bcmp): Do not use BP_SYM in weak_alias.
23562 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23563 (PARMS): Do not use macros from bp-asm.h.
23566 (__mpn_mul_1): Do not use BP_SYM.
23567 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23569 (PARMS): Do not use macros from bp-asm.h.
23572 (__rawmemchr): Do not use BP_SYM.
23573 (rawmemchr): Do not use BP_SYM in weak_alias.
23574 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23575 (PARMS): Do not use macros from bp-asm.h.
23578 (__mpn_rshift): Do not use BP_SYM.
23579 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23580 (PARMS): Do not use macros from bp-asm.h.
23581 (SIGMSK): Likewise.
23582 (__sigsetjmp): Likewise. Do not use BP_SYM.
23583 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23584 (_start): Do not use BP_SYM.
23585 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23586 (PARMS): Do not use macros from bp-asm.h.
23589 (__stpcpy): Likewise. Do not use BP_SYM.
23590 (stpcpy): Do not use BP_SYM in weak_alias.
23591 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23593 (PARMS): Do not use macros from bp-asm.h.
23597 (__stpncpy): Likewise. Do not use BP_SYM.
23598 (stpncpy): Do not use BP_SYM in weak_alias.
23599 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23600 (PARMS): Do not use macros from bp-asm.h.
23603 (strchr): Likewise. Do not use BP_SYM.
23604 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23606 (PARMS): Do not use macros from bp-asm.h.
23609 (__strchrnul): Likewise. Do not use BP_SYM.
23610 (strchrnul): Do not use BP_SYM in weak_alias.
23611 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23613 (PARMS): Do not use macros from bp-asm.h.
23615 (strcspn): Do not use BP_SYM.
23616 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23618 (PARMS): Do not use macros from bp-asm.h.
23621 (strpbrk): Likewise. Do not use BP_SYM.
23622 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23624 (PARMS): Do not use macros from bp-asm.h.
23627 (strrchr): Likewise. Do not use BP_SYM.
23628 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23629 (PARMS): Do not use macros from bp-asm.h.
23631 (strspn): Do not use BP_SYM.
23632 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23633 (PARMS): Do not use macros from bp-asm.h.
23637 (FUNCTION): Likewise. Do not use BP_SYM.
23638 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23640 (strtok_r): Likewise.
23641 (__GI___strtok_r): Likewise.
23642 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23643 (PARMS): Do not use macros from bp-asm.h.
23647 (__mpn_sub_n): Do not use BP_SYM.
23648 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23650 (PARMS): Do not use macros from bp-asm.h.
23653 (__mpn_submul_1): Do not use BP_SYM.
23654 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23656 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23658 (PARMS): Do not use macros from bp-asm.h.
23663 (__clone): Do not use BP_SYM.
23664 (clone): Do not use BP_SYM in weak_alias.
23665 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23667 (PARMS): Do not use macros from bp-asm.h.
23669 (__mmap64): Do not use BP_SYM.
23670 (mmap64): Do not use BP_SYM in weak_alias.
23671 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23672 <bp-sym.h> and <bp-asm.h>.
23673 (PARMS): Do not use macros from bp-asm.h.
23674 (__posix_fadvise64_l64): Do not use BP_SYM.
23675 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23676 (PARMS): Do not use macros from bp-asm.h.
23678 (semtimedop): Do not use BP_SYM.
23679 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23682 2013-02-21 Allan McRae <allan@archlinux.org>
23684 * manual/message.texi (Charset conversion in gettext):
23685 Move @end statement to beginning of line.
23687 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23689 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23691 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23694 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23695 (denorm): Likewise.
23696 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23697 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23699 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23701 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23702 tail-call to the resolved function if pltexit isn't needed.
23704 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23706 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23707 or Y being zero as being unlikely.
23708 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23711 2013-02-20 Carlos O'Donell <carlos@redhat.com>
23713 * manual/nss.texi (System Databases and Name Service Switch):
23714 Remove frobnicate @pxref.
23716 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23718 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23719 __attribute__ ((unused)) to __attribute__ ((__unused__)).
23721 2013-02-20 Petr Machata <pmachata@redhat.com>
23723 * elf/elf.h (R_ARM_TARGET1): New macro.
23724 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23725 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23726 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23727 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23728 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23729 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23730 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23731 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23732 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23733 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23734 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23735 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23736 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23737 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23738 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23739 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23740 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23741 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23742 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23743 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23744 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23745 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23746 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23747 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23748 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23749 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23750 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23751 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23752 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23753 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23754 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23755 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23756 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23757 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23758 (R_ARM_THM_GOT_BREL12): Likewise.
23759 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23760 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23761 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23762 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23763 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23764 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23765 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23766 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23767 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23769 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23771 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23772 __attribute_used__ to __attribute__ ((unused)).
23774 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23776 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23778 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23779 comment formatting.
23780 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23782 2013-02-19 Joseph Myers <joseph@codesourcery.com>
23785 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23787 (ENTER): Remove both macro definitions.
23789 (CHECK_BOUNDS_LOW): Likewise.
23790 (CHECK_BOUNDS_HIGH): Likewise.
23791 (CHECK_BOUNDS_BOTH): Likewise.
23792 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23793 (RETURN_BOUNDED_POINTER): Likewise.
23794 (RETURN_NULL_BOUNDED_POINTER): Likewise.
23795 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23796 (POP_ERRNO_LOCATION_RETURN): Likewise.
23797 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23798 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23799 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23801 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23802 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23803 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23804 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23805 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23806 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23807 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23808 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23809 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23810 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23811 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23812 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23813 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23814 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23816 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23817 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23819 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23820 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23821 * sysdeps/i386/i586/memset.S (memset): Likewise.
23822 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23823 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23824 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23826 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23827 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23828 Change uses of L(2) to L(out).
23829 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23830 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23831 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23832 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23833 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23835 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23836 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23838 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23839 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23840 (RETURN): Do not use macro LEAVE.
23841 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23842 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23843 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23844 * sysdeps/i386/i686/memset.S (memset): Likewise.
23845 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23846 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23847 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23848 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23850 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23851 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
23852 L(1_2) and L(1_3) into L(1).
23853 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23854 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23855 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23856 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23857 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23858 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23859 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23860 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23861 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23863 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23864 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23865 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23866 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23867 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23868 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23869 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23870 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23871 * sysdeps/i386/strcspn.S (strcspn): Likewise.
23872 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23873 * sysdeps/i386/strrchr.S (strrchr): Likewise.
23874 * sysdeps/i386/strspn.S (strspn): Likewise.
23875 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23877 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23878 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23879 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23880 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
23881 L(1_3) into L(1_1).
23882 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23883 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23884 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23886 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23888 2013-02-19 Jakub Jelinek <jakub@redhat.com>
23890 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23893 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23895 * math/atest-exp.c (exp_mpn): Remove ROUND.
23896 * math/atest-exp2.c (exp_mpn): Likewise.
23897 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23899 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23900 * stdlib/tst-tls-atexit-lib.c: Likewise.
23901 * stdlib/tst-tls-atexit.c: Likewise.
23903 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23905 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23906 and __attribute_alloc_size__.
23908 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23910 * include/programs/xmalloc.h: Change __attribute_alloc_size to
23911 __attribute_alloc_size__.
23912 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23913 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23915 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23917 * include/programs/xmalloc.h: New file.
23918 * catgets/gencat.c: Include it.
23919 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23920 * elf/pldd.c: Likewise.
23921 * iconv/iconv_charmap.c: Likewise.
23922 * iconv/iconvconfig.c: Likewise.
23923 * iconv/strtab.c: Likewise.
23924 * locale/programs/locale.c: Likewise.
23925 * locale/programs/localedef.h: Likewise.
23926 * locale/programs/simple-hash.c: Likewise.
23927 * nscd/nscd.h: Likewise.
23928 * nss/makedb.c: Likewise.
23929 * sysdeps/generic/ldconfig.h: Likewise.
23931 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23933 * Versions.def: Add GLIBC_2.18.
23934 * include/link.h (struct link_map): New member l_tls_dtor_count.
23935 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23936 (__call_tls_dtors): Likewise.
23937 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23938 __cxa_thread_atexit_impl.
23939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23945 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23947 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23952 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23955 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23956 (tests): Add test case tst-tls-atexit.
23957 (modules-names): Add shared library for tst-tls-atexit.
23958 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
23959 (GLIBC_PRIVATE): Add __call_tls_dtors.
23960 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23962 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23963 * stdlib/tst-tls-atexit.c: New test case.
23964 * stdlib/tst-tls-atexit-lib.c: New test case.
23966 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23968 * elf/Versions (ld): Add _dl_find_dso_for_object.
23969 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23970 * elf/dl-open.c (_dl_find_dso_for_object): New function.
23971 (dl_open_worker): Use _dl_find_dso_for_object.
23972 * elf/dl-sym.c (do_sym): Likewise.
23973 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23975 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23977 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23978 Syntactic changes only.
23979 (_dl_runtime_profile): Do a tail-call to the resolved function.
23981 2013-02-17 Joseph Myers <joseph@codesourcery.com>
23984 * sysdeps/x86_64/bp-asm.h: Remove file.
23985 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23986 <bp-sym.h> and <bp-asm.h>.
23987 (__clone): Do not use BP_SYM.
23988 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23989 <bp-sym.h> and <bp-asm.h>.
23990 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23991 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23993 (_setjmp): Do not use BP_SYM.
23994 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23996 (setjmp): Do not use BP_SYM.
23997 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23999 (mempcpy): Do not use BP_SYM in weak_alias.
24000 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24002 (strchr): Do not use BP_SYM.
24003 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24005 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24006 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24007 (_start): Do not use BP_SYM.
24008 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24010 (strcat): Do not use BP_SYM.
24011 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24013 (STRCMP): Do not use BP_SYM.
24014 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24016 (STRCPY): Do not use BP_SYM.
24017 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24019 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24021 (FUNCTION): Do not use BP_SYM.
24022 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24024 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24026 2013-02-17 Andreas Jaeger <aj@suse.de>
24028 * time/Versions: Sort entries.
24029 * string/Versions: Likewise.
24030 * resolv/Versions: Likewise.
24031 * posix/Versions: Likewise.
24032 * iconv/Versions: Likewise.
24033 * elf/Versions: Likewise.
24034 * wcsmbs/Versions: Likewise.
24036 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24038 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24039 loop termination condition.
24041 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24042 variable to calculate EZ.
24045 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24046 the lower precision input.
24048 2013-02-15 Joseph Myers <joseph@codesourcery.com>
24051 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24052 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24053 (run-via-rtld-prefix): Do not handle %-bp tests.
24054 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24055 (all-object-suffixes): Remove .ob.
24056 (bppfx): Remove variable.
24057 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24058 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24059 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24060 [$(build-bounded) = yes] (libtype.ob): Likewise.
24061 * Makerules (elide-routines.ob): Remove variable.
24062 (do-tests-clean): Do not handle *-bp.out.
24063 (common-mostlyclean): Do not handle *-bp and *-bp.out.
24064 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24065 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24066 (tests): Do not include $(tests-bp.out).
24067 (xtests): Do not include $(xtests-bp.out).
24068 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24069 [$(build-bounded) = yes] ($(addprefix
24070 $(objpfx),$(binaries-bounded))): Remove rule.
24071 ($(objpfx)%-bp.out): Remove rule.
24072 * config.make.in (build-bounded): Remove variable.
24073 * crypt/Makefile [$(build-bounded) = yes]
24074 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24075 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24076 append to variable.
24077 [$(build-bounded) = yes] (install-lib): Likewise.
24078 [$(build-bounded) = yes] (generated): Likewise.
24079 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24081 * intl/Makefile [$(build-bounded) = yes]
24082 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24083 * math/Makefile [$(build-bounded) = yes]
24084 ($(tests:%=$(objpfx)%-bp): Likewise.
24085 * misc/Makefile [$(build-bounded) = yes]
24086 ($(objpfx)tst-tsearch-bp): Likewise.
24087 * nptl/Makeconfig (bounded-thread-library): Remove variable.
24088 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24090 * string/Makefile (o-objects.ob): Remove variable.
24091 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24092 (CFLAGS-.ob): Remove variable.
24093 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24094 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24095 both definitions of variable.
24096 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24097 (ASFLAGS-.ob): Remove variable.
24099 2013-02-14 Joseph Myers <joseph@codesourcery.com>
24102 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24103 Remove __BOUNDED_POINTERS__ from condition.
24104 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24105 * string/bits/string2.h [!__NO_STRING_INLINES &&
24106 !__BOUNDED_POINTERS__]: Likewise.
24107 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24109 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24110 Remove conditional code.
24111 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24112 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24113 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24117 * csu/libc-start.c: Do not include <bp-sym.h>.
24118 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24119 * elf/dl-open.c: Do not include <bp-sym.h>.
24120 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24121 * math/fegetenv.c: Do not include <bp-sym.h>.
24122 (fegetenv): Do not use BP_SYM in versioned symbols.
24123 * nptl/sysdeps/pthread/bits/libc-lockP.h
24124 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24126 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24127 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24128 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24129 (__pthread_mutex_destroy): Likewise.
24130 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24131 (__pthread_mutex_lock): Likewise.
24132 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24133 (__pthread_mutex_trylock): Likewise.
24134 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24135 (__pthread_mutex_unlock): Likewise.
24136 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24137 (__pthread_mutexattr_init): Likewise.
24138 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24139 (__pthread_mutexattr_destroy): Likewise.
24140 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24141 (__pthread_mutexattr_settype): Likewise.
24142 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24143 (__pthread_rwlock_init): Likewise.
24144 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24145 (__pthread_rwlock_destroy): Likewise.
24146 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24147 (__pthread_rwlock_rdlock): Likewise.
24148 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24149 (__pthread_rwlock_tryrdlock): Likewise.
24150 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24151 (__pthread_rwlock_wrlock): Likewise.
24152 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24153 (__pthread_rwlock_trywrlock): Likewise.
24154 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24155 (__pthread_rwlock_unlock): Likewise.
24156 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24157 (__pthread_key_create): Likewise.
24158 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24159 (__pthread_setspecific): Likewise.
24160 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24161 (__pthread_getspecific): Likewise.
24162 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24164 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24165 (_pthread_cleanup_push_defer): Likewise.
24166 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24167 (_pthread_cleanup_pop_restore): Likewise.
24168 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24169 (pthread_setcancelstate): Likewise.
24170 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24172 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24173 (memchr): Do not use BP_SYM in weak_alias.
24174 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24175 (fegetenv): Do not use BP_SYM in versioned symbols.
24176 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24177 (fesetenv): Do not use BP_SYM in versioned symbols.
24178 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24179 (feupdateenv): Do not use BP_SYM in versioned symbols.
24180 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24181 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24182 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24183 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24184 (open64): Do not use BP_SYM in weak_alias.
24185 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24186 (fegetenv): Do not use BP_SYM in versioned symbols.
24187 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24188 (fesetenv): Do not use BP_SYM in versioned symbols.
24189 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24190 (feupdateenv): Do not use BP_SYM in versioned symbols.
24191 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24192 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24193 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24194 (feraiseexcept): Do not use BP_SYM in versioned symbols.
24195 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24196 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24197 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24199 (__libc_start_main): Do not use BP_SYM.
24201 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24203 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24204 redundant return line.
24206 (denorm): Likewise.
24207 (dbl_mp): Likewise.
24208 (sub_magnitudes): Likewise.
24214 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24216 (denorm): Likewise.
24217 (dbl_mp): Likewise.
24218 (sub_magnitudes): Likewise.
24225 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24227 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24228 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24231 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24232 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24233 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24234 of __mul for squares.
24235 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24237 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24239 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24240 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24242 2013-02-13 Joseph Myers <joseph@codesourcery.com>
24245 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24247 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24248 prototype or function definition. Rename ubp_* variables and
24249 parameters. Remove argv definitions conditional on
24250 [__BOUNDED_POINTERS__].
24251 * debug/backtrace.c (__backtrace): Do not use __unbounded.
24252 * elf/dl-runtime.c (_dl_fixup): Likewise.
24253 * include/set-hooks.h (RUN_HOOK): Likewise.
24254 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24256 * string/strcpy.c (strcpy): Do not use __unbounded.
24257 * sysdeps/generic/frame.h (struct layout): Likewise.
24258 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24259 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24260 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24261 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24262 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24263 (__backtrace): Likewise.
24264 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24266 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24267 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24268 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24270 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24271 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24272 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24273 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24274 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24275 Do not use __unbounded.
24276 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24277 Rename __unboundedrlimits parameter to rlimits in prototype.
24278 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24279 Do not use __unbounded.
24280 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24281 not use __ptrvalue.
24282 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24283 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24284 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24285 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24286 __ptrvalue or __unbounded.
24287 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24288 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24290 (__new_msgctl): Do not use __ptrvalue.
24291 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24293 (__libc_msgrcv): Do not use __ptrvalue.
24294 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24295 startup_info): Do not use __unbounded.
24296 (__libc_start_main): Likewise. Rename ubp_* variables and
24297 parameters. Remove argv definitions conditional on
24298 [__BOUNDED_POINTERS__].
24299 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24301 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24303 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24305 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24307 (__new_shmctl): Do not use __ptrvalue.
24308 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24309 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24311 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24312 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24313 (__libc_sigaction): Likewise.
24314 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24315 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24317 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24319 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
24321 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24323 * string/mempcpy.c: Implement by calling memcpy.
24325 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24327 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24329 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24332 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24333 values in the mantissa.
24335 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24336 minimize writes to Z.
24337 (sub_magnitudes): Simplify code a bit.
24339 2013-02-12 Roland McGrath <roland@hack.frob.com>
24341 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24342 from the message. The linker prefixes all warnings with that already.
24344 2013-02-12 Andreas Schwab <schwab@suse.de>
24347 * posix/regexec.c (extend_buffers): Add parameter min_len.
24348 (check_matching): Pass minimum needed length.
24349 (clean_state_log_if_needed): Likewise.
24350 (get_subexp): Likewise.
24351 * posix/Makefile (tests): Add bug-regex34.
24352 (bug-regex34-ENV): Define.
24353 * posix/bug-regex34.c: New file.
24356 * posix/regcomp.c (parse_bracket_exp): When looking up collating
24357 elements compare against the byte sequence of it, not its name.
24358 * posix/Makefile (tests): Add bug-regex35.
24359 (bug-regex35-ENV): Define.
24360 * posix/bug-regex35.c: New file.
24362 2013-02-11 Tom de Vries <tom@codesourcery.com>
24364 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
24366 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24367 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24368 (CHECK_EOL): Add undef.
24370 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
24372 * bits/stdlib-bsearch.h: New file.
24373 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24374 * stdlib/stdlib.h: Likewise.
24376 2013-02-11 Roland McGrath <roland@hack.frob.com>
24378 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24379 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24381 * manual/search.texi (Array Search Function): Add missing const in
24383 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24384 declaration to use rlim_t.
24385 (Basic Scheduling Functions): Remove erroneous const from
24386 sched_getparam prototype. Remove erroneous * from
24387 sched_get_priority_max and sched_get_priority_min prototypes.
24388 (Resource Usage): Fix summary @comment on vtimes to refer to
24389 sys/vtimes.h rather than vtimes.h.
24390 Add missing *s in vtimes prototype.
24391 (Limits on Resources): Fix ulimit prototype to return long int.
24392 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24393 prototypes to use long int rather than double.
24394 (BSD Random): Fix initstate and setstate to use char *, not void *.
24395 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24396 prototype to make second argument 'struct aiocb64 *const[]'.
24397 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24398 (Status of AIO Operations): Remove erroneous const in aio_return and
24399 aio_return64 prototypes.
24400 (Synchronizing I/O): Fix sync prototype to return void.
24401 * manual/startup.texi (Suboptions): Remove an erroneous const in
24402 getsubopt prototype.
24403 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24404 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24405 use size_t rather than int.
24406 (Scanning All Users): Likewise for getpwent_r.
24407 (Setting Groups): Add missing const to setgroups prototype.
24408 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24409 * manual/socket.texi (Host Names): Fix gethostbyaddr and
24410 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24411 'const void *' rather than 'const char *'.
24412 (Host Address Functions): Likewise for inet_ntop.
24413 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24414 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24415 ssize_t for return value.
24416 (Sending Data): Likewise for send, sendto, sendmsg.
24417 (Socket Option Functions): Add a missing const in setsockopt prototype.
24418 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24419 use wchar_t for the argument.
24420 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24421 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24423 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24424 double/float/long double for second argument.
24425 Fix return types of significand, significandf, significandl.
24426 * manual/filesys.texi (Setting Permissions): Use mode_t for second
24427 argument in fchmod prototype.
24428 (File Owner): Use uid_t and gid_t in fchown prototype.
24429 (File Times): Add const to utimes, futimes, and lutimes prototypes.
24430 (Making Special Files): Use mode_t and dev_t in mknod prototype.
24431 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24432 use 'const struct dirent **' as argument types to CMP function pointer
24434 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24435 (File Times): Fix summary magic @comment for struct utimbuf and utime
24436 to refer to utime.h, not time.h.
24437 * manual/string.texi (Argz Functions): Add missing const in
24438 argz_extract and argz_next prototypes.
24439 (Finding Tokens in a String): Likewise for basename.
24440 (String/Array Comparison): Fix typo in wcscasecmp prototype.
24441 (Copying and Concatenation): Fix typo in wmemmove prototype.
24442 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24443 (Signal Stack): Remove erroneous const in sigstack prototype.
24444 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24446 (Simple Calendar Time): Likewise for stime.
24447 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24449 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24450 say sys/sysctl.h instead.
24451 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24452 and vsyslog prototypes.
24454 2013-02-11 Tom de Vries <tom@codesourcery.com>
24456 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24459 2013-02-11 Roland McGrath <roland@hack.frob.com>
24461 * misc/sys/mman.h: Fix typo in mremap comment.
24463 2013-02-08 Roland McGrath <roland@hack.frob.com>
24465 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24466 the '\0' terminator.
24468 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24471 * debug/segfault.c: Don't include <bp-checks.h>.
24472 * sysdeps/generic/bp-checks.h: Remove file.
24473 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24474 (__GETDENTS): Don't use CHECK_N.
24475 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24476 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24477 (__getgroups): Don't use CHECK_N.
24478 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24479 (setgroups): Don't use CHECK_N.
24480 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24481 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24482 (__libc_msgrcv): Don't use CHECK_N.
24483 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24484 (__libc_msgsnd): Don't use CHECK_N.
24485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24487 (__libc_pread): Don't use CHECK_N.
24488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24489 include <bp-checks.h>.
24490 (__libc_pread64): Don't use CHECK_N.
24491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24492 include <bp-checks.h>.
24493 (__libc_pwrite): Don't use CHECK_N.
24494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24495 include <bp-checks.h>.
24496 (__libc_pwrite64): Don't use CHECK_N.
24497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24499 (__libc_pread): Don't use CHECK_N.
24500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24501 include <bp-checks.h>.
24502 (__libc_pread64): Don't use CHECK_N.
24503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24504 include <bp-checks.h>.
24505 (__libc_pwrite): Don't use CHECK_N.
24506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24507 include <bp-checks.h>.
24508 (__libc_pwrite64): Don't use CHECK_N.
24509 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24510 (do_pread): Don't use CHECK_N.
24511 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24512 (do_pread64): Don't use CHECK_N.
24513 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24514 (do_pwrite): Don't use CHECK_N.
24515 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24516 (do_pwrite64): Don't use CHECK_N.
24517 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24518 (__libc_readv): Don't use CHECK_N.
24519 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24520 (semop): Don't use CHECK_N.
24521 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24523 (semtimedop): Don't use CHECK_N.
24524 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24525 (__libc_pread): Don't use CHECK_N.
24526 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24528 (__libc_pread64): Don't use CHECK_N.
24529 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24531 (__libc_pwrite): Don't use CHECK_N.
24532 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24534 (__libc_pwrite64): Don't use CHECK_N.
24535 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24537 (__libc_msgrcv): Don't use CHECK_N.
24538 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24539 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24540 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24541 (__libc_writev): Don't use CHECK_N.
24543 2013-02-08 Roland McGrath <roland@hack.frob.com>
24545 * string/strcpy.c: Removed unused variable.
24547 * Makeconfig (+sysdep-includes): Define with := rather than =.
24548 Use an existing include/ subdir of each sysdeps dir before it.
24550 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24552 * nscd/connection.c (register_traced_file): Comment function.
24553 [HAVE_INOTIFY] (union __inev): Define.
24554 [HAVE_INOTIFY] (inotify_check_files): New function.
24555 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24556 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24558 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24560 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24562 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24563 loaded if not already and that a failure is permanent.
24565 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24568 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24569 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24571 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24574 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24575 (CHECK_1_NULL_OK): Likewise.
24576 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24577 (__fxstat): Do not use CHECK_1.
24578 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24580 (___fxstat64): Do not use CHECK_1.
24581 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24583 (__fxstatat): Do not use CHECK_1.
24584 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24586 (__fxstatat64): Do not use CHECK_1.
24587 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24589 (__fxstat): Do not use CHECK_1.
24590 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24592 (__fxstatat): Do not use CHECK_1.
24593 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24595 (__getresgid): Do not use CHECK_1.
24596 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24598 (__getresuid): Do not use CHECK_1.
24599 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24601 (__lxstat): Do not use CHECK_1.
24602 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24604 (__old_msgctl): Do not use CHECK_1.
24605 (__new_msgctl): Likewise.
24606 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24608 (__new_setrlimit): Do not use CHECK_1.
24609 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24611 (__old_shmctl): Do not use CHECK_1.
24612 (__new_shmctl): Likewise.
24613 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24615 (__xstat): Do not use CHECK_1.
24616 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24617 (__lxstat): Do not use CHECK_1.
24618 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24620 (___lxstat64): Do not use CHECK_1.
24621 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24622 (__old_msgctl): Do not use CHECK_1.
24623 (__new_msgctl): Likewise.
24624 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24626 (__gettimeofday): Do not use CHECK_1.
24627 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24628 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24629 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24631 (__gettimeofday): Do not use CHECK_1.
24632 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24633 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24634 (__new_shmctl): Do not use CHECK_1.
24635 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24637 (do_sigtimedwait): Do not use CHECK_1.
24638 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24640 (do_sigwaitinfo): Do not use CHECK_1.
24641 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24643 (msgctl): Do not use CHECK_1.
24644 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24646 (shmctl): Do not use CHECK_1.
24647 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24648 (ustat): Do not use CHECK_1.
24649 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24651 (__fxstat): Do not use CHECK_1.
24652 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24654 (__fxstatat): Do not use CHECK_1.
24655 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24657 (__lxstat): Do not use CHECK_1.
24658 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24660 (__xstat): Do not use CHECK_1.
24661 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24662 (__xstat): Do not use CHECK_1.
24663 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24664 (___xstat64): Do not use CHECK_1.
24667 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24669 (CHECK_BOUNDS_HIGH): Likewise.
24670 * string/strcpy.c: Do not include <bp-checks.h>.
24671 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24673 2013-02-07 Roland McGrath <roland@hack.frob.com>
24675 * nscd/nscd-client.h (__nscd_drop_map_ref):
24676 Add __attribute__ ((unused)).
24677 * nis/nss-nisplus.h (niserr2nss): Likewise.
24679 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24680 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24682 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24683 Remove inline keyword.
24684 * include/rounding-mode.h (round_away): Likewise.
24685 * libio/wfileops.c (adjust_wide_data): Likewise.
24686 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24687 (__m128i_strloadu_tolower): Likewise.
24688 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24689 (__m128i_strloadu_tolower): Likewise.
24690 * time/mktime.c (ydhms_diff): Likewise.
24691 * locale/elem-hash.h (elem_hash): Likewise.
24692 * locale/setlocale.c (setdata): Likewise.
24693 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24694 (re_string_wchar_at): Likewise.
24695 (bitset_not, bitset_merge, bitset_mask): Likewise.
24696 [!(__GNUC__ > 3)] (inline): Remove macro.
24697 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24698 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24699 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24700 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24701 * string/memcmp.c (memcmp_bytes): Likewise.
24702 * locale/programs/locarchive.c (compute_hashval): Likewise.
24703 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24704 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24705 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24706 * nss/getent.c (print_rpc, print_protocols): Likewise.
24707 (print_passwd, print_group, print_aliases): Likewise.
24708 * nis/nss-nisplus.h (niserr2nss): Likewise.
24709 * nscd/connections.c (restart_p): Likewise.
24710 Change return type to bool.
24712 2013-02-05 Roland McGrath <roland@hack.frob.com>
24714 * Makeconfig (all-Depend-files): Add existing
24715 $(sorted-subdirs:=/Depend) files.
24716 (all-subdirs): Remove nss.
24717 * sysdeps/unix/inet/Subdirs: Add it here instead.
24718 * hesiod/Depend: New file.
24720 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24721 instead of calling alloca.
24723 * io/lseek.c (__lseek): Rename to __libc_lseek.
24724 Define __lseek as an alias.
24726 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24728 2013-02-04 Carlos O'Donell <carlos@redhat.com>
24730 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24731 else clause and remove check for non-standard endianness.
24733 2013-02-04 David S. Miller <davem@davemloft.net>
24735 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24737 2013-02-04 Joseph Myers <joseph@codesourcery.com>
24740 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24741 (__ubp_memchr): Remove prototype.
24742 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24743 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24744 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24745 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24746 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24748 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24749 (__ubp_memchr): Likewise.
24750 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24751 (__ubp_memchr): Likewise.
24752 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24753 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24754 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24755 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24757 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24758 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24759 (__getcwd): Do not use CHECK_STRING.
24760 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24762 (__real_chown): Do not use CHECK_STRING.
24763 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24765 (fchownat): Do not use CHECK_STRING.
24766 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24768 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24770 (__lchown): Do not use CHECK_STRING.
24771 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24772 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24773 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24774 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24776 include <bp-checks.h>.
24777 (truncate64): Do not use CHECK_STRING.
24778 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24780 (__real_chown): Do not use CHECK_STRING.
24781 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24783 (__lchown): Do not use CHECK_STRING.
24784 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24786 (__chown): Do not use CHECK_STRING.
24787 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24789 (truncate64): Do not use CHECK_STRING.
24790 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24792 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24793 (__xmknod): Do not use CHECK_STRING.
24794 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24796 (__xmknodat): Do not use CHECK_STRING.
24797 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24798 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24800 2013-02-04 Andreas Schwab <schwab@suse.de>
24803 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24804 * include/netdb.h: Likewise for h_errno.
24805 * elf/tst-stackguard1.c: Include <tls.h>.
24807 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
24809 * elf/link.h (struct link_map): Extend the l_addr comment.
24810 * include/link.h (struct link_map): Likewise.
24812 2013-02-01 Joseph Myers <joseph@codesourcery.com>
24815 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24816 (BOUNDED_1): Remove macro.
24817 * debug/backtrace.c: Don't include <bp-checks.h>.
24818 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24819 (__backtrace): Likewise.
24820 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24822 (__backtrace): Don't use BOUNDED_1.
24823 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24825 (__backtrace): Don't use BOUNDED_1.
24826 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24827 (__backtrace): Don't use BOUNDED_1.
24828 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24829 (shmat): Don't use BOUNDED_N.
24831 2013-01-31 Joseph Myers <joseph@codesourcery.com>
24834 * sysdeps/generic/bp-start.h: Remove file.
24835 * csu/libc-start.c: Don't include <bp-start.h>.
24836 (LIBC_START_MAIN): Set up __environ directly instead of using
24837 INIT_ARGV_and_ENVIRON.
24838 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24842 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24844 (CHECK_FCNTL): Likewise.
24845 (CHECK_N_PAGES): Likewise.
24848 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24850 (CHECK_SIGSET_NULL_OK): Likewise.
24851 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24853 (sigpending): Don't use CHECK_SIGSET.
24854 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24856 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24857 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24859 (do_sigsuspend): Don't use CHECK_SIGSET.
24860 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24862 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24863 (do_sigwait): Don't use CHECK_SIGSET.
24864 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24866 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24867 include <bp-checks.h>.
24868 (sigpending): Don't use CHECK_SIGSET.
24869 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24870 include <bp-checks.h>.
24871 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24872 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24874 (sigpending): Don't use CHECK_SIGSET.
24875 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24877 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24880 * sysdeps/generic/bp-semctl.h: Remove file.
24881 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24882 <bp-checks.h> and <bp-semctl.h>.
24883 (__old_semctl): Don't use CHECK_SEMCTL.
24884 (__new_semctl): Likewise.
24885 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24887 (__old_semctl): Don't use CHECK_SEMCTL.
24888 (__new_semctl): Likewise.
24889 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24890 <bp-checks.h> and <bp-semctl.h>.
24891 (__old_semctl): Don't use CHECK_SEMCTL.
24892 (__new_semctl): Likewise.
24893 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24894 <bp-checks.h> and <bp-semctl.h>.
24895 (semctl): Don't use CHECK_SEMCTL.
24898 * Makerules (elide-bp-thunks): Remove variable.
24899 (elide-routines.oS): Don't use $(elide-bp-thunks).
24900 (elide-routines.os): Likewise.
24901 (elide-routines.o): Likewise.
24902 (elide-routines.op): Likewise.
24903 (elide-routines.og): Likewise.
24904 (objects): Don't use $(bp-thunks).
24905 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24907 (common-generated): Do not add s-proto-bp.d.
24908 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24911 Do not generate makefile rules for bounded-pointer thunks.
24912 * sysdeps/generic/bp-thunks.h: Remove file.
24913 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24914 * sysdeps/unix/s-proto-bp.S: Likewise.
24917 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24918 parts of result separately when argument is not close to line from
24919 -i to i and one part of argument is small.
24920 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24921 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24922 * math/libm-test.inc (cacos_test): Add more tests.
24923 (casin_test): Likewise.
24924 (casinh_test): Likewise.
24925 * sysdeps/i386/fpu/libm-test-ulps: Update.
24926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24928 2013-01-31 David S. Miller <davem@davemloft.net>
24930 * po/de.po: Update from translation team.
24932 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
24934 * time/tzfile.c: Include stdint.h for SIZE_MAX.
24936 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
24938 * configure.in (_AC_PROG_CC_C89): New definition.
24939 * configure: Regenerate.
24941 * configure.in (AC_PROG_CPP): New definition.
24942 * configure: Regenerate.
24944 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24946 * debug/tst-backtrace.h: New file.
24947 * debug/tst-backtrace2.c: Include tst-backtrace.h.
24948 (ret): Remove variable.
24950 (FAIL): Remove macro.
24951 (NO_INLINE): Likewise.
24952 (fn1): Use match function instead of strstr.
24953 * debug/tst-backtrace3.c: Include tst-backtrace.h.
24954 (ret): Remove variable.
24956 (FAIL): Remove macro.
24957 (NO_INLINE): Likewise.
24958 (fn): Use match function instead of strstr.
24959 * debug/tst-backtrace4.c: Include tst-backtrace.h.
24960 (ret): Remove variable.
24962 (FAIL): Remove macro.
24963 (NO_INLINE): Likewise.
24964 (handle_signal): Use match function instead of strstr.
24965 * debug/tst-backtrace5.c: Include tst-backtrace.h.
24966 (ret): Remove variable.
24968 (FAIL): Remove macro.
24969 (NO_INLINE): Likewise.
24970 (handle_signal): Use match function instead of strstr.
24972 2013-01-23 Roland McGrath <roland@hack.frob.com>
24974 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24976 2013-01-23 David S. Miller <davem@davemloft.net>
24978 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24979 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24980 argument of CAS if possible.
24981 * sysdeps/sparc/sparc64/bits/atomic.h
24982 (__arch_compare_and_exchange_val_32_acq): Likewise.
24983 (__arch_compare_and_exchange_val_64_acq): Likewise.
24985 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
24987 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24988 * sysdeps/posix/ulimit.c: ... this.
24989 Include <limits.h>.
24990 * sysdeps/unix/bsd/ulimit.c: Remove file.
24992 2013-01-23 Adam Conrad <adconrad@0c3.net>
24994 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24995 (LDFLAGS-tst-array5): Likewise.
24997 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25000 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25001 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25002 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25003 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25005 2013-01-21 David S. Miller <davem@davemloft.net>
25007 * sysdeps/sparc/backtrace.c: New file.
25008 * sysdeps/sparc/sparc32/backtrace.h: New file.
25009 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25010 * sysdeps/sparc/sparc64/backtrace.h: New file.
25011 * sysdeps/sparc/sparc64/backtrace.c: Delete.
25012 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25015 2013-01-21 Andreas Schwab <schwab@suse.de>
25018 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25021 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
25023 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25025 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25027 2013-01-18 Joseph Myers <joseph@codesourcery.com>
25028 Mark Mitchell <mark@codesourcery.com>
25029 Tom de Vries <tom@codesourcery.com>
25030 Paul Pluzhnikov <ppluzhnikov@google.com>
25032 * debug/tst-backtrace2.c: New file.
25033 * debug/tst-backtrace3.c: Likewise.
25034 * debug/tst-backtrace4.c: Likewise.
25035 * debug/tst-backtrace5.c: Likewise.
25036 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25037 (CFLAGS-tst-backtrace3.c): Likewise.
25038 (CFLAGS-tst-backtrace4.c): Likewise.
25039 (CFLAGS-tst-backtrace5.c): Likewise.
25040 (LDFLAGS-tst-backtrace2): Likewise.
25041 (LDFLAGS-tst-backtrace3): Likewise.
25042 (LDFLAGS-tst-backtrace4): Likewise.
25043 (LDFLAGS-tst-backtrace5): Likewise.
25044 (tests): Add new tests tst-backtrace2, tst-backtrace3,
25045 tst-backtrace4 and tst-backtrace5.
25047 2013-01-18 Anton Blanchard <anton@samba.org>
25048 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25050 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25051 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25052 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25053 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25055 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25056 "+r" and remove output regs list as redundant. Add explicit inline
25057 asm to specify register of return val to work around compiler codegen
25058 bug. Remove (int) cast on return value. Add return type parameter to
25059 use in macro so that this macro does not truncate return value for
25061 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25062 pass to INTERNAL_VSYSCALL_NCS.
25063 (INLINE_VSYSCALL): Add 'long int' as return type to
25064 INTERNAL_VSYSCALL_NCS macro invocation.
25065 (INTERNAL_VSYSCALL): Add 'long int' as return type to
25066 INTERNAL_VSYSCALL_NCS macro invocation.
25067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25069 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25072 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25073 Fix application of SIMD FP exception mask.
25075 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25076 mp_no from a power of two.
25077 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25078 __mpexp_twomm1. Use __pow_mp.
25080 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25083 2013-01-17 David S. Miller <davem@davemloft.net>
25085 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25087 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25090 * include/complex.h: Condition contents on [!_COMPLEX_H].
25091 (__kernel_casinhf): New prototype.
25092 (__kernel_casinh): Likewise.
25093 (__kernel_casinhl): Likewise.
25094 * math/Makefile (libm_calls): Add k_casinh.
25095 * math/k_casinh.c: New file.
25096 * math/k_casinhf.c: Likewise.
25097 * math/k_casinhl.c: Likewise.
25098 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25099 finite nonzero arguments.
25100 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25101 finite nonzero arguments.
25102 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25103 finite nonzero arguments.
25104 * math/s_casinh.c: Do not include <float.h>.
25105 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25106 * math/s_casinhf.c: Do not include <float.h>.
25107 (__casinhf): Move code for finite nonzero arguments to
25109 * math/s_casinhl.c: Do not include <float.h>.
25110 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25112 (__casinhl): Move code for finite nonzero arguments to
25114 * math/libm-test.inc (cacos_test): Add more tests.
25115 * sysdeps/i386/fpu/libm-test-ulps: Update.
25116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25118 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
25120 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25121 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25122 [!HAVE_MREMAP]: Remove [defined linux] case.
25123 * malloc/arena.c: Do not include <malloc-sysdep.h>.
25125 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25127 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25129 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
25131 * elf/elf.h (R_386_SIZE32): New relocation.
25132 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25134 (elf_machine_rela): Likewise.
25135 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25136 R_X86_64_SIZE64 and R_X86_64_SIZE32.
25138 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25140 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25141 (FP_FAST_FMA): Do not define.
25142 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25143 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25144 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25145 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25146 !_SOFT_FLOAT]: Likewise.
25147 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25148 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25150 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25151 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25152 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25153 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25154 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25155 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25158 2013-01-16 Andreas Schwab <schwab@suse.de>
25161 * include/stdlib.h (__mktemp): Add declaration.
25162 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25163 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25165 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25167 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25169 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25170 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25171 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25173 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25174 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25176 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25178 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25179 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25180 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25182 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25183 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25185 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25187 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25189 2013-01-15 David S. Miller <davem@davemloft.net>
25191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25192 trunc{,f} to libm-sysdep_routes.
25193 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25203 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25204 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25205 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25206 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25207 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25208 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25211 nearbyint{,f} to libm-sysdep_routes.
25212 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25223 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25225 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25226 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25228 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25229 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25230 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25232 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25233 libc_feholdexcept and libc_fesetenv.
25235 2013-01-15 Mike Frysinger <vapier@gentoo.org>
25237 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25239 2013-01-14 David S. Miller <davem@davemloft.net>
25241 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25242 (SPARC_ASM_VIS2_IFUNC): Likewise.
25243 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25245 use of 'siam' instruction.
25246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25252 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25253 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25254 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25255 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25264 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25265 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25266 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25267 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25274 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25275 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25276 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25277 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25279 routines to libm-sysdep_routines.
25280 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25283 fdim/fdimf to libm-sysdep_routines.
25284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25292 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25293 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25294 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25295 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25297 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25299 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25300 to optimize copies.
25302 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25303 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25304 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25306 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25307 local variable MPTWO.
25308 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25311 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25313 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25316 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25318 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25320 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25322 * manual/pattern.texi (glob_t): Document gl_flags.
25323 (glob64_t): Likewise.
25325 2013-01-11 David S. Miller <davem@davemloft.net>
25327 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25328 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25329 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
25330 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25331 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25332 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25333 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25334 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25335 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25336 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25337 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25338 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25339 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25341 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25342 sparc V9 rather than using V8 code.
25343 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25344 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25346 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25348 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25351 2013-01-11 Roland McGrath <roland@hack.frob.com>
25353 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25354 not in the main loop.
25355 * configure: Regenerated.
25357 2013-01-11 Joseph Myers <joseph@codesourcery.com>
25359 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25360 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25362 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
25363 [!__GLIBC_HAVE_LONG_LONG] case.
25364 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25365 condition to just #else.
25366 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25367 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25368 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25369 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25371 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25372 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25373 #elif condition to just #else.
25374 * sysdeps/unix/sysv/linux/sys/sysmacros.h
25375 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25376 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25377 #elif condition to just #else.
25379 2013-01-11 Steve Ellcey <sellcey@mips.com>
25381 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25382 (EF_MIPS_ARCH_64): Fix value.
25383 (EF_MIPS_ARCH_32R2): New.
25384 (EF_MIPS_ARCH_64R2): New.
25386 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
25388 * Makeconfig (+link-pie-before-libc): New.
25389 (+link-pie-after-libc): Likewise.
25390 (+link-pie-tests): Likewise.
25391 (+link-pie): Rewritten.
25392 (link-before-libc): Remove $(config-LDFLAGS).
25393 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25394 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25395 (config-LDFLAGS): Renamed to ...
25396 (rtld-LDFLAGS): This.
25397 (rtld-tests-LDFLAGS): New macro.
25398 (link-libc-rpath-link): Likewise.
25399 (link-libc-tests-rpath-link): Likewise.
25400 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25401 (link-libc): Prepand $(link-libc-rpath-link).
25402 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25403 (test-program-prefix): New macro.
25404 (test-via-rtld-prefix): Likewise.
25405 (test-program-cmd): Likewise.
25406 (host-test-program-cmd): Likewise.
25407 * Makefile ($(common-objpfx)testrun.sh): Replace
25408 $(run-program-prefix) with $(test-program-prefix).
25409 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25411 ($(common-objpfx)shlib.lds): Likewise.
25412 (build-module-helper): Likewise.
25413 ($(common-objpfx)format.lds): Likewise.
25414 * Rules (binaries-pie-tests): New.
25415 (binaries-pie-notests): Likewise.
25416 (binaries-pie): Rewritten.
25417 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25418 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25419 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25420 (make-test-out): Replace $(host-built-program-cmd) with
25421 $(host-test-program-cmd).
25422 * config.make.in (build-hardcoded-path-in-tests): New variable.
25423 * configure.in (--enable-hardcoded-path-in-tests): New configure
25425 (hardcoded_path_in_tests): New AC_SUBST.
25426 * configure: Regenerated.
25427 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25428 $(built-program-cmd) with $(test-program-cmd).
25429 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25430 (test_program_cmd): This.
25431 * elf/Makefile ($(objpfx)order.out): Run test with
25432 $(test-program-prefix).
25433 ($(objpfx)order2.out): Likewise.
25434 ($(objpfx)tst-initorder.out): Likewise.
25435 ($(objpfx)tst-initorder2.out): Likewise.
25436 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25437 $(test-program-cmd).
25438 ($(objpfx)tst-array1-static.out): Likewise.
25439 ($(objpfx)tst-array2.out): Likewise.
25440 ($(objpfx)tst-array3.out): Likewise.
25441 ($(objpfx)tst-array4.out): Likewise.
25442 ($(objpfx)tst-array5.out): Likewise.
25443 ($(objpfx)tst-array5-static.out): Likewise.
25444 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25445 $(test-program-cmd).
25446 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25447 $(run-program-prefix) with $(test-program-prefix).
25448 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25449 (test_program_prefix): This.
25450 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25451 $(run-program-prefix) with $(test-program-prefix).
25452 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25453 (test_program_prefix): This.
25454 * iconvdata/tst-tables.sh: Likewise.
25455 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25456 $(run-program-prefix) with $(test-program-prefix).
25457 ($(objpfx)tst-translit.out): Likewise.
25458 ($(objpfx)tst-gettext2.out): Likewise.
25459 ($(objpfx)tst-gettext4.out): Likewise.
25460 ($(objpfx)tst-gettext6.out): Likewise.
25461 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25462 (test_program_prefix): This.
25463 * intl/tst-gettext2.sh: Likewise.
25464 * intl/tst-gettext4.sh Likewise.
25465 * intl/tst-gettext6.sh: Likewise.
25466 * intl/tst-translit.sh: Likewise.
25467 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25468 with $(test-program-cmd).
25469 * libio/Makefile ($(objpfx)test-freopen.out): Replace
25470 $(run-program-prefix) with $(test-program-prefix).
25471 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25472 (test_program_prefix): This.
25473 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25474 $(run-program-prefix) with $(test-program-prefix).
25475 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25476 (test_program_prefix): This.
25477 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25478 * posix/Makefile ($(objpfx)globtest.out): Replace
25479 $(run-via-rtld-prefix) and $(test-wrapper) with
25480 $(test-program-prefix) and $(test-via-rtld-prefix).
25481 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25482 $(test-program-prefix).
25483 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25484 $(host-test-program-cmd).
25485 (tst-spawn-ARGS): Likewise.
25486 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25487 $(test-program-prefix).
25488 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25489 (test_via_rtld_prefix): This.
25490 (test_wrapper): Renamed to ...
25491 (test_program_prefix): This.
25492 (run_program_prefix): Replaced by test_program_prefix.
25493 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25494 (test_program_prefix): This.
25495 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25496 with $(host-test-program-cmd).
25497 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25498 $(run-program-prefix) with $(test-program-prefix).
25499 ($(objpfx)tst-printf.out): Likewise.
25500 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25501 $(test-program-cmd).
25502 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25503 (test_program_prefix): This.
25504 * stdio-common/tst-unbputc.sh: Likewise.
25505 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25506 $(run-program-prefix) with $(test-program-prefix).
25507 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25508 (test_program_prefix): This.
25509 * string/Makefile ($(objpfx)tst-svc.out): Replace
25510 $(built-program-cmd) with $(test-program-cmd).
25512 2013-01-11 Andreas Jaeger <aj@suse.de>
25515 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25516 value. Sync with Linux 3.7.
25518 2013-01-10 David S. Miller <davem@davemloft.net>
25520 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25521 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25522 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25524 2013-01-10 Roland McGrath <roland@hack.frob.com>
25526 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25528 * configure: Regenerated.
25530 2013-01-10 David S. Miller <davem@davemloft.net>
25532 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25533 sparc V9 rather than using V8 code.
25534 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25535 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25537 2013-01-10 Roland McGrath <roland@hack.frob.com>
25539 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25540 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25541 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25542 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25543 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25544 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25545 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25546 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25547 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25548 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25549 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25550 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25551 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25552 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25553 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25554 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25555 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25556 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25557 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25558 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25559 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25560 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25561 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25562 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25563 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25564 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25565 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25567 2013-01-10 David S. Miller <davem@davemloft.net>
25569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25571 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25573 * posix/Makefile (tests-static): New variable.
25574 (tests): Add $(tests-static).
25575 (tst-exec-static-ARGS): New variable.
25576 (tst-spawn-static-ARGS): Likewise.
25577 * posix/tst-exec-static.c: New file.
25578 * posix/tst-spawn-static.c: Likewise.
25579 * posix/tst-exec.c: Support run directly.
25580 * posix/tst-spawn.c: Likewise.
25582 2013-01-10 Joseph Myers <joseph@codesourcery.com>
25584 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25586 * math/bits/mathcalls.h (llrint): Likewise.
25587 (llround): Likewise.
25588 * stdlib/stdlib.h (struct drand48_data): Likewise.
25589 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25590 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25591 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25593 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25595 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25596 (elf_greg_t): Likewise.
25597 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25598 (__jmp_buf): Likewise.
25599 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25601 (llrint): Likewise, for all definitions.
25602 (llrintl): Likewise.
25604 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25605 Remove [__GNUC__] condition.
25606 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25607 condition to just [__USE_ISOC99].
25608 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25610 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25613 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25614 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25616 (_POSIX_V6_ILP32_OFF32): Likewise.
25617 (_XBS5_ILP32_OFF32): Likewise.
25618 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25619 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25621 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25623 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25625 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25626 doubles __mpexp_twomm1. Adjust usage.
25627 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25630 2013-01-10 Andreas Schwab <schwab@suse.de>
25633 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25634 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25636 2013-01-09 David S. Miller <davem@davemloft.net>
25639 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25640 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25641 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25642 (TCP_FASTOPEN): Define.
25643 (tcp_repair_opt): New structure.
25644 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25646 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25647 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25648 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25649 (tcp_cookie_transactions): New structure.
25651 2013-01-09 Anton Blanchard <anton@samba.org>
25653 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25654 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25655 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25656 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25658 2013-01-09 Joseph Myers <joseph@codesourcery.com>
25660 * include/features.h (__USE_ANSI): Remove.
25662 2013-01-09 Roland McGrath <roland@hack.frob.com>
25664 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25666 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25668 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25670 * sysdeps/s390/fpu/libm-test-ulps: Update.
25672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25674 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25678 (denorm): Likewise.
25679 (__mp_dbl): Likewise.
25680 (__dbl_mp): Likewise.
25681 (add_magnitudes): Likewise.
25682 (sub_magnitudes): Likewise.
25688 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25692 (denorm): Likewise.
25693 (__mp_dbl): Likewise.
25694 (__dbl_mp): Likewise.
25695 (add_magnitudes): Likewise.
25696 (sub_magnitudes): Likewise.
25702 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25706 (denorm): Likewise.
25707 (__mp_dbl): Likewise.
25708 (__dbl_mp): Likewise.
25709 (add_magnitudes): Likewise.
25710 (sub_magnitudes): Likewise.
25717 2013-01-08 Joseph Myers <joseph@codesourcery.com>
25719 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25720 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25721 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25722 2 && __USE_EXTERN_INLINES]: Likewise.
25724 2013-01-08 Andreas Jaeger <aj@suse.de>
25727 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25729 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25730 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25732 2013-01-07 Anton Blanchard <anton@samba.org>
25734 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25735 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25736 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25737 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25738 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25739 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25740 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25741 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25742 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25743 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25744 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25745 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25746 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25747 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25748 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25749 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25750 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25751 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25752 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25753 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25754 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25755 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25756 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25757 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25758 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25759 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25760 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25761 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25762 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25763 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25764 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25765 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25766 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25767 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25768 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25769 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25770 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25771 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25772 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25773 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25774 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25775 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25776 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25778 2013-01-07 Joseph Myers <joseph@codesourcery.com>
25780 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25781 (__MALLOC_PMT): Likewise.
25782 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25783 [__GNUC__], only on [_LIBC].
25784 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25785 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25786 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25787 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25788 forward declaration.
25789 (realloc_hook_ini): Likewise.
25790 (memalign_hook_ini): Likewise.
25791 (__libc_memalign): Do not use __MALLOC_PMT in variable
25793 (__libc_valloc): Likewise.
25794 (__libc_pvalloc): Likewise.
25795 (__libc_calloc): Likewise.
25796 (__posix_memalign): Likewise.
25799 * math/s_casinh.c: Include <float.h>.
25800 (__casinh): Do not do computation with squaring and square root
25801 for large arguments.
25802 * math/s_casinhf.c: Include <float.h>.
25803 (__casinhf): Do not do computation with squaring and square root
25804 for large arguments.
25805 * math/s_casinhl.c: Include <float.h>.
25806 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25807 (__casinhl): Do not do computation with squaring and square root
25808 for large arguments.
25809 * math/libm-test.inc (casin_test): Add more tests.
25810 (casinh_test): Likewise.
25811 * sysdeps/i386/fpu/libm-test-ulps: Update.
25812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25814 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
25816 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25817 (__x86_64_raw_data_cache_size): Likewise.
25818 (__x86_64_data_cache_size_half): Likewise.
25819 (__x86_64_raw_data_cache_size_half): Likewise.
25820 (__x86_64_shared_cache_size): Likewise.
25821 (__x86_64_raw_shared_cache_size): Likewise.
25822 (__x86_64_shared_cache_size_half): Likewise.
25823 (__x86_64_raw_shared_cache_size_half): Likewise.
25824 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25826 (__x86_data_cache_size): This.
25827 (__x86_64_raw_data_cache_size): Renamed to ...
25828 (__x86_raw_data_cache_size): This.
25829 (__x86_64_data_cache_size_half): Renamed to ...
25830 (__x86_data_cache_size_half): This.
25831 (__x86_64_raw_data_cache_size_half): Renamed to ...
25832 (__x86_raw_data_cache_size_half): This.
25833 (__x86_64_shared_cache_size): Renamed to ...
25834 (__x86_shared_cache_size): This.
25835 (__x86_64_raw_shared_cache_size): Renamed to ...
25836 (__x86_raw_shared_cache_size): This.
25837 (__x86_64_shared_cache_size_half): Renamed to ...
25838 (__x86_shared_cache_size_half): This.
25839 (__x86_64_raw_shared_cache_size_half): Renamed to ...
25840 (__x86_raw_shared_cache_size_half): This.
25841 * sysdeps/x86_64/memcpy.S: Updated.
25842 * sysdeps/x86_64/memset.S: Likewise.
25843 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25844 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25845 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25847 2013-01-04 David S. Miller <davem@davemloft.net>
25849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25851 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
25853 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25854 1 to avoid redefinition warning.
25855 (__USE_GNU): Don't define.
25856 (init_signaling_nan): Protoize.
25858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25860 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25862 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25863 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25864 (__cpymn): Likewise.
25865 (norm): Remove commented code.
25866 (denorm): Likewise.
25867 (__mp_dbl): Likewise.
25869 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25870 (__cpymn): Likewise.
25871 (norm): Remove commented code.
25872 (denorm): Likewise.
25873 (__mp_dbl): Likewise.
25876 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25877 mp_no value for 1.0 and 2.0.
25878 (norm): Use RADIXI instead of radixi.d.
25879 (denorm): Likewise.
25880 (__mul): Use 0.0 instead of zero.d.
25881 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25882 mp_no value for 1.0 and 2.0.
25883 (norm): Use RADIXI instead of radixi.d.
25884 (denorm): Likewise.
25885 (__mul): Use 0.0 instead of zero.d.
25887 2013-01-04 Joseph Myers <joseph@codesourcery.com>
25890 * math/s_casinh.c (__casinh): Reduce finite argument to first
25891 quadrant then set signs of results at the end.
25892 * math/s_casinhf.c (__casinhf): Likewise.
25893 * math/s_casinhl.c (__casinhl): Likewise.
25894 * math/libm-test.inc (casin_test): Add more tests.
25895 (casinh_test): Likewise.
25896 * sysdeps/i386/fpu/libm-test-ulps: Update.
25897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25899 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25901 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25903 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25905 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25907 (denorm): Likewise.
25908 (__mp_dbl): Likewise.
25911 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25912 and adjust the header comment.
25914 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25915 variable name from declaration.
25917 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
25919 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25920 Initialize COMMON_CPUID_INDEX_7 element.
25921 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25922 (CPUID_RTM): Likewise.
25923 (HAS_RTM): Likewise.
25924 (COMMON_CPUID_INDEX_7): New enum.
25926 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
25929 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25930 size is zero, record memory as freed.
25932 2013-01-03 Andreas Jaeger <aj@suse.de>
25934 * po/ia.po: Add new Interlingua translation.
25936 2012-01-03 Allan McRae <allan@archlinux.org>
25938 * locale/programs/localedef.c: Fix description of '--posix' flag.
25940 2013-01-02 Joseph Myers <joseph@codesourcery.com>
25942 * NEWS: Update dates in second copyright notice.
25943 * README: Update copyright dates in example.
25944 * manual/libc.texinfo: Update copyright dates.
25945 * scripts/test-installation.pl: Update copyright date in --version
25948 * hurd/ctty-input.c: Fix copyright notice formatting.
25949 * hurd/ctty-output.c: Likewise.
25950 * hurd/dtable.c: Likewise.
25951 * hurd/hurd-raise.c: Likewise.
25952 * hurd/hurdprio.c: Likewise.
25953 * hurd/msgportdemux.c: Likewise.
25954 * misc/sys/file.h: Likewise.
25955 * misc/sys/ioctl.h: Likewise.
25956 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25957 * sysdeps/mach/hurd/chdir.c: Likewise.
25958 * sysdeps/mach/hurd/fchdir.c: Likewise.
25959 * sysdeps/mach/hurd/rename.c: Likewise.
25960 * sysdeps/mach/hurd/rmdir.c: Likewise.
25961 * sysdeps/mach/hurd/seekdir.c: Likewise.
25962 * sysdeps/mach/hurd/setsid.c: Likewise.
25963 * sysdeps/posix/wait3.c: Likewise.
25965 * All files with FSF copyright notices: Update copyright dates
25966 using scripts/update-copyrights.
25967 * intl/plural.c: Regenerated.
25968 * locale/programs/charmap-kw.h: Likewise.
25969 * locale/programs/locfile-kw.h: Likewise.
25971 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25973 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25976 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25977 calculation loop and add branch prediction.
25979 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25980 check access beyond bounds of m1np.
25982 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25984 (__inv): Remove local variable MPTWO to use the global
25986 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25987 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25989 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25990 MP3HALFS static const.
25992 2013-01-01 David S. Miller <davem@davemloft.net>
25994 * po/ca.po: Update from translation team.
25996 2013-01-01 Joseph Myers <joseph@codesourcery.com>
25998 * scripts/update-copyrights: New file.
25999 * Makeconfig: Reformat copyright notice.
26000 * ctype/ctype.h: Likewise.
26001 * debug/swprintf_chk.c: Likewise.
26002 * elf/dl-cache.c: Likewise.
26003 * elf/dl-debug.c: Likewise.
26004 * elf/dl-object.c: Likewise.
26005 * grp/initgroups.c: Likewise.
26006 * hurd/Makefile: Likewise.
26007 * hurd/hurd/signal.h: Likewise.
26008 * hurd/hurdfault.c: Likewise.
26009 * hurd/hurdioctl.c: Likewise.
26010 * hurd/hurdlookup.c: Likewise.
26011 * hurd/intr-msg.c: Likewise.
26012 * iconv/gconv_open.c: Likewise.
26013 * libio/swprintf.c: Likewise.
26014 * locale/lc-ctype.c: Likewise.
26015 * locale/nl_langinfo.c: Likewise.
26016 * mach/Machrules: Likewise.
26017 * mach/Makefile: Likewise.
26018 * malloc/obstack.h: Likewise.
26019 * manual/Makefile: Likewise.
26020 * manual/tsort.awk: Likewise.
26021 * misc/bits/stab.def: Likewise.
26022 * nis/nis_print_group_entry.c: Likewise.
26023 * nis/nis_table.c: Likewise.
26024 * nis/nss_compat/compat-pwd.c: Likewise.
26025 * nis/nss_compat/compat-spwd.c: Likewise.
26026 * po/Makefile: Likewise.
26027 * posix/fnmatch.c: Likewise.
26028 * posix/regex.h: Likewise.
26029 * resolv/Makefile: Likewise.
26030 * resolv/nss_dns/dns-network.c: Likewise.
26031 * resolv/res_hconf.c: Likewise.
26032 * scripts/gen-sorted.awk: Likewise.
26033 * soft-fp/soft-fp.h: Likewise.
26034 * stdio-common/printf.h: Likewise.
26035 * stdlib/monetary.h: Likewise.
26036 * stdlib/random.c: Likewise.
26037 * stdlib/random_r.c: Likewise.
26038 * sysdeps/generic/Makefile: Likewise.
26039 * sysdeps/gnu/Makefile: Likewise.
26040 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26041 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26042 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26043 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26044 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26045 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26046 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26047 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26048 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26049 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26050 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26051 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26052 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26053 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26054 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26055 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26056 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26057 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26058 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26059 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26060 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26061 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26062 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26063 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26064 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26065 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26066 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26067 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26068 * sysdeps/mach/hurd/errnos.awk: Likewise.
26069 * sysdeps/mach/hurd/fork.c: Likewise.
26070 * sysdeps/mach/hurd/getcwd.c: Likewise.
26071 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26072 * sysdeps/mach/hurd/mmap.c: Likewise.
26073 * sysdeps/mach/hurd/utimes.c: Likewise.
26074 * sysdeps/mach/hurd/xmknod.c: Likewise.
26075 * sysdeps/posix/profil.c: Likewise.
26076 * sysdeps/posix/readdir_r.c: Likewise.
26077 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26078 * sysdeps/powerpc/bits/setjmp.h: Likewise.
26079 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26080 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26081 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26082 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26083 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26084 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26085 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26086 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26087 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26088 * sysdeps/pthread/lio_listio.c: Likewise.
26089 * sysdeps/sparc/dl-procinfo.h: Likewise.
26090 * sysdeps/unix/i386/sysdep.S: Likewise.
26091 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26092 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26093 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26094 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26096 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26097 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26098 * sysdeps/unix/sysv/linux/speed.c: Likewise.
26099 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26100 * sysdeps/wordsize-32/divdi3.c: Likewise.
26101 * time/sys/time.h: Likewise.
26102 * wcsmbs/Makefile: Likewise.
26104 2013-01-01 David S. Miller <davem@davemloft.net>
26106 * po/fr.po: Update from translation team.
26108 * catgets/gencat.c: Update copyright year.
26109 * csu/version.c: Likewise.
26110 * debug/catchsegv.sh: Likewise.
26111 * debug/pcprofiledump.c: Likewise.
26112 * debug/xtrace.sh: Likewise.
26113 * elf/ldconfig.c: Likewise.
26114 * elf/ldd.bash.in: Likewise.
26115 * elf/pldd.c: Likewise.
26116 * elf/sotruss.ksh: Likewise.
26117 * elf/sprof.c: Likewise.
26118 * iconv/iconv_prog.c: Likewise.
26119 * iconv/iconvconfig.c: Likewise.
26120 * locale/programs/locale.c: Likewise.
26121 * locale/programs/localedef.c: Likewise.
26122 * login/programs/pt_chown.c: Likewise.
26123 * malloc/memusage.sh: Likewise.
26124 * malloc/memusagestat.c: Likewise.
26125 * malloc/mtrace.pl: Likewise.
26126 * nscd/nscd.c: Likewise.
26127 * nss/getent.c: Likewise.
26128 * nss/makedb.c: Likewise.
26129 * posix/getconf.c: Likewise.
26131 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26133 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26136 2012-12-30 Mike Frysinger <vapier@gentoo.org>
26138 * math/bits/mathcalls.h (modf): Use __nonnull.
26140 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26142 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26143 (split): Use macro CN instead of the bare value.
26144 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26146 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26147 instead of the bare value.
26148 (power1): Likewise.
26150 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26152 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26154 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26156 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26158 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26159 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26160 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26161 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26163 2012-12-28 Andreas Jaeger <aj@suse.de>
26165 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
26166 values are from Linux 3.7.
26168 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26169 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
26171 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26173 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26176 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26178 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26179 variables with preprocessor constants.
26180 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26181 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26182 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26184 2012-12-27 Bruno Haible <bruno@clisp.org>
26187 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26190 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26192 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26193 and use variable directly.
26194 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26196 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26198 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26199 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26201 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26202 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26203 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26204 include directive. Remove local variable MPONE.
26205 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26206 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26207 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26209 2012-12-25 David S. Miller <davem@davemloft.net>
26211 * version.h (RELEASE): Set to "development".
26212 (VERSION): Set to "2.17.90".
26213 * NEWS: Add 2.18 section.
26215 2012-12-21 David S. Miller <davem@davemloft.net>
26217 * po/hr.po: Update from translation team.
26219 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26221 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26223 2012-12-19 Steve Ellcey <sellcey@mips.com>
26225 * NEWS: Mention new memcpy for MIPS.
26227 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26229 * manual/contrib.texi (Contributors): Spelling correction.
26231 2012-12-15 David S. Miller <davem@davemloft.net>
26233 * po/ru.po: Update from translation team.
26235 2012-12-13 David S. Miller <davem@davemloft.net>
26237 * NEWS: Mention IFUNC testsuite enhancements.
26239 * po/pl.po: Update from translation team.
26240 * po/bg.po: Likewise.
26242 * manual/contrib.texi (Contributors): Update entries for Hongjiu
26243 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
26245 2012-12-11 David S. Miller <davem@davemloft.net>
26247 * po/sv.po: Update from translation team.
26249 * po/vi.po: Update from translation team.
26251 * po/cs.po: Update from translation team.
26253 * po/de.po: Update from translation team.
26254 * po/eo.po: Likewise.
26255 * po/nl.po: Likewise.
26257 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26260 * manual/argp.texi (Argp Helper Functions): Move node to follow
26261 Argp Parsing State.
26264 * manual/conf.texi (Limits on File System Capacity): Mention if
26265 terminating null is included in the max size.
26267 2012-12-10 Andreas Jaeger <aj@suse.de>
26269 * po/cs.po: Update from translation team.
26271 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26273 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26274 void pointer and cast to uintptr_t.
26275 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26277 * sysdeps/s390/s390-64/memcpy.S: Likewise.
26278 * sysdeps/s390/s390-64/memset.S: Likewise.
26280 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
26283 * menual/message.texi (Message Translation): Fix typos.
26284 (Helper programs for gettext): Likewise.
26286 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
26289 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26292 2012-12-07 David S. Miller <davem@davemloft.net>
26294 * po/libc.pot: Update.
26296 2012-12-07 Richard Henderson <rth@redhat.com>
26299 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26300 normal/normal case to before the switch.
26301 (_FP_DIV): Likewise.
26303 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
26304 Mike Frysinger <vapier@gentoo.org>
26306 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26307 check for __NR_fadvise64_64.
26309 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
26311 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26312 0, not just to plain "0" as a statement.
26313 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26316 2012-12-06 Joseph Myers <joseph@codesourcery.com>
26318 * NEWS: Use sourceware.org in Bugzilla URL.
26320 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26323 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26325 * stdio-common/tst-put-error.c (do_test): Add newline to the
26326 padded test to ensure flush.
26328 2012-12-05 Jeff Law <law@redhat.com>
26330 * sunrpc/etc.rpc (fedfs_admin): Add entry.
26332 2012-12-05 Joseph Myers <joseph@codesourcery.com>
26334 * README: Don't refer to ports add-on as distributed separately.
26335 Mention AArch64 in list of systems supported in the ports add-on.
26337 * LICENSES: Add more non-FSF copyright and license notices.
26339 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26342 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26344 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26345 10000 as width of padded output.
26347 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26349 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26351 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26352 variable LX with __attribute__ ((unused)).
26353 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26355 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26356 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26357 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26358 with __attribute__ ((unused)).
26360 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
26362 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26364 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26366 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26367 (CFLAGS-nldbl-acos.c): New variable.
26368 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26369 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26370 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26371 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26372 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26373 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26374 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26375 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26376 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26377 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26378 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26379 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26380 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26381 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26382 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26383 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26384 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26385 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26386 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26387 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26388 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26389 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26390 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26391 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26392 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26393 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26394 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26395 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26396 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26397 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26398 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26399 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26400 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26401 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26402 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26403 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26404 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26405 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26406 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26407 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26408 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26409 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26410 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26411 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26412 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26413 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26414 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26415 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26416 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26417 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26418 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26419 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26420 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26421 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26422 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26423 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26424 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26425 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26426 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26427 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26428 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26429 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26430 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26431 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26432 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26433 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26434 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26435 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26436 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26437 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26438 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26439 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26440 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26441 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26442 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26443 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26444 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26445 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26446 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26447 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26448 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26449 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26450 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26451 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26452 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26453 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26454 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26455 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26456 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26457 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26458 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26459 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26460 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26461 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26462 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26463 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26464 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26467 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26470 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26471 whole low double instead of just low 47 bits when splitting values
26474 2012-12-03 Allan McRae <allan@archlinux.org>
26476 * manual/stdio.texi (Predefined Printf Handlers): Remove
26477 @hsep and @vsep usage.
26479 2012-12-03 Mike Frysinger <vapier@gentoo.org>
26481 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26482 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26484 2012-12-03 Jeff Law <law@redhat.com>
26486 * time/sys/time.h (settimeofday): Do not mark TV argument
26489 2012-12-01 Mike Frysinger <vapier@gentoo.org>
26491 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26492 when currently writing and seek to current position when not.
26493 * libio/Makefile (tests): Remove bug-fclose1.
26494 * libio/bug-fclose1.c: Delete.
26496 2012-12-01 Joseph Myers <joseph@codesourcery.com>
26498 * manual/arith.texi (feenableexcept): Fix typo.
26499 (fedisableexcept): Likewise.
26501 2012-11-30 Roland McGrath <roland@hack.frob.com>
26503 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26504 second, differently-typed declaration, rather than a cast.
26506 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26508 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26509 * include/rpc/svc.h: ... here.
26511 2012-11-30 Aurelien Jarno <aurel32@debian.org>
26514 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26515 depending n and resplen2 to catch cases where answer
26518 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26520 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26521 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26523 2012-11-29 Mike Frysinger <vapier@gentoo.org>
26525 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26527 2012-11-29 Roland McGrath <roland@hack.frob.com>
26529 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26531 2012-11-28 Jeff Law <law@redhat.com>
26534 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26535 dataset_temporary. Track alloca usage into alloca_used.
26536 If dataset is large allocate and release it via malloc/free.
26538 2012-06-04 Florian Weimer <fweimer@redhat.com>
26541 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26543 2012-11-28 David S. Miller <davem@davemloft.net>
26545 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26547 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26550 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26551 of pi/2 rounded to nearest to 64 bits.
26552 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26553 nearest to 64 bits.
26554 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26557 2012-11-28 Jeff Law <law@redhat.com>
26558 Martin Osvald <mosvald@redhat.com>
26561 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26562 * sunrpc/svc.c: Include time.h.
26563 (__svc_accept_failed): New function.
26564 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26565 any reason other than EINTR, call __svc_accept_failed.
26566 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26567 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26569 2012-11-28 Andreas Schwab <schwab@suse.de>
26571 * scripts/abilist.awk: Also handle indirect functions in .opd
26574 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26577 * sysdeps/x86/fpu/powl_helper.c: New file.
26578 * sysdeps/x86/fpu/Makefile: Likewise.
26579 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26581 (__ieee754_powl): Use __powl_helper for finite arguments except
26582 integer exponents below 8.
26583 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26585 (__ieee754_powl): Use __powl_helper for finite arguments except
26586 integer exponents below 8.
26587 * math/libm-test.inc (pow_test): Add more tests and enable some
26588 previously disabled tests.
26589 * sysdeps/i386/fpu/libm-test-ulps: Update.
26590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26592 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26593 Carlos O'Donell <carlos_odonell@mentor.com>
26595 * nss/makedb.c (is_prime): Assert that input is odd and greater
26596 than 4. Note that fact in a comment too.
26597 (next_prime): Add 4 to input.
26599 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26602 * libio/Makefile (tests): Add test case tst-fwrite-error.
26603 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26604 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26605 * libio/tst-fwrite-error.c: New test case.
26607 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26609 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26610 before casting to void *.
26611 * include/libc-internal.h (__pointer_type): New macro.
26612 (__integer_if_pointer_type_sub): Likewise.
26613 (__integer_if_pointer_type): Likewise.
26614 (cast_to_integer): Likewise.
26615 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26616 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26617 before casting to atomic64_t.
26618 (atomic_exchange_acq): Likewise.
26619 (__arch_exchange_and_add_body): Likewise.
26620 (__arch_add_body): Likewise.
26621 (atomic_add_negative): Likewise.
26622 (atomic_add_zero): Likewise.
26624 2012-11-26 Joseph Myers <joseph@codesourcery.com>
26626 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26627 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26628 (add_fdes): Likewise.
26629 (linear_search_fdes): Likewise.
26630 (binary_search_unencoded_fdes): Likewise.
26632 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26634 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26636 2012-11-24 Adam Conrad <adconrad@0c3.net>
26638 * configure.in: Autodetect C++ header directories.
26639 * configure: Regenerated.
26641 2012-11-23 Mike Frysinger <vapier@gentoo.org>
26643 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26645 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26649 2012-11-22 Joseph Myers <joseph@codesourcery.com>
26651 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26652 LDBL_MANT_DIG == 106]: Disable some tests.
26653 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26655 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26659 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26660 input for small inputs. Return +/- pi/2 for large inputs.
26661 * math/libm-test.inc (atan_test): Add more tests.
26663 * sysdeps/generic/unwind-dw2-fde-glibc.c
26664 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26665 __attribute__ ((unused)).
26668 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26669 x * y if x and y are nonzero and z is zero.
26672 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26673 nonzero exponents with absolute value below 0x1p-117 to +/-
26677 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26678 up arguments below 2**-450, not just those below 2**-500.
26679 * math/libm-test.inc (hypot_test): Add another test.
26682 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26683 Return a+b for ratio over 2**120, not 2**60.
26684 * math/libm-test.inc (hypot_test): Add another test.
26686 * math/libm-test.inc (clog_test): Use
26687 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26688 (clog10_test): Likewise.
26691 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26693 2012-11-22 Andreas Schwab <schwab@suse.de>
26695 * sysdeps/i386/fpu/libm-test-ulps: Update.
26697 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
26699 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26700 printf output with newline.
26702 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
26705 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26706 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26707 -z nodlopen, -z initfirst and -z execstack support.
26708 * configure: Regenerated.
26710 * elf/elf.h (DF_1_NODIRECT): New macro.
26711 (DF_1_IGNMULDEF): Likewise.
26712 (DF_1_NOKSYMS): Likewise.
26713 (DF_1_NOHDR): Likewise.
26714 (DF_1_EDITED): Likewise.
26715 (DF_1_NORELOC): Likewise.
26716 (DF_1_SYMINTPOSE): Likewise.
26717 (DF_1_GLOBAUDIT): Likewise.
26718 (DF_1_SINGLETON): Likewise.
26719 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26720 DT_1_SUPPORTED_MASK bits.
26721 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26723 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
26725 * sysdeps/unix/make-syscalls.sh: Document prefixes.
26727 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
26729 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26732 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26733 (sendmmsg): Move declarations...
26734 * socket/sys/socket.h: ... here.
26735 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26736 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26738 * socket/recvmmsg.c: ... this new file.
26739 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26740 (sendmmsg): Rename to __sendmmsg, create weak alias and make
26741 definition of __sendmmsg hidden.
26742 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26743 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26744 Move ENOSYS stub into and include it from...
26745 * socket/sendmmsg.c: ... this new file.
26746 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26747 (sysdep_routines): Move recvmmsg and sendmmsg...
26748 * socket/Makefile (routines): ... here.
26749 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26750 (GLIBC_PRIVATE): Add __sendmmsg.
26751 * include/sys/socket.h (__sendmmsg): Add declarations.
26752 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26755 2012-11-20 Joseph Myers <joseph@codesourcery.com>
26757 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26758 variable I1 with __attribute__ ((unused)).
26759 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26761 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26763 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26764 DUMMY variables with __attribute__ ((unused)).
26766 * bits/byteswap.h: Include <bits/types.h>.
26767 (__bswap_64): Use __uint64_t instead of unsigned long long int.
26769 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26771 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26772 string_t. Do not manually set errno.
26773 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26774 length with __strnlen. Make sure to both set errno and return it on
26777 2012-11-19 David S. Miller <davem@davemloft.net>
26779 With help from Joseph Myers.
26780 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26781 very large arguments properly.
26782 * math/libm-test.inc (atan_test): New tests.
26783 (atan2_test): New tests.
26784 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26785 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26787 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26790 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26793 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26794 [POSIX] (EADDRNOTAVAIL): Likewise.
26795 [POSIX] (EAFNOSUPPORT): Likewise.
26796 [POSIX] (EALREADY): Likewise.
26797 [POSIX] (ECONNABORTED): Likewise.
26798 [POSIX] (ECONNREFUSED): Likewise.
26799 [POSIX] (ECONNRESET): Likewise.
26800 [POSIX] (EDESTADDRREQ): Likewise.
26801 [POSIX] (EDQUOT): Likewise.
26802 [POSIX] (EHOSTUNREACH): Likewise.
26803 [POSIX] (EIDRM): Likewise.
26804 [POSIX] (EISCONN): Likewise.
26805 [POSIX] (ELOOP): Likewise.
26806 [POSIX] (EMULTIHOP): Likewise.
26807 [POSIX] (ENETDOWN): Likewise.
26808 [POSIX] (ENETUNREACH): Likewise.
26809 [POSIX] (ENOBUFS): Likewise.
26810 [POSIX] (ENODATA): Likewise.
26811 [POSIX] (ENOLINK): Likewise.
26812 [POSIX] (ENOMSG): Likewise.
26813 [POSIX] (ENOPROTOOPT): Likewise.
26814 [POSIX] (ENOSR): Likewise.
26815 [POSIX] (ENOSTR): Likewise.
26816 [POSIX] (ENOTCONN): Likewise.
26817 [POSIX] (ENOTSOCK): Likewise.
26818 [POSIX] (EOPNOTSUPP): Likewise.
26819 [POSIX] (EOVERFLOW): Likewise.
26820 [POSIX] (EPROTO): Likewise.
26821 [POSIX] (EPROTONOSUPPORT): Likewise.
26822 [POSIX] (EPROTOTYPE): Likewise.
26823 [POSIX] (ESTALE): Likewise.
26824 [POSIX] (ETIME): Likewise.
26825 [POSIX] (ETXTBSY): Likewise.
26826 [POSIX] (EWOULDBLOCK): Likewise.
26827 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26828 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26829 [POSIX] (SEEK_CUR): Likewise.
26830 [POSIX] (SEEK_END): Likewise.
26831 [POSIX || UNIX98] (mode_t): Do not require.
26832 [POSIX] (off_t): Likewise.
26833 [POSIX] (pid_t): Likewise.
26834 [POSIX] (sys/stat.h): Do not allow header.
26835 [POSIX] (unistd.h): Likewise.
26836 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26837 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26838 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26839 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26841 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26842 sigevent): Specify elements.
26843 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26845 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26846 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26848 * conform/data/cpio.h-data [POSIX]: Disable whole file.
26849 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26850 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26851 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26852 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26853 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26854 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26855 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26856 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26857 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26858 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26859 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26860 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26861 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26863 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26865 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26867 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26869 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26870 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26871 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26872 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26873 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26874 Specify lower bound on value.
26875 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26876 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26877 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26878 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26879 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26880 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26881 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26882 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26884 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26886 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26887 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26888 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26889 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26890 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26891 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26892 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26893 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26894 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26895 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26896 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26897 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26898 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26899 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26900 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26901 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26903 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26905 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26906 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26907 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26908 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26909 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26910 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26912 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26913 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26914 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26915 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26916 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
26917 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26918 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26920 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26921 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26922 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26923 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26924 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26925 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26926 specify as optional.
26927 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26928 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26929 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26930 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26931 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26932 [XPG3] (NL_LANGMAX): Likewise.
26933 [POSIX || XPG3] (NL_MSGMAX): Likewise.
26934 [POSIX || XPG3] (NL_NMAX): Likewise.
26935 [POSIX || XPG3] (NL_SETMAX): Likewise.
26936 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26937 [XPG3] (NZERO): Likewise.
26938 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26939 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26940 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26941 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26942 (REG_ERANGE): Expect.
26943 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26945 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26946 Use (void) in prototype.
26947 [POSIX] (*_t): Allow.
26948 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26949 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26950 (WRDE_BADVAL): Expect.
26952 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26954 [XPG3 || XPG4] (O_RSYNC): Likewise.
26955 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26957 [XPG3 || XPG4] (pthread_sigmask): Likewise.
26958 [XPG3 || XPG4] (sigqueue): Likewise.
26959 [XPG3 || XPG4] (sigtimedwait): Likewise.
26960 [XPG3 || XPG4] (sigwaitinfo): Likewise.
26961 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26962 [XPG3 || XPG4] (vsnprintf): Likewise.
26963 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26965 [XPG3 || XPG4] (blksize_t): Likewise.
26966 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26968 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26969 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26970 [XPG3 || XPG4] (struct itimerspec): Likewise.
26971 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26972 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26973 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26974 [XPG3 || XPG4] (clockid_t): Likewise.
26975 [XPG3 || XPG4] (timer_t): Likewise.
26976 [XPG3 || XPG4] (clock_getres): Likewise.
26977 [XPG3 || XPG4] (clock_gettime): Likewise.
26978 [XPG3 || XPG4] (clock_settime): Likewise.
26979 [XPG3 || XPG4] (nanosleep): Likewise.
26980 [XPG3 || XPG4] (timer_create): Likewise.
26981 [XPG3 || XPG4] (timer_delete): Likewise.
26982 [XPG3 || XPG4] (timer_gettime): Likewise.
26983 [XPG3 || XPG4] (timer_getoverrun): Likewise.
26984 [XPG3 || XPG4] (timer_settime): Likewise.
26985 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26986 [XPG3 || XPG4] (getlogin_r): Likewise.
26987 [XPG3 || XPG4] (pread): Likewise.
26988 [XPG3 || XPG4] (pthread_atfork): Likewise.
26989 [XPG3 || XPG4] (pwrite): Likewise.
26992 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26995 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26997 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26998 finalizing MALLSTREAM.
27000 * sysdeps/mach/hurd/syncfs.c: New file.
27002 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27005 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27006 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27007 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27008 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27009 (_nss_dns_gethostbyname4_r): Likewise.
27010 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27011 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27013 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
27016 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27018 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
27020 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27021 * elf/cache.c (print_entry): Print ",AArch64" for
27024 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27025 * elf/cache.c (print_entry): Print ",hard-float" for
27028 2012-11-18 David S. Miller <davem@davemloft.net>
27030 With help from Joseph Myers.
27031 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27033 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27035 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27036 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27038 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27039 * math/libm-test.inc (y0_test): New tests.
27040 (y1_test): New tests.
27041 * sysdeps/i386/fpu/libm-test-ulps: Update.
27042 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27045 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
27047 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27049 * configure: Regenerated.
27051 2012-11-17 David S. Miller <davem@davemloft.net>
27054 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27055 nonzero exponents with absolute value below 0x1p-128 to +/-
27058 2012-11-17 Joseph Myers <joseph@codesourcery.com>
27060 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27062 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27064 * posix/getconf-speclist.c: New file.
27065 * posix/posix-envs.def: Likewise.
27066 * posix/confstr.c (START_ENV_GROUP): New macro.
27067 (END_ENV_GROUP): Likewise.
27068 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27069 (KNOWN_PRESENT_ENV_STRING): Likewise.
27070 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27071 (UNKNOWN_ENVIRONMENT): Likewise.
27072 (confstr): Include posix-envs.def instead of handling
27073 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27074 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27075 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27076 (END_ENV_GROUP): Likewise.
27077 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27078 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27079 (UNKNOWN_ENVIRONMENT): Likewise.
27080 (__sysconf): Include posix-envs.def instead of handling associated
27081 cases directly here.
27082 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27083 preprocessing getconf-speclist.c rather than running getconf or
27084 generating empty file.
27086 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
27088 * scripts/check-local-headers.sh: Ignore 'mach' headers.
27090 2012-11-16 Andrej Lajovic <natrij@gmail.com>
27093 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27095 2012-11-16 David S. Miller <davem@davemloft.net>
27097 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27098 smaller than LDBL_EPSILON/2.0L, just return xm1.
27100 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
27102 * elf/tst-array1.c (init): Set constructor priority to 1000.
27103 (fini): Set destructor priority to 1000.
27104 * elf/tst-array2dep.c: Likewise.
27106 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27109 * libio/fileops.c (_IO_new_file_write): Correctly return error.
27110 (_IO_new_file_xsputn): Also return EOF if none of the input
27111 data was written when overflow failed.
27112 * libio/iopadn.c (_IO_padn): Likewise.
27113 * libio/iowpadn.c (_IO_wpadn): Likewise.
27114 * stdio-common/tst-put-error.c: Add copyright notice.
27115 (do_test): Add case for printing padded string.
27116 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27117 _IO_padn returned error.
27118 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27119 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27122 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27124 * libio/libioP.h: Add comment note that the references to C++
27125 bits are now obsolete.
27127 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27129 * math/libm-test.inc (check_complex): Use asprintf.
27131 2012-11-14 Joseph Myers <joseph@codesourcery.com>
27133 * debug/pcprofiledump.c (print_version): Update copyright year.
27134 * malloc/memusagestat.c (print_version): Likewise.
27136 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
27139 * elf/Makefile (tests): Add tst-audit8.
27140 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27141 ($(objpfx)tst-audit8.out): New target.
27142 (tst-audit8-ENV): New variable.
27143 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27144 audit if l_reloc_result is NULL.
27145 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27146 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27147 * elf/tst-audit8.c: New file.
27149 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27151 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27152 * misc/Makefile (CFLAGS-select.c): Define.
27153 * posix/Makefile (CFLAGS-pause.c): Define.
27155 2012-11-13 David S. Miller <davem@davemloft.net>
27157 * crypt/Makefile: Move test targets after toplevel Rules
27158 inclusion. Grab any necessary sysdep routines when linking.
27159 * crypt/md5.c (md5_process_block): Remove define, we will always
27160 name it __md5_process_block.
27161 (md5_finish_ctx): Update md5_process_block call.
27162 (md5_stream): Likewise.
27163 (md5_process_bytes): Likewise.
27164 (md5_process_block): Rename to __md5_process_block and move to ...
27165 * crypt/md5-block.c: ... here.
27166 * crypt/sha256.c (sha256_process_block): Move to ...
27167 * crypt/sha256-block.c: ... here.
27168 * crypt/sha512.c (sha512_process_block): Move to ...
27169 * crypt/sha512-block.c: ... here.
27170 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27172 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27173 * sysdeps/sparc/sparc64/multiarch/Makefile
27174 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27176 (localedef-aux): Add md5 crypto assembler when in locale subdir.
27177 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27179 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27180 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27181 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27182 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27183 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27184 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27185 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27186 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27187 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27189 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27190 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27192 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27194 2012-11-13 Joseph Myers <joseph@codesourcery.com>
27196 * timezone/tzselect.ksh: Update from tzcode git revision
27197 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27198 * timezone/zdump.c: Likewise.
27199 * timezone/zic.c: Likewise.
27200 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27201 in TZVERSION setting, not $(PKGVERSION).
27202 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
27203 REPORT_BUGS_TO settings.
27206 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27209 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27211 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27212 detection to immediately after _FP_ROUND().
27213 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27216 2012-11-11 David S. Miller <davem@davemloft.net>
27218 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27220 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27221 __close rather than their public counterparts.
27223 2012-11-10 Joseph Myers <joseph@codesourcery.com>
27225 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27227 [UNIX98] (sem_timedwait): Do not expect.
27228 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27229 [XPG4 || UNIX98] (sockatmark): Do not expect.
27230 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27231 (clock_getcpuclockid): Do not expect.
27232 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27233 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27235 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27236 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27237 [UNIX98] (vwscanf): Likewise.
27238 [UNIX98] (vswscanf): Likewise.
27240 2012-11-09 Joseph Myers <joseph@codesourcery.com>
27242 * timezone/version.h: Remove file.
27243 * timezone/README: Do not refer to version.h.
27244 * timezone/Makefile ($(objpfx)zic.o): New dependency on
27245 $(objpfx)version.h.
27246 ($(objpfx)zdump.o): Likewise.
27247 ($(objpfx)version.h): New target.
27249 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27251 * timezone/README: Don't mention modification to tzselect.ksh.
27252 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27253 work on unmodified tzselect.ksh. Substitute version numbers in
27256 * Makefile (format-me): Remove.
27257 (INSTALL): Adjust indentation. Use commands directly instead of
27258 using $(format-me).
27260 * aclocal.m4 (ACX_PKGVERSION): New macro.
27261 (ACX_BUGURL): Likewise.
27262 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27263 (PKGVERSION): New AC_DEFINE_UNQUOTED.
27264 (REPORT_BUGS_TO): Likewise.
27265 * configure: Regenerated.
27266 * config.h.in (PKGVERSION): New macro.
27267 (REPORT_BUGS_TO): Likewise.
27268 * config.make.in (PKGVERSION): New variable.
27269 (PKGVERSION_TEXI): Likewise.
27270 (REPORT_BUGS_TO): Likewise.
27271 (REPORT_BUGS_TEXI): Likewise.
27272 * Makefile (format-me): Use -I$(common-objpfx)manual.
27273 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27274 ($(common-objpfx)manual/%): New target.
27275 (manual/%): Remove target.
27276 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27277 (print_version): Use PKGVERSION.
27278 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27279 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27280 and REPORT_BUGS_TO.
27281 ($(objpfx)xtrace): Likewise.
27282 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27283 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27284 (print_version): Use PKGVERSION.
27285 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27286 (do_version): Use PKGVERSION.
27287 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27289 (common-ldd-rewrite): Likewise.
27290 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27291 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27292 (print_version): Use PKGVERSION.
27293 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27294 * elf/pldd.c (argp_program_bug_address): Remove variable.
27295 (more_help): New function.
27296 (argp): Use more_help.
27297 (print_version): Use PKGVERSION.
27298 * elf/sln.c (main): Use PKGVERSION.
27299 (usage): Use REPORT_BUGS_TO.
27300 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27301 (top level): Use PKGVERSION.
27302 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27303 (print_version): Use PKGVERSION.
27304 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27305 (print_version): Use PKGVERSION.
27306 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27307 (print_version): Use PKGVERSION.
27308 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27309 (print_version): Use PKGVERSION.
27310 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27311 (print_version): Use PKGVERSION.
27312 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27313 (print_version): Use PKGVERSION.
27314 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27316 ($(objpfx)memusage): Likewise.
27317 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27318 (do_version): Use PKGVERSION.
27319 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27320 (print_version): Use PKGVERSION.
27321 * malloc/mtrace.pl ($PACKAGE): Remove variable.
27322 ($PKGVERSION): New variable.
27323 ($REPORT_BUGS_TO): Likewise.
27324 (usage): Use $REPORT_BUGS_TO.
27325 (top level): Use $PKGVERSION.
27326 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27327 ($(objpfx)pkgvers.texi): New rule.
27328 ($(objpfx)stamp-pkgvers): Likewise.
27329 * manual/install.texi: Include pkgvers.texi.
27330 (--with-pkgversion): Document new configure option.
27331 (--with-bugurl): Likewise.
27332 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27333 than necessarily for this particular distribution. Use
27334 REPORT_BUGS_TO for where to report bugs.
27335 * INSTALL: Regenerated.
27336 * manual/libc.texinfo: Include pkgvers.texi.
27337 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27338 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27339 (print_version): Use PKGVERSION.
27340 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27341 (print_version): Use PKGVERSION.
27342 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27343 (print_version): Use PKGVERSION.
27344 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27345 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27347 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27348 (print_version): Use PKGVERSION.
27349 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27350 (print_version): Use PKGVERSION.
27351 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27354 * timezone/checktab.awk: Update from tzcode 2012i.
27355 * timezone/ialloc.c: Likewise.
27356 * timezone/private.h: Likewise.
27357 * timezone/scheck.c: Likewise.
27358 * timezone/tzfile.h: Likewise.
27359 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27360 (TZVERSION): Hardcode tzcode version number.
27361 * timezone/zdump.c: Update from tzcode 2012i.
27362 * timezone/zic.c: Likewise.
27363 * timezone/version.h: New file.
27364 * timezone/README: Describe version.h. Update upstream location.
27367 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27368 (mktemp): Enable declaration.
27369 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27370 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27371 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27372 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27374 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27376 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27378 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27380 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27382 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27386 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27387 offset in buffer as u_int32_t not u_long. Consistently use memcpy
27388 for copies of such integer values.
27389 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27390 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27392 2012-11-09 Andreas Jaeger <aj@suse.de>
27394 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27395 definitions and declarations that are provided by
27396 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27398 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27400 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27401 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27402 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27405 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27407 * elf/elf.h: Update comment before AArch64 relocations.
27409 2012-11-07 David S. Miller <davem@davemloft.net>
27411 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27412 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27413 (__start_context): Declare.
27414 (__makecontext_ret): Delete.
27415 (__makecontext): Hook up __start_context instead of
27417 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27418 (sysdep_routines): Add __start_context when in stdlib.
27420 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27422 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27423 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27424 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
27426 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
27427 (READELF): New variable. Use it instead of hardcoded "readelf".
27429 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
27431 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27432 * sysdeps/x86/Makefile: Here.
27433 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27434 * sysdeps/x86/tst-xmmymm.sh: This.
27436 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27438 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27440 [UNIX98] (pthread_barrier_t): Do not expect.
27441 [UNIX98] (pthread_barrierattr_t): Likewise.
27442 [UNIX98] (pthread_spinlock_t): Likewise.
27443 [UNIX98] (pthread_barrier_destroy): Likewise.
27444 [UNIX98] (pthread_barrier_init): Likewise.
27445 [UNIX98] (pthread_barrier_wait): Likewise.
27446 [UNIX98] (pthread_barrierattr_destroy): Likewise.
27447 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27448 [UNIX98] (pthread_barrierattr_init): Likewise.
27449 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27450 [UNIX98] (pthread_getcpuclockid): Likewise.
27451 [UNIX98] (pthread_mutex_timedlock): Likewise.
27452 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27453 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27454 [UNIX98] (pthread_sigmask): Likewise.
27455 [UNIX98] (pthread_spin_destroy): Likewise.
27456 [UNIX98] (pthread_spin_init): Likewise.
27457 [UNIX98] (pthread_spin_lock): Likewise.
27458 [UNIX98] (pthread_spin_trylock): Likewise.
27459 [UNIX98] (pthread_spin_unlock): Likewise.
27460 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27462 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27463 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27464 [XPG3 || XPG4] (pthread_cond_t): Likewise.
27465 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27466 [XPG3 || XPG4] (pthread_key_t): Likewise.
27467 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27468 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27469 [XPG3 || XPG4] (pthread_once_t): Likewise.
27470 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27471 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27472 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27473 [XPG3 || XPG4] (pthread_t): Likewise.
27475 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27477 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27479 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27480 Change function return type to int.
27482 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27483 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27484 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27485 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27486 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27487 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27488 [!POSIX] (posix_madvise): Likewise.
27489 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27491 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27492 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27493 (mode_t): Likewise.
27494 (posix_mem_offset): Likewise.
27495 (posix_typed_mem_get_info): Likewise.
27496 (posix_typed_mem_open): Likewise.
27498 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27499 Change condition to [XOPEN2K8].
27501 * conform/conformtest.pl: Preprocess allow-header data with -x c
27502 instead of from stdin.
27503 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27504 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27505 [C99-based standards] (cerfc): Likewise.
27506 [C99-based standards] (cexp2): Likewise.
27507 [C99-based standards] (cexpm1): Likewise.
27508 [C99-based standards] (clog10): Likewise.
27509 [C99-based standards] (clog1p): Likewise.
27510 [C99-based standards] (clog2): Likewise.
27511 [C99-based standards] (clgamma): Likewise.
27512 [C99-based standards] (ctgamma): Likewise.
27513 [C99-based standards] (cerff): Likewise.
27514 [C99-based standards] (cerfcf): Likewise.
27515 [C99-based standards] (cexp2f): Likewise.
27516 [C99-based standards] (cexpm1f): Likewise.
27517 [C99-based standards] (clog10f): Likewise.
27518 [C99-based standards] (clog1pf): Likewise.
27519 [C99-based standards] (clog2f): Likewise.
27520 [C99-based standards] (clgammaf): Likewise.
27521 [C99-based standards] (ctgammaf): Likewise.
27522 [C99-based standards] (cerfl): Likewise.
27523 [C99-based standards] (cerfcl): Likewise.
27524 [C99-based standards] (cexp2l): Likewise.
27525 [C99-based standards] (cexpm1l): Likewise.
27526 [C99-based standards] (clog10l): Likewise.
27527 [C99-based standards] (clog1pl): Likewise.
27528 [C99-based standards] (clog2l): Likewise.
27529 [C99-based standards] (clgammal): Likewise.
27530 [C99-based standards] (ctgammal): Likewise.
27531 * conform/data/inttypes.h-data [C99-based standards]: Include
27532 stdint.h-data. Remove all expectations for stdint.h contents.
27533 [C99-based standards] (PRI*): Do not allow.
27534 [C99-based standards] (SCN*): Likewise.
27535 [C99-based standards] (*_t): Likewise.
27536 [C99-based-standards] (PRId8): Expect macro.
27537 [C99-based-standards] (PRIi8): Likewise.
27538 [C99-based-standards] (PRIo8): Likewise.
27539 [C99-based-standards] (PRIu8): Likewise.
27540 [C99-based-standards] (PRIx8): Likewise.
27541 [C99-based-standards] (PRIX8): Likewise.
27542 [C99-based-standards] (SCNd8): Likewise.
27543 [C99-based-standards] (SCNi8): Likewise.
27544 [C99-based-standards] (SCNo8): Likewise.
27545 [C99-based-standards] (SCNu8): Likewise.
27546 [C99-based-standards] (SCNx8): Likewise.
27547 [C99-based-standards] (PRIdLEAST8): Likewise.
27548 [C99-based-standards] (PRIiLEAST8): Likewise.
27549 [C99-based-standards] (PRIoLEAST8): Likewise.
27550 [C99-based-standards] (PRIuLEAST8): Likewise.
27551 [C99-based-standards] (PRIxLEAST8): Likewise.
27552 [C99-based-standards] (PRIXLEAST8): Likewise.
27553 [C99-based-standards] (SCNdLEAST8): Likewise.
27554 [C99-based-standards] (SCNiLEAST8): Likewise.
27555 [C99-based-standards] (SCNoLEAST8): Likewise.
27556 [C99-based-standards] (SCNuLEAST8): Likewise.
27557 [C99-based-standards] (SCNxLEAST8): Likewise.
27558 [C99-based-standards] (PRIdFAST8): Likewise.
27559 [C99-based-standards] (PRIiFAST8): Likewise.
27560 [C99-based-standards] (PRIoFAST8): Likewise.
27561 [C99-based-standards] (PRIuFAST8): Likewise.
27562 [C99-based-standards] (PRIxFAST8): Likewise.
27563 [C99-based-standards] (PRIXFAST8): Likewise.
27564 [C99-based-standards] (SCNdFAST8): Likewise.
27565 [C99-based-standards] (SCNiFAST8): Likewise.
27566 [C99-based-standards] (SCNoFAST8): Likewise.
27567 [C99-based-standards] (SCNuFAST8): Likewise.
27568 [C99-based-standards] (SCNxFAST8): Likewise.
27569 [C99-based-standards] (PRId16): Likewise.
27570 [C99-based-standards] (PRIi16): Likewise.
27571 [C99-based-standards] (PRIo16): Likewise.
27572 [C99-based-standards] (PRIu16): Likewise.
27573 [C99-based-standards] (PRIx16): Likewise.
27574 [C99-based-standards] (PRIX16): Likewise.
27575 [C99-based-standards] (SCNd16): Likewise.
27576 [C99-based-standards] (SCNi16): Likewise.
27577 [C99-based-standards] (SCNo16): Likewise.
27578 [C99-based-standards] (SCNu16): Likewise.
27579 [C99-based-standards] (SCNx16): Likewise.
27580 [C99-based-standards] (PRIdLEAST16): Likewise.
27581 [C99-based-standards] (PRIiLEAST16): Likewise.
27582 [C99-based-standards] (PRIoLEAST16): Likewise.
27583 [C99-based-standards] (PRIuLEAST16): Likewise.
27584 [C99-based-standards] (PRIxLEAST16): Likewise.
27585 [C99-based-standards] (PRIXLEAST16): Likewise.
27586 [C99-based-standards] (SCNdLEAST16): Likewise.
27587 [C99-based-standards] (SCNiLEAST16): Likewise.
27588 [C99-based-standards] (SCNoLEAST16): Likewise.
27589 [C99-based-standards] (SCNuLEAST16): Likewise.
27590 [C99-based-standards] (SCNxLEAST16): Likewise.
27591 [C99-based-standards] (PRIdFAST16): Likewise.
27592 [C99-based-standards] (PRIiFAST16): Likewise.
27593 [C99-based-standards] (PRIoFAST16): Likewise.
27594 [C99-based-standards] (PRIuFAST16): Likewise.
27595 [C99-based-standards] (PRIxFAST16): Likewise.
27596 [C99-based-standards] (PRIXFAST16): Likewise.
27597 [C99-based-standards] (SCNdFAST16): Likewise.
27598 [C99-based-standards] (SCNiFAST16): Likewise.
27599 [C99-based-standards] (SCNoFAST16): Likewise.
27600 [C99-based-standards] (SCNuFAST16): Likewise.
27601 [C99-based-standards] (SCNxFAST16): Likewise.
27602 [C99-based-standards] (PRId32): Likewise.
27603 [C99-based-standards] (PRIi32): Likewise.
27604 [C99-based-standards] (PRIo32): Likewise.
27605 [C99-based-standards] (PRIu32): Likewise.
27606 [C99-based-standards] (PRIx32): Likewise.
27607 [C99-based-standards] (PRIX32): Likewise.
27608 [C99-based-standards] (SCNd32): Likewise.
27609 [C99-based-standards] (SCNi32): Likewise.
27610 [C99-based-standards] (SCNo32): Likewise.
27611 [C99-based-standards] (SCNu32): Likewise.
27612 [C99-based-standards] (SCNx32): Likewise.
27613 [C99-based-standards] (PRIdLEAST32): Likewise.
27614 [C99-based-standards] (PRIiLEAST32): Likewise.
27615 [C99-based-standards] (PRIoLEAST32): Likewise.
27616 [C99-based-standards] (PRIuLEAST32): Likewise.
27617 [C99-based-standards] (PRIxLEAST32): Likewise.
27618 [C99-based-standards] (PRIXLEAST32): Likewise.
27619 [C99-based-standards] (SCNdLEAST32): Likewise.
27620 [C99-based-standards] (SCNiLEAST32): Likewise.
27621 [C99-based-standards] (SCNoLEAST32): Likewise.
27622 [C99-based-standards] (SCNuLEAST32): Likewise.
27623 [C99-based-standards] (SCNxLEAST32): Likewise.
27624 [C99-based-standards] (PRIdFAST32): Likewise.
27625 [C99-based-standards] (PRIiFAST32): Likewise.
27626 [C99-based-standards] (PRIoFAST32): Likewise.
27627 [C99-based-standards] (PRIuFAST32): Likewise.
27628 [C99-based-standards] (PRIxFAST32): Likewise.
27629 [C99-based-standards] (PRIXFAST32): Likewise.
27630 [C99-based-standards] (SCNdFAST32): Likewise.
27631 [C99-based-standards] (SCNiFAST32): Likewise.
27632 [C99-based-standards] (SCNoFAST32): Likewise.
27633 [C99-based-standards] (SCNuFAST32): Likewise.
27634 [C99-based-standards] (SCNxFAST32): Likewise.
27635 [C99-based-standards] (PRId64): Likewise.
27636 [C99-based-standards] (PRIi64): Likewise.
27637 [C99-based-standards] (PRIo64): Likewise.
27638 [C99-based-standards] (PRIu64): Likewise.
27639 [C99-based-standards] (PRIx64): Likewise.
27640 [C99-based-standards] (PRIX64): Likewise.
27641 [C99-based-standards] (SCNd64): Likewise.
27642 [C99-based-standards] (SCNi64): Likewise.
27643 [C99-based-standards] (SCNo64): Likewise.
27644 [C99-based-standards] (SCNu64): Likewise.
27645 [C99-based-standards] (SCNx64): Likewise.
27646 [C99-based-standards] (PRIdLEAST64): Likewise.
27647 [C99-based-standards] (PRIiLEAST64): Likewise.
27648 [C99-based-standards] (PRIoLEAST64): Likewise.
27649 [C99-based-standards] (PRIuLEAST64): Likewise.
27650 [C99-based-standards] (PRIxLEAST64): Likewise.
27651 [C99-based-standards] (PRIXLEAST64): Likewise.
27652 [C99-based-standards] (SCNdLEAST64): Likewise.
27653 [C99-based-standards] (SCNiLEAST64): Likewise.
27654 [C99-based-standards] (SCNoLEAST64): Likewise.
27655 [C99-based-standards] (SCNuLEAST64): Likewise.
27656 [C99-based-standards] (SCNxLEAST64): Likewise.
27657 [C99-based-standards] (PRIdFAST64): Likewise.
27658 [C99-based-standards] (PRIiFAST64): Likewise.
27659 [C99-based-standards] (PRIoFAST64): Likewise.
27660 [C99-based-standards] (PRIuFAST64): Likewise.
27661 [C99-based-standards] (PRIxFAST64): Likewise.
27662 [C99-based-standards] (PRIXFAST64): Likewise.
27663 [C99-based-standards] (SCNdFAST64): Likewise.
27664 [C99-based-standards] (SCNiFAST64): Likewise.
27665 [C99-based-standards] (SCNoFAST64): Likewise.
27666 [C99-based-standards] (SCNuFAST64): Likewise.
27667 [C99-based-standards] (SCNxFAST64): Likewise.
27668 [C99-based-standards] (PRIdMAX): Likewise.
27669 [C99-based-standards] (PRIiMAX): Likewise.
27670 [C99-based-standards] (PRIoMAX): Likewise.
27671 [C99-based-standards] (PRIuMAX): Likewise.
27672 [C99-based-standards] (PRIxMAX): Likewise.
27673 [C99-based-standards] (PRIXMAX): Likewise.
27674 [C99-based-standards] (SCNdMAX): Likewise.
27675 [C99-based-standards] (SCNiMAX): Likewise.
27676 [C99-based-standards] (SCNoMAX): Likewise.
27677 [C99-based-standards] (SCNuMAX): Likewise.
27678 [C99-based-standards] (SCNxMAX): Likewise.
27679 [C99-based-standards] (PRIdPTR): Likewise.
27680 [C99-based-standards] (PRIiPTR): Likewise.
27681 [C99-based-standards] (PRIoPTR): Likewise.
27682 [C99-based-standards] (PRIuPTR): Likewise.
27683 [C99-based-standards] (PRIxPTR): Likewise.
27684 [C99-based-standards] (PRIXPTR): Likewise.
27685 [C99-based-standards] (SCNdPTR): Likewise.
27686 [C99-based-standards] (SCNiPTR): Likewise.
27687 [C99-based-standards] (SCNoPTR): Likewise.
27688 [C99-based-standards] (SCNuPTR): Likewise.
27689 [C99-based-standards] (SCNxPTR): Likewise.
27690 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27692 * conform/data/stdint.h-data: Update comments to clarify
27694 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27696 [C99-based standards] (INT8_MAX): Likewise.
27697 [C99-based standards] (INT16_MIN): Likewise.
27698 [C99-based standards] (INT16_MAX): Likewise.
27699 [C99-based standards] (INT32_MIN): Likewise.
27700 [C99-based standards] (INT32_MAX): Likewise.
27701 [C99-based standards] (INT64_MIN): Likewise.
27702 [C99-based standards] (INT64_MAX): Likewise.
27703 [C99-based standards] (UINT8_MAX): Likewise.
27704 [C99-based standards] (UINT16_MAX): Likewise.
27705 [C99-based standards] (UINT32_MAX): Likewise.
27706 [C99-based standards] (UINT64_MAX): Likewise.
27707 [C99-based standards] (INT_LEAST8_MIN): Likewise.
27708 [C99-based standards] (INT_LEAST8_MAX): Likewise.
27709 [C99-based standards] (INT_LEAST16_MIN): Likewise.
27710 [C99-based standards] (INT_LEAST16_MAX): Likewise.
27711 [C99-based standards] (INT_LEAST32_MIN): Likewise.
27712 [C99-based standards] (INT_LEAST32_MAX): Likewise.
27713 [C99-based standards] (INT_LEAST64_MIN): Likewise.
27714 [C99-based standards] (INT_LEAST64_MAX): Likewise.
27715 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27716 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27717 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27718 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27719 [C99-based standards] (INT_FAST8_MIN): Likewise.
27720 [C99-based standards] (INT_FAST8_MAX): Likewise.
27721 [C99-based standards] (INT_FAST16_MIN): Likewise.
27722 [C99-based standards] (INT_FAST16_MAX): Likewise.
27723 [C99-based standards] (INT_FAST32_MIN): Likewise.
27724 [C99-based standards] (INT_FAST32_MAX): Likewise.
27725 [C99-based standards] (INT_FAST64_MIN): Likewise.
27726 [C99-based standards] (INT_FAST64_MAX): Likewise.
27727 [C99-based standards] (UINT_FAST8_MAX): Likewise.
27728 [C99-based standards] (UINT_FAST16_MAX): Likewise.
27729 [C99-based standards] (UINT_FAST32_MAX): Likewise.
27730 [C99-based standards] (UINT_FAST64_MAX): Likewise.
27731 [C99-based standards] (INTPTR_MIN): Likewise.
27732 [C99-based standards] (INTPTR_MAX): Likewise.
27733 [C99-based standards] (UINTPTR_MAX): Likewise.
27734 [C99-based standards] (INTMAX_MIN): Likewise.
27735 [C99-based standards] (INTMAX_MAX): Likewise.
27736 [C99-based standards] (UINTMAX_MAX): Likewise.
27737 [C99-based standards] (PTRDIFF_MIN): Likewise.
27738 [C99-based standards] (PTRDIFF_MAX): Likewise.
27739 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27740 [C99-based standards] (SIZE_MAX): Likewise.
27741 [C99-based standards] (WCHAR_MAX): Likewise.
27742 [C99-based standards] (WINT_MAX): Likewise.
27743 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
27744 constraint on value.
27745 [C99-based standards] (WCHAR_MIN): Likewise.
27746 [C99-based standards] (WINT_MIN): Likewise.
27747 [C99-based standards] (*_t): Allow.
27748 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27749 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27750 Include math.h-data and complex.h-data. Remove all expectations
27751 of math.h and complex.h contents.
27752 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27754 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27755 (struct tm): Expect tag.
27756 [C99-based-standards] (wcstof): Expect function.
27757 [C99-based-standards] (wcstold): Likewise.
27758 [C99-based-standards] (wcstoll): Likewise.
27759 [C99-based-standards] (wcstoull): Likewise.
27760 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27761 macro-int-constant. Specify type.
27762 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
27763 constraint on value.
27764 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27766 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27768 [ISO C standards]: Do not allow headers.
27769 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27770 wcs[abcdefghijklmnopqrstuvwxyz]*.
27771 [ISO C standards] (*_t): Do not allow.
27772 * conform/data/wctype.h-data [C99-based standards] (iswblank):
27774 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27775 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27777 [ISO C standards]: Do not allow headers.
27778 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27779 is[abcdefghijklmnopqrstuvwxyz]*.
27780 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27781 to[abcdefghijklmnopqrstuvwxyz]*.
27782 [ISO C standards] (*_t): Do not allow.
27783 * conform/data/stdalign.h-data: New file.
27784 * conform/data/stdbool.h-data: Likewise.
27785 * conform/data/stdnoreturn.h-data: Likewise.
27787 2012-11-07 Roland McGrath <roland@hack.frob.com>
27790 * manual/filesys.texi (Directory Entries): Typo fix.
27791 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27793 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27795 * elf/elf.h (EM_AARCH64): New macro.
27796 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27797 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27798 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27799 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27800 (R_AARCH64_TLSDESC): Likewise.
27801 (NT_ARM_TLS): Likewise.
27802 (NT_ARM_HW_BREAK): Likewise.
27803 (NT_ARM_HW_WATCH): Likewise.
27805 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27808 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27809 (__ieee754_powl): Saturate nonzero exponents with absolute value
27810 below 0x1p-79 to +/- 0x1p-79.
27811 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27812 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27813 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27814 nonzero exponents with absolute value below 0x1p-32 to +/-
27816 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27817 (__ieee754_powl): Saturate nonzero exponents with absolute value
27818 below 0x1p-79 to +/- 0x1p-79.
27819 * math/libm-test.inc (pow_test): Add more tests.
27821 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27823 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27824 _dl_s390_cap_flags with kernel. Increase string length.
27825 (_dl_s390_platforms): Add z196 and zEC12.
27827 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27829 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27830 Change XOPEN21K to XOPEN2K.
27832 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
27834 * string/memmove.c: Use memcpy when possible.
27836 2012-11-06 Andreas Jaeger <aj@suse.de>
27838 * po/eo.po: Update from translation team.
27840 2012-11-06 Joseph Myers <joseph@codesourcery.com>
27843 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27844 exponent and small x and y exponents, scale x or y up. Increase
27845 by 2 the exponent used in scaling up.
27846 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27847 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27848 * math/libm-test.inc (fma_test): Add more tests.
27849 (fma_test_towardzero): Likewise.
27850 (fma_test_downward): Likewise.
27851 (fma_test_upward): Likewise.
27853 2012-11-05 Joseph Myers <joseph@codesourcery.com>
27856 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27860 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27861 namespace for names of struct fields.
27862 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27864 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27865 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27867 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27870 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27872 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27874 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27878 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27881 2012-11-04 Joseph Myers <joseph@codesourcery.com>
27884 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27885 definitely overflow as x * y not x * y + z.
27886 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27887 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27888 * math/libm-test.inc (fma_test): Add more tests.
27889 (fma_test_towardzero): Likewise.
27890 (fma_test_downward): Likewise.
27891 (fma_test_upward): Likewise.
27893 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27897 * include/stub-tag.h: Remove file.
27898 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27900 * manual/maint.texi (Porting): Don't reference it.
27901 * Makerules ($(objpfx)stubs): Likewise.
27902 * dirent/closedir.c: Don't include <stub-tag.h>.
27903 * dirent/dirfd.c: Likewise.
27904 * dirent/fdopendir.c: Likewise.
27905 * dirent/getdents.c: Likewise.
27906 * dirent/getdents64.c: Likewise.
27907 * dirent/opendir.c: Likewise.
27908 * dirent/readdir.c: Likewise.
27909 * dirent/readdir64.c: Likewise.
27910 * dirent/readdir64_r.c: Likewise.
27911 * dirent/readdir_r.c: Likewise.
27912 * dirent/rewinddir.c: Likewise.
27913 * dirent/seekdir.c: Likewise.
27914 * dirent/telldir.c: Likewise.
27915 * gmon/profil.c: Likewise.
27916 * grp/setgroups.c: Likewise.
27917 * inet/if_index.c: Likewise.
27918 * io/access.c: Likewise.
27919 * io/chdir.c: Likewise.
27920 * io/chmod.c: Likewise.
27921 * io/chown.c: Likewise.
27922 * io/close.c: Likewise.
27923 * io/dup.c: Likewise.
27924 * io/dup2.c: Likewise.
27925 * io/dup3.c: Likewise.
27926 * io/euidaccess.c: Likewise.
27927 * io/faccessat.c: Likewise.
27928 * io/fchdir.c: Likewise.
27929 * io/fchmod.c: Likewise.
27930 * io/fchmodat.c: Likewise.
27931 * io/fchown.c: Likewise.
27932 * io/fchownat.c: Likewise.
27933 * io/fcntl.c: Likewise.
27934 * io/flock.c: Likewise.
27935 * io/fstatfs.c: Likewise.
27936 * io/fstatfs64.c: Likewise.
27937 * io/fstatvfs.c: Likewise.
27938 * io/fstatvfs64.c: Likewise.
27939 * io/futimens.c: Likewise.
27940 * io/fxstat.c: Likewise.
27941 * io/fxstat64.c: Likewise.
27942 * io/fxstatat.c: Likewise.
27943 * io/fxstatat64.c: Likewise.
27944 * io/getcwd.c: Likewise.
27945 * io/isatty.c: Likewise.
27946 * io/lchmod.c: Likewise.
27947 * io/lchown.c: Likewise.
27948 * io/link.c: Likewise.
27949 * io/linkat.c: Likewise.
27950 * io/lseek.c: Likewise.
27951 * io/lseek64.c: Likewise.
27952 * io/lxstat64.c: Likewise.
27953 * io/mkdir.c: Likewise.
27954 * io/mkdirat.c: Likewise.
27955 * io/mkfifo.c: Likewise.
27956 * io/mkfifoat.c: Likewise.
27957 * io/open.c: Likewise.
27958 * io/open64.c: Likewise.
27959 * io/openat.c: Likewise.
27960 * io/openat64.c: Likewise.
27961 * io/pipe.c: Likewise.
27962 * io/pipe2.c: Likewise.
27963 * io/poll.c: Likewise.
27964 * io/posix_fadvise.c: Likewise.
27965 * io/posix_fadvise64.c: Likewise.
27966 * io/posix_fallocate.c: Likewise.
27967 * io/posix_fallocate64.c: Likewise.
27968 * io/read.c: Likewise.
27969 * io/readlink.c: Likewise.
27970 * io/readlinkat.c: Likewise.
27971 * io/rmdir.c: Likewise.
27972 * io/sendfile.c: Likewise.
27973 * io/sendfile64.c: Likewise.
27974 * io/statfs.c: Likewise.
27975 * io/statfs64.c: Likewise.
27976 * io/statvfs.c: Likewise.
27977 * io/statvfs64.c: Likewise.
27978 * io/symlink.c: Likewise.
27979 * io/symlinkat.c: Likewise.
27980 * io/ttyname.c: Likewise.
27981 * io/ttyname_r.c: Likewise.
27982 * io/umask.c: Likewise.
27983 * io/unlink.c: Likewise.
27984 * io/unlinkat.c: Likewise.
27985 * io/utime.c: Likewise.
27986 * io/utimensat.c: Likewise.
27987 * io/write.c: Likewise.
27988 * io/xmknod.c: Likewise.
27989 * io/xmknodat.c: Likewise.
27990 * io/xstat.c: Likewise.
27991 * io/xstat64.c: Likewise.
27992 * login/getpt.c: Likewise.
27993 * login/grantpt.c: Likewise.
27994 * login/unlockpt.c: Likewise.
27995 * math/e_acoshl.c: Likewise.
27996 * math/e_acosl.c: Likewise.
27997 * math/e_asinl.c: Likewise.
27998 * math/e_atan2l.c: Likewise.
27999 * math/e_atanhl.c: Likewise.
28000 * math/e_coshl.c: Likewise.
28001 * math/e_expl.c: Likewise.
28002 * math/e_fmodl.c: Likewise.
28003 * math/e_gammal_r.c: Likewise.
28004 * math/e_hypotl.c: Likewise.
28005 * math/e_j0l.c: Likewise.
28006 * math/e_j1l.c: Likewise.
28007 * math/e_jnl.c: Likewise.
28008 * math/e_lgammal_r.c: Likewise.
28009 * math/e_log10l.c: Likewise.
28010 * math/e_log2l.c: Likewise.
28011 * math/e_logl.c: Likewise.
28012 * math/e_powl.c: Likewise.
28013 * math/e_rem_pio2l.c: Likewise.
28014 * math/e_sinhl.c: Likewise.
28015 * math/e_sqrtl.c: Likewise.
28016 * math/fclrexcpt.c: Likewise.
28017 * math/fedisblxcpt.c: Likewise.
28018 * math/feenablxcpt.c: Likewise.
28019 * math/fegetenv.c: Likewise.
28020 * math/fegetexcept.c: Likewise.
28021 * math/fegetround.c: Likewise.
28022 * math/feholdexcpt.c: Likewise.
28023 * math/fesetenv.c: Likewise.
28024 * math/fesetround.c: Likewise.
28025 * math/feupdateenv.c: Likewise.
28026 * math/fgetexcptflg.c: Likewise.
28027 * math/fraiseexcpt.c: Likewise.
28028 * math/fsetexcptflg.c: Likewise.
28029 * math/ftestexcept.c: Likewise.
28030 * math/k_cosl.c: Likewise.
28031 * math/k_rem_pio2l.c: Likewise.
28032 * math/k_sinl.c: Likewise.
28033 * math/k_tanl.c: Likewise.
28034 * math/s_asinhl.c: Likewise.
28035 * math/s_atanl.c: Likewise.
28036 * math/s_cbrtl.c: Likewise.
28037 * math/s_erfl.c: Likewise.
28038 * math/s_expm1l.c: Likewise.
28039 * math/s_log1pl.c: Likewise.
28040 * math/s_tanhl.c: Likewise.
28041 * misc/acct.c: Likewise.
28042 * misc/brk.c: Likewise.
28043 * misc/chflags.c: Likewise.
28044 * misc/chroot.c: Likewise.
28045 * misc/fchflags.c: Likewise.
28046 * misc/fgetxattr.c: Likewise.
28047 * misc/flistxattr.c: Likewise.
28048 * misc/fremovexattr.c: Likewise.
28049 * misc/fsetxattr.c: Likewise.
28050 * misc/fsync.c: Likewise.
28051 * misc/ftruncate.c: Likewise.
28052 * misc/futimes.c: Likewise.
28053 * misc/futimesat.c: Likewise.
28054 * misc/getdomain.c: Likewise.
28055 * misc/getdtsz.c: Likewise.
28056 * misc/gethostid.c: Likewise.
28057 * misc/gethostname.c: Likewise.
28058 * misc/getloadavg.c: Likewise.
28059 * misc/getpagesize.c: Likewise.
28060 * misc/getsysstats.c: Likewise.
28061 * misc/getxattr.c: Likewise.
28062 * misc/gtty.c: Likewise.
28063 * misc/ioctl.c: Likewise.
28064 * misc/lgetxattr.c: Likewise.
28065 * misc/listxattr.c: Likewise.
28066 * misc/llistxattr.c: Likewise.
28067 * misc/lremovexattr.c: Likewise.
28068 * misc/lsetxattr.c: Likewise.
28069 * misc/lutimes.c: Likewise.
28070 * misc/madvise.c: Likewise.
28071 * misc/mincore.c: Likewise.
28072 * misc/mlock.c: Likewise.
28073 * misc/mlockall.c: Likewise.
28074 * misc/mmap.c: Likewise.
28075 * misc/mprotect.c: Likewise.
28076 * misc/msync.c: Likewise.
28077 * misc/munlock.c: Likewise.
28078 * misc/munlockall.c: Likewise.
28079 * misc/munmap.c: Likewise.
28080 * misc/preadv.c: Likewise.
28081 * misc/preadv64.c: Likewise.
28082 * misc/ptrace.c: Likewise.
28083 * misc/pwritev.c: Likewise.
28084 * misc/pwritev64.c: Likewise.
28085 * misc/readv.c: Likewise.
28086 * misc/reboot.c: Likewise.
28087 * misc/remap_file_pages.c: Likewise.
28088 * misc/removexattr.c: Likewise.
28089 * misc/revoke.c: Likewise.
28090 * misc/select.c: Likewise.
28091 * misc/setdomain.c: Likewise.
28092 * misc/setegid.c: Likewise.
28093 * misc/seteuid.c: Likewise.
28094 * misc/sethostid.c: Likewise.
28095 * misc/sethostname.c: Likewise.
28096 * misc/setregid.c: Likewise.
28097 * misc/setreuid.c: Likewise.
28098 * misc/setxattr.c: Likewise.
28099 * misc/sstk.c: Likewise.
28100 * misc/stty.c: Likewise.
28101 * misc/swapoff.c: Likewise.
28102 * misc/swapon.c: Likewise.
28103 * misc/sync.c: Likewise.
28104 * misc/syncfs.c: Likewise.
28105 * misc/syscall.c: Likewise.
28106 * misc/truncate.c: Likewise.
28107 * misc/ualarm.c: Likewise.
28108 * misc/usleep.c: Likewise.
28109 * misc/ustat.c: Likewise.
28110 * misc/utimes.c: Likewise.
28111 * misc/vhangup.c: Likewise.
28112 * misc/writev.c: Likewise.
28113 * posix/_exit.c: Likewise.
28114 * posix/alarm.c: Likewise.
28115 * posix/execve.c: Likewise.
28116 * posix/fexecve.c: Likewise.
28117 * posix/fork.c: Likewise.
28118 * posix/fpathconf.c: Likewise.
28119 * posix/getaddrinfo.c: Likewise.
28120 * posix/getegid.c: Likewise.
28121 * posix/geteuid.c: Likewise.
28122 * posix/getgid.c: Likewise.
28123 * posix/getgroups.c: Likewise.
28124 * posix/getlogin.c: Likewise.
28125 * posix/getlogin_r.c: Likewise.
28126 * posix/getpgid.c: Likewise.
28127 * posix/getpid.c: Likewise.
28128 * posix/getppid.c: Likewise.
28129 * posix/getresgid.c: Likewise.
28130 * posix/getresuid.c: Likewise.
28131 * posix/getsid.c: Likewise.
28132 * posix/getuid.c: Likewise.
28133 * posix/glob64.c: Likewise.
28134 * posix/nanosleep.c: Likewise.
28135 * posix/pathconf.c: Likewise.
28136 * posix/pause.c: Likewise.
28137 * posix/posix_madvise.c: Likewise.
28138 * posix/pread.c: Likewise.
28139 * posix/pread64.c: Likewise.
28140 * posix/pwrite.c: Likewise.
28141 * posix/pwrite64.c: Likewise.
28142 * posix/sched_getaffinity.c: Likewise.
28143 * posix/sched_getp.c: Likewise.
28144 * posix/sched_gets.c: Likewise.
28145 * posix/sched_primax.c: Likewise.
28146 * posix/sched_primin.c: Likewise.
28147 * posix/sched_rr_gi.c: Likewise.
28148 * posix/sched_setaffinity.c: Likewise.
28149 * posix/sched_setp.c: Likewise.
28150 * posix/sched_sets.c: Likewise.
28151 * posix/sched_yield.c: Likewise.
28152 * posix/setgid.c: Likewise.
28153 * posix/setlogin.c: Likewise.
28154 * posix/setpgid.c: Likewise.
28155 * posix/setresgid.c: Likewise.
28156 * posix/setresuid.c: Likewise.
28157 * posix/setsid.c: Likewise.
28158 * posix/setuid.c: Likewise.
28159 * posix/sleep.c: Likewise.
28160 * posix/spawni.c: Likewise.
28161 * posix/sysconf.c: Likewise.
28162 * posix/times.c: Likewise.
28163 * posix/wait.c: Likewise.
28164 * posix/wait3.c: Likewise.
28165 * posix/wait4.c: Likewise.
28166 * posix/waitpid.c: Likewise.
28167 * resolv/gai_sigqueue.c: Likewise.
28168 * resource/getpriority.c: Likewise.
28169 * resource/getrlimit.c: Likewise.
28170 * resource/getrusage.c: Likewise.
28171 * resource/nice.c: Likewise.
28172 * resource/setpriority.c: Likewise.
28173 * resource/setrlimit.c: Likewise.
28174 * resource/ulimit.c: Likewise.
28175 * rt/aio_cancel.c: Likewise.
28176 * rt/aio_fsync.c: Likewise.
28177 * rt/aio_read.c: Likewise.
28178 * rt/aio_sigqueue.c: Likewise.
28179 * rt/aio_suspend.c: Likewise.
28180 * rt/aio_write.c: Likewise.
28181 * rt/clock_getres.c: Likewise.
28182 * rt/clock_gettime.c: Likewise.
28183 * rt/clock_nanosleep.c: Likewise.
28184 * rt/clock_settime.c: Likewise.
28185 * rt/lio_listio.c: Likewise.
28186 * rt/mq_close.c: Likewise.
28187 * rt/mq_getattr.c: Likewise.
28188 * rt/mq_notify.c: Likewise.
28189 * rt/mq_open.c: Likewise.
28190 * rt/mq_receive.c: Likewise.
28191 * rt/mq_send.c: Likewise.
28192 * rt/mq_setattr.c: Likewise.
28193 * rt/mq_timedreceive.c: Likewise.
28194 * rt/mq_timedsend.c: Likewise.
28195 * rt/mq_unlink.c: Likewise.
28196 * rt/shm_open.c: Likewise.
28197 * rt/shm_unlink.c: Likewise.
28198 * rt/timer_create.c: Likewise.
28199 * rt/timer_delete.c: Likewise.
28200 * rt/timer_getoverr.c: Likewise.
28201 * rt/timer_gettime.c: Likewise.
28202 * rt/timer_settime.c: Likewise.
28203 * setjmp/__longjmp.c: Likewise.
28204 * setjmp/setjmp.c: Likewise.
28205 * signal/kill.c: Likewise.
28206 * signal/killpg.c: Likewise.
28207 * signal/raise.c: Likewise.
28208 * signal/sigaction.c: Likewise.
28209 * signal/sigaltstack.c: Likewise.
28210 * signal/sigblock.c: Likewise.
28211 * signal/sigignore.c: Likewise.
28212 * signal/sigintr.c: Likewise.
28213 * signal/signal.c: Likewise.
28214 * signal/sigpause.c: Likewise.
28215 * signal/sigpending.c: Likewise.
28216 * signal/sigqueue.c: Likewise.
28217 * signal/sigreturn.c: Likewise.
28218 * signal/sigset.c: Likewise.
28219 * signal/sigsetmask.c: Likewise.
28220 * signal/sigstack.c: Likewise.
28221 * signal/sigsuspend.c: Likewise.
28222 * signal/sigtimedwait.c: Likewise.
28223 * signal/sigvec.c: Likewise.
28224 * signal/sigwait.c: Likewise.
28225 * signal/sigwaitinfo.c: Likewise.
28226 * signal/sysv_signal.c: Likewise.
28227 * socket/accept.c: Likewise.
28228 * socket/accept4.c: Likewise.
28229 * socket/bind.c: Likewise.
28230 * socket/connect.c: Likewise.
28231 * socket/getpeername.c: Likewise.
28232 * socket/getsockname.c: Likewise.
28233 * socket/getsockopt.c: Likewise.
28234 * socket/isfdtype.c: Likewise.
28235 * socket/listen.c: Likewise.
28236 * socket/recv.c: Likewise.
28237 * socket/recvfrom.c: Likewise.
28238 * socket/recvmsg.c: Likewise.
28239 * socket/send.c: Likewise.
28240 * socket/sendmsg.c: Likewise.
28241 * socket/sendto.c: Likewise.
28242 * socket/setsockopt.c: Likewise.
28243 * socket/shutdown.c: Likewise.
28244 * socket/sockatmark.c: Likewise.
28245 * socket/socket.c: Likewise.
28246 * socket/socketpair.c: Likewise.
28247 * stdio-common/ctermid.c: Likewise.
28248 * stdio-common/cuserid.c: Likewise.
28249 * stdio-common/remove.c: Likewise.
28250 * stdio-common/rename.c: Likewise.
28251 * stdio-common/renameat.c: Likewise.
28252 * stdio-common/tempname.c: Likewise.
28253 * stdlib/getcontext.c: Likewise.
28254 * stdlib/makecontext.c: Likewise.
28255 * stdlib/setcontext.c: Likewise.
28256 * stdlib/swapcontext.c: Likewise.
28257 * stdlib/system.c: Likewise.
28258 * streams/fattach.c: Likewise.
28259 * streams/fdetach.c: Likewise.
28260 * streams/getmsg.c: Likewise.
28261 * streams/getpmsg.c: Likewise.
28262 * streams/putmsg.c: Likewise.
28263 * streams/putpmsg.c: Likewise.
28264 * sysdeps/unix/bsd/getpt.c: Likewise.
28265 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28266 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28267 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28270 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28271 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28272 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28273 * sysvipc/msgctl.c: Likewise.
28274 * sysvipc/msgget.c: Likewise.
28275 * sysvipc/msgrcv.c: Likewise.
28276 * sysvipc/msgsnd.c: Likewise.
28277 * sysvipc/semctl.c: Likewise.
28278 * sysvipc/semget.c: Likewise.
28279 * sysvipc/semop.c: Likewise.
28280 * sysvipc/semtimedop.c: Likewise.
28281 * sysvipc/shmat.c: Likewise.
28282 * sysvipc/shmctl.c: Likewise.
28283 * sysvipc/shmdt.c: Likewise.
28284 * sysvipc/shmget.c: Likewise.
28285 * termios/tcdrain.c: Likewise.
28286 * termios/tcflow.c: Likewise.
28287 * termios/tcflush.c: Likewise.
28288 * termios/tcgetattr.c: Likewise.
28289 * termios/tcgetpgrp.c: Likewise.
28290 * termios/tcsendbrk.c: Likewise.
28291 * termios/tcsetattr.c: Likewise.
28292 * termios/tcsetpgrp.c: Likewise.
28293 * time/adjtime.c: Likewise.
28294 * time/clock.c: Likewise.
28295 * time/getitimer.c: Likewise.
28296 * time/gettimeofday.c: Likewise.
28297 * time/setitimer.c: Likewise.
28298 * time/settimeofday.c: Likewise.
28299 * time/stime.c: Likewise.
28300 * time/time.c: Likewise.
28302 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
28304 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28307 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28309 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28311 2012-11-03 Joseph Myers <joseph@codesourcery.com>
28314 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28315 FE_TONEAREST before applying Dekker multiplication and Knuth
28316 addition. Clear inexact exceptions and check for exact zero
28317 results afterwards.
28318 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28319 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28320 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28321 * math/libm-test.inc (fma_test): Add more tests.
28322 (fma_test_towardzero): Likewise.
28323 (fma_test_downward): Likewise.
28324 (fma_test_upward): Likewise.
28325 * sysdeps/generic/math_private.h (default_libc_fesetround): New
28327 (libc_fesetround): New macro.
28328 (libc_fesetroundf): Likewise.
28329 (libc_fesetroundl): Likewise.
28330 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28332 (libc_fesetround_387): Likewise.
28333 (libc_fesetroundf): New macro.
28334 (libc_fesetround): Likewise.
28335 (libc_fesetroundl): Likewise.
28336 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28338 (libc_fesetroundf): New macro.
28339 (libc_fesetround): Likewise.
28340 (libc_fesetroundl): Likewise.
28341 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28342 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28343 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28345 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28346 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28348 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28349 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28351 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28355 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28356 integer constant usable in #if and use that to give value to enum
28358 (FE_DIVBYZERO): Likewise.
28359 (FE_UNDERFLOW): Likewise.
28360 (FE_OVERFLOW): Likewise.
28361 (FE_INVALID): Likewise.
28362 (FE_INVALID_SNAN): Likewise.
28363 (FE_INVALID_ISI): Likewise.
28364 (FE_INVALID_IDI): Likewise.
28365 (FE_INVALID_ZDZ): Likewise.
28366 (FE_INVALID_IMZ): Likewise.
28367 (FE_INVALID_COMPARE): Likewise.
28368 (FE_INVALID_SOFTWARE): Likewise.
28369 (FE_INVALID_SQRT): Likewise.
28370 (FE_INVALID_INTEGER_CONVERSION): Likewise.
28371 (FE_TONEAREST): Likewise.
28372 (FE_TOWARDZERO): Likewise.
28373 (FE_UPWARD): Likewise.
28374 (FE_DOWNWARD): Likewise.
28375 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28376 (FE_DIVBYZERO): Likewise.
28377 (FE_OVERFLOW): Likewise.
28378 (FE_UNDERFLOW): Likewise.
28379 (FE_INEXACT): Likewise.
28380 (FE_TONEAREST): Likewise.
28381 (FE_DOWNWARD): Likewise.
28382 (FE_UPWARD): Likewise.
28383 (FE_TOWARDZERO): Likewise.
28384 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28385 (FE_UNDERFLOW): Likewise.
28386 (FE_OVERFLOW): Likewise.
28387 (FE_DIVBYZERO): Likewise.
28388 (FE_INVALID): Likewise.
28389 (FE_TONEAREST): Likewise.
28390 (FE_TOWARDZERO): Likewise.
28391 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28392 (FE_OVERFLOW): Likewise.
28393 (FE_UNDERFLOW): Likewise.
28394 (FE_DIVBYZERO): Likewise.
28395 (FE_INEXACT): Likewise.
28396 (FE_TONEAREST): Likewise.
28397 (FE_TOWARDZERO): Likewise.
28398 (FE_UPWARD): Likewise.
28399 (FE_DOWNWARD): Likewise.
28400 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28401 (FE_DIVBYZERO): Likewise.
28402 (FE_OVERFLOW): Likewise.
28403 (FE_UNDERFLOW): Likewise.
28404 (FE_INEXACT): Likewise.
28405 (FE_TONEAREST): Likewise.
28406 (FE_DOWNWARD): Likewise.
28407 (FE_UPWARD): Likewise.
28408 (FE_TOWARDZERO): Likewise.
28410 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
28412 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28414 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
28416 * scripts/cross-test-ssh.sh (command): Use newlines to separate
28417 commands. Quote $PWD.
28418 (blacklist_exports): Don't use remove_newlines. Replace "declare
28420 (remove_newlines): Remove.
28422 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
28424 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28425 * stdlib/stdlib.h (atof): Moved to ...
28426 * include/bits/stdlib-float.h: Here. New file.
28427 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28428 * stdlib/bits/stdlib-float.h: New file.
28429 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28431 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28434 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28436 * conform/conformtest.pl (@headers): Add fenv.h.
28437 * conform/data/fenv.h-data: New file.
28438 * include/fenv.h [_ISOMAC]: Disable all contents of file except
28439 include of <math/fenv.h>.
28441 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28442 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28443 && !UNIX98]. Enables tests for XOPEN2K8.
28444 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28445 POSIX2008]: Likewise.
28447 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28448 (struct rusage): Do not expect type or its members.
28451 * math/math.h (FP_NAN): Define macro to integer constant usable in
28452 #if and use that to give value to enum constant.
28453 (FP_INFINITE): Likewise.
28454 (FP_ZERO): Likewise.
28455 (FP_SUBNORMAL): Likewise.
28456 (FP_NORMAL): Likewise.
28458 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
28460 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28461 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28464 2012-11-02 Roland McGrath <roland@hack.frob.com>
28466 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28467 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28468 autoconf-time if not.
28469 * configure.in: Remove AC_PREREQ.
28471 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28473 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28474 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28475 of the internal implementation.
28477 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28479 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28480 except include of <misc/sys/syslog.h>.
28482 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28485 function returns with a NULL context exit with zero.
28487 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28489 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28491 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28493 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28494 (run_program_cmd): This.
28495 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28496 (tst_langinfo): New variable. Use it.
28498 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28500 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28501 floating point opcodes.
28503 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28505 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28508 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28510 * sysdeps/mach/hurd/powerpc: Remove directory.
28511 * sysdeps/mach/powerpc: Likewise.
28513 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28515 * scripts/check-local-headers.sh: Ignore c++ headers.
28517 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28519 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28520 __libc_cleanup_region_start argument.
28522 2012-11-01 Joseph Myers <joseph@codesourcery.com>
28526 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28527 x * y using scaling, not as x * y + z.
28528 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28529 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28530 * math/libm-test.inc (fma_test): Add more tests.
28531 (fma_test_towardzero): Likewise.
28532 (fma_test_downward): Likewise.
28533 (fma_test_upward): Likewise.
28535 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28537 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28539 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28541 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28544 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28546 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28548 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28555 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28558 Fix the order of the list for glibc 2.17.
28559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28562 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28566 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28569 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28570 for low part of x being zero before using __atanl (y).
28571 * math/libm-test.inc (atan2_test): Add another test.
28573 * manual/install.texi (Configuring and compiling): Document
28574 general use of test-wrapper and test-wrapper-env.
28575 * INSTALL: Regenerated.
28577 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28578 (__fma): Do not extract and scale down low bits on after-rounding
28579 systems when result rounded to normal precision would have normal
28581 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28582 (__fmal): Do not extract and scale down low bits on after-rounding
28583 systems when result rounded to normal precision would have normal
28585 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28586 (__fmal): Do not extract and scale down low bits on after-rounding
28587 systems when result rounded to normal precision would have normal
28589 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28591 (fma_test): Add more tests.
28592 (fma_test_towardzero): Likewise.
28593 (fma_test_downward): Likewise.
28594 (fma_test_upward): Likewise.
28596 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28598 * sysdeps/i386/tininess.h: Renamed to ...
28599 * sysdeps/x86/tininess.h: This.
28600 * sysdeps/x86_64/tininess.h: Removed.
28602 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28604 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28605 input. Use $(build-program-cmd).
28606 ($(objpfx)tst-array1-static.out): Likewise.
28607 ($(objpfx)tst-array2.out): Likewise.
28608 ($(objpfx)tst-array3.out): Likewise.
28609 ($(objpfx)tst-array4.out): Likewise.
28610 ($(objpfx)tst-array5.out): Likewise.
28611 ($(objpfx)tst-array5-static.out): Likewise.
28613 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28615 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28618 * nss/nsswitch.h (nss_interface_function): Provide new
28619 macro for use with NSS functions.
28620 * grp/initgroups.c: Use new macro.
28621 * nss/getXXbyYY.c: Likewise.
28622 * nss/getXXbyYY_r.c: Likewise.
28623 * nss/getXXent.c: Likewise.
28624 * nss/getXXent_r.c: Likewise.
28625 * sysdeps/posix/getaddrinfo.c: Likewise.
28627 2012-10-30 Andreas Jaeger <aj@suse.de>
28629 * po/ru.po: Update Russion translation from translation project.
28631 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28635 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28636 result and shift together with sticky bit instead of replicating
28637 round-to-nearest rounding.
28638 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28639 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28640 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28641 missing underflow exceptions.
28642 (fma_test_towardzero): Add more tests.
28643 (fma_test_downward): Likewise.
28644 (fma_test_upward): Likewise.
28647 * sysdeps/generic/tininess.h: New file.
28648 * sysdeps/i386/tininess.h: Likewise.
28649 * sysdeps/sh/tininess.h: Likewise.
28650 * sysdeps/x86_64/tininess.h: Likewise.
28651 * stdlib/tst-strtod-underflow.c: Likewise.
28652 * stdlib/tst-tininess.c: Likewise.
28653 * stdlib/strtod_l.c: Include <tininess.h>.
28654 (round_and_return): Do not set errno for exact underflow cases.
28655 Force an underflow exception when setting errno for underflow.
28656 Determine underflow based on rounding to normal precision if
28657 TININESS_AFTER_ROUNDING.
28658 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28659 ERANGE for exact underflow cases.
28660 * stdlib/Makefile (tests): Add tst-tininess and
28661 tst-strtod-underflow.
28662 ($(objpfx)tst-tininess): Use $(link-libm).
28663 ($(objpfx)tst-strtod-underflow): Likewise.
28665 2012-10-30 Andreas Jaeger <aj@suse.de>
28668 * elf/Makefile (tests): Remove conditional for have-initfini-array
28669 since this is now always required and the variable does not exist
28671 (tests-static): Likewise.
28672 (modules-names): Likewise.
28674 * po/eo.po: Add Esperanto translation from translation project.
28676 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28677 merged with constructor/destructor.
28678 (init_array): Likewise.
28679 * elf/tst-array2dep.c (fini_array): Likewise.
28680 (init_array): Likewise.
28682 2012-10-29 Mike Frysinger <vapier@gentoo.org>
28684 * manual/message.texi: Delete @cartouche tags.
28686 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28688 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28690 * sysdeps/mach/hurd/fsync.c: Likewise.
28692 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28693 [_POSIX_REALTIME_SIGNALS]: Change condition to
28694 [_POSIX_REALTIME_SIGNALS > 0].
28696 2012-10-27 Andreas Jaeger <aj@suse.de>
28698 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28699 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28700 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28701 [__WORDSIZE != 64]: Likewise.
28703 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
28705 * iconvdata/tst-table.sh: Remove ${SHELL}.
28706 * iconvdata/tst-tables.sh: Likewise.
28708 2012-10-25 David S. Miller <davem@davemloft.net>
28710 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28711 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28714 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28716 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28717 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28718 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28721 2012-10-25 Roland McGrath <roland@hack.frob.com>
28723 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28724 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28727 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28728 Jim Blandy <jimb@codesourcery.com>
28730 * scripts/cross-test-ssh.sh: New file.
28731 * manual/install.texi (Configuring and compiling): Document use of
28733 * INSTALL: Regenerated.
28735 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
28737 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28740 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28742 * Makeconfig (run-program-prefix): Fix comment.
28744 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28745 Jim Blandy <jimb@codesourcery.com>
28747 * Makeconfig (test-wrapper): New variable,
28748 (test-wrapper-env): Likewise.
28749 [$(cross-compiling) = yes && $(test-wrapper) != ""]
28750 (run-built-tests): Define to yes.
28751 (run-program-prefix): Use $(test-wrapper).
28752 (built-program-cmd): Likewise.
28753 * Rules (make-test-out): Use $(test-wrapper-env) and
28754 $(host-built-program-cmd).
28755 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28756 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28758 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28759 $(test-wrapper-env) to tst-rtld-load-self.sh.
28760 ($(objpfx)order2.out): Use $(test-wrapper).
28761 ($(objpfx)tst-initorder.out): Likewise.
28762 ($(objpfx)tst-initorder2.out): Likewise.
28763 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28764 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28765 (test_wrapper_env): New variable. Use it to run ld.so.
28766 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28767 Use it to run ld.so.
28768 (test_wrapper_env): Likewise.
28769 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28770 $(test-wrapper) to run-iconv-test.sh.
28771 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28772 (ICONV): Use $test_wrapper.
28773 * posix/Makefile ($(objpfx)globtest.out): Pass
28774 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28775 globtest.sh, not $(run-program-prefix).
28776 * posix/globtest.sh (run_via_rtld_prefix): New variable.
28777 (test_wrapper): Likewise.
28778 (test_wrapper_env): Likewise. Use it to run globtest with HOME
28779 set together with run_via_rtld_prefix.
28780 (run_program_prefix): Define in terms of test_wrapper and
28781 run_via_rtld_prefix.
28783 2012-10-24 Roland McGrath <roland@hack.frob.com>
28785 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28786 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28790 * include/time.h: Remove librt_hidden_proto (clock_gettime).
28791 Declare __clock_getres, __clock_gettime, __clock_settime,
28792 __clock_nanosleep, and __clock_getcpuclockid.
28793 * rt/clock_gettime.c: Define __clock_gettime as an alias.
28794 Remove librt_hidden_def (clock_gettime).
28795 * sysdeps/unix/clock_gettime.c: Likewise.
28796 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28797 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28798 * rt/clock_getres.c: Define __clock_getres as an alias.
28799 * sysdeps/posix/clock_getres.c: Likewise.
28800 * rt/clock_settime.c: Define __clock_settime as an alias.
28801 * sysdeps/unix/clock_settime.c: Likewise.
28802 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28803 * sysdeps/unix/clock_nanosleep.c: Likewise.
28804 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28805 * rt/clock-compat.c: New file.
28806 * rt/Makefile (librt-routines): Add clock-compat and move
28807 $(clock-routines) to ...
28808 (routines): ... here, new variable.
28809 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28810 Don't add get_clockfreq here.
28811 * rt/Versions (libc: GLIBC_2.17): New version set.
28812 Add clock_* symbols here.
28813 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
28814 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28815 (GLIBC_2.17): Add clock_* symbols.
28816 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28817 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28818 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28823 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28824 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28826 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28827 * NEWS: Mention the move.
28829 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28830 Use __open, __read, __close rather than their public counterparts.
28831 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28832 (__get_clockfreq_via_cpuinfo): Likewise.
28833 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28834 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28836 * config.h.in (HAVE_IFUNC): New #undef.
28837 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28839 * configure: Regenerated.
28841 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28843 * configure.in: Move READELF check to start of file.
28844 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28845 libc_cv_asm_gnu_indirect_function in the process.
28846 * configure: Regenerated.
28848 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28850 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28851 send the output to /dev/null.
28852 (libc_cv_cc_with_libunwind): Likewise.
28853 (libc_cv_as_noexecstack): Likewise.
28854 * configure: Regenerate.
28856 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28858 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28860 * posix/globtest.sh (TMPDIR): Do not set.
28861 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28862 (testout): Likewise.
28864 2012-10-24 Andreas Jaeger <aj@suse.de>
28866 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28867 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28868 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28869 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28870 posix_fadvise64, posix_fallocate64.
28872 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28873 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28874 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28876 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28878 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28880 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28881 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28882 <bits/fcntl-linux.h>.
28883 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28885 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28886 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28887 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28888 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28889 [__WORDSIZE != 64]: Likewise.
28891 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28893 * Makeconfig (run-built-tests): New variable.
28894 * Rules [$(cross-compiling) = yes]: Change condition to
28895 [$(run-built-tests) = no].
28896 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28897 to [$(run-built-tests) = yes].
28898 * elf/Makefile [$(cross-compiling) = no]: Likewise
28899 * grp/Makefile [$(cross-compiling) = no]: Likewise.
28900 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28901 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28902 * intl/Makefile [$(cross-compiling) = no]: Likewise.
28903 * io/Makefile [$(cross-compiling) = no]: Likewise.
28904 * libio/Makefile [$(cross-compiling) = no]: Likewise.
28905 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28906 * misc/Makefile [$(cross-compiling) = no]: Likewise.
28907 * posix/Makefile [$(cross-compiling) = no]: Likewise.
28908 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28909 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28910 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28911 * string/Makefile [$(cross-compiling) = no]: Likewise.
28913 * posix/Makefile ($(objpfx)globtest.out): Pass
28914 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28915 $(rtld-installed-name).
28916 * posix/globtest.sh (elf_objpfx): Remove variable.
28917 (rtld_installed_name): Likewise.
28918 (library_path): Likewise.
28919 (run_program_prefix): New variable. Use for running globtest
28922 2012-10-23 Jim Blandy <jimb@codesourcery.com>
28923 Joseph Myers <joseph@codesourcery.com>
28925 * Makeconfig (host-built-program-cmd): New variable.
28926 * elf/Makefile (tst-stackguard1-ARGS): Use
28927 $(host-built-program-cmd).
28928 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28929 (tst-spawn-ARGS): Likewise.
28930 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28932 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28933 Jim Blandy <jimb@codesourcery.com>
28935 * Makeconfig (run-via-rtld-prefix): New variable.
28936 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28937 (built-program-cmd): Likewise.
28939 2012-10-22 Andreas Jaeger <aj@suse.de>
28941 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28942 __O_RSYNC if it exists, otherwise to O_SYNC.
28944 2012-10-22 Jim Blandy <jimb@codesourcery.com>
28945 Joseph Myers <joseph@codesourcery.com>
28947 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28949 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28951 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28954 2012-10-22 Andreas Jaeger <aj@suse.de>
28956 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28958 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28960 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28961 bits/fcntl-linux.h.
28963 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28964 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28966 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28968 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28971 2012-10-21 Jim Blandy <jimb@codesourcery.com>
28972 Joseph Myers <joseph@codesourcery.com>
28974 * config.make.in (NM): New variable.
28976 2012-10-21 Andreas Jaeger <aj@suse.de>
28978 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28979 definitions and declarations that are provided by
28980 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28982 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28985 * elf/Makefile (tests-static): Add tst-leaks1-static.
28986 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28987 ($(objpfx)tst-leaks1-static): New rule.
28988 ($(objpfx)tst-leaks1-static-mem): Likewise.
28989 (tst-leaks1-static-ENV): New macro.
28990 * elf/dl-open.c (dl_open_worker): Check the main application
28991 only if SHARED is defined.
28992 * elf/tst-leaks1-static.c: New file.
28994 2012-10-20 Andreas Jaeger <aj@suse.de>
28996 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28997 generic values for Linux.
28998 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28999 and declarations that are provided by <bits/fcntl-linux.h> and
29000 include <bits/fcntl-linux.h>.
29001 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29002 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29004 2012-10-20 Roland McGrath <roland@hack.frob.com>
29006 * io/fcntl.h: Move include of <bits/types.h> to the top and
29007 include it unconditionally.
29009 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29011 * wcsmbs/Makefile (tests-ifunc): New variable.
29012 (tests): Add $(tests-ifunc).
29013 * wcsmbs/test-wcschr-ifunc.c: New file.
29014 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29015 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29016 * wcsmbs/test-wcslen-ifunc.c: Likewise.
29017 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29018 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29020 * string/Makefile (tests-ifunc): New variable.
29021 (tests): Add $(tests-ifunc).
29022 * string/test-memccpy.c (TEST_NAME): New macro.
29023 * string/test-memchr.c (TEST_NAME): Likewise.
29024 * string/test-memcmp.c (TEST_NAME): Likewise.
29025 * string/test-memcpy.c (TEST_NAME): Likewise.
29026 * string/test-memmem.c (TEST_NAME): Likewise.
29027 * string/test-memmove.c (TEST_NAME): Likewise.
29028 * string/test-memset.c (TEST_NAME): Likewise.
29029 * string/test-rawmemchr.c (TEST_NAME): Likewise.
29030 * string/test-stpcpy.c (TEST_NAME): Likewise.
29031 * string/test-stpncpy.c (TEST_NAME): Likewise.
29032 * string/test-strcasecmp.c (TEST_NAME): Likewise.
29033 * string/test-strcasestr.c (TEST_NAME): Likewise.
29034 * string/test-strcat.c (TEST_NAME): Likewise.
29035 * string/test-strchr.c (TEST_NAME): Likewise.
29036 * string/test-strcmp.c(TEST_NAME): Likewise.
29037 * string/test-strcpy.c (TEST_NAME): Likewise.
29038 * string/test-strcspn.c (TEST_NAME): Likewise.
29039 * string/test-strlen.c (TEST_NAME): Likewise.
29040 * string/test-strncasecmp.c (TEST_NAME): Likewise.
29041 * string/test-strncmp.c (TEST_NAME): Likewise.
29042 * string/test-strncpy.c (TEST_NAME): Likewise.
29043 * string/test-strnlen.c (TEST_NAME): Likewise.
29044 * string/test-strpbrk.c (TEST_NAME): Likewise.
29045 * string/test-strrchr.c (TEST_NAME): Likewise.
29046 * string/test-strspn.c (TEST_NAME): Likewise.
29047 * string/test-strstr.c (TEST_NAME): Likewise.
29048 * string/test-bcopy-ifunc.c: New file.
29049 * string/test-bzero-ifunc.c: Likewise.
29050 * string/test-memccpy-ifunc.c: Likewise.
29051 * string/test-memchr-ifunc.c: Likewise.
29052 * string/test-memcmp-ifunc.c: Likewise.
29053 * string/test-memcpy-ifunc.c: Likewise.
29054 * string/test-memmem-ifunc.c: Likewise.
29055 * string/test-memmove-ifunc.c: Likewise.
29056 * string/test-mempcpy-ifunc.c: Likewise.
29057 * string/test-memset-ifunc.c: Likewise.
29058 * string/test-rawmemchr-ifunc.c: Likewise.
29059 * string/test-stpcpy-ifunc.c: Likewise.
29060 * string/test-stpncpy-ifunc.c: Likewise.
29061 * string/test-strcasecmp-ifunc.c: Likewise.
29062 * string/test-strcasestr-ifunc.c: Likewise.
29063 * string/test-strcat-ifunc.c: Likewise.
29064 * string/test-strchr-ifunc.c: Likewise.
29065 * string/test-strchrnul-ifunc.c: Likewise.
29066 * string/test-strcmp-ifunc.c: Likewise.
29067 * string/test-strcpy-ifunc.c: Likewise.
29068 * string/test-strcspn-ifunc.c: Likewise.
29069 * string/test-strlen-ifunc.c: Likewise.
29070 * string/test-strncasecmp-ifunc.c: Likewise.
29071 * string/test-strncat-ifunc.c: Likewise.
29072 * string/test-strncmp-ifunc.c: Likewise.
29073 * string/test-strncpy-ifunc.c: Likewise.
29074 * string/test-strnlen-ifunc.c: Likewise.
29075 * string/test-strpbrk-ifunc.c: Likewise.
29076 * string/test-strrchr-ifunc.c: Likewise.
29077 * string/test-strspn-ifunc.c: Likewise.
29078 * string/test-strstr-ifunc.c: Likewise.
29080 * debug/Makefile (tests-ifunc): New variable.
29081 (tests): Add $(tests-ifunc).
29082 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29083 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29084 * debug/test-stpcpy_chk-ifunc.c: New file.
29085 * debug/test-strcpy_chk-ifunc.c: Likewise.
29087 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29090 * elf/dl-load.c (open_verify): Retry read if the entire ELF
29091 header is not read in.
29093 2012-10-19 Joseph Myers <joseph@codesourcery.com>
29095 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
29096 script to $(SHELL) as $<. Pass $(common-objpfx) to script
29097 directly. Pass built executable to script as
29098 $(built-program-cmd).
29099 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
29100 $testprogram without using LD_LIBRARY_PATH and $ldso.
29102 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29103 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29104 $(rtld-installed-name).
29105 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29106 (rtld_installed_name): Likewise.
29107 (library_path): Likewise.
29108 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
29109 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29110 $(run-program-prefix) to tst-tables.sh.
29111 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
29112 it to run tst-table-from and tst-table-to.
29113 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29114 Pass it to tst-table.sh.
29115 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29116 $(run-program-prefix) to tst-gettext.sh.
29117 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29119 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29121 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
29122 to run tst-gettext.
29123 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
29124 to run tst-gettext2.
29125 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
29126 to run tst-translit.
29127 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29128 $(run-program-prefix) to tst-mtrace.sh.
29129 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
29131 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29132 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29133 $(rtld-installed-name).
29134 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29135 (rtld_installed_name): Likewise.
29136 (run_program_prefix): New variable. Use it to run wordexp-test.
29138 * Makeconfig (ARCH): Remove all definitions.
29139 (machine): Likewise.
29140 [ARCH]: Remove conditional code.
29141 [!objdir]: Give error.
29142 [!objdir] (objpfx): Remove.
29143 [!objdir] (common-objpfx): Likewise.
29144 [!objdir] (common-objdir): Likewise.
29145 * configure.in (config_makefile): Remove. Hardcode Makefile in
29146 AC_CONFIG_FILES call.
29147 * configure: Regenerated.
29150 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29152 (testout): Likewise.
29154 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29155 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29156 $(rtld-installed-name).
29157 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29158 (rtld_installed_name): Likwise.
29159 (runit): Remove function.
29160 (run_getconf): New variable, Use it for running getconf binary.
29162 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
29165 * string/test-memmem.c (check_result): New function.
29166 (do_one_test): Use it.
29167 (check1): New function.
29168 (test_main): Use it.
29170 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
29172 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29174 2012-10-18 Joseph Myers <joseph@codesourcery.com>
29176 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29177 (_G_LSEEK64): Likewise.
29178 (_G_MMAP64): Likewise.
29179 (_G_FSTAT64): Likewise.
29180 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29181 (_G_LSEEK64): Likewise.
29182 (_G_MMAP64): Likewise.
29183 (_G_FSTAT64): Likewise.
29184 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29185 unconditional. Call __mmap64 directly.
29186 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29187 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
29188 __lseek64 directly.
29189 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29190 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
29192 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29193 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
29194 __lseek64 directly.
29195 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29196 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
29197 __lseek64 directly.
29198 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29199 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
29200 __lseek64 directly.
29201 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29202 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
29203 __fxstat64 directly.
29204 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29205 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29207 (freopen64) [!_G_OPEN64]: Remove conditional code.
29208 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29210 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29211 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29213 (ftello64) [!_G_LSEEK64]: Remove conditional code.
29214 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29216 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29217 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29219 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29220 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29222 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29223 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29225 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29226 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29228 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29230 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29233 * manual/memory.texi (Malloc Tunable Parameters): Add note
29234 about free list pointers overwriting some perturb bytes.
29235 Wording suggested by Roland McGrath.
29237 2012-10-17 Joseph Myers <joseph@codesourcery.com>
29239 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29240 (lgamma_test): Likewise.
29241 (tgamma_test): Likewise.
29243 2012-10-16 Florian Weimer <fweimer@redhat.com>
29246 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29247 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29249 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
29251 * NEWS: Mention BZ #14716.
29252 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29253 when removing AVAILABLE1_USES_J macro.
29255 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
29257 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29258 (__bswap_64): __uint64_t for unsigned 64-bit int.
29260 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
29262 * include/string.h (memmem): Declare libc hidden alias.
29263 * string/memmem.c (memmem): Define libc hidden alias.
29264 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29265 __read, __close instead of open, read, close.
29267 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
29269 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29270 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29272 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29273 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29274 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29276 (__rawmemchr_sse2): Likewise.
29277 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29278 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29279 (__strchr_sse2): Likewise.
29280 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29281 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29282 (__strcasecmp_sse2): Likewise.
29283 (__strncasecmp_sse2): Likewise.
29284 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29285 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29286 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29287 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29288 (__strrchr_sse2): Likewise.
29289 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29291 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29292 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29293 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29294 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29295 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29296 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29297 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29298 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29299 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29300 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29301 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29302 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29303 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29304 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29305 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29306 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29307 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29308 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29309 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29310 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29311 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29312 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29313 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29314 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29315 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29316 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29317 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29318 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29319 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29320 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29322 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29324 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29325 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29326 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29327 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29329 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29331 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29332 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29333 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29334 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29336 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29337 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29338 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29339 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29340 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29341 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29342 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29343 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29344 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29345 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29346 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29347 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29348 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29349 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29350 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29351 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29352 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29353 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29354 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29355 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29356 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29357 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29358 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29359 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29360 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29361 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29362 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29363 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29364 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29365 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29366 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29367 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29368 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29369 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29370 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29371 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29372 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29373 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29374 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29375 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29376 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29378 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29379 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29380 * include/ifunc-impl-list.h: New file.
29381 * misc/ifunc-impl-list.c: Likewise.
29382 * misc/Makefile (routines): Add ifunc-impl-list.
29383 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29384 * string/test-string.h: Include <ifunc-impl-list.h>.
29385 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29386 TEST_NAME]: New variables.
29387 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29389 (test_init): Call __libc_ifunc_impl_list to initialize
29390 func_list if TEST_IFUNC and TEST_NAME are defined.
29392 * string/Makefile (strop-tests): Add bcopy and bzero.
29393 * string/test-bcopy.c: New file.
29394 * string/test-bzero.c: Likewise.
29395 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29397 * string/test-memset.c: Support bzero test if TEST_BZERO is
29399 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29401 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29403 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29406 2012-10-10 Joseph Myers <joseph@codesourcery.com>
29408 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29409 * configure: Regenerated.
29411 * Makeconfig (+link-static-before-libc): Don't include
29412 $(link-static-libc).
29414 * libio/libio.h (_IO_pos_t): Remove.
29416 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29418 * NEWS: Add note about FIPS mode. Wording suggested by Roland
29421 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29423 * crypt/crypt-entry.c: Include fips-private.h.
29424 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29425 * crypt/md5c-test.c (main): Tolerate disabled MD5.
29426 * sysdeps/unix/sysv/linux/fips-private.h: New file.
29427 * sysdeps/generic/fips-private.h: New file, dummy fallback.
29429 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29431 * crypt/crypt-private.h: Include stdbool.h.
29432 (_ufc_setup_salt_r): Return bool.
29433 * crypt/crypt-entry.c: Include errno.h.
29434 (__crypt_r): Return NULL with EINVAL for bad salt.
29435 * crypt/crypt_util.c (bad_for_salt): New.
29436 (_ufc_setup_salt_r): Check that salt is long enough and within
29437 the specified alphabet.
29438 * crypt/badsalttest.c: New file.
29439 * crypt/Makefile (tests): Add it.
29440 ($(objpfx)badsalttest): New.
29442 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
29444 * NEWS: Add entry for BZ #14602.
29446 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29448 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29450 * math/libm-test.inc: Update comment listing what functions and
29452 (isgreater_test): New function.
29453 (isgreaterequal_test): Likewise.
29454 (isless_test): Likewise.
29455 (islessequal_test): Likewise.
29456 (islessgreater_test): Likewise.
29457 (isunordered_test): Likewise.
29458 (main): Call the new functions.
29460 2012-10-09 Roland McGrath <roland@hack.frob.com>
29462 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29463 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29464 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29465 * sysdeps/i386/configure: Regenerated.
29466 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29467 * sysdeps/mach/configure: Regenerated.
29468 * sysdeps/mach/hurd/configure: Regenerated.
29469 * sysdeps/powerpc/configure: Regenerated.
29470 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29471 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29472 * sysdeps/s390/s390-32/configure: Regenerated.
29473 * sysdeps/s390/s390-64/configure: Regenerated.
29474 * sysdeps/sh/configure: Regenerated.
29475 * sysdeps/sparc/configure: Regenerated.
29476 * sysdeps/unix/sysv/linux/configure: Regenerated.
29477 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29478 * sysdeps/x86_64/configure: Regenerated.
29480 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29481 defined. Don't check if MAP is NULL.
29483 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29485 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29486 (_G_stat64): Likewise.
29487 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29488 (_G_stat64): Likewise.
29489 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29490 instead of struct _G_stat64.
29491 * libio/fileops.c (mmap_remap_check): Likewise.
29492 (decide_maybe_mmap): Likewise.
29493 (_IO_new_file_seekoff): Likewise.
29494 (_IO_file_stat): Likewise.
29495 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29497 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29498 instead of struct _G_stat64.
29499 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29501 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29504 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29506 (CHECK_EOL): New macro.
29507 (two_way_short_needle): Check beginning of haystack for EOL. Use
29509 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29510 Replace with CHECK_EOL.
29511 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29512 Replace with CHECK_EOL.
29514 2012-10-08 Joseph Myers <joseph@codesourcery.com>
29516 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29518 * math/libm-test.inc: Update comment listing what functions and
29520 (finite_test): New function.
29521 (isinf_test): Likewise.
29522 (isnan_test): Likewise.
29523 (fpclassify_test): Test subnormal input.
29524 (isfinite_test): Likewise.
29525 (isnormal_test): Likewise.
29526 (main): Call the new functions.
29528 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29531 * Makerules (%.dynsym): Force C locale when running
29532 $(OBJDUMP) --dynamic-syms.
29534 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29536 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29539 2012-10-06 David S. Miller <davem@davemloft.net>
29541 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29542 upper 32-bits of the length value in %o2 since we use branch-on-register
29543 tests which consider the entire 64-bit register.
29545 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29547 * string/test-strstr.c (check2): Add a test for page boundary.
29549 2012-10-05 David S. Miller <davem@davemloft.net>
29551 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29552 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29554 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29556 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29557 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29558 and bzero when HWCAP_SPARC_CRYPTO is present.
29560 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29563 * string/test-strstr.c (check2): New function.
29564 (test_main): Call check2.
29566 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29568 * string/bug-strcasestr1.c (do_test): Moved to ...
29569 * string/test-strcasestr.c (check1): Here. New function.
29570 (do_one_test): Break out result checking code into ...
29571 (check_result): This. New function.
29572 (do_one_test): Call check_result.
29573 (test_main): Call check1.
29574 * string/bug-strchr1.c (do_test): Moved to ...
29575 * string/test-strchr.c (check1): Here. New function.
29576 (do_one_test): Break out result checking code into ...
29577 (check_result): This. New function.
29578 (do_one_test): Call check_result.
29579 (test_main): Call check1.
29580 * string/bug-strstr1.c (main): Moved to ...
29581 * string/test-strstr.c (check1): Here. New function.
29582 (do_one_test): Break out result checking code into ...
29583 (check_result): This. New function.
29584 (do_one_test): Call check_result.
29585 (test_main): Call check1.
29586 * string/bug-strcasestr1.c: Removed.
29587 * string/bug-strchr1.c: Likewise.
29588 * string/bug-strstr1.c: Likewise.
29590 * elf/Makefile (dl-routines): Add hwcaps.
29591 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29592 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29593 (_dl_important_hwcaps): Moved to ...
29594 * elf/dl-hwcaps.c: Here. New file.
29595 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29598 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29599 if IS_IN_rtld isn't defined.
29601 * elf/dl-support.c (_dl_sysinfo_map): New.
29602 Include "get-dynamic-info.h" and "setup-vdso.h".
29603 (_dl_non_dynamic_init): Call setup_vdso.
29604 * elf/dynamic-link.h: Don't include <assert.h>.
29605 (elf_get_dynamic_info): Moved to ...
29606 * elf/get-dynamic-info.h: Here. New file.
29607 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29608 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29609 * elf/setup-vdso.h: Here. New file.
29610 * elf/rtld.c: Include "setup-vdso.h".
29611 (dl_main): Call setup_vdso.
29613 2012-10-05 Joseph Myers <joseph@codesourcery.com>
29615 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29616 creal in comment listing functions tested. List finite, isinf,
29617 isnan, isless, islessequal, isgreater, isgreaterequal,
29618 islessgreater, isunordered, lgamma_r and pow10 as functions and
29619 macros not tested. Mention which functions not tested are aliases
29620 for other functions. Fix typo. Note that signs of NaNs are not
29623 * scripts/config.guess: Update from config.git.
29624 * scripts/config.sub: Likewise.
29626 2012-10-04 Roland McGrath <roland@hack.frob.com>
29628 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29629 * misc/madvise.c (madvise): Renamed to __madvise.
29630 Make madvise a weak alias.
29631 * include/sys/mman.h: Declare __madvise.
29632 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29633 * sysdeps/unix/syscalls.list
29634 (madvise): Make __madvise the strong name, and madvise a weak alias.
29635 * sysdeps/unix/sysv/linux/syscalls.list
29636 (madvise, mmap): Remove redundant entries.
29637 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29638 * malloc/malloc.c (mtrim): Likewise.
29639 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29641 2012-10-03 Roland McGrath <roland@hack.frob.com>
29643 * sysdeps/mach/hurd/dl-cache.c: File removed.
29644 * config.h.in (USE_LDCONFIG): New #undef.
29645 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29646 * configure: Regenerated.
29647 * elf/Makefile (dl-routines): Add dl-cache only under
29648 [$(use-ldconfig) = yes].
29649 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29650 cache on [USE_LDCONFIG].
29651 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29653 * elf/rtld.c (dl_main): Likewise.
29655 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29657 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29658 _SC_LEVEL4_CACHE_LINESIZE.
29660 2012-10-03 Roland McGrath <roland@hack.frob.com>
29662 * sysdeps/unix/bsd/confstr.h: File removed.
29664 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
29666 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29669 2012-10-02 Roland McGrath <roland@hack.frob.com>
29671 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29672 Make 'mapoff' field ElfW(Off) rather than off_t.
29674 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29676 * nscd/Makefile: Remove nscd-cflags and all its users.
29677 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29678 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29681 * malloc.c (malloc_printerr): Clarify error message.
29683 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29686 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29687 Set bit_FMA_Usable if FMA is supported.
29688 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29690 (bit_FMA4_Usable): Updated.
29691 (index_FMA_Usable): New macro.
29692 (CPUID_FMA): Likewise
29693 (HAS_FMA): Defined with bit_FMA_Usable.
29695 2012-10-01 Roland McGrath <roland@hack.frob.com>
29697 * bits/types.h (__swblk_t): Type removed.
29698 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29699 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29700 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29701 (__SWBLK_T_TYPE): Likewise.
29702 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29703 (__SWBLK_T_TYPE): Likewise.
29704 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29705 (__SWBLK_T_TYPE): Likewise.
29706 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29707 (__SWBLK_T_TYPE): Likewise.
29709 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
29710 Honza Horak <hhorak@redhat.com>
29712 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29713 (xdr_mapname): Use YPMAXMAP as maxsize.
29714 (xdr_peername): Use YPMAXPEER as maxsize.
29715 (xdr_keydat): Use YPAXRECORD as maxsize.
29716 (xdr_valdat): Use YPMAXRECORD as maxsize.
29718 2012-10-01 Roland McGrath <roland@hack.frob.com>
29720 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29722 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29723 * csu/init-first.c: ... here.
29724 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29725 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29726 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29727 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29728 * sysdeps/i386/init-first.c: File removed.
29729 * sysdeps/sh/init-first.c: File removed.
29731 2012-10-01 Joseph Myers <joseph@codesourcery.com>
29734 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29735 if x * y might underflow to zero and z is zero.
29736 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29737 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29738 * math/libm-test.inc (min_subnorm_value): New variable.
29739 (fma_test): Add more tests.
29740 (fma_test_towardzero): Likewise.
29741 (fma_test_downward): Likewise
29742 (fma_test_upward): Likewise.
29743 (initialize): Set min_subnorm_value.
29745 2012-09-29 Joseph Myers <joseph@codesourcery.com>
29748 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29750 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29751 mode for addition resulting in exact zero.
29752 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29753 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29755 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29756 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29757 * math/libm-test.inc (fma_test): Add more tests.
29758 (fma_test_towardzero): New function.
29759 (fma_test_downward): Likewise.
29760 (fma_test_upward): Likewise.
29761 (main): Call the new functions.
29763 2012-09-28 David S. Miller <davem@davemloft.net>
29765 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29767 2012-09-28 Roland McGrath <roland@hack.frob.com>
29769 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29770 instead of SIGALRM.
29772 * sysdeps/gnu/_G_config.h: Moved to ...
29773 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29774 * sysdeps/mach/hurd/_G_config.h: Moved to ...
29775 * sysdeps/generic/_G_config.h: ... here.
29777 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
29779 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29781 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29782 Conditionalize target on [libnss_test1.so-version].
29784 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29786 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29787 (elfobjdir): Move out of conditionals.
29789 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29790 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29791 (__nss_lookup_function): Conditionalize label remove_from_tree on
29792 [!DO_STATIC_NSS || SHARED], matching its only use.
29794 2012-09-28 David S. Miller <davem@davemloft.net>
29796 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29797 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29799 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29801 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29802 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29803 when HWCAP_SPARC_CRYPTO is present.
29805 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29807 * io/tst-mknodat.c: Create a FIFO instead of a socket.
29809 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
29812 * stdio-common/vfprintf.c (process_string_arg): Revert
29815 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
29817 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29819 * stdio-common/tst-sprintf.c: Include <locale.h>
29820 (main): Test sprintf's handling of incomplete multibyte
29823 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
29825 * elf/dl-runtime.c (VERSYMIDX): Removed.
29826 * elf/dl-version.c (VERSYMIDX): Likewise.
29827 * elf/do-rel.h (VERSYMIDX): Likewise.
29828 (VALIDX): Likewise.
29829 * elf/dynamic-link.h (VERSYMIDX): Likewise.
29830 * elf/rtld.c (VALIDX): Likewise.
29831 (ADDRIDX): Likewise.
29832 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29833 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29834 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
29835 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29836 (VALIDX): Likewise.
29837 (ADDRIDX): Likewise.
29839 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29841 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29843 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
29846 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29848 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29849 addresses are in the same scope as 192.0.2/24.
29850 * posix/gai.conf: Document new scope table defaults.
29852 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29855 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29856 for ftell. Compute offsets from write pointers instead.
29857 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29859 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29862 * libio/Makefile (tests): New test case tst-fseek.
29863 * libio/tst-fseek.c: New test case to verify that fseek/ftell
29864 combination works in wide mode.
29865 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29866 state when the external buffer state changes.
29868 2012-09-27 David S. Miller <davem@davemloft.net>
29871 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29872 pass reloc->r_addend in as the 'high' argument to
29873 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29877 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29879 * rt/tst-aio2.c: Include <pthread.h>.
29880 * rt/tst-aio3.c: Likewise.
29882 2012-09-27 Steve Ellcey <sellcey@mips.com>
29884 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29886 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
29888 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29889 contents on [SHARED].
29891 2012-09-26 Marek Polacek <polacek@redhat.com>
29895 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29896 for C++ and GCC <4.3 as well as for non GCC compilers.
29898 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29900 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29902 2012-09-25 Roland McGrath <roland@hack.frob.com>
29904 * Makefile.in (all, install): Declare with .PHONY.
29905 Reported by Michael Hope <michael.hope@linaro.org>.
29907 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29909 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29910 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29912 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29914 (sydep_routines): Add the new and the internal functions.
29915 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29916 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29918 (GLIBC_2.17): Add the new function.
29919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29920 (GLIBC_2.17): Likewise.
29921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29922 (GLIBC_2.17): Likewise.
29923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29924 (GLIBC_2.17): Likewise.
29925 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29927 2012-09-25 Alan Modra <amodra@gmail.com>
29929 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29930 Add release barrier before setting once_control to say
29931 initialisation is done. Add hints on lwarx. Use macro in
29933 (clear_once_control): Add release barrier.
29935 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29938 * math/s_clog.c (__clog): Handle more values close to |z| = 1
29940 * math/s_clog10.c (__clog10): Likewise.
29941 * math/s_clog10f.c (__clog10f): Likewise.
29942 * math/s_clog10l.c (__clog10l): Likewise.
29943 * math/s_clogf.c (__clogf): Likewise.
29944 * math/s_clogl.c (__clogl): Likewise.
29945 * math/Makefile (libm-calls): Add x2y2m1.
29946 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29947 (__x2y2m1): Likewise.
29948 (__x2y2m1l): Likewise.
29949 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29950 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29951 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29952 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29953 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29954 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29955 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29956 * sysdeps/i386/fpu/libm-test-ulps: Update.
29957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29960 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29961 int as type of variable DEPTH.
29962 (glob): Use size_t instead of int as type of variables NEWCOUNT
29965 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29967 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29968 Add s_sincosf-sse2.
29969 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29970 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29971 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29972 macros for using routine as __sincosf_ia32.
29973 Use macro for function declaration and weak_alias.
29974 * sysdeps/i386/fpu/libm-test-ulps: Update.
29976 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29977 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29979 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29980 subnormal argument.
29981 * math/s_cexpf.c (__cexpf): Likewise.
29982 * math/s_csinf.c (__csinf): Likewise.
29983 * math/s_csinhf.c (__csinhf): Likewise.
29984 * math/s_ctanf.c (__ctanf): Likewise.
29985 * math/s_ctanhf.c (__ctanhf): Likewise.
29986 * math/s_ccosh.c (__ccoshf): Likewise.
29987 * math/s_cexp.c (__cexpl): Likewise.
29988 * math/s_csin.c (__csin): Likewise.
29989 * math/s_csinh.c (__csinh): Likewise.
29990 * math/s_ctan.c (__ctan): Likewise.
29991 * math/s_ctanh.c (ctanh): Likewise.
29992 * math/s_ccoshl.c (__ccoshl): Likewise.
29993 * math/s_cexpl.c (__cexpl): Likewise.
29994 * math/s_csinl.c (__csinl): Likewise.
29995 * math/s_csinhl.c (__csinhl): Likewise.
29996 * math/s_ctanl.c (__ctanl): Likewise.
29997 * math/s_ctanhl.c (__ctanhl): Likewise.
29999 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30001 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30002 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30003 (_IO_off_t): Define to __off_t, not _G_off_t.
30004 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30005 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30006 (_IO_wint_t): Define to wint_t, not _G_wint_t.
30007 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30008 type of __dummy and __dummy2 fields.
30009 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30010 (_G_ssize_t): Likewise.
30011 (_G_off_t): Likewise.
30012 (_G_pid_t): Likewise.
30013 (_G_uid_t): Likewise.
30014 (_G_wchar_t): Likewise.
30015 (_G_wint_t): Likewise.
30016 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30017 (_G_ssize_t): Likewise.
30018 (_G_off_t): Likewise.
30019 (_G_pid_t): Likewise.
30020 (_G_uid_t): Likewise.
30021 (_G_wchar_t): Likewise.
30022 (_G_wint_t): Likewise.
30023 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30024 (_G_ssize_t): Likewise.
30025 (_G_off_t): Likewise.
30026 (_G_pid_t): Likewise.
30027 (_G_uid_t): Likewise.
30028 (_G_wchar_t): Likewise.
30029 (_G_wint_t): Likewise.
30031 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30033 * malloc/arena.c: Include malloc-sysdep.h.
30034 (shrink_heap): Use check_may_shrink_heap to decide if madvise
30035 is sufficient to shrink the heap or an unmap is needed.
30036 * sysdeps/generic/malloc-sysdep.h: New file. Define
30037 new function check_may_shrink_heap.
30038 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
30039 new function check_may_shrink_heap.
30041 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30043 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30046 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
30048 * catgets/test-gencat.sh: Add "set -e".
30049 * elf/tst-pathopt.sh: Likewise.
30050 * grp/tst_fgetgrent.sh: Likewise.
30051 * iconvdata/run-iconv-test.sh: Likewise.
30052 * intl/tst-gettext.sh: Likewise.
30053 * intl/tst-gettext2.sh: Likewise.
30054 * intl/tst-gettext4.sh: Likewise.
30055 * intl/tst-gettext6.sh: Likewise.
30056 * intl/tst-translit.sh: Likewise.
30057 * io/ftwtest-sh: Likewise.
30058 * libio/test-freopen.sh: Likewise.
30059 * malloc/tst-mtrace.sh: Likewise.
30060 * posix/globtest.sh: Likewise.
30061 * posix/tst-getconf.sh: Likewise.
30062 * posix/wordexp-tst.sh: Likewise.
30063 * stdio-common/tst-printf.sh: Likewise.
30064 * stdio-common/tst-unbputc.sh: Likewise.
30065 * stdlib/tst-fmtmsg.sh: Likewise.
30066 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30067 * catgets/Makefile: Do not specify -e option when running
30068 testsuite shell scripts.
30069 * elf/Makefile: Likewise.
30070 * grp/Makefile: Likewise.
30071 * iconvdata/Makefile: Likewise.
30072 * intl/Makefile: Likewise.
30073 * io/Makefile: Likewise.
30074 * libio/Makefile: Likewise.
30075 * malloc/Makefile: Likewise.
30076 * posix/Makefile: Likewise.
30077 * stdio-common/Makefile: Likewise.
30078 * stdlib/Makefile: Likewise.
30079 * sysdeps/x86_64/Makefile: Likewise.
30081 * io/ftwtest-sh: Add copyright header.
30082 * posix/globtest.sh: Likewise.
30083 * posix/tst-getconf.sh: Likewise.
30084 * posix/wordexp-tst.sh: Likewise.
30085 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30087 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
30090 * Makeconfig (+link): Defined as $(+link-static) if
30091 $(build-shared) isn't yes.
30092 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30094 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30096 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30099 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30100 new chunk size with MALLOC_ALIGN_MASK.
30102 2012-09-24 Joseph Myers <joseph@codesourcery.com>
30105 * stdio-common/printf_fphex.c: Include <stdbool.h> and
30107 (__printf_fphex): Determine rounding using get_rounding_mode and
30109 * stdio-common/tst-printf-round.c (struct hex_test): New
30111 (hex_tests): New variable.
30112 (test_hex_in_one_mode): New function.
30113 (do_test): Also run tests for hex float output.
30115 2012-09-21 Joseph Myers <joseph@codesourcery.com>
30117 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30118 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30119 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30120 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30121 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30122 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30123 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30124 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30126 2012-09-20 Joseph Myers <joseph@codesourcery.com>
30128 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30129 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30130 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30131 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30133 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
30136 * elf/rtld.c (dl_main): Limit the check for self loading to normal
30138 * elf/tst-rtld-load-self.sh: New test.
30139 * elf/Makefile: Run it.
30141 2012-09-18 Joseph Myers <joseph@codesourcery.com>
30143 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30144 (tst-writev-ENV): Remove.
30145 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30147 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
30149 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30151 2012-09-17 Joseph Myers <joseph@codesourcery.com>
30153 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30155 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30157 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30158 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30159 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30162 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
30165 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30166 * config.make.in (have-cpp-asm-debuginfo): Removed.
30167 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30168 * configure: Regenerated.
30170 2012-09-14 Joseph Myers <joseph@codesourcery.com>
30173 * stdio-common/printf_fp.c: Include <stdbool.h> and
30175 (___printf_fp): Determine rounding using get_rounding_mode and
30177 * stdio-common/tst-printf-round.c: New file.
30178 * stdio-common/Makefile (tests): Add tst-printf-round.
30179 (link-libm): New variable.
30180 ($(objpfx)tst-printf-round): Depend in $(link-libm).
30182 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
30185 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30186 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30188 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30191 2012-09-13 Joseph Myers <joseph@codesourcery.com>
30193 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30194 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30195 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30196 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30198 2012-09-12 Joseph Myers <joseph@codesourcery.com>
30201 * include/rounding-mode.h: New file.
30202 * sysdeps/generic/get-rounding-mode.h: Likewise.
30203 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30204 * stdlib/strtod_l.c: Include <rounding-mode.h>.
30205 (MAX_VALUE): New macro.
30206 (MIN_VALUE): Likewise.
30207 (overflow_value): New function.
30208 (underflow_value): Likewise.
30209 (round_and_return): Use overflow_value and underflow_value to
30210 determine return values in overflow and underflow cases. Use
30211 round_away to determine rounding depending on rounding mode.
30212 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30213 determine return values in overflow and underflow cases.
30214 * stdlib/tst-strtod-round.c: Include <fenv.h>.
30215 (struct test_results): New structure.
30216 (struct test): Use struct test_results to store expected results
30217 for all rounding modes.
30218 (TEST): Include expected results for all rounding modes.
30219 (test_in_one_mode): New function.
30220 (do_test): Use test_in_one_mode to compute and check results.
30221 Check results for all rounding modes.
30222 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30225 2012-12-09 Allan McRae <allan@archlinux.org>
30227 * sysdeps/i386/fpu/libm-test-ulps: Update
30229 2012-09-11 Joseph Myers <joseph@codesourcery.com>
30231 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30232 (_G_int32_t): Likewise.
30233 (_G_uint16_t): Likewise.
30234 (_G_uint32_t): Likewise.
30235 (_G_HAVE_BOOL): Likewise.
30236 (_G_HAVE_ATEXIT): Likewise.
30237 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30238 (_G_HAVE_IO_FILE_OPEN): Likewise.
30239 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30240 (_G_int32_t): Likewise.
30241 (_G_uint16_t): Likewise.
30242 (_G_uint32_t): Likewise.
30243 (_G_HAVE_BOOL): Likewise.
30244 (_G_HAVE_ATEXIT): Likewise.
30245 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30246 (_G_HAVE_IO_FILE_OPEN): Likewise.
30247 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30248 (_G_int32_t): Likewise.
30249 (_G_uint16_t): Likewise.
30250 (_G_uint32_t): Likewise.
30251 (_G_HAVE_BOOL): Likewise.
30252 (_G_HAVE_ATEXIT): Likewise.
30253 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30254 (_G_HAVE_IO_FILE_OPEN): Likewise.
30256 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
30258 * csu/libc-tls.c: Update copyright years.
30260 2012-09-10 Joseph Myers <joseph@codesourcery.com>
30262 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30263 [!_G_USING_THUNKS]: Remove conditional code.
30264 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30265 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30267 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30268 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30269 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30270 (_G_VTABLE_LABEL_PREFIX): Likewise.
30271 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30272 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30273 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30274 (_G_VTABLE_LABEL_PREFIX): Likewise.
30275 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30276 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30277 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30278 (_G_VTABLE_LABEL_PREFIX): Likewise.
30279 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30281 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
30283 * libio/Makefile: Include ../Makeconfig before tests.
30284 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30285 only if $(build-shared) is yes.
30287 * iconv/gconv_db.c: Update copyright years.
30289 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30291 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30292 unwind info if defined PIC. Fix special cases description.
30293 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30295 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30297 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30299 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
30301 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30303 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30306 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30307 (LDLIBS-tst-chk4): This.
30308 (LDFLAGS-tst-chk5): Renamed to ...
30309 (LDLIBS-tst-chk5): This.
30310 (LDFLAGS-tst-chk6): Renamed to ...
30311 (LDLIBS-tst-chk6): This.
30312 (LDFLAGS-tst-lfschk4): Renamed to ...
30313 (LDLIBS-tst-lfschk4): This.
30314 (LDFLAGS-tst-lfschk5): Renamed to ...
30315 (LDLIBS-tst-lfschk5): This.
30316 (LDFLAGS-tst-lfschk6): Renamed to ...
30317 (LDLIBS-tst-lfschk6): This.
30319 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30320 on $(common-objpfx)soversions.mk.
30322 2012-09-07 Joseph Myers <joseph@codesourcery.com>
30325 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30328 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30330 * malloc/arena.c (arena_get_retry): New function that gets
30331 another arena for the caller to try its request on.
30332 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30333 current arena cannot fulfill the request.
30334 (__libc_memalign): Likewise.
30335 (__libc_memalign): Likewise.
30336 (__libc_pvalloc): Likewise.
30337 (__libc_calloc): Likewise.
30339 2012-09-05 John Tobey <john.tobey@gmail.com>
30342 * manual/arith.texi (Operations on Complex): Fix description
30343 of carg branch cut.
30345 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30348 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30352 * manual/memory.texi (Memory): Make order of menu items match
30355 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30357 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30358 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
30359 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30361 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30363 * csu/libc-tls.c (static_dtv): Renamed to ...
30364 (_dl_static_dtv): This. Make it global.
30365 (_dl_initial_dtv): Removed.
30366 (__libc_setup_tls): Updated.
30367 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30368 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30371 2012-09-06 Petr Machata <pmachata@redhat.com>
30373 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30374 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30375 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30376 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30378 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30381 * csu/libc-tls.c (_dl_initial_dtv): New variable.
30382 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30385 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30388 * Makeconfig (link-static-before-libc): Replace $(+prector)
30390 (link-static-after-libc): Replace $(+postctor) with
30392 (link-bounded): Replace $(+prector)/$(+postctor) with
30393 $(+prectorT)/$(+postctorT).
30394 (+prectorT): New macro.
30395 (+postctorT): Likewise.
30397 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30399 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30400 (round_str): Handle values above the maximum for IBM long double
30402 * stdlib/tst-strtod-round.c (tests): Regenerated.
30404 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30406 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30408 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30409 zarch_nohighgprs around the zarch optimized routines.
30410 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30411 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30412 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30415 2012-09-05 David S. Miller <davem@davemloft.net>
30417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30419 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30420 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30421 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30422 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30425 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30427 * malloc/arena.c: Fold copyright years.
30428 * malloc/mcheck.c, malloc/memusage.c: Likewise.
30430 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30432 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30434 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30436 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
30438 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30440 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30441 change internal state upon failure.
30443 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30445 * malloc/mcheck.c (mcheck_check_all): Fix typo.
30446 * malloc/memusage.c (mmap): Likewise.
30447 (mmap64, mremap): Likewise. Adjust name in comment.
30449 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30451 * libio/fileops.c: Fix typos in comments.
30452 * libio/oldfileops.c: Likewise.
30453 * libio/wfileops.c: Likewise.
30455 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30458 * malloc/Makefile (tests): Add tst-malloc-usable test case.
30459 (tst-malloc-usable-ENV): Set environment for test case.
30460 * malloc/hooks.c (malloc_check_get_size): New function to get
30462 * malloc/malloc.c (musable): Use malloc_check_get_size.
30463 * malloc/tst-malloc-usable.c: New test case.
30465 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30467 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30469 2012-09-05 Allan McRae <allan@archlinux.org>
30472 * configure.in (CXX_SYSINCLUDES): Use compiler output to
30473 determine header location.
30474 * configure: Regenerated.
30476 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30478 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30480 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30481 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30483 (test): Regenerate.
30485 2012-09-04 David S. Miller <davem@davemloft.net>
30487 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30488 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30489 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30491 2012-09-04 Florian Weimer <fweimer@redhat.com>
30493 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30496 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30498 2012-09-04 Joseph Myers <joseph@codesourcery.com>
30501 * libio/iogetdelim.c: Include <limits.h>.
30502 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30503 + len + 1 would overflow.
30505 2012-09-03 Andreas Jaeger <aj@suse.de>
30507 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30508 * sysdeps/i386/fpu/libm-test-ulps: Update.
30510 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30512 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30513 Add s_sinf-sse2, s_conf-sse2.
30515 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30516 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30517 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30518 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30520 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30521 for using routine as __sinf_ia32.
30522 Use macro for function declaration and weak_alias.
30523 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30524 for using routine as __cosf_ia32.
30525 Use macro for function declaration and weak_alias.
30527 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30528 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30530 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30531 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30532 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30534 * math/libm-test.inc (cos_test): Add more test cases.
30535 (sin_test): Likewise.
30536 (sincos_test): Likewise.
30538 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30540 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30541 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30543 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30545 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30548 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30549 first element of the GOT.
30550 (elf_machine_load_address): Return the difference between
30551 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30553 2012-09-01 Allan McRae <allan@archlinux.org>
30556 * configure.in (AWK): Require gawk version 3.0 or later.
30557 * configure: Regenerated.
30559 2012-09-01 Joseph Myers <joseph@codesourcery.com>
30561 * sysdeps/unix/sysv/linux/kernel-features.h
30562 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30563 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30564 [__NR_clock_getres]: Make code unconditional.
30565 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30566 (clock_getcpuclockid): Remove code left unreachable by removal of
30568 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30569 code unconditional.
30570 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30571 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30572 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30573 Make code unconditional.
30574 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30575 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30576 * sysdeps/unix/sysv/linux/clock_settime.c
30577 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30579 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30580 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30582 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30585 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30586 scripts/test-installation.pl.
30588 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30589 and $ld_so_version if it is set.
30591 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30594 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30595 failure if reading from procfs failed.
30596 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30598 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30600 * sysdeps/unix/sysv/linux/kernel-features.h
30601 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30602 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30603 Remove conditional code.
30604 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30605 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30606 Remove conditional code.
30607 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30608 * sysdeps/unix/sysv/linux/i386/fxstat.c
30609 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30610 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30611 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30612 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30613 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30614 * sysdeps/unix/sysv/linux/i386/lxstat.c
30615 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30616 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30617 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30618 Remove conditional code.
30619 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30620 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30621 Remove conditional code.
30622 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30623 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30624 <kernel-features.h>.
30625 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30627 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30628 Remove conditional code.
30629 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30630 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30631 Remove conditional.
30633 2012-08-27 Mike Frysinger <vapier@gentoo.org>
30636 * NEWS: Add fixed bug number.
30638 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30641 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30642 underflowing exponent in case of negative sign.
30643 * stdlib/tst-strtod-round-data: Add more tests.
30644 * stdlib/tst-strtod-round.c (tests): Regenerated.
30647 * stdlib/strtod_l.c (NDIG): Remove.
30648 (HEXNDIG): Likewise.
30649 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30650 smallest representable value.
30651 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30652 lie within an exact representation of 1/2 ulp of the result.
30653 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30655 (TENS_P9_IDX): Define unconditionally.
30656 (TENS_P9_SIZE): Likewise.
30657 (TENS_P10_IDX): Likewise.
30658 (TENS_P10_SIZE): Likewise.
30659 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30660 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30661 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30662 entries for 10^2^13 and 10^2^14.
30663 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30664 (TENS_P13_IDX): Define.
30665 (TENS_P13_SIZE): Likewise.
30666 (TENS_P14_IDX): Likewise.
30667 (TENS_P14_SIZE): Likewise.
30668 (_fpioconst_pow10): Change array size to
30669 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30671 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30672 1024]: Add entries for 10^2^13 and 10^2^14.
30673 [LAST_POW10 > _LAST_POW10]: Remove #error.
30674 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30675 (_fpioconst_pow10): Change array size to
30676 FPIOCONST_POW10_ARRAY_SIZE.
30677 * stdlib/gen-fpioconst.c: New file.
30678 * stdlib/gen-tst-strtod-round.c: Likewise.
30679 * stdlib/tst-strtod-round-data: Likewise.
30680 * stdlib/tst-strtod-round.c: Likewise.
30681 * stdlib/Makefile (tests): Add tst-strtod-round.
30684 * stdlib/strtod_l.c: Include <stdint.h>.
30685 (NDEBUG): Do not define.
30686 (round_and_return): Change EXPONENT parameter to type intmax_t.
30687 Rearrange calculations to avoid internal overflow possibilities.
30688 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30689 Rearrange calculations to avoid internal overflow possibilities.
30690 Assert that number fits inside MPNSIZE limbs.
30691 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30692 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30693 calculations and add assertions to avoid internal overflow
30694 possibilities. Add casts to avoid signed/unsigned operations.
30695 * stdlib/tst-strtod-overflow.c: New file.
30696 * stdlib/Makefile (tests): Add tst-strtod-overflow.
30698 2012-08-25 Marek Polacek <polacek@redhat.com>
30700 * time/time.h: Fix some typos in comments.
30702 2012-08-23 Roland McGrath <roland@hack.frob.com>
30704 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30705 * posix/tst-rfc3484-2.c: Likewise.
30706 * posix/tst-rfc3484-3.c: Likewise.
30708 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
30710 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30711 (EF_ARM_ABI_FLOAT_HARD): Likewise.
30713 2012-08-23 Joseph Myers <joseph@codesourcery.com>
30715 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30716 #include of fxstatat64.c.
30718 2012-08-22 Roland McGrath <roland@hack.frob.com>
30720 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30721 * shadow/getspent_r.c: Likewise.
30722 * shadow/getspnam.c: Likewise.
30723 * shadow/getspnam_r.c: Likewise.
30724 * gshadow/getsgent.c: Likewise.
30725 * gshadow/getsgent_r.c: Likewise.
30726 * gshadow/getsgnam.c: Likewise.
30727 * gshadow/getsgnam_r.c: Likewise.
30728 * inet/getnetbyad.c: Likewise.
30729 * inet/getnetbyad_r.c: Likewise.
30730 * inet/getnetbynm.c: Likewise.
30731 * inet/getnetbynm_r.c: Likewise.
30732 * inet/getnetent.c: Likewise.
30733 * inet/getnetent_r.c: Likewise.
30734 * inet/getproto.c: Likewise.
30735 * inet/getproto_r.c: Likewise.
30736 * inet/getprtent.c: Likewise.
30737 * inet/getprtent_r.c: Likewise.
30738 * inet/getprtname.c: Likewise.
30739 * inet/getprtname_r.c: Likewise.
30740 * inet/getrpcbyname.c: Likewise.
30741 * inet/getrpcbyname_r.c: Likewise.
30742 * inet/getrpcbynumber.c: Likewise.
30743 * inet/getrpcbynumber_r.c: Likewise.
30744 * inet/getrpcent.c: Likewise.
30745 * inet/getrpcent_r.c: Likewise.
30746 * inet/getaliasent.c: Likewise.
30747 * inet/getaliasent_r.c: Likewise.
30748 * inet/getaliasname.c: Likewise.
30749 * inet/getaliasname_r.c: Likewise.
30750 * nscd/getgrgid_r.c: Likewise.
30751 * nscd/getgrnam_r.c: Likewise.
30752 * nscd/gethstbyad_r.c: Likewise.
30753 * nscd/gethstbynm3_r.c: Likewise.
30754 * nscd/getpwnam_r.c: Likewise.
30755 * nscd/getpwuid_r.c: Likewise.
30756 * nscd/getsrvbynm_r.c: Likewise.
30757 * nscd/getsrvbypt_r.c: Likewise.
30758 * nscd/gai.c: Likewise.
30760 * configure.in (build_nscd): New substituted variable, set
30761 by --disable-build-nscd and defaults to $use_nscd.
30762 * configure: Regenerated.
30763 * config.make.in (build-nscd): New substituted variable.
30764 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30765 Change conditional to require [$(build-nscd) = yes] as well.
30766 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30769 * configure.in (use_nscd): New substituted variable, set by
30770 --disable-nscd. If enabled, define USE_NSCD.
30771 * configure: Regenerated.
30772 * config.h.in: Add USE_NSCD.
30773 * config.make.in (use-nscd): New substituted variable.
30774 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30775 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30776 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30777 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30778 (CFLAGS-getgrnam_r.c): Likewise.
30779 (CFLAGS-initgroups.c): Likewise.
30780 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30781 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30783 * inet/getnetgrent_r.c
30784 (nscd_setnetgrent): New function, broken out of ...
30785 (setnetgrent): ... here. Call it.
30786 (innetgr): Conditionalize nscd bits on [USE_NSCD].
30787 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30788 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30789 * nscd/Makefile (routines, aux): Move definitions after include of
30790 Makeconfig. Conditionalize on [$(use-nscd) != no].
30791 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30792 Conditionalize on [USE_NSCD].
30793 (is_nscd, nscd_init_cb): Likewise.
30794 (nss_load_library): Conditionalize init callback on [USE_NSCD].
30795 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30796 * nss/nss_db/db-init.c: Likewise.
30797 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30799 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30800 (make_request): Use it.
30801 (cache_valid_p): New function.
30802 (__check_pf): Use it.
30803 * NEWS: Add item for --disable-nscd.
30805 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
30807 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30808 to support sed >= 4.2.1-20-ga9bf076.
30809 * configure: Regenerated.
30811 2012-08-22 Roland McGrath <roland@hack.frob.com>
30813 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30814 Conditionalize whole body on [IREL].
30816 2012-08-22 Jeff Law <law@redhat.com>
30819 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30820 if the family is PF_UNSPEC.
30822 2012-08-22 Mike Frysinger <vapier@gentoo.org>
30824 * Makerules (lib-version): Rename from V.
30825 (install-lib-nosubdir): Change V to lib-version.
30827 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
30830 * powerpc32/power6/wcschr.c: New file.
30831 * powerpc32/power6/wcscpy.c: New file.
30832 * powerpc32/power6/wcsrchr.c: New file.
30833 * powerpc64/power6/wcschr.c: New file.
30834 * powerpc64/power6/wcscpy.c: New file.
30835 * powerpc64/power6/wcsrchr.c: New file.
30837 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30839 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30840 (two_way_short_needle): Use it.
30841 * string/strstr.c (AVAILABLE1_USES_J): Define.
30842 * string/strcasestr.c: Likewise.
30844 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30846 * string/strcasestr.c (TOLOWER): Make side-effect safe.
30849 * NEWS: Add an entry.
30850 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30851 define their defaults.
30852 (two_way_short_needle): Detect end-of-string on-the-fly.
30853 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30854 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30855 * string/bug-strcasestr1.c: New test.
30856 * string/Makefile: Run it.
30858 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30861 * string/str-two-way.h (two_way_short_needle): Optimize matching of
30862 the first character.
30864 2012-08-21 Roland McGrath <roland@hack.frob.com>
30866 * csu/elf-init.c (__libc_csu_irel): Function removed.
30867 * csu/libc-start.c (apply_irel): New function.
30868 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30870 2012-08-21 Joseph Myers <joseph@codesourcery.com>
30872 * sysdeps/unix/sysv/linux/kernel-features.h
30873 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30874 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30875 <kernel-features.h>.
30876 [__NR_fadvise64_64]: Make code unconditional.
30877 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30878 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30879 !__NR_fadvise64_64)]: Likewise.
30880 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30881 !__NR_fadvise64_64))]: Likewise.
30882 [__NR_fadvise64]: Make code unconditional.
30883 [!__NR_fadvise64]: Remove conditional code.
30884 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30885 <kernel-features.h>.
30886 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30888 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30891 not include <kernel-features.h>.
30892 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30894 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30896 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30897 include <kernel-features.h>.
30898 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30900 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30903 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30905 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30906 slight instruction rearrangements per scrollpipe analysis.
30907 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30909 2012-08-20 Roland McGrath <roland@hack.frob.com>
30911 * manual/syslog.texi (syslog; vsyslog, closelog):
30912 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30913 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30915 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30916 DSOCAPS to match condition on defining it.
30918 2012-08-20 Joseph Myers <joseph@codesourcery.com>
30920 * sysdeps/unix/sysv/linux/kernel-features.h
30921 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30923 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30924 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30926 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30927 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30929 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30930 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30932 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30933 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30935 * sysdeps/unix/sysv/linux/kernel-features.h
30936 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30937 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30939 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30940 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30941 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30942 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30943 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30944 Make code unconditional.
30945 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30946 (__mmap64) [!__NR_mmap2]: Likewise.
30947 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30948 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30949 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30950 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30951 [__NR_mmap2]: Make code unconditional.
30952 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30953 (__mmap64) [!__NR_mmap2]: Likewise.
30955 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30957 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30959 2012-08-18 Andreas Jaeger <aj@suse.de>
30961 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30963 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30965 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30966 * include/unistd.h (__have_sock_cloexec): Likewise.
30967 (__have_pipe2): Likewise.
30968 (__have_dup3): Likewise.
30970 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30973 * include/unistd.h (__have_pipe2): Change define into an extern int.
30974 (__have_dup3): Likewise.
30975 * socket/have_sock_cloexec.c: Include fcntl.h.
30976 (__have_pipe2): New variable.
30977 (__have_dup3): Likewise.
30979 2012-08-17 Mike Frysinger <vapier@gentoo.org>
30981 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30983 2012-08-17 Marek Polacek <polacek@redhat.com>
30985 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30986 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30988 2012-08-17 Roland McGrath <roland@hack.frob.com>
30990 * configure.in: Add AC_SUBST for sysheaders.
30991 * configure: Regenerated.
30992 * config.make.in (sysheaders): New substituted variable.
30994 * sysdeps/unix/mkfifo.c: Moved ...
30995 * sysdeps/posix/mkfifo.c: ... here.
30996 * sysdeps/unix/mkfifoat.c: Moved ...
30997 * sysdeps/posix/mkfifoat.c: ... here.
30999 * sysdeps/unix/utime.c: Moved ...
31000 * sysdeps/posix/utime.c: ... here.
31002 * sysdeps/unix/time.c: Moved ...
31003 * sysdeps/posix/time.c: ... here.
31004 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31005 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31007 * sysdeps/unix/nice.c: Moved ...
31008 * sysdeps/posix/nice.c: ... here.
31010 * sysdeps/unix/alarm.c: Moved ...
31011 * sysdeps/posix/alarm.c: ... here.
31013 * intl/Makefile ($(codeset_mo)): Depend on the input file.
31015 2012-08-17 Jeff Law <law@redhat.com>
31017 * intl/Makefile (codeset_mo): New variable.
31018 ($(codeset_mo)): New target.
31019 (tst-codeset.out): Depend on that. Remove explicit rule.
31020 (tst-gettext3.out, tst-gettext5.out): Likewise.
31021 (LOCPATH-ENV, tst-codeset-ENV): New variables.
31022 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31023 * intl/tst-codeset.sh: Remove.
31024 * intl/tst-gettext3.sh: Likewise.
31025 * intl/tst-gettext5.sh: Likewise.
31027 2012-08-17 Roland McGrath <roland@hack.frob.com>
31029 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
31030 * sysdeps/unix/syscalls.list: ... here.
31032 * sysdeps/posix/getaddrinfo.c
31033 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31034 (gaiconf_init, gaiconf_reload): Use them.
31035 [!_STATBUF_ST_NSEC]
31036 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31037 Define using time_t rather than struct timespec.
31039 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31040 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31042 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31044 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31045 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31048 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31049 __libc_cleanup_push argument.
31051 * bits/param.h: New file.
31052 * misc/sys/param.h: New file.
31053 * include/sys/param.h: New file.
31054 * misc/Makefile (headers): Add bits/param.h.
31055 * sysdeps/generic/sys/param.h: File removed.
31056 * sysdeps/unix/sysv/linux/bits/param.h: New file.
31057 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31058 * sysdeps/mach/hurd/bits/param.h: New file.
31059 * sysdeps/mach/hurd/sys/param.h: File removed.
31061 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31064 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31066 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31067 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31070 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31071 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31072 rather than -D_IO_MTSAFE_IO conditionally.
31073 * stdio-common/Makefile (CPPFLAGS): Likewise.
31074 * wcsmbs/Makefile (CPPFLAGS): Likewise.
31075 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31076 Use $(libio-mtsafe).
31077 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31078 of -D_IO_MTSAFE_IO.
31079 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31080 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31081 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31082 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31083 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31084 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31085 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31086 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31087 (CFLAGS-fread_u_chk.c): Likewise.
31088 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31089 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31090 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31091 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31092 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31093 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31094 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31095 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31096 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31098 * libio/Makefile: Test [$(libc-reentrant) = yes]
31099 instead of [$(filter %REENTRANT, $(defines)) nonempty].
31102 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31103 * sysdeps/pthread/configure: File removed.
31104 * sysdeps/pthread/Makeconfig: New file.
31105 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31106 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31108 2012-08-16 Gary Benson <gbenson@redhat.com>
31110 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31111 unmapping the first object in a namespace.
31113 2012-08-16 Roland McGrath <roland@hack.frob.com>
31115 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31116 (__internal_setnetgrent): ... this. Add internal_function to
31117 definition. Add libc_hidden_def.
31118 (setnetgrent): Update caller.
31119 (internal_endnetgrent): Renamed to ...
31120 (__internal_endnetgrent): ... this. Add internal_function to
31121 definition. Add libc_hidden_def.
31122 (endnetgrent): Update caller.
31123 (internal_getnetgrent_r): Renamed to ...
31124 (__internal_getnetgrent_r): ... this. Add internal_function to
31125 definition. Add libc_hidden_def.
31126 (__getnetgrent_r): Update caller.
31127 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
31129 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31131 * stdlib/longlong.h: Update from GCC.
31133 2012-08-16 Roland McGrath <roland@hack.frob.com>
31135 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31136 on _QL, which is set by umul_ppmm but never used.
31137 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31138 variables, which are set by GMP macros but never used.
31139 * stdio-common/_itowa.c (_itowa): Likewise.
31140 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31141 * stdlib/mod_1.c (mpn_mod_1): Likewise.
31143 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
31145 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31146 struct La_sh_regs is not constant.
31147 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31148 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31149 and struct La_sparc64_regs are not constant.
31151 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31153 * sysdeps/unix/sysv/linux/kernel-features.h
31154 (__ASSUME_POSIX_TIMERS): Remove.
31155 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31156 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31157 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31158 Make code unconditional.
31159 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31160 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31161 Make code unconditional.
31162 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31163 * sysdeps/unix/sysv/linux/clock_nanosleep.c
31164 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31165 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31166 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31167 Make code unconditional.
31168 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31169 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31170 (__libc_missing_posix_timers): Remove.
31172 2012-08-15 Roland McGrath <roland@hack.frob.com>
31174 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31175 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31177 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31179 * elf/dl-sym.c: Include <stdlib.h>.
31181 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31182 constants, which avoids warnings in 32-bit builds.
31184 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31185 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31187 * misc/lseek.c: File moved to ...
31188 * io/lseek.c: ... here.
31190 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31192 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31193 shifting LEN more than 31 bits at once.
31195 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31198 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31199 segmentation fault for a case of two empty input strings.
31200 * string/test-strncasecmp.c (check1): Renamed to...
31201 (bz12205): ...this.
31202 (bz14195): Add new testcase for two empty input strings and N > 0.
31203 (test_main): Call new testcase, adapt for renamed function.
31205 2012-08-15 Andreas Jaeger <aj@suse.de>
31208 * crypt/md5test2.c: New test, based on test supplied by Serge
31209 Belyshev <belyshev@depni.sinp.msu.ru>.
31210 * crypt/Makefile (xtests): Add md5test-giant..
31211 * crypt/Makefile ($(objpfx)md5test-giant): Add.
31213 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
31216 * crypt/md5.c (md5_process_block): Don't assume the buffer
31217 length is less than 2**32.
31218 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31219 length is less than 2**64.
31221 2012-08-15 Roland McGrath <roland@hack.frob.com>
31223 * string/str-two-way.h: Include <sys/param.h>.
31224 (MAX): Macro removed.
31226 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31227 Move #define and #undef of memmove to just before and after
31228 including <string.h>.
31230 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31231 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31232 and after including <string.h>. Move declarations of
31233 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31234 to before #include "string/memmove.c".
31236 * include/dirent.h: Declare __getdirentries.
31238 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31239 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31241 2012-08-14 Mike Frysinger <vapier@gentoo.org>
31243 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31244 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31245 * sysdeps/i386/configure: Regenerated.
31246 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31247 STABS_CURRENT_FILE, and STABS_FUN.
31248 (END): Remove call to STABS_FUN_END.
31249 (STABS_CURRENT_FILE1): Delete.
31250 (STABS_CURRENT_FILE): Likewise.
31251 (STABS_FUN): Likewise.
31252 (STABS_FUN_END): Likewise.
31253 (STABS_FUN2): Likewise.
31254 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31255 * sysdeps/x86_64/configure: Regenerated.
31257 2012-08-14 Roland McGrath <roland@hack.frob.com>
31259 * elf/dl-open.c: Include <atomic.h>.
31260 * elf/dl-lookup.c: Likewise.
31262 2012-08-14 Joseph Myers <joseph@codesourcery.com>
31264 * sysdeps/unix/sysv/linux/kernel-features.h
31265 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31266 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31268 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31270 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31271 condition on __ASSUME_CLONE_THREAD_FLAGS.
31273 2012-08-14 Andreas Jaeger <aj@suse.de>
31275 * sysdeps/i386/fpu/libm-test-ulps: Update.
31277 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
31279 * include/atomic.h (atomic_exchange_and_add): Split into ...
31280 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31283 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
31285 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31287 2012-08-13 Jeff Law <law@redhat.com>
31289 * manual/stdio.texi (snprintf): Clarify handling of the trailing
31290 null byte in the output string.
31292 2012-08-10 Joseph Myers <joseph@codesourcery.com>
31294 * sysdeps/unix/sysv/linux/kernel-features.h
31295 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31296 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31297 (__ASSUME_ARG_MAX_STACK_BASED): Define.
31298 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31299 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31300 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
31301 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31303 2012-08-09 Jeff Law <law@redhat.com>
31306 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31307 When avoid_arena is set, don't retry in the that arena. Pick the
31308 next one, whatever it might be.
31309 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31310 (arena_lock): Pass in new parameter to arena_get2.
31311 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31313 (__libc_malloc): Unify retrying after main arena failure with
31314 __libc_memalign version.
31315 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31317 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
31320 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31321 to __redirect_strstr.
31322 (__strstr_sse42): Use typeof __redirect_strstr.
31323 (__strstr_ia32): Likewise.
31324 (__libc_strstr): New prototype.
31325 (strstr): Renamed to ...
31326 (__libc_strstr): This.
31327 (strstr): New strong alias of __libc_strstr.
31328 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31329 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31332 (__libc_time): New prototype.
31333 (time_ifunc): Replace time with __libc_time.
31334 (time): New strong alias and hidden definition of __libc_time.
31335 (__GI_time): Remove strong alias.
31336 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31337 Include <stddef.h>.
31338 (memmove): Redefined to __redirect_memmove.
31339 (__memmove_sse2): Use typeof __redirect_memmove.
31340 (__memmove_ssse3): Likewise.
31341 (__memmove_ssse3_back): Likewise.
31342 (__libc_memmove): New prototype.
31343 (memmove): Renamed to ...
31344 (__libc_memmove): This.
31345 (memmove): New strong alias of __libc_memmove.
31347 2012-08-08 Mark Salter <msalter@redhat.com>
31350 (R_MN10300_TLS_GD): Define.
31351 (R_MN10300_TLS_LD): Likewise.
31352 (R_MN10300_TLS_LDO): Likewise.
31353 (R_MN10300_TLS_GOTIE): Likewise.
31354 (R_MN10300_TLS_IE): Likewise.
31355 (R_MN10300_TLS_LE): Likewise.
31356 (R_MN10300_TLS_DTPMOD): Likewise.
31357 (R_MN10300_TLS_DTPOFF): Likewise.
31358 (R_MN10300_TLS_TPOFF): Likewise.
31359 (R_MN10300_SYM_DIFF): Likewise.
31360 (R_MN10300_ALIGN): Likewise.
31361 (R_MN10300_NUM): Update.
31363 2012-08-08 Joseph Myers <joseph@codesourcery.com>
31365 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31368 2012-08-08 Roland McGrath <roland@hack.frob.com>
31370 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31372 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31373 sysdeps/unix -> sysdeps/posix move.
31374 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31376 2012-08-07 Allan McRae <allan@archlinux.org>
31379 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31380 (SUNOS_CPP): Likewise.
31381 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31383 (open_input): Call CPP using execvp.
31385 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31387 * sysdeps/unix/sysv/linux/kernel-features.h
31388 (__ASSUME_PROT_GROWSUPDOWN): Remove.
31389 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31390 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31391 (__ASSUME_WAITID_SYSCALL): Likewise.
31392 * sysdeps/unix/sysv/linux/dl-execstack.c
31393 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31394 code unconditional.
31395 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31397 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31398 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31399 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31401 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31403 [__ASSUME_WAITID_SYSCALL]: Likewise.
31404 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31406 2012-08-07 Roland McGrath <roland@hack.frob.com>
31408 * sysdeps/unix/closedir.c: Renamed to ...
31409 * sysdeps/posix/closedir.c: ... here.
31410 * sysdeps/unix/dirfd.c: Renamed to ...
31411 * sysdeps/posix/dirfd.c: ... here.
31412 * sysdeps/unix/dirstream.h: Renamed to ...
31413 * sysdeps/posix/dirstream.h: ... here.
31414 * sysdeps/unix/fdopendir.c: Renamed to ...
31415 * sysdeps/posix/fdopendir.c: ... here.
31416 * sysdeps/unix/opendir.c: Renamed to ...
31417 * sysdeps/posix/opendir.c: ... here.
31418 * sysdeps/unix/readdir.c: Renamed to ...
31419 * sysdeps/posix/readdir.c: ... here.
31420 * sysdeps/unix/readdir_r.c: Renamed to ...
31421 * sysdeps/posix/readdir_r.c: ... here.
31422 * sysdeps/unix/rewinddir.c: Renamed to ...
31423 * sysdeps/posix/rewinddir.c: ... here.
31424 * sysdeps/unix/seekdir.c: Renamed to ...
31425 * sysdeps/posix/seekdir.c: ... here.
31426 * sysdeps/unix/telldir.c: Renamed to ...
31427 * sysdeps/posix/telldir.c: ... here.
31428 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31429 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31430 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31431 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31433 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31434 * bits/fcntl.h: ... here.
31436 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31438 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31439 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31440 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31441 (struct flock): Move l_start, l_len to the beginning.
31442 Use __pid_t for l_pid.
31443 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31444 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31445 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31446 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31447 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31448 [__USE_LARGEFILE64] (struct flock64): New type.
31449 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31451 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31452 * bits/dirent.h: ... here.
31454 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31455 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31457 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31459 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31460 Change from 2.6.0 to 2.6.16.
31461 * sysdeps/unix/sysv/linux/configure: Regenerated.
31462 * sysdeps/unix/sysv/linux/kernel-features.h
31463 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31464 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31466 (__ASSUME_UTIMES): Likewise.
31467 (__ASSUME_CLONE_STOPPED): Remove.
31468 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31469 architectures, not kernel version.
31470 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31471 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31472 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31473 (__ASSUME_WAITID_SYSCALL): Likewise.
31474 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31475 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31476 * README: State 2.6.16 as minimum Linux kernel version. Do not
31477 refer to older versions.
31479 2012-08-06 Roland McGrath <roland@hack.frob.com>
31481 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31482 Define alphasort64 as an alias.
31483 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31484 Define versionsort64 as an alias.
31485 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31486 Define scandir64 as an alias.
31487 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31488 Define scandirat64 as an alias.
31489 * dirent/alphasort64.c (alphasort64):
31490 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31491 * dirent/versionsort64.c: Likewise.
31492 * dirent/scandir64.c: Likewise.
31493 * dirent/scandirat64.c: Likewise.
31494 * sysdeps/wordsize-64/alphasort.c: File removed.
31495 * sysdeps/wordsize-64/alphasort64.c: File removed.
31496 * sysdeps/wordsize-64/scandir.c: File removed.
31497 * sysdeps/wordsize-64/scandir64.c: File removed.
31498 * sysdeps/wordsize-64/scandirat.c: File removed.
31499 * sysdeps/wordsize-64/scandirat64.c: File removed.
31500 * sysdeps/wordsize-64/versionsort.c: File removed.
31501 * sysdeps/wordsize-64/versionsort64.c: File removed.
31502 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31503 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31504 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31505 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31506 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31507 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31508 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31509 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31511 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31512 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31513 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31514 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31515 [defined __arch64__ || defined __sparcv9]
31516 (__INO_T_MATCHES_INO64_T): New macro.
31517 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31518 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31519 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31520 * sysdeps/unix/sysv/linux/bits/dirent.h
31521 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31522 (_DIRENT_MATCHES_DIRENT64): New macro.
31524 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31525 Define lockf64 as an alias.
31526 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31527 Define fseeko64 as an alias.
31528 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31529 Define ftello64 as an alias.
31530 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31531 Define _IO_fgetpos64 and fgetpos64 as aliases.
31532 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31533 Define _IO_fsetpos64 and fsetpos64 as aliases.
31534 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31535 Conditionalize body on this.
31536 * libio/fseeko64.c: Likewise.
31537 * libio/ftello64.c: Likewise.
31538 * libio/iofgetpos64.c: Likewise.
31539 * libio/iofsetpos64.c: Likewise.
31540 * sysdeps/wordsize-64/lockf.c: File removed.
31541 * sysdeps/wordsize-64/lockf64.c: File removed.
31542 * sysdeps/wordsize-64/fseeko.c: File removed.
31543 * sysdeps/wordsize-64/fseeko64.c: File removed.
31544 * sysdeps/wordsize-64/ftello.c: File removed.
31545 * sysdeps/wordsize-64/ftello64.c: File removed.
31546 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31547 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31548 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31549 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31550 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31551 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31552 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31553 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31554 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31555 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31556 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31557 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31558 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31559 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31561 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31562 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31563 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31564 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31565 [defined __arch64__ || defined __sparcv9]
31566 (__OFF_T_MATCHES_OFF64_T): New macro.
31567 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31568 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31569 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31570 (__OFF_T_MATCHES_OFF64_T): New macro.
31572 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31574 * stdlib/secure-getenv.c (__secure_getenv): Replace
31575 GLIBC_2_16 with GLIBC_2_17.
31577 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31579 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31580 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31582 2012-08-03 David S. Miller <davem@davemloft.net>
31584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31586 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31588 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31590 (__ASSUME_CORRECT_SI_PID): Likewise.
31591 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31592 (__ASSUME_TMPFS_NAME): Likewise.
31593 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31594 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31595 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31596 (HAVE_AUX_SECURE): Make definition unconditional.
31597 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31598 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31600 2012-08-03 Roland McGrath <roland@hack.frob.com>
31602 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31603 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31604 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31605 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31606 __eloop_threshold instead of SYMLOOP_MAX.
31608 * sysdeps/generic/eloop-threshold.h: New file.
31609 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31611 * elf/chroot_canon.c (chroot_canon): Likewise.
31613 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31616 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31617 Change to 2.6.0 everywhere.
31618 * sysdeps/unix/sysv/linux/configure: Regenerated.
31619 * sysdeps/unix/sysv/linux/kernel-features.h
31620 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31621 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31623 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31624 (__ASSUME_FUTEX_REQUEUE): Remove.
31625 (__ASSUME_STATFS64): Define unconditionally.
31626 (__ASSUME_AT_SECURE): Likewise.
31627 (__ASSUME_CORRECT_SI_PID): Likewise.
31628 (__ASSUME_TGKILL): Define without depending on kernel version for
31630 (__ASSUME_UTIMES): Likewise.
31631 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31633 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31634 (__ASSUME_TMPFS_NAME): Likewise.
31635 * README: Update reference to Linux kernel versions.
31637 2012-08-02 Marek Polacek <polacek@redhat.com>
31640 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31641 libc_cv_asm_type_prefix with %.
31642 * configure: Regenerated.
31643 * include/libc-symbols.h: Remove comment about
31644 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31645 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31646 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31647 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31648 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31649 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31650 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31651 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31652 * elf/tst-unique2mod1.c: Likewise.
31653 * elf/tst-unique1mod2.c: Likewise.
31654 * elf/tst-unique1mod1.c: Likewise.
31655 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31656 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31657 Replace ASM_TYPE_DIRECTIVE with .type.
31658 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31659 * sysdeps/i386/sysdep.h: Likewise.
31660 * sysdeps/x86_64/sysdep.h: Likewise.
31661 * sysdeps/sh/sysdep.h: Likewise.
31662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31663 Do not define ASM_TYPE_DIRECTIVE.
31664 * sysdeps/powerpc/sysdep.h: Likewise.
31665 * sysdeps/powerpc/powerpc32/sysdep.h:
31666 Replace ASM_TYPE_DIRECTIVE with .type.
31667 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31668 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31669 * sysdeps/i386/fpu/e_powf.S: Likewise.
31670 * sysdeps/i386/fpu/e_expl.S: Likewise.
31671 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31672 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31673 * sysdeps/i386/fpu/e_pow.S: Likewise.
31674 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31675 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31676 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31677 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31678 * sysdeps/i386/fpu/e_log2.S: Likewise.
31679 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31680 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31681 * sysdeps/i386/fpu/e_powl.S: Likewise.
31682 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31683 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31684 * sysdeps/i386/fpu/e_logl.S: Likewise.
31685 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31686 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31687 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31688 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31689 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31690 * sysdeps/i386/fpu/e_log.S: Likewise.
31691 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31692 * sysdeps/i386/fpu/e_logf.S: Likewise.
31693 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31694 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31695 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31696 * sysdeps/i386/fpu/e_log10.S: Likewise.
31697 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31698 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31699 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31700 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31701 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31702 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31703 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31704 * sysdeps/i386/i686/strtok.S: Likewise.
31705 * sysdeps/i386/i386-mcount.S: Likewise.
31706 * sysdeps/i386/strtok.S: Likewise.
31707 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31708 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31709 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31710 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31711 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31712 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31713 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31714 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31715 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31716 * sysdeps/x86_64/_mcount.S: Likewise.
31717 * sysdeps/x86_64/strtok.S: Likewise.
31718 * sysdeps/sh/_mcount.S: Likewise.
31720 2012-08-01 Roland McGrath <roland@hack.frob.com>
31722 * libio/iofopen.c: Include <fcntl.h>.
31723 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31724 (_IO_fopen64, fopen64): Define as aliases.
31725 * libio/iofopen64.c: Include <fcntl.h>.
31726 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31727 Conditionalize body on this.
31728 * sysdeps/wordsize-64/iofopen.c: File removed.
31729 * sysdeps/wordsize-64/iofopen64.c: File removed.
31731 2012-08-01 Marek Polacek <polacek@redhat.com>
31733 * libc/Makeconfig: Use elf in place of binfmt-subdir.
31734 Use dlfcn directly instead of a variable.
31735 (binfmt-subdir): Do not define.
31738 2012-08-01 Joseph Myers <joseph@codesourcery.com>
31740 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31741 Remove all definitions.
31742 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31743 <kernel-features.h>.
31744 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31745 (miss_F_GETOWN_EX): Remove all definitions.
31746 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31748 [!__ASSUME_FCNTL64]: Remove conditional code.
31749 [__ASSUME_FCNTL64]: Make code unconditional.
31750 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31751 <kernel-features.h>.
31752 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31753 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31754 (lockf64) [__NR_fcntl64]: Make code unconditional.
31755 (lockf64) [__ASSUME_FCNTL64]: Likewise.
31757 * sysdeps/unix/sysv/linux/kernel-features.h
31758 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31759 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31760 Make code unconditional.
31761 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31762 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31764 [__NR_vfork]: Make code unconditional.
31765 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31766 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31768 [__NR_vfork]: Make code unconditional.
31769 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31770 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31772 2012-08-01 Roland McGrath <roland@hack.frob.com>
31774 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31775 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31777 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31778 Define mkstemp64 as an alias.
31779 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31780 Define mkstemps64 as an alias.
31781 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31782 Define mkostemp64 as an alias.
31783 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31784 Define mkostemps64 as an alias.
31785 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31786 Conditionalize body on this.
31787 * misc/mkostemp64.c: Likewise.
31788 * misc/mkostemps64.c: Likewise.
31789 * misc/mkstemps64.c: Likewise.
31790 * sysdeps/wordsize-64/mkstemp64.c: File removed.
31791 * sysdeps/wordsize-64/mkostemp64.c: File removed.
31792 * sysdeps/wordsize-64/mkostemp.c: File removed.
31793 * sysdeps/wordsize-64/mkstemp.c: File removed.
31794 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31795 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31796 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31797 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31800 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31801 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31802 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31803 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31805 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31806 compat_symbol macros from <shlib-compat.h> rather than the underlying
31807 default_symbol_version and symbol_version macros, so that DEFAULT
31808 lines in shlib-versions are respected.
31809 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31811 2012-08-01 Florian Weimer <fweimer@redhat.com>
31813 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31814 Declare with warn_unused_result.
31815 (setgid, setregid, setegid, setresgid): Likewise.
31816 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31818 * WUR-REPORT: Remove set*id functions.
31820 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
31822 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31824 2012-07-31 Roland McGrath <roland@hack.frob.com>
31827 * include/sys/socket.h (__libc_accept, __libc_accept4):
31828 Add attribute_hidden.
31829 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31831 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31833 * inet/getnetgrent_r.c (setup): Likewise.
31835 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31837 2012-07-31 David S. Miller <davem@davemloft.net>
31839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31841 2012-07-31 Joseph Myers <joseph@codesourcery.com>
31844 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31845 value between 1.0 and 2.0 and smaller part has absolute value less
31847 * math/s_clog10.c (__clog10): Likewise.
31848 * math/s_clog10f.c (__clog10f): Likewise.
31849 * math/s_clog10l.c (__clog10l): Likewise.
31850 * math/s_clogf.c (__clogf): Likewise.
31851 * math/s_clogl.c (__clogl): Likewise.
31852 * math/libm-test.inc (clog_test): Add more tests.
31853 (clog10_test): Likewise.
31854 * sysdeps/i386/fpu/libm-test-ulps: Update.
31855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31857 2012-07-31 Florian Weimer <fweimer@redhat.com>
31859 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31860 Exit with zero in case no suitable GID is found, and write a
31861 message to standard error.
31863 2012-07-30 Roland McGrath <roland@hack.frob.com>
31865 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31867 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31868 (MAXPATHLEN): Removed.
31869 (NOGROUP, NODEV): New macros.
31870 (setbit, clrbit, isset, isclr): New macros.
31871 (howmany, roundup, powerof2): New macros.
31872 (DEV_BSIZE): New macro.
31874 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31875 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31877 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31878 definition on [!__NO_LONG_DOUBLE_MATH].
31880 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31881 PTR_MANGLE and PTR_DEMANGLE.
31883 * socket/accept4.c (accept4): Rename to __libc_accept4.
31884 Define accept4 as a weak alias.
31886 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31887 on [_DIRENT_HAVE_D_TYPE].
31888 * io/ftw.c (ftw_dir): Likewise.
31890 * io/xmknod.c (__xmknod): Don't check PATH for being null.
31892 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31894 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31895 Use the BSD numbers rather than the arbitrary ones we had.
31896 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31897 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31898 (SIGXCPU, SIGXFSZ): New macros.
31901 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31902 initializer on [_LIBC_REENTRANT].
31904 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31905 definitions inside [_POSIX_MAPPED_FILES].
31907 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31909 * dirent/opendir.c: Include <fcntl.h>.
31911 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31912 (__libc_getspecific): Likewise.
31913 (__libc_key_create): Likewise.
31915 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31916 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31917 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31918 (tmpfile64): Define as alias.
31919 * sysdeps/wordsize-64/tmpfile.c: File removed.
31920 * sysdeps/wordsize-64/tmpfile64.c: File removed.
31921 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31922 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31924 * stdio-common/vfscanf.c: Include <stdbool.h>.
31925 * nss/makedb.c: Likewise.
31926 * stdio-common/_i18n_number.h: Likewise.
31927 * argp/argp-help.c: Likewise.
31928 * posix/wordexp.c: Likewise.
31929 * sysdeps/posix/spawni.c: Likewise.
31930 * nss/nss_files/files-initgroups.c: Likewise.
31931 * stdio-common/reg-modifier.c: Include <stdlib.h>.
31932 * nss/nss_files/files-initgroups.c: Likewise.
31933 * nss/nss_db/db-netgrp.c: Likewise.
31934 * nss/nss_db/db-initgroups.c: Likewise.
31935 * io/fchmodat.c: Include <sys/stat.h>.
31937 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31938 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31940 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31943 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31944 Add multiple inclusion protection.
31946 2012-07-27 David S. Miller <davem@davemloft.net>
31948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31950 2012-07-27 Gary Benson <gbenson@redhat.com>
31953 * elf/rtld.c: Include <stap-probe.h>.
31954 (dl_main): Added static probes "init_start" and "init_complete".
31955 * elf/dl-load.c: Include <stap-probe.h>.
31956 (lose): Take new parameter "nsid".
31957 Added static probe "map_failed".
31958 (_dl_map_object_from_fd): Pass namespace id to lose.
31959 Added static probe "map_start".
31960 (open_verify): Pass namespace id to lose.
31961 * elf/dl-open.c: Include <stap-probe.h>.
31962 (dl_open_worker) Added static probes "map_complete", "reloc_start"
31963 and "reloc_complete".
31964 * elf/dl-close.c: Include <stap-probe.h>.
31965 (_dl_close_worker): Added static probes "unmap_start" and
31967 * elf/rtld-debugger-interface.txt: New file documenting the above.
31969 2012-07-26 Roland McGrath <roland@hack.frob.com>
31971 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31972 rather than a string variable.
31973 * sunrpc/rpc_main.c (h_output): Likewise.
31974 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31976 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
31978 * inet/check_native.c: New file.
31980 2012-07-26 Joseph Myers <joseph@codesourcery.com>
31983 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31984 if larger part has absolute value 1.0.
31985 * math/s_clog10.c (__clog10): Likewise.
31986 * math/s_clog10f.c (__clog10f): Likewise.
31987 * math/s_clog10l.c (__clog10l): Likewise.
31988 * math/s_clogf.c (__clogf): Likewise.
31989 * math/s_clogl.c (__clogl): Likewise.
31990 * math/libm-test.inc (clog_test): Add more tests.
31991 (clog10_test): Likewise.
31992 * sysdeps/i386/fpu/libm-test-ulps: Update.
31993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31995 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31996 (pltexit): Likewise.
31997 (La_regs): Likewise.
31998 (La_retval): Likewise.
31999 (int_retval): Likewise.
32000 Update #error for removed macros to refer only to definitions in
32002 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32004 (pltexit): Likewise.
32005 (La_regs): Likewise.
32006 (La_retval): Likewise.
32007 (int_retval): Likewise.
32008 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32010 (pltexit): Likewise.
32011 (La_regs): Likewise.
32012 (La_retval): Likewise.
32013 (int_retval): Likewise.
32014 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32016 (pltexit): Likewise.
32017 (La_regs): Likewise.
32018 (La_retval): Likewise.
32019 (int_retval): Likewise.
32020 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32022 (pltexit): Likewise.
32023 (La_regs): Likewise.
32024 (La_retval): Likewise.
32025 (int_retval): Likewise.
32026 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32028 (pltexit): Likewise.
32029 (La_regs): Likewise.
32030 (La_retval): Likewise.
32031 (int_retval): Likewise.
32032 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32034 (pltexit): Likewise.
32035 (La_regs): Likewise.
32036 (La_retval): Likewise.
32037 (int_retval): Likewise.
32038 * sysdeps/generic/tst-audit.h: Update comment to refer only to
32039 macro definitions in tst-audit.h.
32040 * sysdeps/i386/tst-audit.h: New file.
32041 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32042 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32043 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32044 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32045 * sysdeps/sh/tst-audit.h: Likewise.
32046 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32047 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32048 * sysdeps/x86_64/tst-audit.h: Likewise.
32050 2012-07-26 Andreas Jaeger <aj@suse.de>
32052 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32055 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32056 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32057 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32059 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32060 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32061 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32063 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32066 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32068 (si_call_addr, si_syscall, si_arch): Define new macro.
32069 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32071 (si_call_addr, si_syscall, si_arch): Define new marcro.
32072 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32074 (si_call_addr, si_syscall, si_arch): Define new macro.
32075 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32077 (si_call_addr, si_syscall, si_arch): Define new macro.
32079 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32082 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32083 Change to 2.4.21 where previously 2.4.1.
32084 * sysdeps/unix/sysv/linux/configure: Regenerated.
32085 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32086 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32087 Linux kernel version.
32088 (__ASSUME_STD_AUXV): Remove.
32089 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32091 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32092 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32093 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32094 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32095 (__ASSUME_NETLINK_SUPPORT): Likewise.
32096 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32097 (__no_netlink_support): Remove conditional definition.
32098 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32100 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32101 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32102 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32103 (if_nameindex_ioctl): Remove.
32104 (if_nameindex_netlink): Do not handle __no_netlink_support.
32105 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32107 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32108 Remove conditional code.
32109 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32111 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32113 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32114 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32115 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32117 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32118 [!__ASSUME_STD_AUXV]: Remove conditional code.
32119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32120 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32121 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32123 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32124 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32126 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32128 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32129 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32131 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32133 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32136 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32139 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32140 code unconditional.
32141 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32143 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32145 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32148 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32150 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32153 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32154 code unconditional.
32155 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32157 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32159 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32162 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32163 code unconditional.
32164 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32166 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32168 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32171 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
32173 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32174 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32175 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32176 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32177 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32178 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32179 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32180 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32181 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32182 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32183 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32184 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32185 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32186 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32187 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32188 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32189 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32190 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32191 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32192 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32193 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32194 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32195 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32197 2012-07-25 Florian Weimer <fweimer@redhat.com>
32199 * Versions.def: Add GLIBC_2.17.
32200 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32201 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32202 Introduce __libc_secure_getenv.
32203 * stdlib/Versions (2.17): Add secure_getenv
32204 (GLIBC_PRIVATE): Add __libc_secure_getenv.
32205 * stdlib/secure-getenv.c: Rename __secure_getenv to
32206 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
32207 symbol __secure_getenv for GLIBC_2.0.
32208 * stdlib/tst-secure-getenv.c: New.
32209 * stdlib/Makefile (tests): Add testcase.
32210 * manual/startup.texi (Environment Access): Document
32212 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32213 __libc_secure_getenv.
32214 * inet/ruserpass.c (ruserpass): Likewise.
32215 * malloc/mtrace.c (mtrace): Likewise.
32216 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32217 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32218 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32219 * sysdeps/posix/tempname.c: Likewise. Evaluate
32220 HAVE_SECURE_GETENV.
32221 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32222 __secure_getenv to __libc_secure_getenv.
32223 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32230 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32231 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32232 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32234 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32236 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32238 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32239 (struct La_i86_retval): Likewise.
32240 (struct La_x86_64_regs): Likewise.
32241 (struct La_x86_64_retval): Likewise.
32242 (struct La_x32_regs): Likewise.
32243 (struct La_x32_retval): Likewise.
32244 (struct La_ppc32_regs): Likewise.
32245 (struct La_ppc32_retval): Likewise.
32246 (struct La_ppc64_regs): Likewise.
32247 (struct La_ppc64_retval): Likewise.
32248 (struct La_sh_regs): Likewise.
32249 (struct La_sh_retval): Likewise.
32250 (struct La_s390_32_regs): Likewise.
32251 (struct La_s390_32_retval): Likewise.
32252 (struct La_s390_64_regs): Likewise.
32253 (struct La_s390_64_retval): Likewise.
32254 (struct La_sparc32_regs): Likewise.
32255 (struct La_sparc32_retval): Likewise.
32256 (struct La_sparc64_regs): Likewise.
32257 (struct La_sparc64_retval): Likewise.
32258 (struct audit_ifaces): Remove architecture-specific pltenter and
32260 * sysdeps/i386/ldsodefs.h: New file.
32261 * sysdeps/powerpc/ldsodefs.h: Likewise.
32262 * sysdeps/s390/ldsodefs.h: Likewise.
32263 * sysdeps/sh/ldsodefs.h: Likewise.
32264 * sysdeps/sparc/ldsodefs.h: Likewise.
32265 * sysdeps/x86_64/ldsodefs.h: Likewise.
32267 2012-07-25 Marek Polacek <polacek@redhat.com>
32270 * math/libm-test.inc (yn_test): Add another test.
32271 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32272 to ERANGE when the result is +-Inf.
32273 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32274 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32275 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32276 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32278 2012-07-24 Joseph Myers <joseph@codesourcery.com>
32280 * conform/data/time.h-data (NULL): Use macro-constant. Require
32282 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
32284 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
32286 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
32288 * configure.in <sysdeps resolving>: Correct printing
32290 * configure: Regenerate.
32292 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
32294 * math/w_ilogb.c: Include <limits.h>.
32295 * math/w_ilogbl.c: Likewise.
32297 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32299 * manual/lang.texi (__va_copy): Document primarily as ISO C99
32300 va_copy. Document allowing for unavailable va_copy only as
32301 pre-C99 compatibility.
32302 * manual/string.texi (Copying and Concatenation): Use va_copy
32303 instead of __va_copy in concat example.
32305 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
32307 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32308 (__sendto): Use create_address_port. Initialize APORT and deallocate
32311 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32312 with O_NOLINK passed to __file_name_lookup.
32314 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32315 with O_NOLINK passed to __file_name_lookup.
32317 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32318 negative N or less than NGIDS.
32320 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32321 type to string_t. Set ERANGE as errno and return it if NAME is not big
32322 enough. Use memcpy instead of strncpy.
32324 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32326 * elf/Makefile (check-data): Remove.
32327 (localplt.data): New vpath directive.
32328 ($(objpfx)check-localplt.out): Use localplt.data from vpath
32329 instead of $(check-data).
32330 * scripts/data/localplt-generic.data: Move to ...
32331 * sysdeps/generic/localplt.data: ... here.
32332 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32333 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32334 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32337 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32340 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32343 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32346 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32349 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32350 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32353 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32355 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32356 PPC32 and PPC64 files.
32357 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32358 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32360 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32362 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32363 __makecontext_ret to ...
32364 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32365 ... here and call exit if uc_link is NULL. New file.
32366 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32367 __makecontext_ret.S.
32368 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32369 __makecontext_ret to ...
32370 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32371 ... here and call exit if uc_link is NULL. New file.
32372 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32373 __makecontext_ret.S.
32375 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32377 * elf/elf.h (R_390_IRELATIVE): New definition.
32378 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32379 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
32380 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32381 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32382 (elf_machine_lazy_rel): Likewise.
32383 * sysdeps/s390/dl-irel.h: New file.
32384 * sysdeps/s390/s390-64/memcpy.S: New asm code.
32385 * sysdeps/s390/s390-64/memset.S: New asm code.
32386 * sysdeps/s390/s390-64/memcmp.S: New asm code.
32387 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32388 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32389 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32390 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32391 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32392 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32393 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32394 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32395 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32396 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32397 * sysdeps/s390/s390-32/memcpy.S: New asm code.
32398 * sysdeps/s390/s390-32/memset.S: New asm code.
32399 * sysdeps/s390/s390-32/memcmp.S: New asm code.
32401 2012-07-17 Marek Polacek <polacek@redhat.com>
32404 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32405 * sysdeps/s390/s390-64/configure.in: Likewise.
32406 * sysdeps/sparc/configure.in: Likewise.
32407 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32408 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32409 * sysdeps/i386/configure.in: Likewise.
32410 * sysdeps/x86_64/configure.in: Likewise.
32411 * sysdeps/sh/configure.in: Likewise.
32412 * sysdeps/s390/s390-32/configure: Regenerated.
32413 * sysdeps/s390/s390-64/configure: Likewise.
32414 * sysdeps/x86_64/configure: Likewise.
32415 * sysdeps/sh/configure: Likewise.
32416 * sysdeps/powerpc/powerpc64/configure: Likewise.
32417 * sysdeps/powerpc/powerpc32/configure: Likewise.
32418 * sysdeps/sparc/configure: Likwise.
32419 * sysdeps/i386/configure: Likewise.
32421 * elf/dl-open.c: Comment fixes.
32423 2012-07-17 Joseph Myers <joseph@codesourcery.com>
32425 * Makefile [CXX] (check-data): Remove.
32426 [CXX] (c++-types.data): New vpath directive.
32427 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32428 vpath. Do not allow for C++ type data being missing.
32429 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32430 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32431 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32432 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32433 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32434 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32435 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32438 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32441 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32444 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32447 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32450 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32451 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32453 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32454 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32456 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32457 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32459 * elf/tls-macros.h (TLS_LE): Move architecture-specific
32460 definitions to architecture-specific files.
32461 (TLS_IE): Likewise.
32462 (TLS_LD): Likewise.
32463 (TLS_GD): Likewise.
32464 * sysdeps/i386/tls-macros.h: New file.
32465 * sysdeps/powerpc/tls-macros.h: Likewise.
32466 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32467 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32468 * sysdeps/sh/tls-macros.h: Likewise.
32469 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32470 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32471 * sysdeps/x86_64/tls-macros.h: Likewise.
32473 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32475 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32476 zero value for regular exit case.
32478 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32479 (__start_context): Preserve zero value for regular exit case.
32481 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32482 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32484 * manual/setjmp.texi (setcontext): Clarify normal process
32485 termination when uc_link is the null pointer.
32486 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32489 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32491 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32492 preprocessor. Test for each exception mask separately.
32494 2012-07-16 Andreas Jaeger <aj@suse.de>
32496 * po/ru.po: Update from translation team.
32498 2012-07-15 Joseph Myers <joseph@codesourcery.com>
32500 * conform/data/string.h-data (NULL): Use macro-constant. Require
32502 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32503 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32504 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32505 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32506 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32508 2012-07-13 Andreas Jaeger <aj@suse.de>
32510 * po/fr.po: Update from translation team.
32512 2012-07-12 Marek Polacek <polacek@redhat.com>
32515 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32516 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32519 2012-07-12 Joseph Myers <joseph@codesourcery.com>
32522 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32523 Change to 2.4.1 where previously 2.4.0.
32524 * sysdeps/unix/sysv/linux/configure: Regenerated.
32525 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32526 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32528 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32529 (__ASSUME_AT_CLKTCK): Remove.
32530 (__ASSUME_AT_PAGESIZE): Likewise.
32531 (__ASSUME_AT_XID): Likewise.
32532 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32533 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32534 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32536 (HAVE_AUX_PAGESIZE): Likewise.
32537 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32538 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32539 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32541 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32544 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32545 the temporary buffer used to invoke __gethostbyname2_r,
32546 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32547 host_data / struct gaih_addrtuple.
32548 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32549 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32550 header file nss/nsswitch.h.
32551 * nss/nsswitch.h (global scope): Add definition of implementation
32552 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32553 resolv/nss_dns/dns-host.c).
32555 2012-07-11 Andreas Jaeger <aj@suse.de>
32557 * po/fr.po: Update from translation team.
32559 * po/sv.po: Update from translation team
32560 * po/fr.po: Another update from translation team.
32562 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32564 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32565 for subnormals or multiply small sinh result by itself.
32566 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32567 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32569 2012-07-11 David S. Miller <davem@davemloft.net>
32571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32573 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32576 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32577 (INTERNAL_MARK): Shift it here.
32579 2012-07-10 Marek Polacek <polacek@redhat.com>
32582 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32583 libc_cv_asm_global_directive with .globl.
32584 * configure: Regenerated.
32585 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32587 * sysdeps/i386/configure: Regenerated.
32588 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32590 * sysdeps/x86_64/configure: Regenerated.
32591 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32592 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32593 * elf/tst-unique2mod2.c: Likewise.
32594 * elf/tst-unique2mod1.c: Likewise.
32595 * elf/tst-unique1mod2.c: Likewise.
32596 * elf/tst-unique1mod1.c: Likewise.
32597 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32598 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32599 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32600 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32601 * sysdeps/mach/sysdep.h: Likewise.
32602 * sysdeps/i386/sysdep.h: Likewise.
32603 * sysdeps/i386/i386-mcount.S: Likewise.
32604 * sysdeps/x86_64/_mcount.S: Likewise.
32605 * sysdeps/x86_64/sysdep.h: Likewise.
32606 * sysdeps/sh/_mcount.S: Likewise.
32607 * sysdeps/sh/sysdep.h: Likewise.
32608 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32609 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32610 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32611 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32612 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32613 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32614 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32615 * locale/localeinfo.h: Likewise.
32616 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32617 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32619 2012-07-09 Roland McGrath <roland@hack.frob.com>
32622 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32624 * manual/message.texi (The Uniforum approach): Likewise.
32625 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32626 (glibc iconv Implementation): Likewise.
32628 2012-07-09 Joseph Myers <joseph@codesourcery.com>
32631 * math/s_clog.c (__clog): Avoid scaling a value down where that
32632 could result in underflow.
32633 * math/s_clog10.c (__clog10): Likewise.
32634 * math/s_clog10f.c (__clog10f): Likewise.
32635 * math/s_clog10l.c (__clog10l): Likewise.
32636 * math/s_clogf.c (__clogf): Likewise.
32637 * math/s_clogl.c (__clogl): Likewise.
32638 * math/libm-test.inc (clog_test): Add more tests.
32639 (clog10_test): Likewise.
32640 * sysdeps/i386/fpu/libm-test-ulps: Update.
32641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32643 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32646 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32647 by 7 not 8 to examine high bit of fractional part.
32650 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32651 for call to __mcount_internal.
32652 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32653 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32654 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32656 2012-07-06 Joseph Myers <joseph@codesourcery.com>
32659 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32660 approximation for values within 0x1p-13f of an odd multiple of
32662 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32663 exception. Add more tests.
32664 * sysdeps/i386/fpu/libm-test-ulps: Update.
32667 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32668 inputs and return -1 for them. Do not check for +Inf in case not
32669 reachable for +Inf.
32670 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32671 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32672 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32673 and return -1 for them. Do not check for +Inf in case not
32674 reachable for +Inf.
32675 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32677 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32678 and return -1 for them. Do not check for +Inf in case not
32679 reachable for +Inf.
32680 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32681 spurious underflow.
32682 * sysdeps/i386/fpu/libm-test-ulps: Update.
32683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32685 2012-07-06 Mike Frysinger <vapier@gentoo.org>
32687 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32689 2012-07-05 Joseph Myers <joseph@codesourcery.com>
32693 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32694 could result in spurious underflow. Scale down values above
32695 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32696 * math/s_csqrtf.c (__csqrtf): Likewise.
32697 * math/s_csqrtl.c (__csqrtl): Likewise.
32698 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
32699 spurious underflow.
32700 * sysdeps/i386/fpu/libm-test-ulps: Update.
32701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32703 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
32705 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32707 * catgets/xopen-msg.awk: New file.
32708 * catgets/xopen-msg.sed: Removed.
32710 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32712 * intl/po2test.awk: New file.
32713 * intl/po2test.sed: Removed.
32715 2012-07-04 Joseph Myers <joseph@codesourcery.com>
32718 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32719 or multiply small sinh result by itself.
32720 * math/s_ctanf.c (__ctanf): Likewise.
32721 * math/s_ctanh.c (__ctanh): Likewise.
32722 * math/s_ctanhf.c (__ctanhf): Likewise.
32723 * math/s_ctanhl.c (__ctanhl): Likewise.
32724 * math/s_ctanl.c (__ctanl): Likewise.
32725 * math/libm-test.inc (ctan_test_tonearest): New function.
32726 (ctan_test_towardzero): Likewise.
32727 (ctan_test_downward): Likewise.
32728 (ctan_test_upward): Likewise.
32729 (ctanh_test_tonearest): Likewise.
32730 (ctanh_test_towardzero): Likewise.
32731 (ctanh_test_downward): Likewise.
32732 (ctanh_test_upward): Likewise.
32733 (main): Call these new functions.
32734 * sysdeps/i386/fpu/libm-test-ulps: Update.
32735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32737 2012-07-03 Mike Frysinger <vapier@gentoo.org>
32739 * .gitignore: Delete /ports entry.
32741 2012-07-03 Andreas Jaeger <aj@suse.de>
32743 * po/bg.po: Update from translation team.
32744 * po/cs.po: Likewise.
32745 * po/de.po: Likewise.
32746 * po/hr.po: Likewise.
32747 * po/nl.pl: Likewise.
32748 * po/pl.po: Likewise.
32749 * po/vi.po: Likewise.
32751 2012-07-03 Joseph Myers <joseph@codesourcery.com>
32753 * Makeconfig [!+link] (+link-before-libc): New variable.
32754 [!+link] (+link-after-libc): Likewise.
32755 [!+link] (+link-tests): Likewise.
32756 [!+link] (+link): Define in terms of $(+link-before-libc) and
32757 $(+link-after-libc).
32758 [!+link-static] (+link-static-before-libc): New variable.
32759 [!+link-static] (+link-static-after-libc): Likewise.
32760 [!+link-static] (+link-static-tests): Likewise.
32761 [!+link-static] (+link-static): Define in terms of
32762 $(+link-static-before-libc) and $(+link-static-after-libc).
32763 [build-shared] (link-libc-before-gnulib): New variable.
32764 [build-shared] (link-libc-tests): Likewise.
32765 [build-shared] (link-libc): Define in terms of
32766 $(link-libc-before-gnulib).
32767 [!build-shared] (link-libc-tests): New variable.
32768 (link-libc-static-tests): New variable.
32769 [!gnulib] (gnulib-arch): New variable.
32770 [!gnulib] (gnulib-tests): Likewise.
32771 [!gnulib] (static-gnulib-arch): Likewise.
32772 [!gnulib] (static-gnulib-tests): Likewise.
32773 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
32774 Define with "=" instead of ":=".
32775 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
32776 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
32777 * Rules (binaries-all-notests): New variable.
32778 (binaries-all-tests): Likewise.
32779 (binaries-static-notests): Likewise.
32780 (binaries-static-tests): Likewise.
32781 (binaries-all): Define using $(binaries-all-notests) and
32782 $(binaries-all-tests).
32783 (binaries-static): Define using $(binaries-static-notests) and
32784 $(binaries-static-tests).
32785 (binaries-shared-tests): New variable.
32786 (binaries-shared-notests): Likewise.
32787 (binaries-shared): Remove variable.
32788 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32789 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32790 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32791 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32792 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32793 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32794 * elf/Makefile (sln-modules): New variable.
32795 (extra-objs): Add $(sln-modules:=.o).
32796 (ldconfig-modules): Add static-stubs.
32797 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32798 * elf/static-stubs.c: New file.
32801 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32802 by 7 not 8 to examine high bit of fractional part. Use volatile
32803 variables when splitting into final array of floats if
32804 __FLT_EVAL_METHOD__ != 0.
32805 * math/libm-test.inc (cos_test): Add another test.
32806 (sin_test): Likewise.
32807 * sysdeps/i386/fpu/libm-test-ulps: Update.
32810 * math/libm-test.inc (cosh_test): Add more tests.
32812 * version.h (RELEASE): Set to "development".
32813 (VERSION): Set to "2.16.90".
32815 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
32817 * NEWS: Update copyright. Remove last-updated date.
32818 Mention math library bug fixes and timezone data changes.
32819 * README: Mention GNU/Hurd, x32, and HPPA support status.
32821 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
32823 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32825 2012-06-27 Andreas Jaeger <aj@suse.de>
32827 * manual/contrib.texi (Contributors): Add Samuel Thibault.
32829 2012-06-25 Andreas Jaeger <aj@suse.de>
32831 * sysdeps/s390/fpu/libm-test-ulps: Update.
32833 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
32834 Thomas Schwinge <thomas@codesourcery.com>
32836 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32837 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32838 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32841 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
32843 * sysdeps/mach/start.c: Remove file.
32844 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32845 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32846 * sysdeps/sh/init-first.c: Likewise.
32848 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32849 registers for frame unwinding purposes, add CFI directives.
32850 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32851 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32852 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32855 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32856 __fortify_fail returning.
32857 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32859 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32860 sysdeps/sh/____longjmp_chk.S.
32861 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32862 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32863 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32864 (gen-as-const-headers): Append sigaltstack-offsets.sym.
32866 * sysdeps/sh/abort-instr.h: New file.
32867 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32868 process in case exit returns.
32870 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32871 initialize the GOT register before use.
32873 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32874 calculation of ARGC > 4.
32876 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32877 meaningful names to some local labels.
32879 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32880 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32882 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32883 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32884 (__arch_compare_and_exchange_val_16_acq): Likewise.
32885 (__arch_compare_and_exchange_val_32_acq): Likewise.
32886 (atomic_exchange_and_add): Fix gUSA sequence.
32887 (atomic_add): Likewise.
32888 (atomic_add_negative): Likewise.
32889 (atomic_add_zero): Likewise.
32890 (atomic_bit_test_set): Likewise.
32892 2012-06-22 Andreas Schwab <schwab@redhat.com>
32895 * include/link.h (struct link_map): Add l_free_initfini.
32896 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32898 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32899 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32900 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32903 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
32905 * configure.in: Use AC_LANG_SOURCE.
32906 * configure: Regenerate.
32908 2012-06-22 Roland McGrath <roland@hack.frob.com>
32910 * configure.in (libc_cv_localstatedir): New substituted variable.
32911 * configure: Regenerated.
32912 * config.make.in (localstatedir): New variable, substituted from
32913 libc_cv_localstatedir.
32914 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32915 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32916 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32917 * sysdeps/gnu/configure: Regenerated.
32919 2012-06-21 Jeff Law <law@redhat.com>
32922 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32923 free. Simplify list management for _LIBC case.
32925 2012-06-21 Joseph Myers <joseph@codesourcery.com>
32928 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32929 Clear sign bit of 64-bit integer value before comparing against
32932 * sysdeps/mach/configure: Regenerated.
32934 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
32937 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32939 2012-06-21 Jeff Law <law@redhat.com>
32942 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
32943 uint16_t for elements in the "seen" array to avoid char overflows.
32944 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32945 * elf/dl-open.c (dl_open_worker): Likewise.
32947 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
32949 * scripts/list-sources.sh: Scan PORTS for translations.
32950 * po/libc.pot: Regenerated.
32952 2012-06-21 Andreas Jaeger <aj@suse.de>
32955 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32957 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32958 * bits/byteswap-16.h (__bswap_16): Likewise.
32959 * bits/byteswap.h (__bswap_constant_16): Likewise.
32961 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
32964 * sysdeps/i386/fpu_control.h: Removed.
32965 * sysdeps/x86_64/fpu_control.h: Moved to ...
32966 * sysdeps/x86/fpu_control.h: Here.
32968 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32969 (_FPU_SETCW): Likewise.
32971 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
32974 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32975 * sysdeps/x86/fpu/bits/mathinline.h: This.
32976 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32980 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32981 functions if __x86_64__ is defined.
32983 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
32985 * string/endian.h: Add !__ASSEMBLER__ condition for including
32986 conversion interfaces.
32988 2012-06-15 Joseph Myers <joseph@codesourcery.com>
32991 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32992 of ABS(x) in calculating zero to negative powers other than odd
32994 * math/libm-test.inc (pow_test): Add more tests.
32996 2012-06-15 Andreas Jaeger <aj@suse.de>
32998 * manual/contrib.texi (Contributors): Update entry of Liubov
32999 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33002 2012-06-15 Cyril Hrubis <metan@ucw.cz>
33004 * string/string.h: Add __wur to GNU version of strerror_r.
33006 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
33009 * string/Makefile (tests): Add tst-strtok_r.
33010 * string/tst-strtok_r.c: New file.
33011 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33012 RAX_LP/RDX_LP on SAVE_PTR.
33014 2012-06-14 Roland McGrath <roland@hack.frob.com>
33016 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33018 2012-06-14 Joseph Myers <joseph@codesourcery.com>
33020 * libm_test.inc (csqrt_test): Allow more spurious underflow
33022 (j0_test): Likewise.
33023 (j1_test): Likewise.
33024 (y0_test): Likewise.
33025 (y1_test): Likewise.
33027 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
33029 * po/Makefile (libc.pot): Use UTF-8 charset.
33031 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
33034 Suppress sign-conversion warning from FD_SET.
33035 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33036 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33037 not unsigned long int.
33038 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33040 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
33044 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33045 __extern_always_inline instead of __extern_inline.
33046 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33047 (__signbit): Likewise.
33048 (__signbitl): Support C++ namespace.
33049 (lrintf): New inline function.
33051 (llrintf): Likewise.
33052 (llrint): Likewise.
33062 (floorf): Likewise.
33063 (nearbyint): Likewise.
33064 (nearbyintf): Likewise.
33066 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
33068 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33069 non-default versions.
33071 2012-06-11 Roland McGrath <roland@hack.frob.com>
33074 * manual/argp.texi (Argp): Reword argp_parse description slightly.
33076 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
33078 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33079 (FE_UPWARD, FE_DOWNWARD): Don't define.
33080 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33081 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33083 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33085 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33086 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33088 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33090 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33091 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33092 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33093 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33095 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
33098 * sysdeps/i386/fpu/bits/fenv.h: Removed.
33099 * sysdeps/i386/fpu/Implies: New file.
33100 * sysdeps/x86_64/fpu/Implies: Likewise.
33101 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33102 * sysdeps/x86/fpu/bits/fenv.h: This.
33104 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33107 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33110 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33111 character 0xffff that matches the last element of the
33114 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33116 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33119 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33121 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33122 values higher than 25.6283.
33124 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33126 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33127 subnormal exponent extraction and add some __builtin_expect.
33128 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33129 Fix for subnormal mantissa calculation.
33131 2012-06-04 Mike Frysinger <vapier@gentoo.org>
33133 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33134 cpu2 is -1 and errno is not ENOSYS.
33136 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
33139 * sysdeps/i386/i486/bits/string.h: Renamed to ...
33140 * sysdeps/x86/bits/string.h: This.
33141 * sysdeps/x86_64/bits/string.h: Removed.
33143 * sysdeps/i386/i486/bits/string.h: Define inline functions only
33144 if not compiling for x86-64, but compiling for >= i486.
33146 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33147 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33149 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33150 New macro from Linux kernel 3.4.0.
33151 (FP_XSTATE_MAGIC2): Likewise.
33152 (FP_XSTATE_MAGIC2_SIZE): Likewise.
33153 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33154 (struct _fpx_sw_bytes): New struct.
33155 (struct _xsave_hdr): Likewise.
33156 (struct _ymmh_state): Likewise.
33157 (struct _xstate): Likewise.
33159 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33160 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33161 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33162 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33163 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33164 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33166 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33167 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33168 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33169 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33170 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33171 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33173 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33176 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33177 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33178 (sysdep_headers): Include sys/platform/ppc.h.
33179 * sysdeps/powerpc/test-gettimebase.c: Test for
33180 __ppc_get_timebase() to catch future ISA opcode/insn changes.
33181 * manual/Makefile (appendices): Include platform.texi.
33182 * manual/contrib.texi (Contributors): Update @node pointers.
33183 * manual/maint.texi (Maintenance): Likewise.
33184 (Platform): New node.
33185 * manual/platform.texi: New file. Document the new features.
33187 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33188 Jakub Jelinek <jakub@redhat.com>
33191 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33192 where __builtin_expect is unavailable.
33194 2012-06-03 David S. Miller <davem@davemloft.net>
33196 * stdlib/longlong.h: Updated from GCC.
33198 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
33201 * sysdeps/powerpc/powerpc32/mcount.c: New file.
33202 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33205 (GLIBC_2.16): Likewise.
33207 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33209 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33211 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33214 (default-abi): New variable.
33215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33216 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33218 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33220 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33222 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33225 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33226 definition. Document in comment.
33228 2012-06-01 David S. Miller <davem@davemloft.net>
33230 * stdlib/longlong.h: Updated from GCC.
33232 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33235 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33236 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33237 sys/debugreg.h sys/io.h here.
33238 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33239 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33241 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33242 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33243 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33244 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33245 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33246 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33248 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33249 Define only if __x86_64__ is defined.
33251 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33254 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33255 Use int64_t for variable i.
33256 * math/libm-test.inc (fmod_test): Add more tests.
33258 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33259 z computation is not scheduled after fetestexcept.
33260 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33261 Use math_force_eval instead of asm to ensure calculation scheduled
33262 before exception test.
33263 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33264 Ensure a1 + u.d computation is not scheduled after fetestexcept.
33266 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
33268 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33269 computation is not scheduled after fetestexcept.
33271 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33274 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33275 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33277 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33279 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33280 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33282 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33285 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33287 (__WCHAR_MIN): Support __WORDSIZE == 64.
33288 (__WCHAR_MAX): Likewise.
33290 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33291 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33294 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33295 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33298 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33299 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33301 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33302 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33304 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33305 Defined to 1 if __x86_64__ isn't defined.
33306 (_STAT_VER_LINUX_OLD): New.
33307 (st_atime): Remove duplicate.
33308 (st_mtime): Likewise.
33309 (st_ctime): Likewise.
33311 2012-05-31 David S. Miller <davem@davemloft.net>
33313 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33316 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
33318 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33322 * elf/dl-reloc.c: Include <_itoa.h>.
33323 (_dl_reloc_bad_type): Remove use of INTUSE.
33324 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33325 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33326 * stdio-common/psiginfo.c (psiginfo): Likewise.
33327 * stdio-common/psignal.c (psignal): Likewise.
33328 * string/strsignal.c (strsignal): Likewise.
33329 * include/signal.h (_sys_siglist): Declare hidden proto.
33330 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
33331 INTVARDEF with libc_hidden_data_def.
33332 * stdio-common/itoa-udigits.c: Likewise.
33333 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33334 (_itoa_lower_digits_internal): Remove declaration.
33335 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33336 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33337 (_sys_sigabbrev_internal): Remove aliases.
33338 (_sys_siglist): Define hidden alias.
33340 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
33342 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33345 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33348 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33349 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33351 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33352 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33353 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33354 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33355 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33356 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33358 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33359 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33360 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33362 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33370 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33371 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33372 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33374 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33375 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33376 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33377 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33378 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33379 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33381 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33382 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33384 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33385 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33387 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33388 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33389 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33391 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33392 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33394 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33396 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33397 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33398 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33400 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33402 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33404 2012-05-31 Joseph Myers <joseph@codesourcery.com>
33406 * math/math.h (M_El): Use two more decimal places.
33407 (M_LOG2El): Likewise.
33408 (M_LOG10El): Likewise.
33409 (M_LN2l): Likewise.
33410 (M_LN10l): Likewise.
33412 (M_PI_2l): Likewise.
33413 (M_PI_4l): Likewise.
33414 (M_1_PIl): Likewise.
33415 (M_2_PIl): Likewise.
33416 (M_2_SQRTPIl): Likewise.
33417 (M_SQRT2l): Likewise.
33418 (M_SQRT1_2l): Likewise.
33420 2012-05-31 David S. Miller <davem@davemloft.net>
33422 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33423 values between float registers.
33424 * sysdeps/sparc/sparc64/memset.S: Likewise.
33425 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33427 2012-05-31 Mike Frysinger <vapier@gentoo.org>
33429 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33430 -D_FORTIFY_SOURCE=1.
33431 (CPPFLAGS-tst-longjmp_chk.c): Define.
33432 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33433 (CPPFLAGS-tst-longjmp_chk2.c): Define.
33434 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33435 CFLAGS-tst-wchar-h.c.
33437 2012-05-31 Marek Polacek <polacek@redhat.com>
33440 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33441 __endmntent_internal): Remove declaration.
33442 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33443 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33444 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33446 2012-05-30 David S. Miller <davem@davemloft.net>
33448 * sysdeps/sparc/sparc32/soft-fp/q_util.c
33449 (___Q_simulate_exceptions): Use real FP ops rather than writing
33451 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33454 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33457 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33458 * sysdeps/x86/bits/xtitypes.h: This.
33460 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33461 * sysdeps/x86/bits/wordsize.h: This.
33463 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33464 * sysdeps/x86/bits/huge_vall.h: This.
33466 * sysdeps/i386/bits/select.h: Removed.
33467 * sysdeps/x86_64/bits/select.h: Renamed to ...
33468 * sysdeps/x86/bits/select.h: This.
33470 * sysdeps/i386/bits/setjmp.h: Removed.
33471 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33472 * sysdeps/x86/bits/setjmp.h: This.
33474 * sysdeps/i386/bits/mathdef.h: Removed.
33475 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33476 * sysdeps/x86/bits/mathdef.h: This.
33478 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33481 * include/sys/socket.h (__connect_internal)
33482 (__libc_sa_len_internal): Remove declaration.
33483 (__connect, __libc_sa_len): Declare hidden_proto.
33484 (SA_LEN): Remove use of INTUSE.
33485 * socket/connect.c: Add libc_hidden_def.
33486 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33487 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33488 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33490 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33491 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33492 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33493 of adding _internal alias.
33495 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33498 * sysdeps/i386/bits/link.h: Removed.
33499 * sysdeps/i386/bits/linkmap.h: Likewise.
33500 * sysdeps/x86_64/bits/link.h: Renamed to ...
33501 * sysdeps/x86/bits/link.h: This.
33502 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33503 * sysdeps/x86/bits/linkmap.h: This.
33505 * sysdeps/i386/bits/endian.h: Removed.
33506 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33507 * sysdeps/x86/bits/endian.h: This.
33509 * sysdeps/i386/bits/byteswap.h: Removed.
33510 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33511 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33512 * sysdeps/x86/bits/byteswap.h: This.
33513 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33514 * sysdeps/x86/bits/byteswap-16.h: This.
33515 * sysdeps/i386/Implies: Add x86.
33516 * sysdeps/x86_64/Implies: Likewise.
33518 2012-05-30 David S. Miller <davem@davemloft.net>
33520 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33521 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33522 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33523 (FP_TRAPPING_EXCEPTIONS): Define.
33524 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33525 (FP_TRAPPING_EXCEPTIONS): Define.
33526 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33527 subnormals only when inexact has been signalled or underflow
33528 exceptions are enabled.
33529 (_FP_PACK_CANONICAL): Likewise.
33531 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33534 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33535 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33537 2012-05-30 Richard Henderson <rth@twiddle.net>
33539 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33540 with #ifndef NOT_IN_libc.
33542 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33543 marked to avoid plt entry.
33545 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33548 * Makeconfig (default-abi): New macro.
33549 (abi-includes): Likewise.
33550 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33551 $(abi-$(default-abi)-lib-soname) for soname if defined.
33552 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33554 * Makefile (installed-stubs): Likewise.
33555 * include/stubs-biarch.h: Removed.
33556 * scripts/lib-names.awk: Only handle one library at a time.
33557 * scripts/soversions.awk: Remove WORDSIZE support.
33558 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33560 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33562 (syscall-list-default-condition): Likewise.
33563 (syscall-list-default-condition): Likewise.
33564 (syscall-list-includes): Likewise.
33565 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33566 syscall-list-* with abi-*. Handle undefined abi-variants.
33567 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33568 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33569 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33570 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33571 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33572 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33574 (syscall-list-32-options): Likewise.
33575 (syscall-list-32-condition): Likewise.
33576 (syscall-list-64-options): Likewise.
33577 (syscall-list-64-condition): Likewise.
33578 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33580 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33583 (abi-64-ld-soname): New macro.
33584 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33585 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33588 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33589 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33591 2012-05-30 Joseph Myers <joseph@codesourcery.com>
33593 * sysdeps/unix/sysv/linux/kernel-features.h
33594 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33595 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33596 include <kernel-features.h>.
33597 [!__NR_ftruncate64]: Remove conditional code.
33598 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33599 [__NR_ftruncate64]: Make code unconditional.
33600 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33601 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33602 include <kernel-features.h>.
33603 [!__NR_ftruncate64]: Remove conditional code.
33604 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33605 [__NR_ftruncate64]: Make code unconditional.
33606 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33608 include <kernel-features.h>.
33609 [!__NR_ftruncate64]: Remove conditional code.
33610 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33611 [__NR_ftruncate64]: Make code unconditional.
33612 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33614 include <kernel-features.h>.
33615 [!__NR_ftruncate64]: Remove conditional code.
33616 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33617 [__NR_ftruncate64]: Make code unconditional.
33618 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33620 * configure.in (libc_cv_fpie): Weaken to a compile test using
33621 LIBC_TRY_CC_OPTION.
33622 * configure: Regenerated.
33624 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33636 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33639 2012-05-27 David S. Miller <davem@davemloft.net>
33641 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33643 (__Q_simulate_exceptions): Return void. Change to simulate
33644 exceptions by writing into the %fsr.
33645 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33646 (__Qp_handle_exceptions): Likewise.
33648 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33649 __Qp_handle_exceptions.
33650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33651 __Qp_handle_exceptions.
33652 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33653 as unused and give dummy FP_RND_NEAREST initializer.
33654 (FP_INHIBIT_RESULTS): Define.
33655 (___Q_simulate_exceptions): Update declaration.
33656 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33658 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33659 as unused and give dummy FP_RND_NEAREST initializer.
33660 (__Qp_handle_exceptions): Update declaration.
33661 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33664 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33666 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33667 the temporary FPU control word.
33668 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33669 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33670 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33671 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33672 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33673 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33674 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33675 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33676 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33677 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33678 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33680 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33682 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33685 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33687 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33688 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33689 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33690 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33692 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33693 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33696 2012-05-27 Ulrich Drepper <drepper@gmail.com>
33698 * po/h.po: Update from translation team.
33700 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
33702 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33704 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33705 handling of denormals.
33706 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33707 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33708 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33709 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33710 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33711 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33712 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33715 2012-05-26 Marek Polacek <polacek@redhat.com>
33718 * math/libm-test.inc (fma_test): Don't always expect underflow
33721 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33724 * elf/tst-execstack.c: Include stackinfo.h.
33725 (do_test): Adjust test case to ensure that pthread_getattr_np
33726 behaviour remains the same after marking stack executable.
33728 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33730 * sysdeps/unix/sysv/linux/kernel-features.h
33731 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33732 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33734 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33735 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33736 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33738 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33739 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33741 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
33743 * configure.in: Define the default includes to being none.
33744 * configure: Regenerated.
33746 2012-05-25 Roland McGrath <roland@hack.frob.com>
33748 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33749 * sysdeps/x86_64/setjmp.S: Likewise.
33750 * sysdeps/i386/bsd-setjmp.S: Likewise.
33751 * sysdeps/i386/bsd-_setjmp.S: Likewise.
33752 * sysdeps/i386/setjmp.S: Likewise.
33753 * sysdeps/i386/__longjmp.S: Likewise.
33754 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33755 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33757 * include/stap-probe.h: New file.
33758 * configure.in: Handle --enable-systemtap.
33759 * configure: Regenerated.
33760 * config.h.in (USE_STAP_PROBE): New #undef.
33761 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33762 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33763 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33765 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33768 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33769 to 2.4.0 where earlier.
33770 * sysdeps/unix/sysv/linux/configure: Regenerated.
33771 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33772 <kernel-features.h>.
33773 [__ASSUME_32BITUIDS]: Make code unconditional.
33774 [!__ASSUME_32BITUIDS]: Remove conditional code.
33775 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33776 <kernel-features.h>.
33777 [__ASSUME_32BITUIDS]: Make code unconditional.
33778 [!__ASSUME_32BITUIDS]: Remove conditional code.
33779 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33780 [__ASSUME_32BITUIDS]: Make code unconditional.
33781 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33782 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33783 <kernel-features.h>.
33784 [__ASSUME_32BITUIDS]: Make code unconditional.
33785 [!__ASSUME_32BITUIDS]: Remove conditional code.
33786 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33787 <kernel-features.h>.
33788 [__ASSUME_32BITUIDS]: Make code unconditional.
33789 [!__ASSUME_32BITUIDS]: Remove conditional code.
33790 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33791 <kernel-features.h>.
33792 [__ASSUME_32BITUIDS]: Make code unconditional.
33793 [!__ASSUME_32BITUIDS]: Remove conditional code.
33794 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33795 <kernel-features.h>.
33796 [__ASSUME_32BITUIDS]: Make code unconditional.
33797 [!__ASSUME_32BITUIDS]: Remove conditional code.
33798 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33799 <kernel-features.h>.
33800 [__ASSUME_32BITUIDS]: Make code unconditional.
33801 [!__ASSUME_32BITUIDS]: Remove conditional code.
33802 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33803 <kernel-features.h>.
33804 [__ASSUME_32BITUIDS]: Make code unconditional.
33805 [!__ASSUME_32BITUIDS]: Remove conditional code.
33806 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33807 <kernel-features.h>.
33808 [__ASSUME_32BITUIDS]: Make code unconditional.
33809 [!__ASSUME_32BITUIDS]: Remove conditional code.
33810 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33811 <kernel-features.h>.
33812 [__ASSUME_32BITUIDS]: Make code unconditional.
33813 [!__ASSUME_32BITUIDS]: Remove conditional code.
33814 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33815 <kernel-features.h>.
33816 [__ASSUME_32BITUIDS]: Make code unconditional.
33817 [!__ASSUME_32BITUIDS]: Remove conditional code.
33818 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33819 <kernel-features.h>.
33820 [__ASSUME_32BITUIDS]: Make code unconditional.
33821 [!__ASSUME_32BITUIDS]: Remove conditional code.
33822 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33823 <kernel-features.h>.
33824 [__NR_setresgid] (__setresgid): Do not declare.
33825 [__ASSUME_32BITUIDS]: Make code unconditional.
33826 [!__ASSUME_32BITUIDS]: Remove conditional code.
33827 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33828 <kernel-features.h>.
33829 [__NR_setresuid] (__setresuid): Do not declare.
33830 [__ASSUME_32BITUIDS]: Make code unconditional.
33831 [!__ASSUME_32BITUIDS]: Remove conditional code.
33832 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
33833 <kernel-features.h>.
33834 [__ASSUME_32BITUIDS]: Make code unconditional.
33835 [!__ASSUME_32BITUIDS]: Remove conditional code.
33836 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33837 <kernel-features.h>.
33838 [__ASSUME_32BITUIDS]: Make code unconditional.
33839 [!__ASSUME_32BITUIDS]: Remove conditional code.
33840 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33841 <kernel-features.h>.
33842 [__ASSUME_32BITUIDS]: Make code unconditional.
33843 [!__ASSUME_32BITUIDS]: Remove conditional code.
33844 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33845 <kernel-features.h>.
33846 [__ASSUME_32BITUIDS]: Make code unconditional.
33847 [!__ASSUME_32BITUIDS]: Remove conditional code.
33848 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33849 <kernel-features.h>.
33850 [__ASSUME_32BITUIDS]: Make code unconditional.
33851 [!__ASSUME_32BITUIDS]: Remove conditional code.
33852 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33853 <kernel-features.h>.
33854 [__ASSUME_32BITUIDS]: Make code unconditional.
33855 [!__ASSUME_32BITUIDS]: Remove conditional code.
33856 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33857 <kernel-features.h>.
33858 [__ASSUME_32BITUIDS]: Make code unconditional.
33859 [!__ASSUME_32BITUIDS]: Remove conditional code.
33860 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33861 <kernel-features.h>.
33862 [__ASSUME_32BITUIDS]: Make code unconditional.
33863 [!__ASSUME_32BITUIDS]: Remove conditional code.
33864 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33865 <kernel-features.h>.
33866 [__ASSUME_32BITUIDS]: Make code unconditional.
33867 [!__ASSUME_32BITUIDS]: Remove conditional code.
33868 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33869 <kernel-features.h>.
33870 [__ASSUME_32BITUIDS]: Make code unconditional.
33871 [!__ASSUME_32BITUIDS]: Remove conditional code.
33872 * sysdeps/unix/sysv/linux/kernel-features.h
33873 (__ASSUME_SETRESUID_SYSCALL): Remove.
33874 (__ASSUME_SETRESGID_SYSCALL): Likewise.
33875 (__ASSUME_32BITUIDS): Likewise.
33876 (__ASSUME_LDT_WORKS): Likewise.
33877 (__ASSUME_O_DIRECTORY): Likewise.
33878 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33879 architecture but not kernel version.
33880 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33881 (__ASSUME_MMAP2_SYSCALL): Likewise.
33882 (__ASSUME_STAT64_SYSCALL): Likewise.
33883 (__ASSUME_IPC64): Likewise.
33884 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33885 <kernel-features.h>.
33886 [__ASSUME_32BITUIDS]: Make code unconditional.
33887 [!__ASSUME_32BITUIDS]: Remove conditional code.
33888 * sysdeps/unix/sysv/linux/opendir.c: Do not include
33889 <kernel-features.h>.
33890 [__ASSUME_O_DIRECTORY]: Make code unconditional.
33891 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33892 132096]: Remove conditional code.
33893 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33894 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33895 <kernel-features.h>.
33896 [__ASSUME_32BITUIDS]: Make code unconditional.
33897 [!__ASSUME_32BITUIDS]: Remove conditional code.
33898 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33899 <kernel-features.h>.
33900 [__ASSUME_32BITUIDS]: Make code unconditional.
33901 [!__ASSUME_32BITUIDS]: Remove conditional code.
33902 * sysdeps/unix/sysv/linux/setegid.c: Do not include
33903 <kernel-features.h>.
33904 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33906 (__setresgid): Do not declare.
33907 [__ASSUME_32BITUIDS]: Make code unconditional.
33908 [!__ASSUME_32BITUIDS]: Remove conditional code.
33909 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33910 <kernel-features.h>.
33911 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33913 (__setresuid): Do not declare.
33914 [__ASSUME_32BITUIDS]: Make code unconditional.
33915 [!__ASSUME_32BITUIDS]: Remove conditional code.
33916 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33917 <kernel-features.h>.
33918 [__ASSUME_32BITUIDS]: Make code unconditional.
33919 [!__ASSUME_32BITUIDS]: Remove conditional code.
33920 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33921 <kernel-features.h>.
33922 [__ASSUME_32BITUIDS]: Make code unconditional.
33923 [!__ASSUME_32BITUIDS]: Remove conditional code.
33925 2012-05-25 Richard Henderson <rth@twiddle.net>
33927 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33928 dl_hwcap to ifunc resolver.
33929 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33931 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33932 dl_hwcap to ifunc resolver.
33933 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33935 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33938 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33939 for |x| <= 2**-26, not 2**-57.
33940 * math/libm-test.inc (acos_test): Do not allow spurious underflow
33943 2012-05-24 Jeff Law <law@redhat.com>
33945 * stdio-common/Makefile (tests): Add bug25.
33946 * stdio-common/bug25.c: New test.
33948 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33951 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33952 multiple of MALLOC_ALIGNMENT in size.
33953 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33955 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33957 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33959 (FILENAME_MAX): Use macro-int-constant.
33960 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
33961 (_IOFBF): Use macro-int-constant.
33962 (_IOLBF): Likewise.
33963 (_IONBF): Likewise.
33964 (SEEK_CUR): Likewise.
33965 (SEEK_END): Likewise.
33966 (SEEK_SET): Likewise.
33967 (TMP_MAX): Likewise.
33968 (EOF): Use macro-int-constant. Require < 0.
33969 (NULL): Use macro-constant. Require == 0.
33970 (stdin): Require type to be FILE *.
33971 (stdout): Likewise.
33972 (stderr): Likewise.
33973 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33974 macro-int-constant.
33975 (EXIT_SUCCESS): Likewise.
33976 (NULL): Use macro-constant. Require == 0.
33977 (RAND_MAX): Use macro-int-constant.
33978 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33979 [C99-based standards] (strtof): Require function.
33980 [C99-based standards] (strtold): Likewise.
33981 [C99-based standards] (strtoll): Likewise.
33982 [C99-based standards] (strtoull): Likewise.
33983 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33984 [ISO || ISO99 || ISO11] (limits.h): Likewise.
33985 [ISO || ISO99 || ISO11] (math.h): Likewise.
33986 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33987 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33988 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33990 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
33993 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33994 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33995 * intl/dgettext.c (DCGETTEXT): Likewise.
33996 * intl/gettext.c (DCGETTEXT): Likewise.
33997 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33998 * posix/regex_internal.h (gettext): Likewise.
33999 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34000 Remove declaration.
34001 * include/argz.h (__argz_count_internal)
34002 (__argz_stringify_internal): Remove declaration.
34003 (__argz_count, __argz_stringify): Declare hidden proto.
34004 * intl/dcgettext.c: Remove use of INTDEF.
34005 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34006 * string/argz-stringify.c: Likewise.
34007 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34008 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34009 Declare hidden proto.
34010 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34011 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34012 Declare hidden proto.
34013 * include/stdio.h (__asprintf_internal): Don't declare.
34014 (__asprintf): Don't define as macro. Declare hidden proto.
34015 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34016 (__fsetlocking): Declare hidden proto.
34017 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34018 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34020 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34021 (_IO_setlinebuf): Remove use of INTUSE.
34022 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34023 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34024 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34025 Remove declaration.
34026 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34027 (_IO_do_flush): Remove use of INTUSE.
34028 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34029 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34030 (_IO_adjust_column, _IO_least_wmarker)
34031 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34032 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34033 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34034 (_IO_default_doallocate, _IO_wdefault_doallocate)
34035 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34036 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34037 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34038 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34039 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34040 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34041 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34042 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34043 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34044 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34045 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34046 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34047 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34049 (_IO_flush_all_internal, _IO_adjust_column_internal)
34050 (_IO_default_uflow_internal, _IO_default_finish_internal)
34051 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34052 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34053 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34054 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34055 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34056 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34057 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34058 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34059 (_IO_file_close_internal, _IO_file_close_it_internal)
34060 (_IO_file_underflow_internal, _IO_file_overflow_internal)
34061 (_IO_file_init_internal, _IO_file_attach_internal)
34062 (_IO_file_fopen_internal, _IO_file_read_internal)
34063 (_IO_file_sync_internal, _IO_file_seek_internal)
34064 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34065 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34066 (_IO_str_underflow_internal, _IO_str_overflow_internal)
34067 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34068 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34069 (_IO_list_all_internal, _IO_link_in_internal)
34070 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34071 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34072 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34073 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34074 (_IO_do_write_internal, _IO_padn_internal)
34075 (_IO_getline_info_internal, _IO_getline_internal)
34076 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34077 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34078 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34079 (_IO_vfscanf_internal, _IO_vfprintf_internal)
34080 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34081 (_IO_init_internal, _IO_un_link_internal): Don't declare.
34082 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34083 with libc_hidden_ver, remove use of INTUSE.
34084 * libio/genops.c: Likewise.
34085 * libio/freopen.c: Likewise.
34086 * libio/freopen64.c: Likewise.
34087 * libio/iofclose.c: Likewise.
34088 * libio/iofdopen.c: Likewise.
34089 * libio/iofflush.c: Likewise.
34090 * libio/iofflush_u.c: Likewise.
34091 * libio/iofgets.c: Likewise.
34092 * libio/iofgets_u.c: Likewise.
34093 * libio/iofopen.c: Likewise.
34094 * libio/iofopncook.c: Likewise.
34095 * libio/iofread.c: Likewise.
34096 * libio/iofread_u.c: Likewise.
34097 * libio/ioftell.c: Likewise.
34098 * libio/iofwrite.c: Likewise.
34099 * libio/iogetline.c: Likewise.
34100 * libio/iogets.c: Likewise.
34101 * libio/iogetwline.c: Likewise.
34102 * libio/iopadn.c: Likewise.
34103 * libio/iopopen.c: Likewise.
34104 * libio/ioseekoff.c: Likewise.
34105 * libio/ioseekpos.c: Likewise.
34106 * libio/iosetbuffer.c: Likewise.
34107 * libio/iosetvbuf.c: Likewise.
34108 * libio/ioungetc.c: Likewise.
34109 * libio/ioungetwc.c: Likewise.
34110 * libio/iovdprintf.c: Likewise.
34111 * libio/iovsprintf.c: Likewise.
34112 * libio/iovsscanf.c: Likewise.
34113 * libio/memstream.c: Likewise.
34114 * libio/obprintf.c: Likewise.
34115 * libio/oldfileops.c: Likewise.
34116 * libio/oldiofclose.c: Likewise.
34117 * libio/oldiofdopen.c: Likewise.
34118 * libio/oldiofopen.c: Likewise.
34119 * libio/oldiopopen.c: Likewise.
34120 * libio/oldstdfiles.c: Likewise.
34121 * libio/putc.c: Likewise.
34122 * libio/setbuf.c: Likewise.
34123 * libio/setlinebuf.c: Likewise.
34124 * libio/stdfiles.c: Likewise.
34125 * libio/strops.c: Likewise.
34126 * libio/vasprintf.c: Likewise.
34127 * libio/vscanf.c: Likewise.
34128 * libio/vsnprintf.c: Likewise.
34129 * libio/vswprintf.c: Likewise.
34130 * libio/wfiledoalloc.c: Likewise.
34131 * libio/wfileops.c: Likewise.
34132 * libio/wgenops.c: Likewise.
34133 * libio/wmemstream.c: Likewise.
34134 * libio/wstrops.c: Likewise.
34135 * libio/__fpurge.c: Likewise.
34136 * libio/__fsetlocking.c: Likewise.
34137 * assert/assert.c: Likewise.
34138 * debug/fgets_chk.c: Likewise.
34139 * debug/fgets_u_chk.c: Likewise.
34140 * debug/fread_chk.c: Likewise.
34141 * debug/fread_u_chk.c: Likewise.
34142 * debug/gets_chk.c: Likewise.
34143 * debug/obprintf_chk.c: Likewise.
34144 * debug/vasprintf_chk.c: Likewise.
34145 * debug/vdprintf_chk.c: Likewise.
34146 * debug/vsnprintf_chk.c: Likewise.
34147 * debug/vsprintf_chk.c: Likewise.
34148 * malloc/mtrace.c: Likewise.
34149 * misc/error.c: Likewise.
34150 * misc/syslog.c: Likewise.
34151 * stdio-common/asprintf.c: Likewise.
34152 * stdio-common/fxprintf.c: Likewise.
34153 * stdio-common/getw.c: Likewise.
34154 * stdio-common/isoc99_fscanf.c: Likewise.
34155 * stdio-common/isoc99_scanf.c: Likewise.
34156 * stdio-common/isoc99_vfscanf.c: Likewise.
34157 * stdio-common/isoc99_vscanf.c: Likewise.
34158 * stdio-common/isoc99_vsscanf.c: Likewise.
34159 * stdio-common/printf-prs.c: Likewise.
34160 * stdio-common/printf_fp.c: Likewise.
34161 * stdio-common/printf_fphex.c: Likewise.
34162 * stdio-common/printf_size.c: Likewise.
34163 * stdio-common/putw.c: Likewise.
34164 * stdio-common/scanf.c: Likewise.
34165 * stdio-common/sprintf.c: Likewise.
34166 * stdio-common/tmpfile.c: Likewise.
34167 * stdio-common/vfprintf.c: Likewise.
34168 * stdio-common/vfscanf.c: Likewise.
34169 * stdlib/strfmon_l.c: Likewise.
34170 * sunrpc/openchild.c: Likewise.
34171 * sunrpc/xdr_stdio.c: Likewise.
34172 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34173 * sysdeps/mach/hurd/tmpfile.c: Likewise.
34175 2012-05-24 Roland McGrath <roland@hack.frob.com>
34177 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34179 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34180 in the third column, to generate for the shared library an IFUNC
34181 that uses _dl_vdso_vsym.
34182 * Makerules (COMPILE.c, compile-stdin.c): New variables.
34183 * Makeconfig (object-suffixes-noshared): New variable.
34185 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34186 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34187 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34188 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34191 * include/sys/time.h (__gettimeofday): Remove macro.
34192 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34193 * time/gettimeofday.c (__gettimeofday): Remove #undef.
34195 (__gettimeofday): Add libc_hidden_def.
34196 (gettimeofday): Add libc_hidden_weak.
34197 * sysdeps/mach/gettimeofday.c: Likewise.
34198 * sysdeps/posix/gettimeofday.c: Likewise.
34199 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34200 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34201 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34202 (__gettimeofday_internal): Remove strong_alias.
34203 (__gettimeofday): Add libc_hidden_def.
34204 (gettimeofday): Add libc_hidden_weak.
34205 * sysdeps/unix/syscalls.list (gettimeofday):
34206 Remove __gettimeofday_internal alias.
34208 2012-05-24 Daniel Jacobowitz <drow@false.org>
34209 H.J. Lu <hongjiu.lu@intel.com>
34212 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34213 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34214 (largebin_index_32_big): New.
34215 (largebin_index): Use it for 16-byte alignment.
34216 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
34217 correction with front_misalign.
34219 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34221 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34222 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34224 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34226 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34228 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34230 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34232 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34234 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34236 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34238 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34240 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34242 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34244 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34247 * scripts/data/c++-types-x32-linux-gnu.data: New file.
34248 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34250 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34254 * math/libm-test.inc (exp_test): Add test from bug 14036.
34255 (pow_test): Add test from bug 10846.
34257 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34259 (special_function): Do not include flags in test name.
34260 (parse_args): Likewise.
34261 * sysdeps/i386/fpu/libm-test-ulps: Update.
34262 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34263 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34264 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34267 * math/gen-libm-test.pl (%beautify): Add entries for underflow
34269 * math/libm-test.inc ("Philosophy"): Update comment about
34271 (UNDERFLOW_EXCEPTION): New macro.
34272 (UNDERFLOW_EXCEPTION_OK): Likewise.
34273 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34274 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34275 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34276 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34277 (INVALID_EXCEPTION_OK): Update value.
34278 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34279 (OVERFLOW_EXCEPTION_OK): Likewise.
34280 (IGNORE_ZERO_INF_SIGN): Likewise.
34281 (test_exceptions): Handle underflow exceptions.
34282 (acos_test): Update for underflow exception expectations.
34283 (cexp_test): Likewise.
34284 (clog_test): Likewise.
34285 (clog10_test): Likewise.
34286 (csqrt_test): Likewise.
34287 (ctan_test): Likewise.
34288 (ctanh_test): Likewise.
34289 (exp_test): Likewise.
34290 (exp10_test): Likewise.
34291 (exp2_test): Likewise.
34292 (expm1_test): Likewise.
34293 (fma_test): Likewise.
34294 (j0_test): Likewise.
34295 (jn_test): Likewise.
34296 (nexttoward_test): Likewise.
34297 (pow_test): Likewise.
34298 (scalbn_test): Likewise.
34299 (scalbln_test): Likewise.
34300 (tan_test): Likewise.
34301 (y1_test): Likewise.
34302 * sysdeps/i386/fpu/libm-test-ulps: Update.
34303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34305 2012-05-23 David S. Miller <davem@davemloft.net>
34307 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34308 (__libc_sigaction): Remove unused local variables.
34310 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34312 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34314 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
34316 mktime: avoid signed integer overflow
34317 * time/mktime.c (__mktime_internal): Do not mishandle the case
34318 where diff == INT_MIN.
34320 mktime: simplify computation of average
34321 * time/mktime.c (ranged_convert): Use new time_t_avg function
34322 instead of rolling our own (probably-slower) code.
34324 mktime: do not assume signed right shift propagates sign bit
34325 * time/mktime.c (isdst_differ): New static function.
34326 (__mktime_internal): No need to normalize tm_isdst now.
34327 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34330 mktime: merge another wrapv change from gnulib
34331 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34332 from some compilers.
34334 mktime: remove incorrect attempt at unusual arithmetics
34335 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34336 The code didn't really work on such machines anyway.
34337 (TYPE_MINIMUM): Assume two's complement.
34338 (twos_complement_arithmetic): Verify that long_int and time_t
34339 are two's complement (or unsigned, in the latter case).
34341 mktime: check signed shifts on long_int and time_t, too
34342 * time/mktime.c (SHR): Check that shifts work as desired
34343 on the types long_int and time_t too, as SHR is used on
34346 mktime: do not assume 'long' is wide enough
34347 * time/mktime.c (verify): Move decl up.
34348 (long_int): New type.
34349 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34350 to remove assumption in the code that 'long' is wide enough to
34351 store year values. This assumption is not true on x32 and on
34352 some non-glibc platforms.
34354 mktime: merge wrapv change from gnulib
34355 * time/mktime.c (WRAPV): New macro.
34356 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34357 (guess_time_tm, __mktime_internal): Do not assume that signed
34358 integer overflow wraps around; modern compilers generate code
34359 where this assumption is no longer valid.
34361 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34363 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34364 Replace "jmp L(pseudo_end)" with "ret".
34365 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34368 2012-05-23 Andreas Jaeger <aj@suse.de>
34370 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34371 * sysdeps/unix/sysv/linux/poll.c: Remove file.
34373 2012-05-23 Andreas Jaeger <aj@suse.de>
34374 Maximilian Attems <max@stro.at>
34376 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34379 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34381 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34382 code so that pseudo_end is just ret and the stack pointer is
34383 correct also for static library in error case.
34385 2012-05-23 Joseph Myers <joseph@codesourcery.com>
34387 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34388 move to syscalls.list.
34389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34394 * manual/install.texi (Running make install): Do not mention Linux
34395 kernel version for which pt_chown is not needed.
34396 (Linux): Do not mention problems with nscd with 2.0 kernels.
34397 * INSTALL: Regenerated.
34399 2012-05-23 Andreas Jaeger <aj@suse.de>
34401 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34402 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34404 * sysdeps/unix/sysv/linux/s390/bits/mman.h
34405 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34406 * sysdeps/unix/sysv/linux/sh/bits/mman.h
34407 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34408 * sysdeps/unix/sysv/linux/i386/bits/mman.h
34409 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34410 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34411 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34412 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34413 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34414 * sysdeps/unix/sysv/linux/bits/in.h
34415 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34417 2012-05-22 Roland McGrath <roland@hack.frob.com>
34419 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34420 (PREPARE_VERSION): Just use assert instead, it will be elided
34421 under [NDEBUG] anyway.
34423 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34425 * sysdeps/unix/sysv/linux/Makefile: Include
34426 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34427 (sysdep_routines): Remove sysctl.
34428 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34429 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34430 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34431 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34432 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34434 2012-05-22 Andreas Jaeger <aj@suse.de>
34436 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34437 that pseudo_end is just ret and the stack pointer is correct also
34438 for static library in error case.
34440 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
34443 * nss/nsswitch.c (defconfig_entries): New variable.
34444 (__nss_database_lookup): Don't leak defconfig entries.
34445 (nss_parse_service_list): Don't leak on error paths.
34446 (free_database_entries): New function.
34447 (free_defconfig): New function.
34448 (free_mem): Move common code to free_database_entries.
34450 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34452 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34454 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34456 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34457 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34458 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34460 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34461 (INTERNAL_SYSCALL_TYPES): Likewise.
34462 (LOAD_ARGS_TYPES_[1-6]): Likewise.
34463 (LOAD_REGS_TYPES_[1-6]): Likewise.
34464 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34465 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34467 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34469 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34470 copysignl for GLIBC_2_0.
34471 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34472 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34473 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34474 logbl for GLIBC_2_0.
34475 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34476 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34478 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34480 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34481 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34483 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34486 * time/mktime.c: Update copyright years.
34488 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34490 mktime: merge comment-quoting-style change from gnulib
34491 * time/mktime.c: Quote 'like this' in comments.
34492 The GNU coding standards suggest that we no longer quote `like this',
34493 as "`" and "'" are typically rendered asymmetrically nowadays.
34494 The typical gnulib style is to quote 'like this' when quoting
34495 code, and "like this" when quoting English.
34497 * time/mktime.c (compile-command): Add "-I.".
34499 mktime: merge mktime-internal.h change from gnulib
34500 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34502 mktime: merge time_r change from gnulib
34503 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34505 mktime: merge DEBUG change from gnulib
34506 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34507 case system <time.h> has a #define.
34509 mktime: merge <sys/types.h> change from gnulib
34510 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34511 since <time.t> is now guaranteed to define time_t.
34513 mktime: merge HAVE_CONFIG_H change from gnulib
34514 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34516 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34518 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34521 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34523 (struct rusage): Use anonymous union to pad each field to
34526 2012-05-21 David S. Miller <davem@davemloft.net>
34528 * Makefules (o-iterator): Remove .s cases.
34529 (compile-command.s): Delete.
34530 (COMPILE.s): Delete.
34531 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34533 2012-05-21 Joseph Myers <joseph@codesourcery.com>
34535 * configure.in (libc_cv_predef_stack_protector): Only consider
34536 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34537 * configure: Regenerated.
34539 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34541 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34542 New macro. Use R*LP on int and pointer.
34543 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34544 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34545 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34546 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34548 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34549 [__WORDSIZE_TIME64_COMPAT32] instead of
34550 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34551 (struct utmp): Likewise.
34552 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34553 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34555 (__WORDSIZE_TIME64_COMPAT32): This.
34556 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34557 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34558 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34559 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34560 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34561 (__WORDSIZE_TIME64_COMPAT32): New macro.
34563 2012-05-21 Andreas Jaeger <aj@suse.de>
34565 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34566 only if [SHARED]. Add prototype for __wcschr_ia32.
34568 2012-05-21 Roland McGrath <roland@hack.frob.com>
34570 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34571 of %rbp unmolested in the jmp_buf while mangling the low bits.
34572 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34573 unmolested high bits of %rbp while demangling the low bits.
34574 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34576 2012-05-21 Andreas Jaeger <aj@suse.de>
34578 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34579 * sunrpc/svc_simple.c: Use it for registerrpc.
34580 * sunrpc/xcrypt.c: Use it for passwd2des.
34582 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34584 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34586 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34587 Don't define if [__SYSCALL_WORDSIZE != 32].
34588 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34591 2012-05-21 Bruno Haible <bruno@clisp.org>
34592 Andreas Jaeger <aj@suse.de>
34594 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34595 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34596 inptr and inend for must_buffer_ch.
34597 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34598 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34599 * stdio-common/Makefile (tests): Remove bug15.
34600 (bug15-ENV): Remove macro.
34601 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34604 2012-05-19 Andreas Jaeger <aj@suse.de>
34605 Roland McGrath <roland@hack.frob.com>
34607 * manual/contrib.texi: Completely rewritten. It contains now an
34608 alphabetical list of contributors and their contributions.
34610 2012-05-21 Richard Henderson <rth@twiddle.net>
34612 * misc/getauxval.c (__getauxval): Use unsigned long int.
34613 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34614 (getauxval): Use unsigned long int.
34616 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34618 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34620 2012-05-21 Roland McGrath <roland@hack.frob.com>
34622 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34623 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34624 __alignof__ (long double).
34626 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34628 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34630 2012-05-20 Richard Henderson <rth@twiddle.net>
34632 * misc/getauxval.c: New file.
34633 * misc/sys/auxv.h: New file.
34634 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34635 (routines): Add getauxval.
34636 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34637 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34638 * elf/dl-sysdep.c (_dl_auxv): Remove.
34639 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34640 * elf/dl-support.c (_dl_auxv): New variable.
34641 (_dl_aux_init): Initialize it.
34642 * manual/startup.texi (Auxiliary Vector): New node.
34643 * sysdeps/generic/bits/hwcap.h: New file.
34644 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34645 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34646 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34647 * sysdeps/sparc/sysdep.h: ... here. Include it.
34648 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34649 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34654 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34655 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34656 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34657 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34658 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34661 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34663 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34665 2012-05-19 David S. Miller <davem@davemloft.net>
34667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34669 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34672 * math/s_ccosh.c: Include <float.h>
34673 (__ccosh): Avoid internal overflow calculating sinh and cosh
34674 values before multiplying by sin and cos values.
34675 * math/s_ccoshf.c: Likewise.
34676 * math/s_ccoshl.c: Likewise.
34677 * math/s_csin.c: Likewise.
34678 * math/s_csinf.c: Likewise.
34679 * math/s_csinl.c: Likewise.
34680 * math/s_csinh.c: Likewise.
34681 * math/s_csinhf.c: Likewise.
34682 * math/s_csinhl.c: Likewise.
34683 * math/libm-test.inc (ccos_test): Add more tests.
34684 (ccosh_test): Likewise.
34685 (csin_test): Likewise.
34686 (csinh_test): Likewise.
34687 * sysdeps/i386/fpu/libm-test-ulps: Update.
34688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34690 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34692 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34693 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34695 * sysdeps/x86_64/x32/_itoa.h: Add comment.
34697 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34699 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34700 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34701 * sysdeps/powerpc/soft-fp/Versions: Likewise.
34702 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34703 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34704 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34705 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34706 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34707 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34708 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34709 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34710 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34711 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34712 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34713 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34714 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34715 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34716 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34717 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34718 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34719 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34720 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34721 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34722 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34723 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34724 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34725 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34726 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34727 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34728 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34729 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34731 2012-05-18 Andreas Jaeger <aj@suse.de>
34733 * csu/.gitignore: Delete.
34735 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34737 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34738 (timex): Use __syscall_slong_t.
34740 2012-05-18 Andreas Jaeger <aj@suse.de>
34741 Carlos O'Donell <carlos_odonell@mentor.com>
34743 * manual/install.texi (Configuring and compiling): Update
34744 description about files modified in the source directory.
34745 * INSTALL: Regenerated.
34747 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34749 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34750 value. Use "or" to set return value to -1.
34751 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34752 negate return value.
34754 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34756 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34757 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
34758 failure if the compiler has Graphite support disabled.
34759 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34761 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34762 (CFLAGS-memmove.c): Likewise.
34763 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34766 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34768 * sysdeps/x86_64/x32/_itoa.h: New file.
34770 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34771 getdents system call only if kernel and user dirents have the
34772 same d_ino and d_off.
34774 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34775 LLONG_MAX != LONG_MAX.
34776 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34777 (_fitoa_word): Likewise.
34779 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34781 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34782 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34783 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34785 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34786 include <bits/wordsize.h>. Check __x86_64__ instead of
34788 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34789 if __x86_64__ is defined. Use anonymous union on fpstate.
34791 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34794 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
34796 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34797 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34798 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34799 Refer to _rtld_local_ro instead of _rtld_global_ro.
34800 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34802 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34804 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34806 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34807 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34808 of _rtld_global, and rtld_progname instead of _dl_argv[0].
34810 * sysdeps/powerpc/powerpc32/dl-machine.c
34811 (__elf_machine_runtime_setup) [PROF]: Don't reference
34814 2012-05-18 Andreas Jaeger <aj@suse.de>
34816 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34817 function only available for GCCs before 3.4 since GCC 3.4
34818 introduced a builtin.
34820 (llrintf): Likewise.
34821 (llrint): Likewise.
34828 (nearbyint): Likewise.
34829 (nearbyintf): Likewise.
34833 (floorf): Likewise.
34835 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34837 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34838 on both fields and cast pointer to __syscall_ulong_t.
34840 * bits/types.h (__fsword_t): New type.
34841 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34842 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34843 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34844 (__FSWORD_T_TYPE): Likewise.
34845 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34846 (__FSWORD_T_TYPE): Likewise.
34847 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34848 (__FSWORD_T_TYPE): Likewise.
34849 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34850 (__FSWORD_T_TYPE): Likewise.
34851 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34852 __SWORD_TYPE with __fsword_t.
34853 (statfs64): Likewise.
34855 2012-05-17 David S. Miller <davem@davemloft.net>
34857 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34859 2012-05-17 Andreas Jaeger <aj@suse.de>
34861 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34864 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34866 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34868 2012-05-17 Andreas Jaeger <aj@suse.de>
34870 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34873 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34875 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34877 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34879 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34880 * sysdeps/x86_64/tst-mallocalign1.c: New file.
34882 2012-05-17 Andreas Jaeger <aj@suse.de>
34883 Carlos O'Donell <carlos_odonell@mentor.com>
34886 * sysdeps/x86_64/multiarch/init-arch.h
34887 (bit_YMM_Usable): Rename to...
34888 (bit_AVX_Usable): ... this.
34889 (bit_FMA4_Usable): New macro.
34890 (bit_XMM_state): New macro.
34891 (bit_YMM_state): New macro.
34892 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34893 [__ASSEMBLER__] (index_AVX_Usable): ... this.
34894 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34895 (CPUID_OSXSAVE): New macro.
34896 (CPUID_AVX): New macro.
34897 (CPUID_FMA4): New macro.
34898 (index_YMM_Usable): Rename to...
34899 (index_AVX_Usable): ... this.
34900 (HAS_AVX): Use HAS_ARCH_FEATURE.
34901 (HAS_FMA4): Likewise.
34902 (HAS_YMM_USABLE): Remove.
34903 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34904 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34906 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34907 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34908 * sysdeps/x86_64/multiarch/Makefile: Likewise.
34909 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34910 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34912 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34914 * math/libm-test.c: Support platforms without multiple rounding modes.
34915 * math/bug-nextafter.c: Support platforms without FP exceptions.
34916 * math/bug-nexttoward.c: Likewise.
34917 * math/test-fenv.c: Likewise.
34918 * math/test-misc.c: Likewise.
34919 * stdlib/bug-getcontext.c: Likewise.
34921 2012-05-17 Andreas Jaeger <aj@suse.de>
34923 * manual/examples/search.c (critter_cmp): Change signature to
34925 * manual/string.texi (Collation Functions): Likewise.
34927 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34929 * bits/types.h: Fold copyright years.
34930 * bits/typesizes.h: Likewise.
34931 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34932 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34933 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34934 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34935 * time/time.h: Likewise.
34937 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
34940 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34941 in instead of returning them. Return void.
34942 (__libc_mallinfo): Accumulate over all arenas.
34943 (__malloc_stats): Adjust for change in int_mallinfo interface.
34945 2012-05-16 Roland McGrath <roland@hack.frob.com>
34948 * configure.in (NM): Add AC_CHECK_TOOL for it.
34949 (libc_extra_cflags): New substituted variable.
34950 Check for -fstack-protector being used implicitly.
34951 * configure: Regenerated.
34952 * config.make.in (config-extra-cflags): New variable,
34953 gets @libc_extra_cflags@.
34954 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34957 * configure.in: Check for _FORTIFY_SOURCE being predefined.
34958 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34959 * configure: Regenerated.
34960 * config.make.in (CPPUNDEFS): New substituted variable.
34961 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34962 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34963 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34965 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34967 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34968 (mq_attr): Use __syscall_slong_t.
34970 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34972 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34973 Check __x86_64__ instead of __WORDSIZE.
34974 (_STAT_VER_LINUX): Likewise.
34975 (stat): Check __x86_64__ instead of __WORDSIZE. Use
34976 __syscall_ulong_t and __syscall_slong_t.
34977 (stat64): Likewise.
34979 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34981 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34983 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34985 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34987 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34989 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34992 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34993 include <bits/wordsize.h>. Check __x86_64__ instead of
34995 (greg_t): Use "__extension__ long long int" if __x86_64__ is
34997 (mcontext_t): Replace "unsigned long" with "unsigned long long".
34999 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35000 include <bits/wordsize.h>. Check __x86_64__ instead of
35002 (user_regs_struct): Use "__extension__ unsigned long long"
35003 instead of "unsigned long" if __x86_64__ is defined.
35004 (user): Likewise. Pad after pointer field if __ILP32__ is
35007 2012-05-16 Joseph Myers <joseph@codesourcery.com>
35009 * configure.in (makeinfo): Require version 4.5 or later. Allow
35011 * configure: Regenerated.
35012 * manual/install.texi (texinfo): Increase version requirement to
35014 * INSTALL: Regenerated.
35016 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35018 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35020 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35022 * sysdeps/x86_64/x32/ffs.c: New file.
35024 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35026 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35027 defined. Use __syscall_ulong_t.
35028 (shminfo): Use __syscall_ulong_t.
35029 (shm_info): Likewise.
35031 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35034 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35036 (msgqnum_t): Use __syscall_ulong_t.
35037 (msglen_t): Likewise.
35038 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
35041 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35042 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35044 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35046 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35047 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35049 * sysvipc/sys/msg.h (msgbuf): Replace long int with
35052 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35053 include <bits/wordsize.h>. Check __x86_64__ instead of
35056 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35057 "unsigned long long int" if __x86_64__ is defined.
35058 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35060 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35061 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35062 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35064 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35066 (GET_PC): Cast to uintptr_t first.
35067 (GET_FRAME): Likewise.
35068 (GET_STACK): Likewise.
35070 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35071 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35072 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35073 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35074 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35075 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35076 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35077 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35078 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35079 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35080 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35081 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35082 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35083 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35084 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35085 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35086 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35087 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35088 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35089 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35090 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35091 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35092 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35093 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35094 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35095 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35096 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35097 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35098 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35100 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
35102 * Makerules (+depfiles): Also collect depfiles from .oS in
35104 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35105 .oS, $(libnldbl-routines)).
35107 * Makerules (native-compile-mkdep-flags): Define.
35108 * sunrpc/Makefile (extra-objs): Add $(addprefix
35109 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35110 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35111 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
35112 calling $(make-target-directory).
35114 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35116 * bits/types.h (__snseconds_t): Removed.
35117 * time/time.h (struct timespec): Replace __snseconds_t with
35119 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35120 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35122 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35123 (__SNSECONDS_T_TYPE): Likewise.
35124 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35125 (__SNSECONDS_T_TYPE): Likewise.
35126 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35127 (__SNSECONDS_T_TYPE): Likewise.
35129 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35131 * sysdeps/mach/hurd/bits/typesizes.h
35132 (__SYSCALL_SLONG_TYPE): New macro.
35133 (__SYSCALL_ULONG_TYPE): Likewise.
35135 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35137 * bits/types.h (__syscall_slong_t): New type.
35138 (__syscall_ulong_t): Likewise.
35140 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35141 (__SYSCALL_ULONG_TYPE): Likewise.
35142 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35143 (__SYSCALL_SLONG_TYPE): Likewise.
35144 (__SYSCALL_ULONG_TYPE): Likewise.
35145 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35146 (__SYSCALL_SLONG_TYPE): Likewise.
35147 (__SYSCALL_ULONG_TYPE): Likewise.
35148 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35149 (__SYSCALL_SLONG_TYPE): Likewise.
35150 (__SYSCALL_ULONG_TYPE): Likewise.
35152 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35154 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35155 Add sigaltstack-offsets.sym.
35156 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35157 <sigaltstack-offsets.h>.
35158 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
35159 longjmp_msg pointer.
35160 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
35161 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35163 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35165 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35167 * elf/stackguard-macros.h: Remove file.
35168 * sysdeps/generic/stackguard-macros.h: New file.
35169 * sysdeps/i386/stackguard-macros.h: Likewise.
35170 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35171 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35172 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35173 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35174 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35175 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35176 * sysdeps/x86_64/stackguard-macros.h: Likewise.
35177 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35178 <elf/stackguard-macros.h>.
35181 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35182 __aligned__ in attribute.
35183 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35184 (gregset_t): Likewise.
35186 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35188 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35189 * sysdeps/x86_64/64/Implies-after: Here. New file.
35190 * sysdeps/x86_64/x32/Implies-after: New file.
35192 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35194 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35195 and access return value for _dl_profile_fixup. Use R10_LP to
35198 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35200 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35202 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35204 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35205 * sysdeps/x86_64/x32/sysdep.h: New file.
35207 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35209 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35210 * sysdeps/x86_64/setjmp.S: Likewise.
35212 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35214 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35215 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35216 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35217 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35218 remove unused global constant.
35220 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
35222 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35223 include of <not-cancel.h>.
35225 2012-05-15 Roland McGrath <roland@hack.frob.com>
35227 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35229 2012-05-15 Jeff Law <law@redhat.com>
35230 Andreas Jaeger <aj@suse.de>
35233 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35235 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35236 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35237 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35238 code changing __hst_map_handle.map.
35240 2012-05-15 Roland McGrath <roland@hack.frob.com>
35242 * configure.in (sysnames): Look for Implies-before and Implies-after
35244 * configure: Regenerated.
35246 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35248 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35249 8-byte data alignment with LP_SIZE alignment.
35251 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35253 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35256 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35258 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35260 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35262 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35263 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35264 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35266 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35268 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35270 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35271 (stackinfo_sub_sp): Likewise.
35273 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35275 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35278 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35280 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35283 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35285 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35288 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35290 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35292 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35294 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35295 into R11_LP and load __x86_64_shared_cache_size_half into
35298 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35300 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35303 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35305 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35307 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35309 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35311 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35312 powerpc32/power7/fpu/s_logb.c via #include.
35313 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35314 powerpc32/power7/fpu/s_logbf.c via #include.
35315 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35316 powerpc32/power7/fpu/s_logbl.c via #include.
35318 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35320 * README.libm: Remove file.
35322 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35324 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35325 count for x32. Use R*_LP and omit operand-size suffix.
35327 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35329 * shlib-versions: Move x86_64-.*-linux.* entries to ...
35330 * sysdeps/x86_64/64/shlib-versions: Here. New file.
35331 * sysdeps/x86_64/x32/shlib-versions: New file.
35333 2012-05-14 Roland McGrath <roland@hack.frob.com>
35335 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35336 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35337 Use _dl_fatal_printf instead.
35339 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35341 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35342 set if not set by the user. Do not allow for being unset.
35343 * sysdeps/unix/sysv/linux/configure: Regenerated.
35345 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35347 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35348 the `q' suffix from lea and replace .quad with ASM_ADDR.
35350 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35352 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35353 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
35355 (PTR_DEMANGLE): Likewise.
35357 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35359 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35361 (ASM_ADDR): Likewise.
35362 (RAX_LP): Likewise.
35363 (RBP_LP): Likewise.
35364 (RBX_LP): Likewise.
35365 (RCX_LP): Likewise.
35366 (RDI_LP): Likewise.
35367 (RSI_LP): Likewise.
35368 (RSP_LP): Likewise.
35371 (R10_LP): Likewise.
35372 (R10_LP): Likewise.
35373 (R11_LP): Likewise.
35374 (R12_LP): Likewise.
35375 (R13_LP): Likewise.
35376 (R14_LP): Likewise.
35377 (R15_LP): Likewise.
35379 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35381 * sysdeps/x86_64/x32/dl-machine.h: New file.
35383 2012-05-14 Andreas Jaeger <aj@suse.de>
35385 * manual/Makefile (subdir): Remove export of subdir.
35386 (all): Remove target.
35387 (.PHONY): Remove all from list.
35388 (mkinstalldirs): Remove.
35389 (.PHONY): Remove installdirs from list.
35390 ($(inst_infodir)/libc.info): Use make-target-directory.
35391 (installdirs): Remove.
35392 (subdir_%): Remove.
35393 (glibc-targets): Remove.
35396 ($(objpfx)stubs ../po/manual.pot): Remove.
35397 ($(objpfx)stamp%): Remove.
35398 (make-target-directory): Remove.
35399 (subdir_install): Remove.
35400 (routines): Remove.
35407 * manual/.gitignore: Remove, it's not needed anymore.
35408 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35410 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35412 (texis): Renamed to $(objpfx)texis.
35413 (texis-path): New, contains path to generated files.
35414 (chapters.%): Use texis-path for complete path, add extra argument
35416 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35417 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35418 (summary,texi, stamp-summary): Use complete path of
35419 files. Generate files in build dir.
35420 (dir-add.texi): Build in build dir.
35421 (libm-err.texi,stamp-libm-err): Likewise.
35422 (version.texi, stamp-version): Likewise.
35423 (.%c.texi): Likewise.
35424 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35425 (mostlyclean): Remove target.
35426 (realclean): Remove target.
35427 (generated): Add new variable with contents from mostlyclean and
35428 realclean, remove entries duplicated in common-mostlyclean, add
35429 stamp-libm-err and stamp-version.
35430 (generated-dirs): Add libc directory.
35431 ($(inst_infodir)/libc.info): Install files from build dir.
35433 * manual/install.texi (Configuring and compiling): Adjust since
35434 the info files are not part of the tar ball anymore.
35436 2012-05-14 Andreas Jaeger <aj@suse.de>
35438 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35441 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35444 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35445 to 2.2.0 where earlier.
35446 * sysdeps/unix/sysv/linux/configure: Regenerated.
35447 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35448 Remove conditional code.
35449 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35450 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35451 Remove conditional code.
35452 [!__NR_lchown]: Likewise.
35453 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35454 [__NR_lchown]: Likewise.
35455 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35456 comment referencing __ASSUME_LCHOWN_SYSCALL.
35457 * sysdeps/unix/sysv/linux/i386/sigaction.c
35458 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35459 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35460 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35461 Remove conditional code.
35462 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35463 (__protocol_available): Remove #if 0 code.
35464 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35466 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35467 * sysdeps/unix/sysv/linux/kernel-features.h
35468 (__ASSUME_GETCWD_SYSCALL): Don't define.
35469 (__ASSUME_REALTIME_SIGNALS): Likewise.
35470 (__ASSUME_PREAD_SYSCALL): Likewise.
35471 (__ASSUME_PWRITE_SYSCALL): Likewise.
35472 (__ASSUME_POLL_SYSCALL): Likewise.
35473 (__ASSUME_LCHOWN_SYSCALL): Likewise.
35474 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35476 (__ASSUME_SIOCGIFNAME): Don't define.
35477 (__ASSUME_MSG_NOSIGNAL): Likewise.
35478 (__ASSUME_SENDFILE): Define unconditionally.
35479 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35480 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35482 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35483 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35484 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35485 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35486 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35487 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35488 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35490 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35491 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35493 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35494 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35496 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35497 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35499 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35500 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35502 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35503 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35505 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35506 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35508 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35509 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35511 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35512 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35513 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35514 Remove conditional code.
35515 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35516 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35517 Remove conditional code.
35518 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35519 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35520 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35521 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35522 Remove conditional code.
35523 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35524 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35525 Remove conditional code.
35526 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35527 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35528 Remove conditional code.
35529 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35530 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35531 Remove conditional code.
35532 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35533 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35534 Remove conditional code.
35535 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35536 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35537 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35538 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35539 * sysdeps/unix/sysv/linux/sigaction.c
35540 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35541 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35542 * sysdeps/unix/sysv/linux/sigpending.c
35543 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35544 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35545 * sysdeps/unix/sysv/linux/sigprocmask.c
35546 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35547 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35548 * sysdeps/unix/sysv/linux/sigsuspend.c
35549 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35550 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35551 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35552 (__libc_missing_rt_sigs): Remove.
35553 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35554 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35555 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35556 Remove conditional code.
35557 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35558 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35560 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35561 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35562 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35563 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35565 2012-05-14 Andreas Jaeger <aj@suse.de>
35567 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35568 it's not used in glibc.
35569 (__coshm1): Likewise.
35570 (__acosh1p): Likewise.
35573 * manual/string.texi (Copying and Concatenation): Add missing
35574 variable in concat example.
35575 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35577 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35580 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35581 __builtin_clzl with __builtin_clzll.
35583 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35586 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35589 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35591 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35592 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35593 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35594 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35596 2012-05-14 Mike Frysinger <vapier@gentoo.org>
35598 * NEWS: Update ia64 info.
35600 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35602 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35605 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35607 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35608 * sysdeps/unix/syscalls.list (dup3): Likewise.
35609 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35610 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35612 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35614 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35615 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35617 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35619 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35621 (TLS_IE): Use mov/add instead of movq/addq to load thread
35623 (TLS_GD_PREFIX): New.
35626 2012-05-11 David S. Miller <davem@davemloft.net>
35628 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35629 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35630 (_FPU_SETCW): Likewise.
35632 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35634 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35635 is 32-byte aligned.
35637 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35640 * iconvdata/gb18030.c: Update tables.
35641 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35642 characters specially.
35643 (BODY for TO_LOOP): Add encoding of missing ranges.
35645 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35648 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35649 * sysdeps/mach/hurd/dup3.c: Likewise.
35650 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35651 * sysdeps/powerpc/memmove.c:: Likewise.
35653 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35655 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35656 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35658 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35660 * elf/elf.h (R_X86_64_RELATIVE64): New.
35661 (R_X86_64_NUM): Updated.
35662 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35663 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35664 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35665 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35666 tst-quad1pie tst-quad2pie
35667 (modules-names): Add tst-quadmod1 tst-quadmod2.
35668 ($(objpfx)tst-quad1): New dependency.
35669 ($(objpfx)tst-quad2): Likewise.
35670 ($(objpfx)tst-quad1pie): Likewise.
35671 ($(objpfx)tst-quad2pie): Likewise.
35672 * sysdeps/x86_64/tst-quad1.c: New file.
35673 * sysdeps/x86_64/tst-quad1pie.c: New file.
35674 * sysdeps/x86_64/tst-quad2.c: Likewise.
35675 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35676 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35677 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35678 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35679 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35681 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35683 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35684 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35685 * streams/stropts.h (t_scalar_t): Define type.
35687 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35688 (_PATH_PRESERVE): Set to "/var/lib".
35689 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35691 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35694 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35695 if __dir_mkfile succeeded.
35697 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35698 checking for _hurd_dtablesize. Unlock it right after having
35699 finished _hurd_dtable allocation.
35701 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35703 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35704 * sysdeps/mach/hurd/configure: Regenerated.
35705 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35706 special-casing to...
35707 * sysdeps/gnu/configure.in: ... this new file.
35708 * sysdeps/unix/sysv/linux/configure: Regenerated.
35709 * sysdeps/gnu/configure: New generated file.
35711 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35712 for Linux: use nsec instead of usec, as well as:
35713 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35714 members of type struct timespec.
35715 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35717 (struct stat64): Likewise.
35718 (_STATBUF_ST_NSEC): New macro.
35719 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35721 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35722 __strtoul_internal rather than strtoul.
35724 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35726 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35729 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35731 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35732 which preserves existing values.
35733 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35735 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35737 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35738 TIMEOUT values. Return EINVAL for NFDS values either negative or
35739 greater than FD_SETSIZE.
35741 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35743 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35744 allocated, call __vm_protect to finish enabling the existing space, and
35745 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35746 allocate the remainder.
35748 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35750 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35751 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
35753 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35755 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35756 sysdeps/mach/hurd/readlink.c.
35758 * posix/tst-sysconf.c (posix_options): Only use
35759 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35760 _POSIX_SYNCHRONIZED_IO when they are defined
35761 * sysdeps/mach/hurd/bits/posix_opt.h:
35762 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35763 (_XOPEN_REALTIME): Undefine macro.
35764 (_XOPEN_REALTIME_THREADS): Undefine macro.
35765 (_XOPEN_SHM): Undefine macro.
35766 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35768 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35770 (_POSIX_ASYNC_IO): Undefine macro.
35771 (_POSIX_PRIORITIZED_IO): Undefine macro.
35772 (_POSIX_SPIN_LOCKS): Define macro to -1.
35774 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35775 SA_NODEFER, SA_RESETHAND.
35776 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35777 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35780 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35782 * elf/Makefile (pldd-modules): Define unconditionally.
35784 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35786 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35788 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35790 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35791 Return ENOENT when name is empty.
35792 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35794 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35796 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35798 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35800 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35802 Fix mlock in all cases except non-readable pages.
35803 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35804 instead of VM_PROT_ALL as parameter to __vm_wire function.
35806 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35807 (__mkdir): When path is `/', just fail with EEXIST.
35808 * sysdeps/mach/hurd/mkdirat.c: Likewise.
35810 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35812 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35813 <sys/uio.h> (for writev).
35814 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35815 and <sys/param.h> (for MIN).
35817 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35819 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35820 REQUESTED_TIME. Properly set the remaining time and return EINTR
35823 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35825 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35826 Depend on against $(link-rpcuserlibs).
35828 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35830 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35831 (__libc_stack_end): Do not use attribute_relro.
35832 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35833 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
35834 to libthread-provided value.
35835 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35838 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35841 * bits/libc-lock.h (__libc_once_get): New macro.
35842 * sysdeps/mach/bits/libc-lock.h: Likewise.
35843 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35844 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35845 instead of using implementation details.
35847 * libio/fileops.c: Unconditionally include <kernel-features.h>.
35848 * libio/freopen.c: Likewise.
35849 * libio/freopen64.c: Likewise.
35850 * misc/syslog.c: Likewise.
35851 * nscd/connections.c: Likewise.
35852 * nscd/netgroupcache.c: Likewise.
35853 * sysdeps/posix/getcwd.c: Likewise.
35855 2012-05-10 Roland McGrath <roland@hack.frob.com>
35857 * math/w_ilogbf.c: Add #include <limits.h>.
35859 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35861 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
35862 path instead of returning without unlocking.
35864 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35865 immediate-write ioctls.
35866 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35868 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35870 * sysdeps/mach/hurd/i386/init-first.c (init): Use
35871 __builtin_frame_address instead of making assumptions about the
35872 location of the return address relative to DATA. Force early load of
35873 the return address.
35874 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35875 __builtin_frame_address.
35878 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35879 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
35880 implement dup3 and do some further code clean-ups.
35881 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35882 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35884 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35886 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35888 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35889 HURD_CRITICAL_END around holding _hurd_dtable_lock.
35890 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35891 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35892 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35895 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35896 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
35897 when handler == SIG_ERR, not when handler != SIG_ERR.
35899 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35901 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35902 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35905 accept4 for GNU Hurd.
35906 * include/sys/socket.h (__libc_accept4): New prototype.
35907 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
35908 to implement __libc_accept4.
35909 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35911 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35913 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35914 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35915 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35916 signal-defines.sym.
35918 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35920 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35922 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35924 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35925 assertion on O_CLOEXEC flag.
35926 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35927 * hurd/intern-fd.c: Likewise.
35928 * hurd/port2fd.c: Likewise.
35930 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35933 * bits/in.h (IPV6_PKTINFO): Define new macro.
35934 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35936 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35941 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35942 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35943 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35944 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35945 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35946 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35947 * math/libm-test.inc (logb_test) : Additional logb tests.
35949 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
35950 Andreas Jaeger <aj@suse.de>
35952 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35953 * configure: Regenerated.
35954 * config.h.in (LINK_OBSOLETE_RPC): New macro.
35955 * config.make.in (link-obsolete-rpc): New substituted variable.
35956 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35957 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35958 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35959 (shared-only-routines): Don't set it under [link-obsolete-rpc],
35960 so that libc.a contains the symbols.
35961 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35962 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35963 * sunrpc/auth_none.c: Likewise.
35964 * sunrpc/auth_unix.c: Likewise.
35965 * sunrpc/authdes_prot.c: Likewise.
35966 * sunrpc/authuxprot.c: Likewise.
35967 * sunrpc/clnt_gen.c: Likewise.
35968 * sunrpc/clnt_perr.c: Likewise.
35969 * sunrpc/clnt_raw.c: Likewise.
35970 * sunrpc/clnt_simp.c: Likewise.
35971 * sunrpc/clnt_tcp.c: Likewise.
35972 * sunrpc/clnt_udp.c: Likewise.
35973 * sunrpc/clnt_unix.c: Likewise.
35974 * sunrpc/des_crypt.c: Likewise.
35975 * sunrpc/des_soft.c: Likewise.
35976 * sunrpc/get_myaddr.c: Likewise.
35977 * sunrpc/key_call.c: Likewise.
35978 * sunrpc/key_prot.c: Likewise.
35979 * sunrpc/netname.c: Likewise.
35980 * sunrpc/pm_getmaps.c: Likewise.
35981 * sunrpc/pm_getport.c: Likewise.
35982 * sunrpc/pmap_clnt.c: Likewise.
35983 * sunrpc/pmap_prot.c: Likewise.
35984 * sunrpc/pmap_prot2.c: Likewise.
35985 * sunrpc/pmap_rmt.c: Likewise.
35986 * sunrpc/publickey.c: Likewise.
35987 * sunrpc/rpc_cmsg.c: Likewise.
35988 * sunrpc/rpc_common.c: Likewise.
35989 * sunrpc/rpc_dtable.c: Likewise.
35990 * sunrpc/rpc_prot.c: Likewise.
35991 * sunrpc/rpc_thread.c: Likewise.
35992 * sunrpc/rtime.c: Likewise.
35993 * sunrpc/svc.c: Likewise.
35994 * sunrpc/svc_auth.c: Likewise.
35995 * sunrpc/svc_raw.c: Likewise.
35996 * sunrpc/svc_run.c: Likewise.
35997 * sunrpc/svc_tcp.c: Likewise.
35998 * sunrpc/svc_udp.c: Likewise.
35999 * sunrpc/svc_unix.c: Likewise.
36000 * sunrpc/svcauth_des.c: Likewise.
36001 * sunrpc/xcrypt.c: Likewise.
36002 * sunrpc/xdr.c: Likewise.
36003 * sunrpc/xdr_array.c: Likewise.
36004 * sunrpc/xdr_float.c: Likewise.
36005 * sunrpc/xdr_intXX_t.c: Likewise.
36006 * sunrpc/xdr_mem.c: Likewise.
36007 * sunrpc/xdr_rec.c: Likewise.
36008 * sunrpc/xdr_ref.c: Likewise.
36009 * sunrpc/xdr_sizeof.c: Likewise.
36010 * sunrpc/xdr_stdio.c: Likewise.
36012 2012-05-10 Roland McGrath <roland@hack.frob.com>
36014 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36015 change. Update copyright years.
36017 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36019 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36021 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
36022 Joseph Myers <joseph@codesourcery.com>
36023 Paul Pluzhnikov <ppluzhnikov@google.com>
36026 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36028 [cross-compiling] (extra-libs): Likewise.
36029 [cross-compiling] (extra-libs-others): Likewise.
36030 [cross-compiling] (librpcsvc-routines): Likewise.
36031 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36032 [cross-compiling] (omit-deps): Likewise.
36033 (sunrpc-CPPFLAGS): New variable.
36034 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36035 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36036 (cross-rpcgen-objs): New variable.
36037 (extra-objs): Append $(cross-rpcgen-objs).
36038 ($(cross-rpcgen-objs)): New rule.
36039 ($(objpfx)cross-rpcgen): Likewise.
36040 (rpcgen-cmd): Define to use $(built-program-file). Expand
36042 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36043 ($(objpfx)x%.stmp): Likewise.
36044 * sunrpc/proto.h [IS_IN_build] (_): Define.
36045 [IS_IN_build] (_libc_intl_domainname): Likewise.
36047 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36049 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36050 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36051 and R_X86_64_TPOFF64.
36053 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36055 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36056 sysdeps/unix/sysv/syscalls.list.
36059 * sysdeps/unix/sysv/syscalls.list: Remove file.
36061 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
36064 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36065 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36066 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36067 (__LC_IDENTIFICATION): Make these macros useful in #if
36068 expressions, as required by C99.
36070 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
36072 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36073 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
36076 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
36078 * stdlib/longlong.h: Updated from GCC.
36080 2012-05-09 Andreas Jaeger <aj@suse.de>
36082 * nscd/nscd.c (run_modes): Make named enum, reorder so that
36083 default is first entry.
36084 (run_mode): Set type.
36085 (main): Remove informal message about syslog.
36086 (options): Fix typo.
36089 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36092 (llrintf): Likewise.
36093 (llrint): Likewise.
36096 (nearbyint): Likewise.
36097 (nearbyintf): Likewise.
36099 2012-05-09 Andreas Jaeger <aj@suse.de>
36100 Pedro Alves <palves@redhat.com>
36102 * nscd/nscd.c (run_mode): Use enum.
36103 (main): Cleanup coding style issue.
36105 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
36106 Andreas Jaeger <aj@suse.de>
36108 * nscd/nscd.c (go_background): Replaced with...
36109 (run_mode): ... this.
36110 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36111 (options): Add -F --foreground.
36112 (main): Implement it.
36113 (parse_opt): Parse it.
36115 2012-05-09 Andreas Jaeger <aj@suse.de>
36118 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36119 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36120 -Wconversion warning.
36121 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36124 2012-05-09 Joseph Myers <joseph@codesourcery.com>
36126 * conform/data/locale.h-data (NULL): Use macro-constant. Require
36128 (LC_ALL): Use macro-int-constant.
36129 (LC_COLLATE): Likewise.
36130 (LC_CTYPE): Likewise.
36131 (LC_MESSAGES): Likewise.
36132 (LC_MONETARY): Likewise.
36133 (LC_NUMERIC): Likewise.
36134 (LC_TIME): Likewise.
36135 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36136 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36137 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36138 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36140 [C99-based standards] (float_t): Expect type.
36141 [C99-based standards] (double_t): Expect type.
36142 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
36144 [C99-based standards] (HUGE_VALL): Likewise.
36145 [C99-based standards] (INFINITY): Likewise.
36146 [C99-based standards] (NAN): Likewise.
36147 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36148 [C99-based standards] (FP_NAN): Likewise.
36149 [C99-based standards] (FP_NORMAL): Likewise.
36150 [C99-based standards] (FP_SUBNORMAL): Likewise.
36151 [C99-based standards] (FP_ZERO): Likewise.
36152 [C99-based standards] (FP_FAST_FMA): Use
36153 optional-macro-int-constant. Specify type. Require == 1.
36154 [C99-based standards] (FP_FAST_FMAF): Likewise.
36155 [C99-based standards] (FP_FAST_FMAL): Likewise.
36156 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36157 [C99-based standards] (FP_ILOGBNAN): Likewise.
36158 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36160 [C99-based standards] (MATH_ERREXCEPT): Likewise.
36161 [C99-based standards] (math_errhandling): Specify type.
36162 [ISO99 || ISO11] (signgam): Do not allow.
36163 [non-C99-based standards] (copysignf): Do not allow.
36164 [non-C99-based standards] (exp2f): Likewise.
36165 [non-C99-based standards] (log2f): Likewise.
36166 [non-C99-based standards] (modff): Allow.
36167 [non-C99-based standards] (erff): Do not allow.
36168 [non-C99-based standards] (erfcf): Likewise.
36169 [non-C99-based standards] (gammaf): Likewise.
36170 [non-C99-based standards] (hypotf): Likewise.
36171 [non-C99-based standards] (j0f): Likewise.
36172 [non-C99-based standards] (j1f): Likewise.
36173 [non-C99-based standards] (jnf): Likewise.
36174 [non-C99-based standards] (lgammaf): Likewise.
36175 [non-C99-based standards] (tgammaf): Likewise.
36176 [non-C99-based standards] (y0f): Likewise.
36177 [non-C99-based standards] (y1f): Likewise.
36178 [non-C99-based standards] (ynf): Likewise.
36179 [non-C99-based standards] (isnanf): Likewise.
36180 [non-C99-based standards] (acoshf): Likewise.
36181 [non-C99-based standards] (asinhf): Likewise.
36182 [non-C99-based standards] (atanhf): Likewise.
36183 [non-C99-based standards] (cbrtf): Likewise.
36184 [non-C99-based standards] (expm1f): Likewise.
36185 [non-C99-based standards] (ilogbf): Likewise.
36186 [non-C99-based standards] (log1pf): Likewise.
36187 [non-C99-based standards] (logbf): Likewise.
36188 [non-C99-based standards] (nextafterf): Likewise.
36189 [non-C99-based standards] (remainderf): Likewise.
36190 [non-C99-based standards] (rintf): Likewise.
36191 [non-C99-based standards] (scalbf): Likewise.
36192 [non-C99-based standards] (copysignl): Likewise.
36193 [non-C99-based standards] (exp2l): Likewise.
36194 [non-C99-based standards] (log2l): Likewise.
36195 [non-C99-based standards] (modfl): Allow.
36196 [non-C99-based standards] (erfl): Do not allow.
36197 [non-C99-based standards] (erfcl): Likewise.
36198 [non-C99-based standards] (gammal): Likewise.
36199 [non-C99-based standards] (hypotl): Likewise.
36200 [non-C99-based standards] (j0l): Likewise.
36201 [non-C99-based standards] (j1l): Likewise.
36202 [non-C99-based standards] (jnl): Likewise.
36203 [non-C99-based standards] (lgammal): Likewise.
36204 [non-C99-based standards] (tgammal): Likewise.
36205 [non-C99-based standards] (y0l): Likewise.
36206 [non-C99-based standards] (y1l): Likewise.
36207 [non-C99-based standards] (ynl): Likewise.
36208 [non-C99-based standards] (isnanl): Likewise.
36209 [non-C99-based standards] (acoshl): Likewise.
36210 [non-C99-based standards] (asinhl): Likewise.
36211 [non-C99-based standards] (atanhl): Likewise.
36212 [non-C99-based standards] (cbrtl): Likewise.
36213 [non-C99-based standards] (expm1l): Likewise.
36214 [non-C99-based standards] (ilogbl): Likewise.
36215 [non-C99-based standards] (log1pl): Likewise.
36216 [non-C99-based standards] (logbl): Likewise.
36217 [non-C99-based standards] (nextafterl): Likewise.
36218 [non-C99-based standards] (remainderl): Likewise.
36219 [non-C99-based standards] (rintl): Likewise.
36220 [non-C99-based standards] (scalbl): Likewise.
36221 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36222 [non-C99-based standards] (FP_*): Do not allow.
36223 [C99-based standards] (FP_*): Change to
36224 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36225 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36227 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36228 (SIG_ERR): Likewise.
36229 [X/Open-based standards] (SIG_HOLD): Likewise.
36230 (SIG_IGN): Likewise.
36231 (SIGABRT): Use macro-int-constant. Specify type. Require
36233 (SIGFPE): Likewise.
36234 (SIGILL): Likewise.
36235 (SIGINT): Likewise.
36236 (SIGSEGV): Likewise.
36237 (SIGTER): Likewise.
36238 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36239 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36240 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36241 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36242 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36243 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36244 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36245 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36246 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36247 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36248 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36249 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36250 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36251 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36252 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36253 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36254 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36255 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36256 [X/Open-based standards] (SIGTRAP): Likewise.
36257 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36258 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36259 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36260 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36261 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36264 2012-05-08 Ian Wienand <ianw@vmware.com>
36267 * time/tzset.c (__tzset_parse_tz): Update default rules for
36268 daylight time changes in the Energy Policy Act of 2005.
36270 2012-05-09 Andreas Jaeger <aj@suse.de>
36273 * elf/ldconfig.c (parse_conf): Change string to make clear that
36274 ldconfig only issued a warning if ld.so.conf does not exist.
36276 2012-05-08 David S. Miller <davem@davemloft.net>
36278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36279 movxtod instead of popping the value on the stack.
36281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36283 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
36285 * config.h.in: Add HAVE_ARM_PCS_VFP.
36287 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
36290 * include/features.h: Warn if user requests __FORTIFY_SOURCE
36291 checking but the checks are disabled for any reason.
36293 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
36295 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36296 and ELF64_R_TYPE with ELFW(R_TYPE).
36298 2012-05-08 Joseph Myers <joseph@codesourcery.com>
36300 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36301 (ulimit): Likewise.
36303 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36304 (settimeofday): Likewise.
36306 2012-05-08 Mike Frysinger <vapier@gentoo.org>
36308 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
36309 a struct th_u2 inside the union, and move tu_block/tu_code into
36310 a new th_u3 union of tu_block/tu_code inside of that. Move
36311 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
36312 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
36313 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36314 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36315 (th_stuff): Change to th_u1.tu_stuff.
36317 (th_msg): Change to th_u1.th_u2.tu_data.
36319 2012-05-07 David S. Miller <davem@davemloft.net>
36321 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36324 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36325 (SETUP_PIC_REG): Use it.
36326 (SETUP_PIC_REG_LEAF): Use it.
36328 2012-05-07 Joseph Myers <joseph@codesourcery.com>
36332 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36334 (EXPL_FINITE): Likewise.
36335 (FLDLOG): Likewise.
36336 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36337 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36339 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36341 (EXPL_FINITE): Likewise.
36342 (FLDLOG): Likewise.
36343 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36344 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36346 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
36347 test of -max_value argument for long double.
36348 * sysdeps/i386/fpu/libm-test-ulps: Update.
36349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36351 2012-05-06 David S. Miller <davem@davemloft.net>
36353 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36354 quad soft-float symbols whose references which are compiler
36356 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36358 2012-05-06 Joseph Myers <joseph@codesourcery.com>
36362 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36364 (EXPL_FINITE): Likewise.
36365 (FLDLOG): Likewise.
36368 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36369 Adjust comments for base varying.
36370 (__expl_finite): Change alias to EXPL_FINITE.
36371 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36373 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36374 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36375 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36376 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36377 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36379 (EXPL_FINITE): Likewise.
36380 (FLDLOG): Likewise.
36383 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36384 Adjust comments for base varying.
36385 (__expl_finite): Change alias to EXPL_FINITE.
36386 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
36388 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36391 * math/libm-test.inc (check_float_internal): Correct ulp
36392 calculation for subnormal expected results.
36394 2012-05-06 Andreas Jaeger <aj@suse.de>
36396 * Makeconfig (+math-flags): New, set to -frounding-math.
36397 (+cflags): Add +math-flags so that all of glibc gets compiled with
36400 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36402 2012-05-05 Joseph Myers <joseph@codesourcery.com>
36404 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36410 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36411 (__ieee754_expl): Allow for and saturate large arguments.
36412 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36413 (u_threshold): Likewise.
36414 (__exp): Call __ieee754_exp before checking for overflow and
36416 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36417 (u_threshold): Likewise.
36418 (__expf): Call __ieee754_expf before checking for overflow and
36420 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36421 (u_threshold): Likewise.
36422 (__expl): Call __ieee754_expl before checking for overflow and
36424 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36425 (__ieee754_expl): Allow for and saturate large arguments.
36426 * math/libm-test.inc (exp_test): Add another test. Do not allow
36427 missing overflow exception on overflow.
36428 (expm1_test): Do not allow missing overflow exception on overflow.
36430 * sysdeps/i386/fpu/e_expl.c: Move to ...
36431 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
36432 rather than using inline asm.
36433 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36434 * sysdeps/x86_64/fpu/e_expl.S: Copy from
36435 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36437 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36440 (signal): Likewise.
36444 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36446 * sysdeps/unix/syscalls.list (adjtime): Add entry from
36447 sysdeps/unix/common/syscalls.list.
36448 (fchmod): Likewise.
36449 (fchown): Likewise.
36450 (ftruncate): Likewise.
36451 (getrusage): Likewise.
36452 (gettimeofday): Likewise.
36453 (setpgid): Likewise.
36454 (setregid): Likewise.
36455 (setreuid): Likewise.
36456 (sigaction): Likewise.
36457 (truncate): Likewise.
36458 (vhangup): Likewise.
36459 * sysdeps/unix/common/syscalls.list: Remove file.
36460 * sysdeps/unix/bsd/Implies: Don't include unix/common.
36461 * sysdeps/unix/sysv/linux/Implies: Likewise.
36463 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
36465 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36466 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36467 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36469 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36471 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36473 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36474 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36476 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36477 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36479 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36480 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36482 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36483 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36485 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36486 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36488 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36489 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36491 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36493 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36495 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36497 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36499 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36500 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36502 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36504 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36506 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36508 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36510 * sysdeps/unix/common/bits/dirent.h: Remove file.
36511 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36513 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36514 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36515 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36516 * sysdeps/unix/bsd/isatty.c: Likewise.
36517 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36518 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36519 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36521 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36524 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36525 long double comparison inaccuracies.
36526 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36529 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36531 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36532 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36534 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36537 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36538 nonzero digits before rounding a hex value.
36539 * stdlib/tst-strtod.c (tests): Add another test.
36541 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36543 * sysdeps/s390/fpu/libm-test-ulps: Update.
36545 2012-05-03 Andreas Jaeger <aj@suse.de>
36547 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36548 does not get optimized out.
36549 (malloc_opt_barrier): New.
36551 2012-05-03 Andreas Jaeger <aj@suse.de>
36552 Roland McGrath <roland@hack.frob.com>
36554 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36555 intermediate file deletion.
36556 (generated): Add .symlist files.
36558 2012-05-03 Joseph Myers <joseph@codesourcery.com>
36561 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36562 Redirect under this condition.
36563 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36564 [__USE_GNU] (__dprintf_chk): Not under this condition.
36565 [__USE_GNU] (__vdprintf_chk): Likewise.
36566 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36567 under this condition.
36568 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36569 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36570 [__USE_XOPEN2K8] (vdprintf): Likewise.
36571 [__USE_GNU] (__dprintf_chk): Not under this condition.
36572 [__USE_GNU] (__vdprintf_chk): Likewise.
36573 [__USE_GNU] (dprintf): Likewise.
36574 [__USE_GNU] (vdprintf): Likewise.
36576 2012-05-03 Roland McGrath <roland@hack.frob.com>
36578 * elf/Makefile (common-generated): Set this instead of generated for
36579 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36580 $(all-built-dso)-derived lists.
36582 2012-05-03 Andreas Jaeger <aj@suse.de>
36584 * sysdeps/i386/fpu/libm-test-ulps: Update.
36587 * FAQ.in: Likewise.
36588 * scripts/gen-FAQ.pl: Likewise.
36589 * manual/install.texi (Installation): Point to online location of
36591 * Makefile (files-for-dist): Remove FAQ.
36594 2012-05-02 Allan McRae <allan@archlinux.org>
36596 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36597 (LDFLAGS-reldepmod5.so): Likewise.
36598 (LDFLAGS-reldep6mod1.so): Likewise.
36599 (LDFLAGS-reldep6mod4.so): Likewise.
36600 (LDFLAGS-reldep8mod3.so): Likewise.
36601 (LDFLAGS-unload4mod1.so): Likewise.
36602 (LDFLAGS-unload4mod2.so): Likewise.
36603 (LDFLAGS-tst-initorder): Likewise.
36604 (LDFLAGS-tst-initordera2.so): Likewise.
36605 (LDFLAGS-tst-initordera3.so): Likewise.
36606 (LDFLAGS-tst-initordera4.so): Likewise.
36607 (LDFLAGS-tst-initorderb2.so): Likewise.
36608 (LDFLAGS-noload): Likewise.
36609 (LDFLAGS-next): Likewise.
36610 (LDFLAGS-order2mod1.so): Likewise.
36611 (LDFLAGS-order2mod2.so): Likewise.
36612 (LDFLAGS-tst-initorder2): Likewise.
36613 (LDFLAGS-tst-initorder2a.so): Likewise.
36614 (LDFLAGS-tst-initorder2b.so): Likewise.
36615 (LDFLAGS-tst-initorder2c.so): Likewise.
36616 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36618 2012-05-02 David S. Miller <davem@davemloft.net>
36620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36622 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36625 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36627 2012-05-02 Andreas Jaeger <aj@suse.de>
36629 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36630 since we manipulate rounding mode.
36631 (CPPFLAGS-test-idouble.c): Likewise.
36632 (CPPFLAGS-test-ifloat.c): Likewise.
36633 (CFLAGS-test-ldouble.c): Likewise.
36634 (CFLAGS-test-double.c): Likewise.
36635 (CFLAGS-test-float.c): Likewise.
36636 (CFLAGS-test-misc.c): Likewise.
36637 (CFLAGS-test-test-fenv.c): Likewise.
36639 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36643 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36644 comparisons to determine direction to adjust input.
36646 2012-05-01 Roland McGrath <roland@hack.frob.com>
36648 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36649 output to the target.
36651 * scripts/localplt.awk: New file.
36652 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36653 (check-localplt-CFLAGS): Variable removed.
36654 ($(all-built-dso:=.jmprel)): New static pattern rule.
36655 (generated): Add those targets.
36656 (localplt-built-dso): New variable.
36657 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36659 * elf/check-localplt.c: File removed.
36661 * scripts/check-execstack.awk: New file.
36662 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36663 (check-execstack-CFLAGS): Variable removed.
36664 ($(objpfx)check-execstack.h): Target removed.
36665 ($(objpfx)execstack-default): New target.
36666 (generated): Add that instead of check-execstack.h.
36667 ($(all-built-dso:=.phdr)): New static pattern rule.
36668 (generated): Add those targets.
36669 * elf/check-execstack.c: File removed.
36671 * scripts/check-textrel.awk: New file.
36672 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36673 (check-textrel-CFLAGS): Variable removed.
36674 (all-built-dso): Use := to define.o
36675 ($(all-built-dso:=.dyn)): New static pattern rule.
36676 (generated): Add those targets.
36677 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36678 * config.make.in (READELF): New substituted variable.
36679 * elf/check-textrel.c: File removed.
36681 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36683 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36685 * conform/data/ctype.h-data [C99-based standards] (isblank):
36687 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36688 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36689 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36690 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36691 Specify type. Require positive value.
36692 (EILSEQ): Likewise.
36693 (ERANGE): Likewise.
36694 [ISO || POSIX] (EILSEQ): Do not expect.
36695 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36696 Specify type. Require positive value.
36697 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36698 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36699 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36700 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36701 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36702 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36703 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36704 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36705 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36706 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36707 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36708 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36709 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36710 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36711 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36712 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36713 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36714 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36715 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36716 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36717 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36718 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36719 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36720 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36721 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36722 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36723 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36724 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36725 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36726 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36727 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36728 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36729 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36730 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36731 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36732 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36733 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36734 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36735 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36736 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36737 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36738 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36739 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36740 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36741 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36742 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36743 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36744 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36745 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36746 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36747 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36748 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36749 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36750 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36751 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36752 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36753 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36754 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36755 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36756 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36757 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36758 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36759 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36760 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36761 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36762 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36763 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36764 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36765 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36766 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36767 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36768 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36769 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36770 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36771 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36772 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36773 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36775 (FLT_ROUNDS): Expect as macro, not constant.
36776 (FLT_MANT_DIG): Use macro-int-constant.
36777 (DBL_MANT_DIG): Likewise.
36778 (LDBL_MANT_DIG): Likewise.
36779 (FLT_DIG): Likewise.
36780 (DBL_DIG): Likewise.
36781 (LDBL_DIG): Likewise.
36782 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
36783 (DBL_MIN_EXP): Likewise.
36784 (LDBL_MIN_EXP): Likewise.
36785 (FLT_MAX_EXP): Use macro-int-constant.
36786 (DBL_MAX_EXP): Likewise.
36787 (LDBL_MAX_EXP): Likewise.
36788 (FLT_MAX_10_EXP): Likewise.
36789 (DBL_MAX_10_EXP): Likewise.
36790 (LDBL_MAX_10_EXP): Likewise.
36791 (FLT_MAX): Use macro-constant.
36792 (DBL_MAX): Likewise.
36793 (LDBL_MAX): Likewise.
36794 (FLT_EPSILON): Use macro-constant. Give upper bound.
36795 (DBL_EPSILON): Likewise.
36796 (LDBL_EPSILON): Likewise.
36797 (FLT_MIN): Likewise.
36798 (DBL_MIN): Likewise.
36799 (LDBL_MIN): Likewise.
36800 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36801 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36802 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36803 [ISO11] (FLT_HAS_SUBNORM): Likewise.
36804 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36805 [ISO11] (DBL_DECIMAL_DIG): Likewise.
36806 [ISO11] (FLT_DECIMAL_DIG): Likewise.
36807 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36808 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36809 [ISO11] (FLT_TRUE_MIN): Likewise.
36810 [ISO11] (LDBL_TRUE_MIN): Likewise.
36811 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36812 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36813 (SCHAR_MIN): Use macro-int-constant. Specify type.
36814 (SCHAR_MAX): Likewise.
36815 (UCHAR_MAX): Likewise.
36816 (CHAR_MIN): Likewise.
36817 (CHAR_MAX): Likewise.
36818 (MB_LEN_MAX): Use macro-int-constant.
36819 (SHRT_MIN): Use macro-int-constant. Specify type.
36820 (SHRT_MAX): Likewise.
36821 (USHRT_MAX): Likewise.
36822 (INT_MAX): Likewise.
36823 (INT_MIN): Use macro-int-constant. Specify type. Make upper
36825 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
36827 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36829 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
36830 bound negative. Suffix upper bound with "L".
36831 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36833 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36835 [C99-based standards] (LLONG_MAX): Likewise.
36836 [C99-based standards] (ULLONG_MAX): Likewise.
36837 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
36839 [ISO11] (max_align_t): Require type.
36840 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36842 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36843 from $CFLAGS, without defining away __attribute__ calls.
36844 (checknamespace): Use $CFLAGS_namespace.
36846 * conform/conformtest.pl (@keywords): Only include C99 keywords
36847 for standards based on C99 or C11.
36849 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36851 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36854 * conform/conformtest.pl: Handle "macro-int-constant" and test for
36855 usability of symbols in #if.
36857 * conform/conformtest.pl: If macro or constant types start
36858 "promoted:", expect the symbol to be of the following type
36859 promoted by the integer promotions.
36861 * conform/conformtest.pl: Parse all "constant" and "macro" lines
36862 in one place. Also handle "macro-constant".
36864 * conform/conformtest.pl: Only accept expected macro values with
36865 "==". Parse all "macro" lines in one place.
36866 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36868 * conform/conformtest.pl: Handle braced types on "constant" lines
36869 instead of handling "typed-constant".
36870 * conform/data/signal.h-data: Use "constant" instead of
36873 * conform/conformtest.pl: Handle "optional-" at start of lines in
36874 one place rather than duplicating several cases. Handle each
36875 format of "macro" line with initial "optional-".
36877 * conform/conformtest.pl: Only accept expected constant or
36878 optional-constant values with "==". Parse all "constant" lines in
36879 one place. Parse all "optional-constant" lines in one place.
36880 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36881 * conform/data/fmtmsg.h-data: Likewise.
36882 * conform/data/netinet/in.h-data: Likewise.
36883 * conform/data/tar.h-data: Likewise.
36884 * conform/data/limits.h-data: Use "==" form on "constant" and
36885 "optional-constant" lines.
36887 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36888 Use -std=c99 for XOPEN2K.
36889 (@knownproblems): Remove.
36890 (newtoken): Don't check %isknown.
36892 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36893 Do not expect macro.
36894 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36895 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36896 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36897 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36898 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36899 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36900 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36901 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36902 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36903 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36904 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36905 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36906 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36907 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36908 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36909 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36910 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36911 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36912 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36913 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36914 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36915 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36916 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36917 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36918 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36919 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36920 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36921 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36922 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36923 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36924 [XPG3] (acosh): Likewise.
36925 [XPG3] (asinh): Likewise.
36926 [XPG3] (atanh): Likewise.
36927 [XPG3] (cbrt): Likewise.
36928 [XPG3] (expm1): Likewise.
36929 [XPG3] (ilogb): Likewise.
36930 [XPG3] (log1p): Likewise.
36931 [XPG3] (logb): Likewise.
36932 [XPG3] (nextafter): Likewise.
36933 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36934 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36935 [XPG3] (remainder): Likewise.
36936 [XPG3] (rint): Likewise.
36937 [XPG3 || XPG4 || UNIX98] (round): Likewise.
36938 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36939 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36940 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36941 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36942 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36943 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36944 [UNIX98 || XOPEN2K] (scalb): Expect.
36945 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36946 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36947 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36948 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36949 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36950 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36951 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36952 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36953 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36954 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36955 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36956 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36957 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36958 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36959 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36960 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36961 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36962 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36963 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36964 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36965 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36966 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36967 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36968 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36969 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36970 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36971 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36972 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36973 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36974 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36975 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36976 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36977 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36978 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36979 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36980 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36981 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36982 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36983 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36984 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36985 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36986 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36987 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36988 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36989 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36990 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36991 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36992 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36993 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36994 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36995 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36996 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36997 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36998 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36999 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37000 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37001 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37002 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37003 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37004 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37005 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37006 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37007 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37008 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37009 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37010 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37011 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37012 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37013 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37014 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37015 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37016 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37017 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37018 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37019 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37020 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37021 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37022 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37023 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37024 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37025 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37026 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37027 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37028 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37029 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37030 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37031 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37032 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37033 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37034 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37035 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37036 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37037 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37038 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37039 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37040 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37041 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37042 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37043 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37044 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37045 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37046 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37047 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37048 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37049 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37050 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37051 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37052 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37053 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37054 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37055 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37056 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37057 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37058 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37059 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37060 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37061 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37062 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37063 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37064 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37065 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37066 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37067 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37068 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37069 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37070 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37071 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37072 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37073 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37074 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37075 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37076 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37077 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37078 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37079 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37080 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37081 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37083 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37084 _XOPEN_SOURCE_EXTENDED for XPG4.
37086 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37088 * Makeconfig (localtime): Remove variable.
37089 (inst_localtime-file): Likewise.
37091 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37112 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37116 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37117 comparisons to determine direction to adjust input.
37118 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37119 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37120 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37122 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37124 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37126 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37127 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37129 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37131 * math/libm-test.inc (nexttoward_test): Add more tests.
37133 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37136 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37137 in version GLIBC_2.1, not GLIBC_2.0.
37138 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37141 2012-04-30 Joseph Myers <joseph@codesourcery.com>
37144 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37146 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37147 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37148 * math/libm-test.inc (acos_test): Add more tests.
37149 (asin_test): Likewise.
37150 * sysdeps/i386/fpu/libm-test-ulps: Update.
37151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37154 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37156 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37157 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37158 * math/libm-test.inc (acos_test_tonearest): New function.
37159 (acos_test_towardzero): Likewise.
37160 (acos_test_downward): Likewise.
37161 (acos_test_upward): Likewise.
37162 (asin_test_tonearest): Likewise.
37163 (asin_test_towardzero): Likewise.
37164 (asin_test_downward): Likewise.
37165 (asin_test_upward): Likewise.
37166 (main): Call the new functions.
37167 * sysdeps/i386/fpu/libm-test-ulps: Update.
37168 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37172 * math/e_exp10.c: Include <float.h>.
37173 (__ieee754_exp10): Handle underflow here rather than multiplying
37174 large negative argument by M_LN10.
37175 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37177 * math/e_exp10l.c: Include <float.h>.
37178 (__ieee754_exp10l): Handle underflow here rather than multiplying
37179 large negative argument by M_LN10l.
37180 * math/libm-test.inc (exp10_test): Add another test. Do not allow
37181 spurious overflow exception on underflow.
37183 2012-04-29 Marek Polacek <polacek@redhat.com>
37185 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37186 (__fortify_function): New macro.
37187 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37188 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37189 __extern_always_inline.
37190 * libio/bits/stdio2.h: Likewise.
37191 * libio/bits/stdio.h: Likewise.
37192 * string/string.h: Likewise.
37193 * string/bits/string3.h: Likewise.
37194 * include/stdio.h: Likewise.
37195 * stdlib/bits/stdlib.h: Likewise.
37196 * stdlib/stdlib.h: Likewise.
37197 * rt/bits/mqueue2.h: Likewise.
37198 * rt/mqueue.h: Likewise.
37199 * posix/bits/unistd.h: Likewise.
37200 * posix/unistd.h: Likewise.
37201 * io/bits/poll2.h: Likewise.
37202 * io/bits/fcntl2.h: Likewise.
37203 * io/fcntl.h: Likewise.
37204 * io/sys/poll.h: Likewise.
37205 * misc/bits/syslog.h: Likewise.
37206 * misc/bits/syslog-ldbl.h: Likewise.
37207 * misc/sys/syslog.h: Likewise.
37208 * socket/bits/socket2.h: Likewise.
37209 * socket/sys/socket.h: Likewise.
37210 * debug/tst-chk1.c: Likewise.
37211 * wcsmbs/bits/wchar2.h: Likewise.
37212 * wcsmbs/bits/wchar-ldbl.h: Likewise.
37213 * wcsmbs/wchar.h: Likewise.
37215 2012-04-29 Andreas Jaeger <aj@suse.de>
37217 * Makerules (tests): Remove enable-check-abi protection.
37218 (check-abi-warn): Remove.
37219 (check-abi-%): Remove check-abi-warn usage.
37221 * configure.in: Remove check-abi configure option.
37222 * configure: Regenerated.
37223 * config.make.in (enable-check-abi): Remove.
37225 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
37228 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37229 double functions to double *_finite functions.
37232 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37233 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37235 * stdio-common/Makefile (tests): Add tst-sprintf3.
37236 * stdio-common/tst-sprintf3.c: New file.
37238 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37239 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37241 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37243 * conform/conformtest.pl: Remove duplicate typed-constant
37246 2012-04-28 David S. Miller <davem@davemloft.net>
37248 * Makerules (%.abilist): Add vpath on sysdep_dirs.
37249 (check-abi-%): Remove AWK script prerequisite and explicit
37251 (check-abi): Rewrite to just diff the symlist with the abilist.
37252 (config-tls, config-abi-config): Delete, no longer used.
37253 (update-abi-%): Remove AWK script and explicit abilist directory.
37254 (update-abi): Rewrite to simply compare and conditionally copy the
37255 symlist and the sysdep abilist file. Remove update-abi-config
37257 * abilist/ld.abilist: Remove.
37258 * abilist/libBrokenLocale.abilist: Remove.
37259 * abilist/libanl.abilist: Remove.
37260 * abilist/libcrypt.abilist: Remove.
37261 * abilist/libdl.abilist: Remove.
37262 * abilist/librt.abilist: Remove.
37263 * abilist/libthread_db.abilist: Remove.
37264 * abilist/libutil.abilist: Remove.
37265 * scripts/extract-abilist.awk: Remove.
37266 * scripts/merge-abilist.awk: Remove.
37267 * sysdeps/generic/libcidn.abilist: New file.
37268 * sysdeps/generic/libnss_compat.abilist: New file.
37269 * sysdeps/generic/libnss_db.abilist: New file.
37270 * sysdeps/generic/libnss_dns.abilist: New file.
37271 * sysdeps/generic/libnss_files.abilist: New file.
37272 * sysdeps/generic/libnss_hesiod.abilist: New file.
37273 * sysdeps/generic/libnss_nis.abilist: New file.
37274 * sysdeps/generic/libnss_nisplus.abilist: New file.
37275 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37276 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37277 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37279 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37280 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37281 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37282 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37283 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37284 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37285 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37286 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37287 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37289 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37290 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37291 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37292 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37294 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37295 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37296 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37297 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37298 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37299 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37301 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37302 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37303 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37305 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37306 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37308 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37310 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37312 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37314 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37316 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37318 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37320 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37322 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37324 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37326 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37328 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37330 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37367 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37390 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37392 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37398 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37406 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37408 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37409 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37410 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37412 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37413 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37414 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37415 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37416 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37417 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37418 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37419 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37420 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37421 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37423 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37425 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37427 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37429 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37431 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37435 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37437 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37439 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37441 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37443 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37445 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37447 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37448 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37450 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37452 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37454 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37456 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37458 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37460 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37462 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37464 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37466 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37468 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37470 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37473 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37475 * conform/conformtest.pl: Fix typo in handling typed-constant from
37478 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37480 * README: Cut down references to pre-2.6 Linux kernels and
37481 Linuxthreads. Update lists of configurations in libc and ports
37482 and sort alphabetically. Say "or newer" with Linux kernel version
37485 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37487 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37490 * math/libm-test.inc (logb_test_downward): New test to expose
37491 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37494 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37497 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37499 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37500 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37502 2012-04-26 Joseph Myers <joseph@codesourcery.com>
37504 * sysdeps/unix/i386/brk.S: Remove file.
37505 * sysdeps/unix/i386/dl-brk.S: Likewise.
37506 * sysdeps/unix/i386/pipe.S: Likewise.
37507 * sysdeps/unix/i386/sigreturn.S: Likewise.
37508 * sysdeps/unix/i386/syscall.S: Likewise.
37509 * sysdeps/unix/i386/vfork.S: Likewise.
37510 * sysdeps/unix/i386/wait.S: Likewise.
37512 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37513 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37515 * configure.in (arm*-none*): Do not allow without
37516 --enable-hacker-mode.
37517 (netbsd*): Remove case setting base_os.
37518 (386bsd*): Likewise.
37519 (freebsd*): Likewise.
37522 (sunos*): Likewise.
37523 (ultrix*): Likewise.
37524 (newsos*): Likewise.
37525 (dynix*): Likewise.
37531 (minix*): Likewise.
37532 (irix4*): Likewise.
37533 (irix6*): Likewise.
37534 (solaris[2-9]*): Likewise.
37536 * configure: Regenerated.
37538 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37541 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37542 overflow or cancellation in calculating denominator.
37543 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37544 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37545 down expression to avoid unexpected rounding in newer GCCs.
37546 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37548 2012-04-26 David S. Miller <davem@davemloft.net>
37550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37551 long-double compat symbols.
37552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37566 2012-04-25 David S. Miller <davem@davemloft.net>
37568 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37569 HWCAP_* values only after the memory barriers have been defined.
37570 (atomic_full_barrier): Define.
37571 (atomic_read_barrier): Define.
37572 (atomic_write_barrier): Define.
37574 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37576 * shlib-versions: Add libgcc_s version information.
37577 * sysdeps/generic/libgcc_s.h: Remove.
37578 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37580 * sysdeps/gnu/unwind-resume.c: Likewise.
37581 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37583 2012-04-25 David S. Miller <davem@davemloft.net>
37585 * sysdeps/unix/sparc/brk.S: Delete.
37586 * sysdeps/unix/sparc/dl-brk.S: Delete.
37587 * sysdeps/unix/sparc/pipe.S: Delete.
37588 * sysdeps/unix/sparc/sysdep.S: Delete.
37589 * sysdeps/unix/sparc/sysdep.h: Delete.
37590 * sysdeps/unix/sparc/vfork.S: Delete.
37591 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37592 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37593 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37594 (ret_ERRVAL, r0, r1, MOVE): Define.
37595 (JUMPTARGET): Remove.
37596 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37597 sysdeps/unix/sparc/sysdep.h
37598 (ENTRY, END): Remove.
37599 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37601 2012-04-25 Joseph Myers <joseph@codesourcery.com>
37603 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37604 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37607 * timezone/README: Update upstream location and email address for
37609 * timezone/zdump.c: Update from tzcode 2012b.
37610 * timezone/zic.c: Likewise.
37612 * configure.in (libc_cv_as_needed): Remove test.
37613 * configure: Regenerated.
37614 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37615 conditional definition.
37616 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37617 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37618 * config.make.in (have-as-needed): Remove variable.
37620 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37621 Paul Pluzhnikov <ppluzhnikov@google.com>
37623 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37626 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37628 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37629 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37630 * sysdeps/sh/strlen.S: Likewise.
37632 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37634 * sysdeps/unix/fork.S: Remove file.
37635 * sysdeps/unix/i386/fork.S: Likewise.
37636 * sysdeps/unix/sparc/fork.S: Likewise.
37638 * sysdeps/unix/system.c: Remove file.
37639 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37641 * sysdeps/unix/getegid.S: Remove file.
37642 * sysdeps/unix/geteuid.S: Likewise.
37644 2012-04-24 Roland McGrath <roland@hack.frob.com>
37646 * scripts/check-localplt.awk: New file.
37647 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37649 * scripts/data/localplt-generic.data: Add a comment.
37651 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37652 NODE when __dir_mkfile failed.
37653 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37654 Reported by Ludovic Courtès <ludo@gnu.org>.
37656 2012-04-24 Andreas Jaeger <aj@suse.de>
37658 * Makerules (common-clean): Also remove gen-as-const-headers
37661 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37663 * Makerules (native-compile): Do not change working directory for
37664 build. Use $(OUTPUT_OPTION) in command.
37665 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37667 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37670 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37671 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37672 * math/libm-test.inc (floor_test): Add more tests.
37673 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37675 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37677 * sysdeps/unix/getdents.c: Remove file.
37678 * sysdeps/unix/sysv/getdents.c: Likewise.
37679 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37681 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37682 sysdeps/unix/mman/syscalls.list.
37684 (mprotect): Likewise.
37686 (munmap): Likewise.
37687 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37688 * sysdeps/unix/mman/syscalls.list: Remove.
37689 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37691 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37692 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37693 * configure: Regenerated.
37694 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37695 $(libgcc_s_suffix).
37696 * config.make.in (libgcc_s_suffix): Remove variable.
37698 2012-04-23 Joseph Myers <joseph@codesourcery.com>
37700 * sysdeps/unix/sysv/gethostname.c: Move to ...
37701 * sysdeps/posix/gethostname.c: ... here.
37703 * sysdeps/unix/execve.S: Remove file.
37705 * sysdeps/unix/_exit.S: Remove file.
37707 2012-04-23 Andreas Jaeger <aj@suse.de>
37710 * manual/Makefile: Remove make dist support, there's no
37711 need for a stand-alone documentation tar ball.
37712 (TEXI2DVI): Define always, it's not in Makeconfig.
37715 (edition): Removed.
37716 (glibc-doc-$(edition).tar): Removed
37720 (ETAGS): Remove, it's in Makeconfig.
37721 (move-if-change): Remove, it's in Makeconfig.
37723 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
37726 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37727 (strtod, strtof, strtold, strtol, strtoul, strtoq)
37728 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37729 (strtod_l, strtof_l, strtold_l): Remove __wur.
37730 It is not necessarily an error to ignore strtol's return value.
37731 One can reliably look at the stored endptr to decide whether
37732 the number had valid syntax.
37734 2012-04-21 Andreas Jaeger <aj@suse.de>
37737 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37739 2012-04-21 Joseph Myers <joseph@codesourcery.com>
37741 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37742 * sysdeps/unix/sysv/Versions: Remove file.
37744 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
37747 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37749 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
37752 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37753 version from __vm86.
37755 2012-04-20 Joseph Myers <joseph@codesourcery.com>
37757 * sysdeps/unix/common/lxstat.c: Remove file.
37758 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37760 * sysdeps/unix/sysv/Makefile: Remove file.
37762 * sysdeps/unix/sysv/direct.h: Remove file.
37764 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37765 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37766 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37767 * sysdeps/unix/sysv/bits/signum.h: Likewise.
37768 * sysdeps/unix/sysv/bits/stat.h: Likewise.
37769 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37770 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37772 * sysdeps/unix/sysv/setrlimit.c: Remove file.
37774 * sysdeps/unix/xmknod.c: Remove file.
37775 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37777 * sysdeps/unix/sysv/settimeofday.c: Remove file.
37779 * sysdeps/unix/sysv/i386/time.S: Remove file.
37781 * sysdeps/unix/fxstat.c: Remove file.
37782 * sysdeps/unix/xstat.c: Likewise.
37783 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37785 * sysdeps/unix/sysv/sigaction.c: Remove file.
37787 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37788 (sysdep_headers): Remove variable.
37789 [termio.h not in sysdep_headers] (generated): Likewise.
37790 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37791 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37792 * sysdeps/unix/sysv/tcdrain.c: Likewise.
37793 * sysdeps/unix/sysv/tcflow.c: Likewise.
37794 * sysdeps/unix/sysv/tcflush.c: Likewise.
37795 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37796 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37797 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37798 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37799 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37801 * sysdeps/unix/siglist.c: Remove file.
37803 * sysdeps/unix/getppid.S: Remove file.
37805 * sysdeps/unix/mkdir.c: Remove file.
37806 * sysdeps/unix/rmdir.c: Likewise.
37808 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
37810 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37812 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37813 errlist-compat value.
37815 2012-04-18 David S. Miller <davem@davemloft.net>
37817 * sysdeps/generic/memcopy.h (reg_char): Delete.
37818 * debug/strcat_chk.c: Use char, not reg_char.
37819 * debug/strcpy_chk.c: Likewise.
37820 * debug/strncat_chk.c: Likewise.
37821 * debug/strncpy_chk.c: Likewise.
37822 * string/memchr.c: Likewise.
37823 * string/memrchr.c: Likewise.
37824 * string/rawmemchr.c: Likewise.
37825 * string/strcat.c: Likewise.
37826 * string/strchr.c: Likewise.
37827 * string/strchrnul.c: Likewise.
37828 * string/strcmp.c: Likewise.
37829 * string/strcpy.c: Likewise.
37830 * string/strncat.c: Likewise.
37831 * string/strncmp.c: Likewise.
37832 * string/strncpy.c: Likewise.
37834 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37836 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37837 __builtin_memcopy is called when src and dest ranges are known to not
37840 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37842 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37843 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37844 fwd_align_merge macro call.
37845 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37846 bwd_align_merge macro call.
37847 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37849 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37851 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37852 bwd_align_merge macros.
37853 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37854 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37855 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37857 2012-04-18 David S. Miller <davem@davemloft.net>
37859 * sysdeps/sparc/sparc64/memcopy.h: Delete.
37861 2012-04-18 Andreas Jaeger <aj@suse.de>
37864 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37865 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37866 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37868 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37869 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37870 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37872 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37873 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37874 Adjust for changed ldbl-128 files.
37876 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37877 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37878 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37880 2012-04-17 David S. Miller <davem@davemloft.net>
37882 * sysdeps/sparc/sparc32/memcopy.h: Delete.
37884 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
37886 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37887 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37888 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37889 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37890 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37891 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37893 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37896 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37897 * math/libm-test.inc: Add ilogb errno and exception tests.
37898 * math/w_ilogb.c: New file: ilogb wrapper.
37899 * math/w_ilogbf.c: New file: ilogbf wrapper.
37900 * math/w_ilogbl.c: New file: ilogbl wrapper.
37901 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37902 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37903 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37904 exception being thrown with 0.0 as argument.
37905 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37906 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37907 exception being thrown with 0.0 as argument.
37908 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37909 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37910 exception being thrown with 0.0 as argument.
37911 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37912 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37913 exception being thrown with 0.0 as argument.
37914 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37915 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37916 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37917 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37918 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37919 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37920 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37921 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37922 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37924 2012-04-17 Petr Baudis <pasky@ucw.cz>
37926 * include/sys/uio.h: Change __vector to __iovec to avoid clash
37929 2012-04-16 Marek Polacek <polacek@redhat.com>
37931 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37933 2012-04-16 Marek Polacek <polacek@redhat.com>
37935 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37936 operands of fdivp instruction.
37938 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37940 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37941 * elf/tst-auditmod3b.c: Likewise.
37942 * elf/tst-auditmod4b.c: Likewise.
37943 * elf/tst-auditmod5b.c: Likewise.
37944 * elf/tst-auditmod6b.c: Likewise.
37945 * elf/tst-auditmod6c.c: Likewise.
37946 * elf/tst-auditmod7b.c: Likewise.
37947 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37948 * sysdeps/x86_64/preconfigure.in: Likewise.
37949 * sysdeps/x86_64/preconfigure: Regenerated.
37951 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37953 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37956 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
37958 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37959 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37961 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
37964 * locale/iso-639.def: Fix gl language name. Spotted by
37967 2012-04-12 Roland McGrath <roland@hack.frob.com>
37970 * libio/libio.h (__io_write_fn): Update comment.
37972 2012-04-12 Petr Baudis <pasky@ucw.cz>
37975 * stdio.texi (Hook Functions): The user provided writer function
37976 is not allowed to return -1.
37978 2012-04-11 David S. Miller <davem@davemloft.net>
37980 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37982 2012-04-11 Mike Frysinger <vapier@gentoo.org>
37984 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37985 Add a leading slash to rtkaio.
37987 2012-04-11 Jim Meyering <meyering@redhat.com>
37990 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37991 It is not necessarily an error to ignore fwrite's return
37992 value. One can reliably use ferror to test for errors after
37995 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37997 * bits/types.h (__snseconds_t): New type.
37998 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38000 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38001 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38002 (__SNSECONDS_T_TYPE): Likewise.
38003 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38004 (__SNSECONDS_T_TYPE): Likewise.
38005 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38006 (__SNSECONDS_T_TYPE): Likewise.
38008 2012-04-10 Andreas Jaeger <aj@suse.de>
38011 * manual/time.texi (Processor Time): Return type of times is
38012 elapsed real time since an arbitrary point in the past.
38013 (CPU Time): Move CLK_TCK from here...
38014 (Processor Time): ...to here. Correct description.
38015 * manual/conf.texi (Constants for Sysconf): Correct description of
38018 2012-04-10 David S. Miller <davem@davemloft.net>
38021 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38022 where the is a gap between DT_REL(A) and DT_JMPREL.
38024 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38026 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38027 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38028 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38030 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38032 * elf/dl-support.c (_dl_inhibit_cache): New variable.
38033 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38034 (dl_main): Handle --inhibit-cache.
38035 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38037 * elf/dl-load.c (_dl_map_object): Use it.
38038 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38040 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38043 * sysdeps/i386/fpu/e_powl.S (p78): New object.
38044 (__ieee754_powl): Saturate large exponents rather than testing for
38045 overflow of y*log2(x).
38046 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38047 * math/libm-test.inc (pow_test): Do not permit spurious overflow
38051 * math/s_ctan.c: Include <float.h>.
38052 (__ctan): Avoid internal overflow or cancellation in calculating
38054 * math/s_ctanf.c: Likewise.
38055 * math/s_ctanl.c: Likewise.
38056 * math/s_ctanh.c: Likewise.
38057 * math/s_ctanhf.c: Likewise.
38058 * math/s_ctanhl.c: Likewise.
38059 * math/libm-test.inc (ctan_test): Add more tests.
38060 (ctanh_test): Likewise.
38061 * sysdeps/i386/fpu/libm-test-ulps: Update.
38062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38064 2012-04-09 Andreas Jaeger <aj@suse.de>
38067 * manual/filesys.texi (Directory Entries): Mention that d_namlen
38068 is an optional BSD extension.
38071 * manual/stdio.texi (Opening Streams): Document additional fopen
38074 2012-04-09 Roland McGrath <roland@hack.frob.com>
38076 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38077 %eax without telling the compiler.
38079 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
38082 * manual/install.texi: Use sourceware.org.
38084 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38087 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38088 (__ieee754_pow): Generate overflow and underflow using huge*huge
38089 and tiny*tiny rather than just returning constant infinity or zero
38090 for large exponents.
38091 * math/libm-test.inc (pow_test): Require overflow exceptions for
38092 applicable cases of large exponents.
38095 * sysdeps/i386/fpu/e_pow.S (p10): New object.
38096 (__ieee754_pow): Use iterative multiplication algorithm only for
38097 integer exponents with absolute value below 1024. Check for odd
38098 integer exponents when using algorithm for real exponents.
38099 * math/libm-test.inc (pow_test): Add more tests.
38100 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38102 2012-04-08 Joseph Myers <joseph@codesourcery.com>
38105 * math/libm-test.inc (exp_test): Do not allow overflow exception
38108 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
38111 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38112 instead of __kernel_standard_f.
38114 2012-04-08 Mike Frysinger <vapier@gentoo.org>
38116 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38117 * sysdeps/x86_64/memset_chk.S: Likewise.
38119 2012-04-08 Andreas Jaeger <aj@suse.de>
38122 * manual/startup.texi (Environment Access): Describe return value
38123 for putenv and setenv.
38126 * manual/filesys.texi (Directory Entries): Add description for
38130 * manual/filesys.texi (Directory Entries): Clarify that it's file
38131 system not operating system in the description of DT_UNKNOWN.
38134 * manual/syslog.texi (closelog): Fix reference, it's openlog.
38136 2012-04-08 Stephen Compall <s11@member.fsf.org>
38139 * manual/llio.texi (Opening and Closing Files): Add cross
38140 reference to explain mode argument.
38142 2012-04-07 Mike Frysinger <vapier@gentoo.org>
38144 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38145 * sysdeps/x86_64/memset_chk.S: Likewise.
38147 2012-04-07 David S. Miller <davem@davemloft.net>
38149 * elf/elf.h (R_SPARC_WDISP10): Define.
38150 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38152 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38153 R_SPARC_SIZE64 and R_SPARC_H34.
38155 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
38157 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38158 conditions and remove no longer applicable assertion.
38160 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38162 * bits/byteswap.h: Include <features.h>.
38163 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38164 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38166 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38168 * bits/byteswap.h (__bswap_16): Removed.
38169 Include <bits/byteswap-16.h> to get __bswap_16.
38170 * sysdeps/i386/bits/byteswap.h: Likewise.
38171 * sysdeps/s390/bits/byteswap.h: Likewise.
38172 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38173 * bits/byteswap-16.h: New file.
38174 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38175 * sysdeps/s390/bits/byteswap-16.h: Likewise.
38176 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38177 * string/Makefile (headers): Add bits/byteswap-16.h.
38179 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38182 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38184 * nss/Makefile (tests-static, tests): Add tst-nss-static.
38185 * nss/tst-nss-static.c: New.
38187 2012-04-06 Robert Millan <rmh@gnu.org>
38190 * manual/llio.texi (File Position Primitive): lseek
38191 refers to WHENCE when it really means OFFSET.
38193 2012-04-06 Andreas Jaeger <aj@suse.de>
38195 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38196 strncmp declarations.
38198 * abilist/libc.abilist: Add __poll and __ppoll.
38200 2012-04-05 David S. Miller <davem@davemloft.net>
38202 * scripts/check-local-headers.sh: Accept a host triplet in the
38203 path matched by the exclude regexp.
38205 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38207 * sysdeps/powerpc/powerpc32/dl-machine.h
38208 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38209 * sysdeps/s390/s390-32/dl-machine.h
38210 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38211 * sysdeps/sparc/sparc32/dl-machine.h
38212 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38213 * sysdeps/sparc/sparc64/dl-machine.h
38214 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38216 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38218 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38219 undefined symbol errors.
38221 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38224 2012-04-05 Michael Matz <matz@suse.de>
38227 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38229 2012-04-05 Andreas Jaeger <aj@suse.de>
38232 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38235 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38237 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38238 which ROUND is no valid rounding mode.
38240 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38242 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38244 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38246 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38248 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38249 an exception using FPU order intentionally.
38251 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38253 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38254 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38255 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38256 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38258 2012-04-05 Simon Josefsson <simon@josefsson.org>
38261 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38262 EINVAL when BUFLEN is too smal.
38264 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
38267 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38268 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38270 2012-04-03 Andreas Jaeger <aj@suse.de>
38273 * manual/setjmp.texi (System V contexts): Fix sentence.
38276 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38277 New macro for this case.
38278 [!__GNUC__] (__bswap_64): New inline function for this case.
38279 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38280 * bits/byteswap.h: Likewise.
38281 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38282 ull, guard with __GLIBC_HAVE_LONG_LONG.
38284 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38285 __GLIBC_HAVE_LONG_LONG.
38287 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38288 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38290 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38293 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38294 inptr and inend, rather than using last_ch.
38296 2012-04-02 David S. Miller <davem@davemloft.net>
38298 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38299 * stdio-common/printf-parse.h (read_int): Change return type to
38300 'int', return -1 on INT_MAX overflow.
38301 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38302 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
38303 overflows INT_MAX. Check for overflow of in-format-string precision
38304 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
38305 SIZE_MAX not INT_MAX for integer overflow test.
38306 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38307 skip the construct in the format string but do not record anything.
38308 * stdio-common/bug22.c: Adjust to test both width/prevision
38309 INT_MAX overflow as well as total length INT_MAX overflow. Check
38310 explicitly for proper errno values.
38312 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
38314 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38316 * string/test-strcmp.c [! WIDE]: Likewise.
38317 * time/tst-mktime2.c: Likewise for INT_MAX.
38318 * string/test-string.h: #include <sys/param.h> for MIN.
38320 * csu/init-first.c (__libc_init_first): Call __ctype_init.
38321 * sysdeps/i386/init-first.c (init): Likewise.
38322 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38323 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38324 * sysdeps/sh/init-first.c (init): Likewise.
38326 2012-04-01 Ulrich Drepper <drepper@gmail.com>
38328 * po/ru.po: Update from translation team.
38329 * po/vi.po: Likewise.
38331 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38333 * resolv/nss_dns/dns-host.c: Merge copyright years.
38335 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38337 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38338 Optimize memcpy with prefetch if
38339 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
38340 src, dst pointers have unequal 16 byte alignments.
38342 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38345 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38346 from a CNAME entry and return the minimum ttl for the query.
38347 (gaih_getanswer_slice): Likewise.
38349 2012-03-30 Jeff Law <law@redhat.com>
38351 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38353 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38354 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38356 * resolv/nss_dns/dns-host.c: Update copyright year.
38358 2012-03-30 Ulrich Drepper <drepper@gmail.com>
38360 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38361 requests to save a system call. Fix check that all bytes are sent.
38363 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38364 comments for sendmmsg.
38366 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38369 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38370 with only 1 character between 0x0041 and 0x01b0.
38371 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38372 * wcsmbs/tst-mbsnrtowcs.c: New file.
38374 2012-03-29 David S. Miller <davem@davemloft.net>
38376 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38377 small copies by hand.
38379 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38382 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38383 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38386 2012-03-28 David S. Miller <davem@davemloft.net>
38388 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38389 that branches into memcpy.
38390 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38391 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38392 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38393 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38394 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38396 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38397 implementation too.
38398 * sysdeps/sparc/mempcpy.S: New file.
38400 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38401 the IFUNC routine in the libc case.
38402 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38404 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38405 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38406 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38407 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38408 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38409 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38410 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38411 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38413 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38414 loop to 256 bytes instead of 64 bytes and fix test signedness.
38416 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38417 * sysdeps/sparc/sparc32/Makefile: rather than here...
38418 * sysdeps/sparc/sparc64/Makefile: and here.
38420 2012-03-28 Ulrich Drepper <drepper@gmail.com>
38422 * malloc/mallocbug.c: Avoid warnings about unused variables.
38424 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38427 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38428 in the right place. Discard and retry query if response is
38429 larger than input buffer size.
38431 2012-03-28 Joseph Myers <joseph@codesourcery.com>
38436 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38437 x for large integer exponent.
38438 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38439 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
38440 sign of result as needed afterwards.
38441 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38442 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38443 result for underflowing pow the same as for overflow.
38444 (__kernel_standard_l): Handle powl overflow and underflow here
38445 rather than calling __kernel_standard.
38446 * math/libm-test.inc (pow_test): Add more tests.
38461 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38462 * sysdeps/ieee754/k_standard.c: Include <float.h>.
38463 (__kernel_standard_l): New function.
38464 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38466 * math/w_acosl.c (__acosl): Likewise.
38467 * math/w_asinl.c (__asinl): Likewise.
38468 * math/w_atan2l.c (__atan2l): Likewise.
38469 * math/w_atanhl.c (__atanhl): Likewise.
38470 * math/w_coshl.c (__coshl): Likewise.
38471 * math/w_exp10l.c (__exp10l): Likewise.
38472 * math/w_exp2l.c (__exp2l): Likewise.
38473 * math/w_fmodl.c (__fmodl): Likewise.
38474 * math/w_hypotl.c (__hypotl): Likewise.
38475 * math/w_j0l.c (__j0l, __y0l): Likewise.
38476 * math/w_j1l.c (__j1l, __y1l): Likewise.
38477 * math/w_jnl.c (__jnl, __ynl): Likewise.
38478 * math/w_lgammal.c (__lgammal): Likewise.
38479 * math/w_log10l.c (__log10l): Likewise.
38480 * math/w_log2l.c (__log2l): Likewise.
38481 * math/w_logl.c (__logl): Likewise.
38482 * math/w_powl.c (__powl): Likewise.
38483 * math/w_remainderl.c (__remainderl): Likewise.
38484 * math/w_scalbl.c (sysv_scalbl): Likewise.
38485 * math/w_sinhl.c (__sinhl): Likewise.
38486 * math/w_sqrtl.c (__sqrtl): Likewise.
38487 * math/w_tgammal.c (__tgammal): Likewise.
38488 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38489 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38490 * math/libm-test.inc (acos_test): Add more tests.
38491 (acosh_test): Likewise.
38492 (asin_test): Likewise.
38493 (atanh_test): Likewise.
38494 (exp_test): Likewise.
38495 (exp10_test): Likewise.
38496 (exp2_test): Likewise.
38497 (expm1_test): Likewise.
38498 (lgamma_test): Likewise.
38499 (log_test): Likewise.
38500 (log10_test): Likewise.
38501 (log1p_test): Likewise.
38502 (log2_test): Likewise.
38503 (pow_test): Do not allow some spurious overflow exceptions.
38504 (sqrt_test): Add more tests.
38505 (tgamma_test): Likewise.
38506 (y0_test): Likewise.
38507 (y1_test): Likewise.
38508 (yn_test): Likewise.
38510 2012-03-27 Anton Blanchard <anton@samba.org>
38512 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38514 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38515 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38516 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38518 2012-03-27 David S. Miller <davem@davemloft.net>
38520 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38522 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38523 have-as-vis3 check.
38525 2012-03-27 Andreas Jaeger <aj@suse.de>
38527 * sysdeps/x86_64/elf/configure.in: Moved to ...
38528 * sysdeps/x86_64/configure.in: ... here.
38529 * sysdeps/x86_64/elf/start.S: Moved to ...
38530 * sysdeps/x86_64/start.S: ... here.
38531 * sysdeps/x86_64/elf/configure: Delete.
38533 * sysdeps/x86_64/configure.in: Merge contents from
38534 sysdeps/i386/configure.in (without i686 check).
38536 * sysdeps/i386/elf/Versions: Merge into ...
38537 * sysdeps/i386/Versions: ... this.
38538 * sysdeps/i386/elf/Versions: Delete file.
38539 * sysdeps/i386/elf/start.S: Moved to ...
38540 * sysdeps/i386/start.S: ...here.
38541 * sysdeps/i386/elf/configure.in: Merge into...
38542 * sysdeps/i386/configure.in: ...here.
38543 * sysdeps/i386/elf/configure.in: Delete file.
38544 * sysdeps/i386/elf/configure: Delete file.
38546 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38547 * debug/backtracesyms.c: ... here.
38548 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38549 * debug/backtracesymsfd.c: ... here.
38550 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38551 * sysdeps/generic/ifunc-sel.h: ... here.
38553 * sysdeps/unix/i386/start.c: Delete file.
38554 * sysdeps/unix/sparc/start.c: Delete file.
38555 * sysdeps/unix/start.c: Delete file.
38557 * sysdeps/sh/elf/configure.in: Moved to ...
38558 * sysdeps/sh/configure.in: ... here.
38559 * sysdeps/sh/elf/start.S: Moved to ...
38560 * sysdeps/sh/start.S: ... here.
38561 * sysdeps/sh/elf/configure: Delete file.
38563 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38564 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38565 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38566 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38567 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38568 * sysdeps/powerpc/powerpc64/start.S: here.
38569 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38570 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38571 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38572 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38573 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38575 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38576 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38577 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38578 * sysdeps/powerpc/powerpc32/start.S: ... here.
38579 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38580 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38581 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38583 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38584 * sysdeps/powerpc/ifunc-sel.h: ... here.
38585 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38586 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38588 * sysdeps/sparc/elf/configure.in: Moved to ...
38589 * sysdeps/sparc/configure.in: ... here.
38590 * sysdeps/sparc/elf/configure: Delete file.
38591 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38592 * sysdeps/sparc/sparc32/start.S: ... here.
38593 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38594 * sysdeps/sparc/sparc64/start.S: ... here.
38595 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38596 * sysdeps/sparc/sparc32/Makefile: ... this.
38597 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38598 * sysdeps/sparc/sparc64/Makefile: ... this.
38600 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38601 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38602 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38603 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38604 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38605 * sysdeps/s390/s390-32/setjmp.S: ... here.
38606 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38607 * sysdeps/s390/s390-32/configure.in: ... here.
38608 * sysdeps/s390/s390-32/elf/configure: Delete file.
38609 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38610 * sysdeps/s390/s390-32/start.S: ... here.
38612 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38613 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38614 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38615 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38616 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38617 * sysdeps/s390/s390-64/setjmp.S: ... here.
38618 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38619 * sysdeps/s390/s390-64/configure.in: ... here
38620 * sysdeps/s390/s390-64/elf/configure: Delete file.
38621 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38622 * sysdeps/s390/s390-64/start.S: ... here.
38623 * sysdeps/s390/s390-64/elf/configure: Delete.
38625 * configure.in: Remove support for elf directories in sysdeps.
38627 * configure: Regenerated.
38628 * sysdeps/i386/configure: Regenerated.
38629 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38630 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38631 * sysdeps/s390/s390-32/configure: Regenerated.
38632 * sysdeps/s390/s390-64/configure: Regenerated.
38633 * sysdeps/sh/configure: Regenerated.
38634 * sysdeps/sparc/configure: Regenerated.
38635 * sysdeps/x86_64/configure: Regenerated.
38637 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38641 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38642 denormal result into account.
38644 2012-03-25 Roland McGrath <roland@hack.frob.com>
38646 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38647 Reported by Allan McRae <allan@archlinux.org>.
38649 2012-03-23 Jeff Law <law@redhat.com>
38651 * nss/getnssent.c (__nss_getent): Fix typo.
38653 2012-03-23 David S. Miller <davem@davemloft.net>
38655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38657 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38659 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38660 to pad to uint64_t for each field.
38661 (dl_tls_index): Replace unsigned long with uint64_t.
38663 2012-03-23 Daniel Jacobowitz <dmj@google.com>
38664 Paul Pluzhnikov <ppluzhnikov@google.com>
38667 * grp/Makefile (otherlibs): Don't set it.
38668 * inet/Makefile (otherlibs): Likewise.
38669 * login/Makefile (otherlibs): Likewise.
38670 * nscd/Makefile (otherlibs): Likewise.
38671 * posix/Makefile (otherlibs): Likewise.
38672 * pwd/Makefile (otherlibs): Likewise.
38673 * rt/Makefile (otherlibs): Likewise.
38674 * sunrpc/Makefile (otherlibs): Likewise.
38675 * nss/Makefile (otherlibs): Likewise.
38676 Add libnss_files to routines and static-only-routines.
38677 ($(objpfx)getent): Remove rule.
38678 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38679 static-only-routines.
38681 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38684 * math/s_cexp.c: Include <float.h>.
38685 (__cexp): Handle exp result overflowing not necessarily
38686 overflowing both real and imaginary parts of result.
38687 * math/s_cexpf.c: Likewise.
38688 * math/s_cexpl.c: Likewise.
38689 * math/libm-test.inc (cexp_test): Add more tests.
38690 * sysdeps/i386/fpu/libm-test-ulps: Update.
38691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38693 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38695 * include/link.h (ELFW): New macro.
38696 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38697 Replace ELF64_R_TYPE with ELFW(R_TYPE).
38699 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38701 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38704 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38706 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38708 (struct La_x32_retval): Likewise.
38710 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38712 * sysdeps/x86_64/preconfigure.in: New file.
38713 * sysdeps/x86_64/preconfigure: New generated file.
38715 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38718 * math/e_exp2l.c: Include <float.h>.
38719 (__ieee754_exp2l): Handle overflow and underflow cases
38720 separately. Only pass fractional part of argument to
38722 * math/libm-test.inc (exp2_test): Add more tests.
38724 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38725 negating x to take absolute value.
38726 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38728 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38729 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38731 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38732 computing low part if x was negated.
38733 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38735 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38737 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38738 la_x32_gnu_pltexit.
38739 (pltexit): Cast int_retval to ptrdiff_t.
38740 * elf/tst-auditmod3b.c: Likewise.
38741 * elf/tst-auditmod4b.c: Likewise.
38742 * elf/tst-auditmod5b.c: Likewise.
38743 * elf/tst-auditmod6b.c: Likewise.
38744 * elf/tst-auditmod6c.c: Likewise.
38745 * elf/tst-auditmod7b.c: Likewise.
38747 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38748 and x32_gnu_pltexit.
38750 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38751 __ELF_NATIVE_CLASS.
38752 (La_x32_regs): New macro.
38753 (La_x32_retval): Likewise.
38754 (la_x32_gnu_pltenter): New function prototype.
38755 (la_x32_gnu_pltexit): Likewise.
38757 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
38759 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38764 * configure.in (libc_cv_cc_nofma): Check for option to disable
38765 generation of FMA instructions.
38766 * configure: Regenerate.
38767 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38768 * sysdeps/ieee754/dbl-64/Makefile: New file.
38769 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38770 Remove brandred-fma4.
38771 (CFLAGS-brandred-fma4.c): Remove.
38772 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38773 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38775 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38778 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38780 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38781 LLONG_MAX != LONG_MAX.
38782 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38783 (_fitoa_word): Likewise.
38784 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38785 LLONG_MAX != LONG_MAX.
38786 * stdio-common/_itowa.h: Include <_itoa.h>.
38787 (_itowa_word): Use _ITOA_WORD_TYPE on value.
38788 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
38789 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
38790 only if not defined.
38791 (_ITOA_WORD_TYPE): Likewise.
38792 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38793 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38795 2012-03-21 David S. Miller <davem@davemloft.net>
38797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38799 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38801 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38802 of x86_64 when setting libc_cv_slibdir, libdir and
38804 * sysdeps/unix/sysv/linux/configure: Regenerated.
38806 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38808 * manual/lang.texi (Old Varargs): Remove section.
38809 (How Variadic): Update menu.
38810 (va_start): Do not mention varargs.h.
38812 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38813 Joseph Myers <joseph@codesourcery.com>
38815 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38817 * configure: Regenerated.
38819 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38821 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38822 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38825 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38828 * Makefile (files-for-dist): Remove NOTES.
38829 (NOTES): Remove rule.
38830 * README: Don't refer to NOTES.
38831 * manual/creature.texi: Don't include macros.texi.
38832 * manual/intro.texi (creature.texi): Remove comment referring to
38835 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38836 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38837 * configure: Regenerated.
38838 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38839 LIBC_TRY_CC_OPTION.
38840 (libc_cv_as_i686): Likewise.
38841 (libc_cv_cc_avx): Likewise.
38842 (libc_cv_cc_sse2avx): Likewise.
38843 (libc_cv_cc_fma4): Likewise.
38844 (libc_cv_cc_novzeroupper): Likewise.
38845 * sysdeps/i386/configure: Regenerated.
38848 * sysdeps/i386/fpu/s_cexp.S: Remove.
38849 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38850 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38851 * math/libm-test.inc (cexp_test): Add more tests.
38852 * sysdeps/i386/fpu/libm-test-ulps: Update.
38853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38855 2012-03-21 Allan McRae <allan@archlinux.org>
38857 * timezone/Makefile: Do not install iso3166.tab and zone.tab
38859 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38862 * math/w_exp2.c: Do not include <float.h>.
38863 (o_threshold, u_threshold): Remove.
38864 (__exp2): Calculate result before checking finiteness and calling
38866 * math/w_exp2f.c: Likewise.
38867 * math/w_exp2l.c: Likewise.
38868 * math/libm-test.inc (exp2_test): Require overflow exception for
38872 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38873 range of signed 64-bit integers before using fistpll. Remove
38874 checks for whether integers fit in mantissa bits.
38875 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38876 the range of signed 32-bit integers before using fistpl. Remove
38877 checks for whether integers fit in mantissa bits.
38878 * sysdeps/i386/fpu/e_powl.S (p64): New object.
38879 (__ieee754_powl): Test for y outside the range of signed 64-bit
38880 integers before using fistpll. Reduce 64-bit values to 63-bit
38882 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38883 divide-by-zero is raised for zero to large negative powers.
38884 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38885 (__ieee754_powl): Test for y outside the range of signed 64-bit
38886 integers before using fistpll. Reduce 64-bit values to 63-bit
38888 * math/libm-test.inc (pow_test): Add more tests.
38890 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38892 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38893 <stdio-common/_itoa.h>.
38894 * debug/segfault.c: Likewise.
38895 * elf/dl-cache.c: Likewise.
38896 * elf/dl-minimal.c: Likewise.
38897 * elf/dl-misc.c: Likewise.
38898 * elf/dl-sysdep.c: Likewise.
38899 * elf/dl-version.c: Likewise.
38900 * elf/rtld.c: Likewise.
38901 * hurd/hurdsock.c: Likewise.
38902 * hurd/lookup-retry.c: Likewise.
38903 * malloc/malloc.c: Likewise.
38904 * malloc/mtrace.c: Likewise.
38905 * nscd/nscd_getgr_r.c: Likewise.
38906 * nscd/nscd_getpw_r.c: Likewise.
38907 * nscd/nscd_getserv_r.c: Likewise.
38908 * posix/getopt_init.c: Likewise.
38909 * posix/wordexp.c: Likewise.
38910 * stdio-common/_itoa.c: Likewise.
38911 * stdio-common/printf_fphex.c: Likewise.
38912 * stdio-common/vfprintf.c: Likewise.
38913 * string/_strerror.c: Likewise.
38914 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38915 * sysdeps/i386/i686/hp-timing.h: Likewise.
38916 * sysdeps/mach/_strerror.c: Likewise.
38917 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38918 * sysdeps/mach/hurd/sethostid.c: Likewise.
38919 * sysdeps/mach/hurd/xmknodat.c: Likewise.
38920 * sysdeps/mach/xpg-strerror.c: Likewise.
38921 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38922 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38923 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38924 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38925 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38926 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38927 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38928 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38929 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38930 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38931 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38932 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38933 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38934 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38935 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38936 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38937 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38938 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38939 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38940 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38941 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38943 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38945 * stdio-common/_itoa.h: Moved to ...
38946 * sysdeps/generic/_itoa.h: Here.
38948 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38950 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38951 instead of "_itoa.h" and "_itowa.h".
38952 * stdio-common/vfprintf.: Likewise.
38954 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38956 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38958 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38959 (__signbit): Likwise.
38960 (llrintf): Likwise.
38963 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38965 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38968 2012-03-20 Joseph Myers <joseph@codesourcery.com>
38970 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38971 OVERFLOW_EXCEPTION_OK.
38972 * math/libm-test.inc ("Philosophy"): Update comment about
38974 (OVERFLOW_EXCEPTION): Define.
38975 (OVERFLOW_EXCEPTION_OK): Likewise.
38976 (INVALID_EXCEPTION_OK): Renumber.
38977 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38978 (IGNORE_ZERO_INF_SIGN): Likewise.
38979 (test_exceptions): Handle FE_OVERFLOW.
38980 (exp10_test): Expect overflow exceptions.
38981 (exp2_test): Likewise.
38982 (expm1_test): Likewise.
38983 (nextafter_test): Likewise.
38984 (pow_test): Likewise.
38985 (scalbn_test): Likewise.
38986 (scalbln_test): Likewise.
38988 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38990 * sysdeps/x86_64/bits/atomic.h
38991 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38993 (atomic_exchange_acq): Likewise.
38994 (__arch_exchange_and_add_body): Likewise.
38995 (__arch_add_body): Likewise.
38996 (atomic_add_negative): Likewise.
38997 (atomic_add_zero): Likewise.
38999 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39001 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39002 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39004 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39006 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39007 Check __x86_64__ instead of __WORDSIZE.
39009 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39011 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39013 2012-03-19 David S. Miller <davem@davemloft.net>
39015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39017 * sysdeps/sparc/fpu/fenv_private.h: New file.
39018 * sysdeps/sparc/fpu/math_private.h: Use it.
39019 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39021 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39022 (libc_feholdexcept_setroundl): Remove.
39023 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39025 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39026 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39028 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39030 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39031 int64_t instead of long int.
39032 (INSERT_WORDS64): Likwise.
39034 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39036 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39037 _Unwind_GetCFA return to _Unwind_Ptr first.
39039 2012-03-19 Joseph Myers <joseph@codesourcery.com>
39042 * math/s_clog.c: Include <float.h>.
39043 (__clog): Scale large or subnormal inputs.
39044 * math/s_clogf.c: Likewise.
39045 * math/s_clogl.c: Likewise.
39046 * math/s_clog10.c: Include <float.h>.
39047 (M_LOG10_2): Define.
39048 (__clog10): Scale large or subnormal inputs.
39049 * math/s_clog10f.c: Likewise.
39050 * math/s_clog10l.c: Likewise.
39051 * math/libm-test.inc (clog_test): Add more tests.
39052 (clog10_test): Likewise.
39053 * sysdeps/i386/fpu/libm-test-ulps: Update.
39054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39057 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39059 * math/libm-test.inc (atan2_test): Add another test.
39061 * Makerules (common-objdir-compile): Remove.
39062 * sysdeps/unix/Makefile (config-generated): Do not add
39063 $(unix-generated) to variable.
39064 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39065 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39067 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39069 [generic bits/local_lim.h] (before-compile): Do not append to
39071 [generic bits/local_lim.h] (common-generated): Likewise.
39072 [generic sys/param.h] (before-compile): Do not append to variable.
39073 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39074 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39075 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39076 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39078 [generic sys/param.h] (sys/param.h-includes): Remove variable.
39079 [generic sys/param.h] (sys/param.h-includes): Remove rule.
39080 [generic sys/param.h] ($(addprefix
39081 $(common-objpfx),$(sys/param.h-includes))): Likewise.
39082 [generic sys/param.h] (common-generated): Do not append to
39084 [generic sys/param.h] (sysdep_headers): Likewise.
39085 [generic bits/errno.h] (before-compile): Do not append to
39087 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39089 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39090 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39091 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39092 [generic bits/errno.h] (common-generated): Do not append to
39094 [generic bits/ioctls.h] (before-compile): Do not append to
39096 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39098 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39099 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39100 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39102 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39103 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39104 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39105 [generic bits/ioctls.h] (common-generated): Do not append to
39107 [generic sys/syscall.h] (syscall.h): Remove variable.
39108 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39110 [generic sys/syscall.h] (before-compile): Do not append to
39112 [generic sys/syscall.h] (common-generated): Likewise.
39113 * sysdeps/unix/errnos-tmpl.c: Remove file.
39114 * sysdeps/unix/errnos.awk: Likewise.
39115 * sysdeps/unix/ioctls-tmpl.c: Likewise.
39116 * sysdeps/unix/ioctls.awk: Likewise.
39117 * sysdeps/unix/mk-local_lim.c: Likewise.
39118 * sysdeps/unix/snarf-ioctls: Likewise.
39120 2012-03-19 Richard Henderson <rth@twiddle.net>
39122 * sysdeps/i386/fpu/fenv_private.h: New file.
39123 * sysdeps/i386/fpu/math_private.h: Use it.
39124 (math_opt_barrier, math_force_eval): Remove.
39125 (libc_feholdexcept_setround_53bit): Remove.
39126 (libc_feupdateenv_53bit): Remove.
39127 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39128 (math_opt_barrier, math_force_eval): Remove.
39129 (libc_feholdexcept): Remove.
39130 (libc_feholdexcept_setround): Remove.
39131 (libc_fetestexcept, libc_fesetenv): Remove.
39132 (libc_feupdateenv_test): Remove.
39133 (libc_feupdateenv, libc_feholdsetround): Remove.
39134 (libc_feresetround): Remove.
39136 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39137 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39139 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39140 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39141 (libc_feupdateenv_testl): New.
39142 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39143 (libc_feupdateenv_testf): New.
39144 (libc_feupdateenv): Use libc_feupdateenv_test.
39145 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39146 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39148 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39149 (libc_feholdsetroundf, libc_feholdsetroundl): New.
39150 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39151 (libc_feresetround_noex): New.
39152 (libc_feresetround_noexf): New.
39153 (libc_feresetround_noexl): New.
39154 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39155 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39156 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39157 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39159 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39160 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39162 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39163 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39164 SET_RESTORE_ROUND_NOEX.
39165 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39166 SET_RESTORE_ROUND_NOEXF.
39167 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39168 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39169 (libc_feholdsetroundf): New.
39170 (libc_feresetround, libc_feresetroundf): New.
39172 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39173 (libc_feholdexcept_setround_53bit): Convert from macro to function.
39174 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
39176 * sysdeps/generic/math_private.h: Include <fenv.h>.
39177 (default_libc_feholdexcept): New.
39178 (default_libc_feholdexcept_setround): New.
39179 (default_libc_fesetenv, default_libc_feupdateenv): New.
39180 (libc_feholdexcept): Only define if undefined.
39181 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39182 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39183 (libc_feholdexcept_setroundl): Likewise.
39184 (libc_feholdexcept_setround_53bit): Likewise.
39185 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39186 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39187 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39188 (libc_feupdateenv_53bit): Likewise.
39189 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39190 (libc_feholdexcept): Convert from macro to inline function.
39191 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39192 (libc_fesetenv, libc_feupdateenv): Likewise.
39194 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39195 not previously defined.
39196 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39197 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39198 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39199 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39200 * sysdeps/ieee754/flt-32/math_private.h: New file.
39201 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39202 math_private.h below SET_FLOAT_WORD.
39203 (__isnan, __isinf_ns, __finite): Remove.
39204 (__isnanf, __isinf_nsf, __finitef): Remove.
39206 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
39208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39210 2012-03-17 David S. Miller <davem@davemloft.net>
39213 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39216 2012-03-16 David S. Miller <davem@davemloft.net>
39218 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39222 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39224 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39225 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39226 sysdep_routines when subdir is sysvipc.
39227 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39228 __getshmlba helper.
39230 * sysdeps/sparc/fpu/libm-test/ulps: Update.
39232 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39234 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39237 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39239 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39240 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39241 (__lround): Renamed to ...
39242 (__llround): This. Replace long int with long long int.
39243 Define lround functions as aliases of llround functions.
39244 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39246 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39248 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39249 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
39250 adresses to uintptr_t. Replace "long int" and "unsigned long
39251 int" with "greg_t" on va_arg.
39253 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39255 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39256 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39258 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39259 Move e_machine check before EI_CLASS check. Handle x32
39260 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39261 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39262 SKIP_EM_IA_64 and include
39263 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39265 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39266 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39267 (add_system_dir): New macro.
39269 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39270 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39272 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39283 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39285 * math/w_j0f.c (j0f): Likewise.
39287 * math/w_j0l.c (__j0l): Likewise.
39289 * math/w_j1.c (j1): Likewise.
39291 * math/w_j1f.c (j1f): Likewise.
39293 * math/w_j1l.c (__j1l): Likewise.
39295 * math/w_jn.c (jn): Likewise.
39297 * math/w_jnf.c (jnf): Likewise.
39299 * math/w_jnl.c (__jnl): Likewise.
39301 * math/libm-test.inc (j0_test): Add more tests.
39302 (j1_test): Likewise.
39303 (jn_test): Likewise. Add trailing semicolon to existing test.
39304 (y0_test): Likewise.
39305 (y1_test): Likewise.
39306 * sysdeps/i386/fpu/libm-test-ulps: Update.
39307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39311 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39312 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39313 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39314 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39315 (__tanl): Set errno for infinite argument.
39316 * sysdeps/i386/fpu/mptan.c: Remove.
39317 * sysdeps/i386/fpu/s_tan.S: Likewise.
39318 * sysdeps/i386/fpu/s_tanl.S: Likewise.
39319 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39320 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39321 * math/libm-test.inc (tan_test): Add more tests and enable more
39322 tests for double and long double.
39323 * sysdeps/i386/fpu/libm-test-ulps: Update.
39324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39326 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
39328 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39329 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39331 2012-03-16 Roland McGrath <roland@hack.frob.com>
39333 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39334 * configure.in: Use it for both main tree and add-ons.
39335 * configure: Regenerated.
39337 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39339 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39341 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39343 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39347 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39348 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39349 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39350 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39351 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39353 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39354 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39355 != 0 for prec == 2.
39356 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39357 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39358 * sysdeps/i386/fpu/s_cosl.S: Likewise.
39359 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39360 * sysdeps/i386/fpu/s_sinl.S: Likewise.
39361 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39362 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39363 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39364 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39365 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39366 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39367 * math/libm-test.inc (cos_test): Add more tests and enable more
39368 tests for long double.
39369 (sin_test): Likewise.
39370 (sincos_test): Likewise.
39371 * sysdeps/i386/fpu/libm-test-ulps: Update.
39372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39374 2012-03-16 David S. Miller <davem@davemloft.net>
39376 * sysdeps/sparc/fpu/math_private.h: New file.
39378 2012-03-15 David S. Miller <davem@davemloft.net>
39380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39386 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39387 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39388 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39389 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39390 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39394 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39395 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39397 * sysdeps/sparc/sparc-ifunc.h: New file.
39398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39422 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39423 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39424 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39425 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39426 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39427 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39428 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39429 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39430 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39431 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39432 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39433 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39434 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39435 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39436 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39437 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39438 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39439 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39440 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39441 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39443 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39445 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39449 2012-03-15 Andreas Jaeger <aj@suse.de>
39452 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39453 ieee754/flt-32 implementation for sin, cos and sincos.
39454 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39455 * sysdeps/i386/fpu/s_cosf.S: Likewise.
39456 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39457 * sysdeps/i386/fpu/s_sinf.S: Likewise.
39458 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39459 ieee754/flt-32 implementation for tan.
39461 * math/libm-test.inc (cos_test): Enable some large input tests for
39463 (sin_test): Likewise.
39464 (sincos_test): Likewise.
39465 (tan_test): Add tests for large input.
39467 * sysdeps/i386/fpu/libm-test-ulps: Update.
39469 2012-03-15 Andreas Jaeger <aj@suse.de>
39472 * math/libm-test.inc (cos_test): Add more test cases.
39473 (sin_test): Likewise.
39474 (sincos_test): Likewise.
39476 2012-03-15 Andreas Jaeger <aj@suse.de>
39479 * math/libm-test.inc (cos_test): Add a test case for large input
39481 (sin_test): Likewise.
39482 (sincos_test): Likewise.
39484 2012-03-15 Andreas Jaeger <aj@suse.de>
39485 Joseph Myers <joseph@codesourcery.com>
39488 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39489 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39490 * sysdeps/i386/fpu/branred.c: Likewise.
39491 * sysdeps/i386/fpu/dosincos.c: Likewise.
39492 * sysdeps/i386/fpu/mpa.c: Likewise.
39493 * sysdeps/i386/fpu/s_cos.S: Likewise.
39494 * sysdeps/i386/fpu/s_sin.S: Likewise.
39495 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39496 * sysdeps/i386/fpu/sincos32.c: Likewise.
39498 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39500 (libc_feupdateenv_53bit): Define.
39501 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39503 (libc_feupdateenv_53bit): Define.
39505 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39506 53 bit (without extend i386 double precision).
39508 * math/libm-test.inc (sincos_test): Add tests for large input.
39512 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39514 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39518 2012-03-15 David S. Miller <davem@davemloft.net>
39520 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39521 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39522 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39523 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39528 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39529 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39530 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39531 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39532 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39533 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39534 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39547 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39548 fmin/fmax sysdep routines.
39549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39551 2012-03-14 David S. Miller <davem@davemloft.net>
39553 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39554 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39555 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39556 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39557 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39558 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39559 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39560 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39561 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39562 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39563 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39564 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39565 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39566 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39567 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39568 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39569 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39570 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39571 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39572 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39573 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39574 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39575 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39576 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39577 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39578 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39579 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39580 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39581 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39625 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39628 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39630 * sysdeps/sparc/configure.in: New file.
39631 * sysdeps/sparc/configure: Generate.
39632 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39633 * configure: Regenerate.
39634 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39635 * config.make.in (have-as-vis3): New.
39636 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39637 available use -Av9d instead of -Av9a.
39638 * sysdeps/sparc/sparc64/Makefile: Likewise.
39639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39648 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39649 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39650 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39651 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39652 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39654 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39655 fzeros/fnegs to load 0x80000000 into a float register instead of
39657 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39659 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39661 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39663 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39664 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39665 ($(inst_includedir)/bits/syscall.h): Remove rule.
39666 ($(objpfx)bits/syscall.d): Include instead of
39667 $(objpfx)syscall-list.d.
39668 (generated): Change syscall-list.h and syscall-list.d to
39669 bits/syscall.h and bits/syscall.d.
39671 2012-03-14 Roland McGrath <roland@hack.frob.com>
39674 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39676 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39679 * math/s_csqrt.c: Include <float.h>.
39680 (__csqrt): Scale large or subnormal inputs.
39681 * math/s_csqrtf.c: Likewise.
39682 * math/s_csqrtl.c: Likewise.
39683 * math/libm-test.inc (csqrt_test): Add more tests.
39684 * sysdeps/i386/fpu/libm-test-ulps: Update.
39685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39688 * math/libm-test.inc (hypot_test): Add more tests.
39690 2012-03-13 David S. Miller <davem@davemloft.net>
39693 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39694 double-precision for the calculation instead of scaling.
39696 2012-03-13 Joseph Myers <joseph@codesourcery.com>
39698 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39699 manipulate bits before adding and subtracting TWO52[sx].
39700 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39701 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39703 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39705 2012-03-13 David S. Miller <davem@davemloft.net>
39707 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39708 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39709 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39710 rtld-global-offsets.h
39711 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39713 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39716 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39718 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39719 'err' in the ifdef scope in which it is actually used.
39721 * nss/nss_db/db-init.c: Include string.h
39723 2012-03-12 David S. Miller <davem@davemloft.net>
39725 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39726 masking out of the most significant byte of random value used.
39727 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39728 Fix coding style in previous change.
39730 * sysdeps/unix/sysv/linux/kernel-features.h
39731 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39732 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39734 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39737 2012-03-11 David S. Miller <davem@davemloft.net>
39739 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39740 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39741 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39742 for 'resultvar' otherwise things get truncated on 64-bit.
39744 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39745 Fix masking out of the most significant byte of random value used.
39747 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39749 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
39751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39753 2012-03-09 David S. Miller <davem@davemloft.net>
39755 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39756 variables with appropriate CPP guards.
39757 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39758 from the frame pointer, not the stack pointer. Correct layout
39759 comments. Fix test on resulting framesize and the management of
39760 the outregs buffer for pltexit. Preserve floating point return
39761 values across _dl_call_pltexit call.
39762 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39763 framesize and the management of the outregs buffer for pltexit.
39764 Preserve floating point return values across _dl_call_pltexit
39766 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39767 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39768 (la_sparc64_gnu_pltexit): New functions.
39769 (print_exit): Fix format string for return register value.
39771 2012-03-10 Joseph Myers <joseph@codesourcery.com>
39773 * sunrpc/Makefile (others): Add rpcgen.
39774 ($(objpfx)rpcgen): Remove special build rule and dependency on
39776 * sunrpc/rpcgen.c: New file.
39778 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
39781 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39782 * stdio-common/bug-vfprintf-nargs.c: Likewise.
39783 * sysdeps/i386/crti.S: Likewise.
39784 * sysdeps/i386/crtn.S: Likewise.
39785 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39786 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39787 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39788 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39789 * sysdeps/sh/crti.S: Likewise.
39790 * sysdeps/sh/crtn.S: Likewise.
39791 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39794 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39796 * locale/programs/locfile-kw.gperf: Likewise.
39797 * locale/programs/charmap-kw.h: Regenerated.
39798 * locale/programs/locfile-kw.h: Likewise.
39801 * intl/plural.y: Replace FSF snail mail address with URL.
39802 * intl/plural.c: Regenerated.
39804 2012-03-09 Richard Henderson <rth@twiddle.net>
39806 * include/math_private.h: Remove file.
39807 * math/math_private.h: Move file ...
39808 * sysdeps/generic/math_private.h: ... here.
39810 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39811 * sysdeps/powerpc/fpu/math_private.h: Likewise.
39812 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39814 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
39815 and <math_private.h>.
39816 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39817 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39818 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39819 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39820 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39821 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39822 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39823 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39824 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39825 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39826 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39827 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39828 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39829 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39830 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39831 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39832 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39833 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39834 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39835 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39836 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39837 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39838 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39839 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39840 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39841 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39842 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39843 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39844 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39845 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39846 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39847 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39848 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39849 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39850 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39851 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39852 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39853 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39854 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39855 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39856 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39857 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39858 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39859 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39860 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39861 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39862 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39863 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39864 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39865 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39866 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39867 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39868 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39869 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39870 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39871 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39872 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39873 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39874 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39875 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39876 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39877 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39878 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39879 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39880 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39881 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39882 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39883 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39884 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39885 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39886 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39887 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39888 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39889 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39890 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39891 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39892 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39893 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39894 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39895 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39896 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39897 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39898 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39899 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39900 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39901 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39902 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39903 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39904 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39905 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39906 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39907 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39908 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39909 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39910 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39911 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39912 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39913 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39914 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39915 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39916 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39917 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39918 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39919 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39920 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39921 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39922 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39923 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39924 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39925 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39926 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39927 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39928 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39929 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39930 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39931 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39932 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39933 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39934 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39935 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39936 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39937 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39938 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39939 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39940 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39941 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39942 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39943 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39944 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39945 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39946 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39947 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39948 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39949 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39950 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39951 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39952 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39953 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39954 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39955 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39956 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39957 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39958 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39959 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39960 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39961 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39962 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39963 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39964 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39965 * sysdeps/ieee754/k_standard.c: Likewise.
39966 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39967 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39968 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39969 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39970 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39971 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39972 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39973 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39974 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39975 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39976 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39977 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39978 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39979 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39980 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39981 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39982 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39983 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39984 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39985 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39986 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39987 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39988 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39989 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39990 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39991 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39992 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39993 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39994 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39995 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39996 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39997 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39998 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39999 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40000 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40001 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40002 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40003 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40004 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40005 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40006 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40007 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40008 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40009 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40010 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40011 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40012 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40013 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40014 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40015 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40016 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40017 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40018 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40019 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40020 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40021 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40022 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40023 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40024 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40025 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40026 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40027 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40028 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40029 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40030 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40031 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40032 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40033 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40034 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40035 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40036 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40037 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40038 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40039 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40040 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40041 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40042 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40043 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40044 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40045 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40046 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40047 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40048 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40049 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40050 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40051 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40052 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40053 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40054 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40055 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40056 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40057 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40058 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40059 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40060 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40061 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40062 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40063 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40064 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40065 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40066 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40067 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40068 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40069 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40070 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40071 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40072 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40073 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40074 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40075 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40076 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40077 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40078 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40079 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40080 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40081 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40082 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40083 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40084 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40085 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40086 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40087 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40088 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40089 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40090 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40091 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40092 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40093 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40094 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40095 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40096 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40097 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40098 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40099 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40100 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40101 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40102 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40103 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40104 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40105 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40106 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40107 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40108 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40109 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40110 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40111 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40112 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40113 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40114 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40115 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40116 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40117 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40118 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40119 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40120 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40121 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40122 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40123 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40124 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40125 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40126 * sysdeps/ieee754/s_lib_version.c: Likewise.
40127 * sysdeps/ieee754/s_matherr.c: Likewise.
40128 * sysdeps/ieee754/s_signgam.c: Likewise.
40129 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40130 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40131 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40132 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40133 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40134 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40135 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40136 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40137 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40138 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40139 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40140 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40141 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40142 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40143 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40144 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40145 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40146 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40147 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40148 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40149 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40151 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40153 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40154 * sunrpc/rpc_main.c: Likewise.
40155 * sunrpc/rpc_svcout.c: Likewise.
40157 2012-03-09 David S. Miller <davem@davemloft.net>
40159 * include/math_private.h: New file.
40161 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40163 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40164 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40165 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40166 from <bits/socket_type.h>.
40167 (enum __socket_type): Don't define here.
40168 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40169 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40170 bits/socket_type.h.
40173 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40174 checking __USE_GNU.
40176 * Makerules ($(inst_includedir)/%.h): New rule.
40177 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40178 (install-others): Remove variable setting.
40179 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40181 2012-03-08 Richard Henderson <rth@twiddle.net>
40183 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40184 from macro to inline function; merge with the
40185 !__LIBC_INTERNAL_MATH_INLINES version.
40186 (__ieee754_sqrtf): Likewise.
40188 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40189 to inline function.
40190 (__rintf, __floor, __floorf): Likewise.
40192 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40193 macro to inline function.
40194 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40196 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40197 not <math/math_private.h>.
40199 2012-03-08 David S. Miller <davem@davemloft.net>
40201 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40203 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40205 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
40207 * resolv/gai_misc.c (handle_requests): Fix struct timespec
40209 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40210 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40212 2012-03-08 Ulrich Drepper <drepper@gmail.com>
40214 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
40215 be defined individually, they must be defined as a block. Define
40216 S for printing a string instead of hidint the different by using a
40217 macro for adding the 'l'.
40218 * stdio-common/tst-fphex-wide.c: Adjust.
40220 2012-03-07 Marek Polacek <polacek@redhat.com>
40222 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40224 2012-03-08 Marek Polacek <polacek@redhat.com>
40227 * stdio-common/Makefile (tests): Add tst-fphex-wide.
40228 * stdio-common/tst-fphex.c: Define a few macros to make the
40229 test reusable. Use them.
40230 * stdio-common/tst-fphex-wide.c: New file.
40232 2012-03-08 Joseph Myers <joseph@codesourcery.com>
40235 * manual/macros.texi (gnusystems): New macro.
40236 (nongnusystems): Likewise.
40237 (gnulinuxhurdsystems): Likewise.
40238 (gnuhurdsystems): Likewise..
40239 (gnulinuxsystems): Likewise.
40240 * manual/charset.texi: Use new macros or @theglibc{} to refer to
40241 variants of the GNU system, not "GNU system".
40242 * manual/conf.texi: Likewise.
40243 * manual/errno.texi: Likewise. Update example of errno macro
40245 * manual/filesys.texi: Likewise.
40246 (getumask): Document as specific to GNU/Hurd.
40247 * manual/install.texi: Likewise. Reword some references to
40249 * manual/intro.texi: Likewise.
40250 * manual/io.texi: Likewise.
40251 (File Name Portability): Detail which constraints are inapplicable
40252 to all GNU systems and which are only inapplicable to GNU/Hurd.
40253 * manual/job.texi: Likewise.
40254 * manual/llio.texi: Likewise.
40255 (O_NOCTTY): Document as present on GNU/Linux.
40256 * manual/maint.texi: Likewise.
40257 * manual/memory.texi: Likewise.
40258 * manual/pattern.texi: Likewise.
40259 * manual/pipe.texi: Likewise.
40260 * manual/process.texi: Likewise.
40261 * manual/resource.texi: Likewise.
40262 (RUSAGE_CHILDREN): Remove statement about specifying a particular
40264 * manual/setjmp.texi: Likewise.
40265 * manual/signal.texi: Likewise.
40266 * manual/startup.texi: Likewise.
40267 * manual/stdio.texi: Likewise.
40268 * manual/terminal.texi: Likewise.
40269 (ONLCR): Document as POSIX.
40270 (OXTABS): Document availability on GNU/Linux as XTABS.
40271 (ONOEOT): Document availability separately from other bits.
40272 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40273 * manual/time.texi: Likewise.
40274 * manual/users.texi: Likewise.
40275 * INSTALL: Regenerated.
40276 * sysdeps/gnu/errlist.c: Regenerated.
40278 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40279 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40280 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
40282 * configure: Regenerated.
40284 2012-03-07 Joseph Myers <joseph@codesourcery.com>
40286 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40287 default includes instead of AC_HEADER_CHECK.
40288 * sysdeps/i386/configure: Regenerated.
40291 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40292 * math/s_cacoshf.c (__cacoshf): Likewise.
40293 * math/s_cacoshl.c (__cacoshl): Likewise.
40294 * math/s_casinh.c (__casinh): Set signs of result from argument.
40295 * math/s_casinhf.c (__casinhf): Likewise.
40296 * math/s_casinhl.c (__casinhl): Likewise.
40297 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40298 (casinh_test): Add more tests.
40299 * sysdeps/i386/fpu/libm-test-ulps: Update.
40300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40302 2012-03-07 Ulrich Drepper <drepper@gmail.com>
40304 * po/zh_TW.po: Update from translation team.
40306 * login/Makefile (distribute): Remove variable.
40307 * catgets/Makefile: Likewise.
40308 * mach/Makefile: Likewise.
40309 * malloc/Makefile: Likewise.
40310 * misc/Makefile: Likewise.
40311 * iconv/Makefile: Likewise.
40312 * nscd/Makefile: Likewise.
40313 * hurd/Makefile: Likewise.
40314 * manual/Makefile: Likewise.
40315 * locale/Makefile: Likewise.
40316 * intl/Makefile: Likewise.
40317 * conform/Makefile: Likewise.
40318 * nss/Makefile: Likewise.
40319 * time/Makefile: Likewise.
40320 * soft-fp/Makefile: Likewise.
40321 * dirent/Makefile: Likewise.
40322 * gmon/Makefile: Likewise.
40323 * po/Makefile: Likewise.
40324 * rt/Makefile: Likewise.
40325 * socket/Makefile: Likewise.
40326 * math/Makefile: Likewise.
40327 * signal/Makefile: Likewise.
40328 * debug/Makefile: Likewise.
40329 * elf/Makefile: Likewise.
40330 * timezone/Makefile: Likewise.
40331 * stdlib/Makefile: Likewise.
40332 * iconvdata/Makefile: Likewise.
40333 * sunrpc/Makefile: Likewise.
40334 * io/Makefile: Likewise.
40335 * argp/Makefile: Likewise.
40336 * inet/Makefile: Likewise.
40337 * hesiod/Makefile: Likewise.
40338 * grp/Makefile: Likewise.
40339 * csu/Makefile: Likewise.
40340 * wctype/Makefile: Likewise.
40341 * crypt/Makefile: Likewise.
40342 * libio/Makefile: Likewise.
40343 * string/Makefile: Likewise.
40344 * nis/Makefile: Likewise.
40345 * resolv/Makefile: Likewise.
40346 * stdio-common/Makefile: Likewise.
40347 * wcsmbs/Makefile: Likewise.
40348 * dlfcn/Makefile: Likewise.
40349 * posix/Makefile: Likewise.
40352 * timezone/Makefile: Don't install timezone files, just the programs
40355 2012-03-06 Ulrich Drepper <drepper@gmail.com>
40357 * nss/databases.def: Add missing gshadow entry.
40359 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
40361 2012-03-06 Marek Polacek <polacek@redhat.com>
40364 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40365 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40366 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40367 * stdio-common/tst-long-dbl-fphex.c: New file.
40369 2012-03-06 David S. Miller <davem@davemloft.net>
40371 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40372 (set_obp_int): New function.
40373 (get_obp_int): New function.
40374 (__get_clockfreq_via_dev_openprom): Likewise.
40375 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40376 Avoid unused variable warnings on 'val' and use builtin_expect.
40377 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40379 (INLINE_CLONE_SYSCALL): Likewise.
40381 2012-03-05 David S. Miller <davem@davemloft.net>
40383 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40385 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
40387 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40389 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40390 only for |x| >= 40.
40391 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40393 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
40395 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40396 Replace gettimeofday with __vdso_gettimeofday.
40398 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40399 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40400 __vdso_clock_gettime and __vdso_getcpu.
40402 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40403 time with __vdso_time.
40405 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40407 * manual/lang.texi (size_t): Note types to which size_t may be
40408 equivalent with the GNU C Library, but do not describe when
40409 differences between them are significant.
40411 2012-03-05 Andreas Jaeger <aj@suse.de>
40413 * sysdeps/i386/fpu/libm-test-ulps: Update.
40415 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40418 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40419 (__ieee754_pow): Save and restore rounding mode and use
40420 round-to-nearest for main computations.
40421 * math/libm-test.inc (pow_test_tonearest): New function.
40422 (pow_test_towardzero): Likewise.
40423 (pow_test_downward): Likewise.
40424 (pow_test_upward): Likewise.
40425 (main): Call the new functions.
40426 * sysdeps/i386/fpu/libm-test-ulps: Update.
40427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40430 * math/libm-test.inc (cosh_test_tonearest): New function.
40431 (cosh_test_towardzero): Likewise.
40432 (cosh_test_downward): Likewise.
40433 (cosh_test_upward): Likewise.
40434 (sinh_test_tonearest): Likewise.
40435 (sinh_test_towardzero): Likewise.
40436 (sinh_test_downward): Likewise.
40437 (sinh_test_upward): Likewise.
40438 (main): Call the new functions.
40439 * sysdeps/i386/fpu/libm-test-ulps: Update.
40440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40442 2012-03-05 Tom de Vries <tom@codesourcery.com>
40444 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40445 default stack guard is set in last bytes.
40446 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40448 2012-03-05 Kees Cook <keescook@chromium.org>
40450 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40453 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40454 possibly allocate from heap instead of stack.
40455 * stdio-common/bug-vfprintf-nargs.c: New file.
40456 * stdio-common/Makefile (tests): Add nargs overflow test.
40458 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
40460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40462 2012-03-03 Marek Polacek <polacek@redhat.com>
40464 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40465 * math/math_private.h: Likewise.
40466 * stdlib/tst-strtod.c: Likewise.
40467 * sysdeps/i386/i486/bits/atomic.h: Likewise.
40468 * sysdeps/x86_64/bits/atomic.h: Likewise.
40470 2012-03-02 David S. Miller <davem@davemloft.net>
40472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40476 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40477 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40478 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40479 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40481 2012-03-02 Roland McGrath <roland@hack.frob.com>
40484 * manual/examples/README: New file, says the example source files
40485 can be used under GPL>=2.
40486 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40487 line containing just "*/".
40488 * manual/examples/add.c: Add copyright header (GPL>=2).
40489 * manual/examples/argp-ex1.c: Likewise.
40490 * manual/examples/argp-ex2.c: Likewise.
40491 * manual/examples/argp-ex3.c: Likewise.
40492 * manual/examples/argp-ex4.c: Likewise.
40493 * manual/examples/atexit.c: Likewise.
40494 * manual/examples/db.c: Likewise.
40495 * manual/examples/dir.c: Likewise.
40496 * manual/examples/dir2.c: Likewise.
40497 * manual/examples/execinfo.c: Likewise.
40498 * manual/examples/filecli.c: Likewise.
40499 * manual/examples/filesrv.c: Likewise.
40500 * manual/examples/fmtmsgexpl.c: Likewise.
40501 * manual/examples/genpass.c: Likewise.
40502 * manual/examples/inetcli.c: Likewise.
40503 * manual/examples/inetsrv.c: Likewise.
40504 * manual/examples/isockad.c: Likewise.
40505 * manual/examples/longopt.c: Likewise.
40506 * manual/examples/memopen.c: Likewise.
40507 * manual/examples/memstrm.c: Likewise.
40508 * manual/examples/mkfsock.c: Likewise.
40509 * manual/examples/mkisock.c: Likewise.
40510 * manual/examples/mygetpass.c: Likewise.
40511 * manual/examples/pipe.c: Likewise.
40512 * manual/examples/popen.c: Likewise.
40513 * manual/examples/rprintf.c: Likewise.
40514 * manual/examples/search.c: Likewise.
40515 * manual/examples/select.c: Likewise.
40516 * manual/examples/setjmp.c: Likewise.
40517 * manual/examples/sigh1.c: Likewise.
40518 * manual/examples/sigusr.c: Likewise.
40519 * manual/examples/stpcpy.c: Likewise.
40520 * manual/examples/strdupa.c: Likewise.
40521 * manual/examples/strftim.c: Likewise.
40522 * manual/examples/strncat.c: Likewise.
40523 * manual/examples/subopt.c: Likewise.
40524 * manual/examples/swapcontext.c: Likewise.
40525 * manual/examples/termios.c: Likewise.
40526 * manual/examples/testopt.c: Likewise.
40527 * manual/examples/testpass.c: Likewise.
40528 * manual/examples/timeval_subtract.c: Likewise.
40531 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40533 * manual/timeval_subtract.c.texi: ... here, new file.
40535 2012-03-02 David S. Miller <davem@davemloft.net>
40537 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40539 2012-03-02 Joseph Myers <joseph@codesourcery.com>
40542 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40543 (__sin): Save and restore rounding mode and use round-to-nearest
40544 for all computations.
40545 (__cos): Save and restore rounding mode and use round-to-nearest
40546 for all computations.
40547 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40549 (tan): Save and restore rounding mode and use round-to-nearest for
40551 * math/libm-test.inc (cos_test_tonearest): New function.
40552 (cos_test_towardzero): Likewise.
40553 (cos_test_downward): Likewise.
40554 (cos_test_upward): Likewise.
40555 (sin_test_tonearest): Likewise.
40556 (sin_test_towardzero): Likewise.
40557 (sin_test_downward): Likewise.
40558 (sin_test_upward): Likewise.
40559 (tan_test_tonearest): Likewise.
40560 (tan_test_towardzero): Likewise.
40561 (tan_test_downward): Likewise.
40562 (tan_test_upward): Likewise.
40563 (main): Call the new functions.
40564 * sysdeps/i386/fpu/libm-test-ulps: Update.
40565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40568 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40569 small n, then large n, before computing and testing k+n.
40570 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40571 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40573 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40575 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40576 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40577 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40578 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40579 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40580 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40581 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40582 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40583 * math/libm-test.inc (scalbn_test): Add more tests.
40584 (scalbln_test): Likewise.
40586 * manual/filesys.texi (mode_t): Describe constraints on size and
40587 signedness, not exact equivalence to a particular type.
40589 (ino64_t): Likewise.
40591 (nlink_t): Likewise.
40592 (blkcnt_t): Likewise.
40593 (blkcnt64_t): Likewise.
40594 * manual/llio.texi (off_t): Likewise.
40597 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40598 (__ieee754_exp): Save and restore rounding mode and use
40599 round-to-nearest for all computations.
40600 * math/libm-test.inc (exp_test_tonearest): New function.
40601 (exp_test_towardzero): Likewise.
40602 (exp_test_downward): Likewise.
40603 (exp_test_upward): Likewise.
40604 (main): Call the new functions.
40605 * sysdeps/i386/fpu/libm-test-ulps: Update.
40606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40608 2012-03-01 Chris Demetriou <cgd@google.com>
40610 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40611 have predictable order.
40613 2012-03-01 David S. Miller <davem@davemloft.net>
40615 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40617 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40618 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40619 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40620 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40622 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40623 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40624 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40626 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40627 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40628 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40629 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40630 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40632 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40634 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40635 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40636 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40638 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40639 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40640 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40641 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40642 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40643 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40644 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40645 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40646 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40647 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40648 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40649 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40650 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40651 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40652 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40653 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40654 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40655 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40656 * sysdeps/sparc/elf/configure: Regenerated.
40658 2012-03-01 Joseph Myers <joseph@codesourcery.com>
40660 * configure.in (AS, LD): Require binutils 2.20 or later.
40661 * configure: Regenerated.
40662 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40663 as required minimum version.
40664 * INSTALL: Regenerated.
40668 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40669 before squaring exponent.
40670 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40671 bottom long double and 27 bits of top long double before squaring
40673 * math/libm-test.inc (erfc_test): Add more tests.
40674 * sysdeps/i386/fpu/libm-test-ulps: Update.
40675 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40678 2012-03-01 Kai Tietz <ktietz@redhat.com>
40680 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40681 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40682 containing bit-fields.
40683 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40684 * soft-fp/single.h (_FP_UNION_S): Likewise.
40685 * soft-fp/double.h (_FP_UNION_D): Likewise.
40687 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40690 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40691 not include ../strcmp.S.
40692 [USE_AS_STRNCASECMP_L]: Likewise.
40693 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40694 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40695 * sysdeps/i386/i686/multiarch/strncase_l-c.c
40696 (__strncasecmp_l_ia32): Define as alias to
40697 __strncasecmp_l_nonascii.
40700 * math/libm-test.inc (expm1_test): Add test for bug 5794.
40701 * sysdeps/i386/fpu/libm-test-ulps: Update.
40702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40704 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40707 2012-02-29 Jeff Law <law@redhat.com>
40709 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40710 out of bounds read.
40712 2012-02-29 Marek Polacek <polacek@redhat.com>
40715 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40716 * elf/Makefile: Add rules to run tst-unused-dep.out.
40718 2012-02-28 David S. Miller <davem@davemloft.net>
40720 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40721 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40722 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40723 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40724 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40725 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40727 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40729 * math/libm-test.inc (llround_test): Move one test from
40730 lround_test. Use TEST_f_L in moved test.
40731 (lround_test): Move misplaced test to llround_test. Add testcase
40734 2012-02-28 Ulrich Drepper <drepper@gmail.com>
40736 * sysdeps/x86_64/fpu/e_expf.S: New file.
40737 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40739 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
40742 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40743 of remain_len that may cause incomplete multi-byte character and
40745 * posix/bug-regex33.c: New file.
40746 * posix/Makefile (tests): Add bug-regex33.
40748 2012-02-28 Joseph Myers <joseph@codesourcery.com>
40750 * manual/macros.texi: New file.
40751 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40752 * manual/libc.texinfo: Include macros.texi.
40753 * manual/creatute.texi: Likewise.
40754 * manual/install.texi: Likewise.
40755 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40756 @glibcadj{} in references to the GNU C Library.
40757 * manual/charset.texi: Likewise.
40758 * manual/conf.texi: Likewise.
40759 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
40760 when not using those macros.
40761 * manual/creature.texi: Likewise.
40762 * manual/crypt.texi: Likewise.
40763 * manual/errno.texi: Likewise.
40764 * manual/filesys.texi: Likewise.
40765 * manual/header.texi: Likewise.
40766 * manual/install.texi: Likewise.
40767 * manual/intro.texi: Likewise.
40768 * manual/io.texi: Likewise.
40769 * manual/job.texi: Likewise.
40770 * manual/lang.texi: Likewise.
40771 * manual/libc.texiinfo: Likewise.
40772 * manual/llio.texi: Likewise.
40773 * manual/locale.texi: Likewise.
40774 * manual/maint.texi: Likewise.
40775 * manual/math.texi: Likewise.
40776 * manual/memory.texi: Likewise.
40777 * manual/message.texi: Likewise.
40778 * manual/nss.texi: Likewise.
40779 * manual/pattern.texi: Likewise.
40780 * manual/process.texi: Likewise.
40781 * manual/resource.texi: Likewise.
40782 * manual/search.texi: Likewise.
40783 * manual/setjmp.texi: Likewise.
40784 * manual/signal.texi: Likewise.
40785 * manual/socket.texi: Likewise.
40786 * manual/startup.texi: Likewise.
40787 * manual/stdio.texi: Likewise.
40788 * manual/string.texi: Likewise.
40789 * manual/sysinfo.texi: Likewise.
40790 * manual/syslog.texi: Likewise.
40791 * manual/terminal.texi: Likewise.
40792 * manual/time.texi: Likewise.
40793 * manual/users.texi: Likewise.
40794 * INSTALL: Regenerated.
40795 * NOTES: Regenerated.
40796 * sysdeps/gnu/errlist.c: Regenerated.
40798 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
40800 * include/dirent.h: Include <dirstream.h> before
40803 2012-02-28 David S. Miller <davem@davemloft.net>
40805 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40806 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40807 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40808 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40810 2012-02-27 David S. Miller <davem@davemloft.net>
40812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40814 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40815 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40818 frame pointer instead of stack pointer relative arg slot.
40819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40820 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40821 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40823 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
40826 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40828 2012-02-27 David S. Miller <davem@davemloft.net>
40830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40834 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40835 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40836 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40837 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40839 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40841 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40842 later. Allow versions 5-9.
40843 * configure: Regenerated.
40844 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40845 required minimum version and 4.6 as recommended version. Do not
40846 mention bugs in GCC 2.7 and 2.8.
40847 * INSTALL: Regenerated.
40849 2012-02-27 David S. Miller <davem@davemloft.net>
40851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40855 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40856 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40857 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40858 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40860 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40861 manipulate bits before adding and subtracting TWO112[sx].
40862 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40864 2012-02-27 Roland McGrath <roland@hack.frob.com>
40867 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40868 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40869 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40870 being in POSIX, because they are in 1003.1-2008.
40872 * rt/tst-aio.c: Include <fcntl.h>.
40873 * rt/tst-aio7.c: Likewise.
40874 * rt/tst-aio64.c: Likewise.
40876 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40878 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40880 * manual/install.texi (--with-headers): Describe headers as
40881 interface headers, not private headers.
40882 (Specific advice for GNU/Linux systems): Describe use of headers
40883 from "make headers_install", not private headers from older
40885 * INSTALL: Regenerated.
40886 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40888 * sysdeps/unix/sysv/linux/configure: Regenerated.
40890 * manual/llio.texi (fclean): Remove documentation.
40892 * manual/Makefile (libc-texi-generated): New variable. Include
40894 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40895 $(libc-texi-generated), not duplicated list of files.
40896 (version.texi, stamp-version): New rules.
40897 (realclean): Remove $(libc-texi-generated), not individual files
40898 from that list. Do not remove dir-add.texinfo.
40899 * manual/libc.texinfo: Comment out uses of edition numbers and
40900 references to printed manual. Remove last-updated dates.
40901 (EDITION): Comment out.
40903 (VERSION, UPDATED): Remove.
40904 (version.texi): Include.
40906 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
40908 * sysdeps/posix/spawni.c: Include <signal.h>.
40909 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40910 * sysdeps/pthread/aio_fsync.c: Likewise.
40912 2012-02-26 Ulrich Drepper <drepper@gmail.com>
40914 * conform/Makefile (tests): Run only when not cross-compiling and
40915 when fast-check is not defined.
40917 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40918 * conform/data/limits.h-data: Fixes for POSIX2008.
40919 * conform/run-conformtest.sh: Run all tests.
40920 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40922 * include/bits/dlfcn.h: Likewise.
40923 * include/langinfo.h: Likewise.
40924 * include/monetary.h: Likewise.
40925 * include/sys/poll.h: Likewise.
40927 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40929 * posix/spawn.h: Define __need_sigset_t.
40930 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40931 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40932 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
40933 to get sigevent_t only.
40934 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40935 only for __USE_GNU.
40936 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40937 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40938 process_vm_writev only for __USE_GNU.
40939 * termios/termios.h: Declare tcgetsid also for POSIX2008.
40941 * conform/Makefile: For now ignore errors from run-conformtest.
40942 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
40943 POSIX to avoid namespace pollution. Don't prepend headers.
40944 * conform/data/aio.h-data: Fixes for POSIX testing.
40945 * conform/data/fcntl.h-data: Likewise.
40946 * conform/data/glob.h-data: Likewise.
40947 * conform/data/grp.h-data: Likewise.
40948 * conform/data/pthread.h-data: Likewise.
40949 * conform/data/pwd.h-data: Likewise.
40950 * conform/data/signal.h-data: Likewise.
40951 * conform/data/spawn.h-data: Likewise.
40952 * conform/data/stdio.h-data: Likewise.
40953 * conform/data/stdlib.h-data: Likewise.
40954 * conform/data/stropts.h-data: Likewise.
40955 * conform/data/sys/mman.h-data: Likewise.
40956 * conform/data/sys/stat.h-data: Likewise.
40957 * conform/data/sys/types.h-data: Likewise.
40958 * conform/data/sys/wait.h-data: Likewise.
40959 * conform/data/time.h-data: Likewise.
40960 * conform/data/unistd.h-data: Likewise.
40961 * conform/data/utime.h-data: Likewise.
40963 * io/sys/stat.h: fchmod was always in POSIX.
40964 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40965 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40966 * rt/aio.h: Define __need_timespec before including <time.h>.
40967 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40968 struct. Add forward declaration of pthread_attr_t and use it in
40970 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40971 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40972 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40973 always remove CLK_TCK definition.
40975 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
40977 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40979 2012-02-25 Ulrich Drepper <drepper@gmail.com>
40981 * conform/run-conformtest.sh: New file.
40982 * conform/Makefile: Run run-conformtest for tests.
40983 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
40986 * conform/data/uchar.h-data: New file.
40987 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40988 * conform/data/arpa/inet.h-data: Likewise.
40989 * conform/data/assert.h-data: Likewise.
40990 * conform/data/complex.h-data: Likewise.
40991 * conform/data/cpio.h-data: Likewise.
40992 * conform/data/ctype.h-data: Likewise.
40993 * conform/data/dirent.h-data: Likewise.
40994 * conform/data/dlfcn.h-data: Likewise.
40995 * conform/data/errno.h-data: Likewise.
40996 * conform/data/fcntl.h-data: Likewise.
40997 * conform/data/float.h-data: Likewise.
40998 * conform/data/fmtmsg.h-data: Likewise.
40999 * conform/data/fnmatch.h-data: Likewise.
41000 * conform/data/ftw.h-data: Likewise.
41001 * conform/data/glob.h-data: Likewise.
41002 * conform/data/grp.h-data: Likewise.
41003 * conform/data/iconv.h-data: Likewise.
41004 * conform/data/inttypes.h-data: Likewise.
41005 * conform/data/langinfo.h-data: Likewise.
41006 * conform/data/libgen.h-data: Likewise.
41007 * conform/data/limits.h-data: Likewise.
41008 * conform/data/locale.h-data: Likewise.
41009 * conform/data/math.h-data: Likewise.
41010 * conform/data/monetary.h-data: Likewise.
41011 * conform/data/mqueue.h-data: Likewise.
41012 * conform/data/ndbm.h-data: Likewise.
41013 * conform/data/net/if.h-data: Likewise.
41014 * conform/data/netdb.h-data: Likewise.
41015 * conform/data/netinet/in.h-data: Likewise.
41016 * conform/data/nl_types.h-data: Likewise.
41017 * conform/data/poll.h-data: Likewise.
41018 * conform/data/pthread.h-data: Likewise.
41019 * conform/data/pwd.h-data: Likewise.
41020 * conform/data/regex.h-data: Likewise.
41021 * conform/data/sched.h-data: Likewise.
41022 * conform/data/search.h-data: Likewise.
41023 * conform/data/semaphore.h-data: Likewise.
41024 * conform/data/setjmp.h-data: Likewise.
41025 * conform/data/signal.h-data: Likewise.
41026 * conform/data/spawn.h-data: Likewise.
41027 * conform/data/stdarg.h-data: Likewise.
41028 * conform/data/stdio.h-data: Likewise.
41029 * conform/data/stdlib.h-data: Likewise.
41030 * conform/data/string.h-data: Likewise.
41031 * conform/data/strings.h-data: Likewise.
41032 * conform/data/stropts.h-data: Likewise.
41033 * conform/data/sys/ipc.h-data: Likewise.
41034 * conform/data/sys/mman.h-data: Likewise.
41035 * conform/data/sys/msg.h-data: Likewise.
41036 * conform/data/sys/resource.h-data: Likewise.
41037 * conform/data/sys/select.h-data: Likewise.
41038 * conform/data/sys/sem.h-data: Likewise.
41039 * conform/data/sys/shm.h-data: Likewise.
41040 * conform/data/sys/socket.h-data: Likewise.
41041 * conform/data/sys/stat.h-data: Likewise.
41042 * conform/data/sys/statvfs.h-data: Likewise.
41043 * conform/data/sys/time.h-data: Likewise.
41044 * conform/data/sys/timeb.h-data: Likewise.
41045 * conform/data/sys/times.h-data: Likewise.
41046 * conform/data/sys/types.h-data: Likewise.
41047 * conform/data/sys/uio.h-data: Likewise.
41048 * conform/data/sys/un.h-data: Likewise.
41049 * conform/data/sys/utsname.h-data: Likewise.
41050 * conform/data/sys/wait.h-data: Likewise.
41051 * conform/data/syslog.h-data: Likewise.
41052 * conform/data/tar.h-data: Likewise.
41053 * conform/data/termios.h-data: Likewise.
41054 * conform/data/utime.h-data: Likewise.
41055 * conform/data/utmpx.h-data: Likewise.
41056 * conform/data/varargs.h-data: Likewise.
41057 * conform/data/wchar.h-data: Likewise.
41058 * conform/data/wctype.h-data: Likewise.
41059 * conform/data/wordexp.h-data: Likewise.
41061 * include/stropts.h: New file.
41062 * include/uchar.h: New file.
41063 * include/aio.h: Changes to allow conformtest.pl to use the headers.
41064 * include/assert.h: Likewise.
41065 * include/ctype.h: Likewise.
41066 * include/dirent.h: Likewise.
41067 * include/dlfcn.h: Likewise.
41068 * include/fcntl.h: Likewise.
41069 * include/fnmatch.h: Likewise.
41070 * include/glob.h: Likewise.
41071 * include/grp.h: Likewise.
41072 * include/libio.h: Likewise.
41073 * include/locale.h: Likewise.
41074 * include/math.h: Likewise.
41075 * include/net/if.h: Likewise.
41076 * include/netdb.h: Likewise.
41077 * include/netinet/in.h: Likewise.
41078 * include/pthread.h: Likewise.
41079 * include/pwd.h: Likewise.
41080 * include/regex.h: Likewise.
41081 * include/sched.h: Likewise.
41082 * include/search.h: Likewise.
41083 * include/setjmp.h: Likewise.
41084 * include/signal.h: Likewise.
41085 * include/stdio.h: Likewise.
41086 * include/stdlib.h: Likewise.
41087 * include/string.h: Likewise.
41088 * include/sys/cdefs.h: Likewise.
41089 * include/sys/mman.h: Likewise.
41090 * include/sys/msg.h: Likewise.
41091 * include/sys/resource.h: Likewise.
41092 * include/sys/select.h: Likewise.
41093 * include/sys/socket.h: Likewise.
41094 * include/sys/stat.h: Likewise.
41095 * include/sys/statvfs.h: Likewise.
41096 * include/sys/time.h: Likewise.
41097 * include/sys/times.h: Likewise.
41098 * include/sys/uio.h: Likewise.
41099 * include/sys/utsname.h: Likewise.
41100 * include/sys/wait.h: Likewise.
41101 * include/termios.h: Likewise.
41102 * include/time.h: Likewise.
41103 * include/ulimit.h: Likewise.
41104 * include/unistd.h: Likewise.
41105 * include/utime.h: Likewise.
41106 * include/wchar.h: Likewise.
41107 * include/wctype.h: Likewise.
41108 * include/wordexp.h: Likewise.
41110 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41112 * time/time.h: TIME_UTC must be a macro.
41113 Make timespec_get available for ISO C11 only as well.
41115 2012-02-24 Ulrich Drepper <drepper@gmail.com>
41117 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41118 Reported by Peng Haitao <penght@cn.fujitsu.com>.
41120 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41122 * configure.in: Use -o not -a in test for unsupported multi-arch.
41124 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41126 * manual/texinfo.tex: Update to version 2012-01-19.16.
41128 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41130 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41132 2012-02-24 Roland McGrath <roland@hack.frob.com>
41135 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41136 * manual/fdl-1.3.texi: New file.
41137 * manual/fdl-1.1.texi: File removed.
41140 * manual/libc.texinfo (FDL_VERSION): New @set.
41141 Use it for mention of FDL in cover text.
41142 (Documentation License): Use it in @include file name.
41144 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41145 Roland McGrath <roland@hack.frob.com>
41148 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41149 (not LONG_LONG_MAX and LONG_LONG_MIN.
41150 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41151 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
41153 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41155 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41159 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41160 manipulate bits before adding and subtracting TWO23[sx].
41161 * math/libm-test.inc (nearbyint_test): Add more tests.
41163 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41166 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41167 bits before adding and subtracting TWO23[sx].
41168 * math/libm-test.inc (rint_test): Add more tests.
41169 (rint_test_tonearest): Likewise.
41170 (rint_test_towardzero): Likewise.
41171 (rint_test_downward): Likewise.
41172 (rint_test_upward: Likewise.
41174 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41177 * include/stdc-predef.h: New file. Extracted from features.h.
41178 * include/features.h: Include stdc-predef.h.
41179 * Makefile (headers): Add stdc-predef.h.
41180 * CONFORMANCE (Compiler limitations): Update.
41182 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41184 * manual/libc.texinfo (VERSION, UPDATED): Revert.
41186 2012-02-21 David S. Miller <davem@davemloft.net>
41188 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41189 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41191 2012-02-20 David S. Miller <davem@davemloft.net>
41193 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41194 using a normal save/restore sequence, rather than allocating a
41195 dummy stack frame just to store a frame pointer and restore.
41196 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41198 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41200 * manual/install.texi: Fix stray word in line-wrapped comment.
41202 2012-02-20 David S. Miller <davem@davemloft.net>
41204 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41205 both binutils and gcc support GOTDATA.
41207 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41208 "rd %pc" in the PIC register setup sequences.
41210 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41211 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41212 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41213 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41214 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41215 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41216 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41217 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41218 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41219 (SYSCALL_ERROR_HANDLER): Likewise.
41220 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41221 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41222 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41223 (SYSCALL_ERROR_HANDLER): Likewise.
41225 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41226 (HAVE_GCC_GOTDATA): New.
41227 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41228 relocation support in both binutils and gcc.
41229 * sysdeps/sparc/elf/configure: Regenerate.
41231 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41232 * sysdeps/sparc/sparc32/elf/configure: Delete.
41233 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41234 * sysdeps/sparc/sparc64/elf/configure: Delete.
41235 * sysdeps/sparc/elf/configure.in: New file.
41236 * sysdeps/sparc/elf/configure: Generate.
41238 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41239 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41240 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41241 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41242 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41244 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41246 * manual/install.texi: Do not mention specific glibc version
41248 * manual/libc.texinfo (VERSION, UPDATED): Update.
41249 (@copying): Use @copyright{} and range of years.
41251 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41254 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41255 [crti.S not in sysdirs] (generated): Do not append.
41256 [crti.S not in sysdirs] (omit-deps): Likewise.
41257 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41258 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41259 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41260 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41261 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41263 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41264 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41265 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41266 * csu/defs.awk: Remove file.
41267 * sysdeps/generic/initfini.c: Likewise.
41268 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41270 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41273 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41275 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41276 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41277 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41278 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41279 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41280 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41282 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41283 (__EPOLL_PACKED): Define to empty if not defined by
41285 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41286 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41289 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41291 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41292 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41293 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41294 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41296 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41297 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41300 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41302 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41304 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41305 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41306 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41309 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
41311 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41312 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41314 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
41316 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41317 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41319 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41321 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41324 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
41326 * math/w_acos.c: Use non-signaling floating-point comparisons.
41327 * math/w_acosf.c: Likewise.
41328 * math/w_acosh.c: Likewise.
41329 * math/w_acoshf.c: Likewise.
41330 * math/w_acoshl.c: Likewise.
41331 * math/w_acosl.c: Likewise.
41332 * math/w_asin.c: Likewise.
41333 * math/w_asinf.c: Likewise.
41334 * math/w_asinl.c: Likewise.
41335 * math/w_atanh.c: Likewise.
41336 * math/w_atanhf.c: Likewise.
41337 * math/w_atanhl.c: Likewise.
41338 * math/w_exp2.c: Likewise.
41339 * math/w_exp2f.c: Likewise.
41340 * math/w_exp2l.c: Likewise.
41341 * math/w_j0.c: Likewise.
41342 * math/w_j0f.c: Likewise.
41343 * math/w_j0l.c: Likewise.
41344 * math/w_j1.c: Likewise.
41345 * math/w_j1f.c: Likewise.
41346 * math/w_j1l.c: Likewise.
41347 * math/w_jn.c: Likewise.
41348 * math/w_jnf.c: Likewise.
41349 * math/w_log.c: Likewise.
41350 * math/w_log10.c: Likewise.
41351 * math/w_log10f.c: Likewise.
41352 * math/w_log10l.c: Likewise.
41353 * math/w_log2.c: Likewise.
41354 * math/w_log2f.c: Likewise.
41355 * math/w_log2l.c: Likewise.
41356 * math/w_logf.c: Likewise.
41357 * math/w_logl.c: Likewise.
41358 * math/w_sqrt.c: Likewise.
41359 * math/w_sqrtf.c: Likewise.
41360 * math/w_sqrtl.c: Likewise.
41361 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41362 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41363 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41364 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41365 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41367 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41370 * manual/string.texi (strnlen): Use correct parameter name in
41371 equivalent expression.
41373 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41376 * manual/users.texi (seteuid): Consistently use neweuid for
41379 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41382 * manual/nss.texi (Services in the NSS configuration): Correct
41383 list of services in example configuration file.
41385 2012-02-19 Nick Bowler <nbowler@draconx.ca>
41388 * manual/arith.texi: Remove statements about negative zero
41389 behaving identically to zero.
41391 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41394 * manual/install.texi: Do not document upgrading from libc5.
41396 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41399 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41401 2012-02-18 David S. Miller <davem@davemloft.net>
41403 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41404 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41405 %o7 across the call.
41406 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41408 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41409 SETUP_PIC_REG_LEAF.
41410 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41411 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41412 * sysdeps/sparc/crtn.S: Likewise.
41414 2012-02-17 Ulrich Drepper <drepper@gmail.com>
41416 * aout/Makefile: Remove.
41418 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
41421 * manual/examples/argp-ex1.c (main): Format definition in GNU
41423 * manual/examples/argp-ex2.c (main): Likewise.
41424 * manual/examples/argp-ex3.c (main): Likewise.
41425 * manual/examples/argp-ex4.c (main): Likewise.
41426 * manual/examples/longopt.c (main): Use new-style prototype
41428 * manual/examples/strncat.c (main): Specify return type and use
41429 (void) for arguments.
41430 * manual/examples/subopt.c (main): Use char **argv argument.
41432 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41435 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41438 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
41441 * manual/string.texi (strchr): Change when strchrnul is
41444 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
41447 * manual/locale.texi (setlocale): Document LOCPATH.
41449 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41452 * manual/process.texi (execle): Move @dots{} before last argument.
41454 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
41457 * manual/charset.texi (Generic Charset Conversion): Fix typo
41458 (LC_TYPE -> LC_CTYPE).
41460 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
41463 * manual/arith.texi (scalbn): Use @var{} on parameter names.
41464 (scalbnf): Likewise.
41465 (scalbnl): Likewise.
41466 (scalbln): Likewise.
41467 (scalblnf): Likewise.
41468 (scalblnl): Likewise.
41469 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41470 (vwarnx): Likewise.
41473 * manual/filesys.texi (telldir): Use braces around return type.
41474 * manual/llio.texi (mmap): Add space after comma.
41475 (mmap64): Likewise.
41476 * manual/math.texi (jn): Use @var{} on parameter names.
41482 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41484 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41486 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41487 (sched_get_priority_max): Likewise.
41488 * manual/signal.texi (sigvec): Add space after comma.
41489 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41491 (if_indextoname): Likewise.
41492 (if_freenameindex): Likewise.
41493 (sendto): Use ',' instead of '.' in prototype.
41494 * manual/startup.texi (syscall): Use @dots{} instead of literal
41496 * manual/stdio.texi (__fpending): Separate initial words of
41497 paragraph from @deftypefun line.
41498 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41500 (vsyslog): Use @var{} on parameter names.
41501 * manual/terminal.texi (stty): Use @var{} on parameter names.
41502 * manual/users.texi (getutmp): Use @var{} on parameter names.
41503 (getutmpx): Likewise.
41505 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41508 * manual/stdio.texi (fopen): Fix typos in description of
41511 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41514 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41515 get clock_id definition.
41517 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
41520 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41521 (madvise): Cast every argument to void on its own.
41523 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41526 * manual/startup.texi (Exit Status): Fix typo.
41528 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41531 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41532 * manual/examples/argp-ex2.c: Likewise.
41533 * manual/examples/argp-ex3.c: Likewise.
41535 2012-02-16 Richard Henderson <rth@redhat.com>
41537 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41538 * sysdeps/s390/s390-32/initfini.c: Remove.
41539 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41540 * sysdeps/s390/s390-64/initfini.c: Remove.
41542 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41544 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41545 compiler output for sysdeps/generic/initfini.c.
41546 * sysdeps/sh/elf/initfini.c: Remove file.
41548 2012-02-16 David S. Miller <davem@davemloft.net>
41551 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41553 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41554 * sysdeps/sparc/crti.S: New file.
41555 * sysdeps/sparc/crtn.S: New file.
41556 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41557 * sysdeps/sparc/sparc64/Makefile: Likewise.
41559 2012-02-15 Mike Frysinger <vapier@gentoo.org>
41562 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41564 2012-02-15 Roland McGrath <roland@hack.frob.com>
41567 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41569 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41570 (write, read, close): Likewise.
41571 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41573 2012-02-15 Joseph Myers <joseph@codesourcery.com>
41575 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41576 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41577 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41578 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41580 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41581 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41584 2012-02-14 Marek Polacek <polacek@redhat.com>
41586 * sysdeps/x86_64/crti.S: New file.
41587 * sysdeps/x86_64/crtn.S: New file.
41588 * sysdeps/x86_64/elf/initfini.c: Remove file.
41590 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41592 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41593 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41594 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41595 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41597 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41598 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41601 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41603 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41604 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41605 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41606 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41608 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41609 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41612 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41614 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41615 __feraiseexcept instead of feraiseexcept.
41617 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41618 nanosleep invocations.
41619 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41620 strings, and add error checking for a nanosleep invocations.
41622 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41624 Replace FSF snail mail address with URLs, as per GNU coding standards.
41625 Most of the snail mail addresses were wrong anyway, and omitting
41626 them makes the source code easier to maintain. Almost all of the
41627 changes are to license notices and to locale LC_IDENTIFICATION
41628 addresses, except for this one:
41629 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41630 not its snail mail address.
41632 2012-02-09 Richard Henderson <rth@twiddle.net>
41634 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41635 of kernel-features.h.
41637 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41639 2012-02-08 Marek Polacek <polacek@redhat.com>
41641 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41642 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41643 * sysdeps/gnu/_G_config.h: Likewise.
41644 * sysdeps/generic/_G_config.h: Likewise.
41646 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41648 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41652 * sysdeps/powerpc/powerpc32/crti.S: New file.
41653 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41654 * sysdeps/powerpc/powerpc64/crti.S: New file.
41655 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41657 * Makeconfig (have-initfini): Don't set.
41658 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41659 * configure.in (nopic_initfini): Don't substitute.
41660 * config.h.in (HAVE_INITFINI): Don't #undef.
41661 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41662 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41664 2012-02-08 Joseph Myers <joseph@codesourcery.com>
41666 Support crti.S and crtn.S provided directly by architectures.
41667 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41668 [crti.S in sysdirs] (omit-deps): Likewise.
41669 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41670 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41671 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41672 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41673 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41674 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41675 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41676 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41677 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41678 compiler output for sysdeps/generic/initfini.c.
41679 * sysdeps/i386/elf/Makefile: Remove file.
41680 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41682 2012-02-07 Marek Polacek <polacek@redhat.com>
41684 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41685 * sysdeps/gnu/_G_config.h: Likewise.
41686 * sysdeps/mach/hurd/_G_config.h: Likewise.
41688 2012-02-07 Marek Polacek <polacek@redhat.com>
41690 * math/Makefile (tests): Add tst-CMPLX2.
41691 * math/tst-CMPLX2.c: New file.
41693 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41695 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41697 * math/libm-test.inc (jn_test): Add missing L suffix.
41699 2012-02-06 Marek Polacek <polacek@redhat.com>
41701 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41702 * sysdeps/i386/fpu/e_powf.S: Likewise.
41703 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41704 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41705 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41706 * sysdeps/i386/fpu/e_pow.S: Likewise.
41707 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41708 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41709 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41710 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41711 * sysdeps/i386/fpu/e_log2.S: Likewise.
41712 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41713 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41714 * sysdeps/i386/fpu/e_powl.S: Likewise.
41715 * sysdeps/i386/fpu/s_log1p.S: Likewise.
41716 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41717 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41718 * sysdeps/i386/fpu/e_logl.S: Likewise.
41719 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41720 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41721 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41722 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41723 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41724 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41725 * sysdeps/i386/fpu/e_log.S: Likewise.
41726 * sysdeps/i386/fpu/s_cexp.S: Likewise.
41727 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41728 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41729 * sysdeps/i386/fpu/e_logf.S: Likewise.
41730 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41731 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41732 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41733 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41734 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41735 * sysdeps/i386/fpu/e_log10.S: Likewise.
41736 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41737 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41738 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41739 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41740 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41741 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41742 * sysdeps/i386/asm-syntax.h: Likewise.
41743 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41744 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41745 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41746 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41747 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41748 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41749 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41750 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41751 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41752 * sysdeps/powerpc/sysdep.h: Likewise.
41753 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41754 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41756 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41759 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41761 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41763 * sysdeps/i386/sysdep.h: Include <features.h>.
41764 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41767 2012-02-05 Joseph Myers <joseph@codesourcery.com>
41769 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41771 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41774 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41776 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41777 (SETUP_PIC_REG): Use GET_PC_THUNK.
41778 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41781 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41783 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41784 for non-PIC compilation.
41785 (SETUP_PIC_REG): Add .p2align directive.
41786 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41787 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41788 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41789 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41790 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41791 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41792 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41793 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41794 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41795 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41796 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41797 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41798 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41799 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41800 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41801 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41802 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41803 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41804 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41805 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41806 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41807 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41808 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41809 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41810 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41811 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41812 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41813 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41814 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41815 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41816 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41817 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41818 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41819 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41820 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41821 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41822 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41823 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41824 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41825 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41826 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41828 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41830 * math/tst-CMPLX.c: Include <stdio.h>.
41832 2012-01-31 Joseph Myers <joseph@codesourcery.com>
41834 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41836 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41837 * sysdeps/sparc/bits/mathdef.h: Likewise.
41839 2012-01-31 Marek Polacek <polacek@redhat.com>
41841 * libio/libio.h: Don't define _PARAMS.
41842 * locale/programs/config.h: Don't define PARAMS.
41843 * stdlib/strtol_l.c: Likewise.
41844 (__strtol_l): Remove PARAMS from the prototype.
41846 2012-01-31 Ulrich Drepper <drepper@gmail.com>
41848 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
41849 names. Just use the correct names. Remove unnecessary wrapper
41851 * malloc/arena.c: Likewise.
41852 * malloc/hooks.c: Likewise.
41854 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41855 ARENA_TEST says not to. Simplify test for creation of a new arena.
41856 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41858 2012-01-30 Ulrich Drepper <drepper@gmail.com>
41860 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41862 (update_get_addr): New function.
41863 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41864 GET_ADDR_MODULE parameter.
41866 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41868 * crypt/cert.c: Remove __STDC__ conditionals.
41869 * crypt/crypt-entry.c: Likewise.
41870 * crypt/crypt_util.c: Likewise.
41871 * libio/filedoalloc.c: Likewise.
41872 * libio/fileops.c: Likewise.
41873 * libio/genops.c: Likewise.
41874 * libio/iofclose.c: Likewise.
41875 * libio/iofdopen.c: Likewise.
41876 * libio/iofopen.c: Likewise.
41877 * libio/iofopen64.c: Likewise.
41878 * libio/iogetdelim.c: Likewise.
41879 * libio/iopopen.c: Likewise.
41880 * libio/obprintf.c: Likewise.
41881 * libio/oldfileops.c: Likewise.
41882 * libio/oldiofclose.c: Likewise.
41883 * libio/oldiofdopen.c: Likewise.
41884 * libio/oldiofopen.c: Likewise.
41885 * libio/oldiopopen.c: Likewise.
41886 * libio/wfiledoalloc.c: Likewise.
41887 * libio/wgenops.c: Likewise.
41888 * locale/programs/xmalloc.c: Likewise.
41889 * misc/syslog.c: Likewise.
41890 * stdio-common/xbug.c: Likewise.
41891 * string/memchr.c: Likewise.
41892 * string/memcmp.c: Likewise.
41893 * string/memrchr.c: Likewise.
41894 * string/rawmemchr.c: Likewise.
41895 * sysdeps/posix/getcwd.c: Likewise.
41896 * time/strftime_l.c: Likewise.
41898 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41900 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41901 * config.make.in (config-cflags-sse2avx): Define.
41902 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41905 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
41907 * scripts/config.guess: Update from upstream config git repository.
41908 * scripts/config.sub: Likewise.
41910 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
41912 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41914 (R_TILEPRO_*, R_TILEGX_*): New macros.
41916 * scripts/firstversions.awk: Fix bug in version range handling.
41918 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41920 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41922 * include/sys/epoll.h: New file.
41923 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41926 2012-01-28 Ulrich Drepper <drepper@gmail.com>
41928 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41929 Avoid unnecessary __WORDSIZE == 64 test.
41930 (fmaxf): Use VEX format if possible.
41935 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41936 * math/math_private.h: Remove libc_fegetround* and
41938 * sysdeps/i386/configure.in: Check for -msse2avx.
41939 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41940 also if SSE2AVX is defined.
41941 Remove libc_fegetround* and libc_fesetround*.
41942 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41943 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
41944 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41946 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41947 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41948 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41949 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41950 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41952 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41954 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41956 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41958 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41960 2012-01-27 Ulrich Drepper <drepper@gmail.com>
41963 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41965 * Makeconfig (libm): Define.
41966 * elf/Makefile: Add rules to build and run tst-relsort1.
41967 * elf/tst-relsort1.c: New file.
41968 * elf/tst-relsort1mod1.c: New file.
41969 * elf/tst-relsort1mod2.c: New file.
41971 2012-01-27 Joseph Myers <joseph@codesourcery.com>
41973 * math/s_ldexp.c: Remove __STDC__ conditionals.
41974 * math/s_ldexpf.c: Likewise.
41975 * math/s_ldexpl.c: Likewise.
41976 * math/s_nextafter.c: Likewise.
41977 * math/s_nexttowardf.c: Likewise.
41978 * math/s_significand.c: Likewise.
41979 * math/s_significandf.c: Likewise.
41980 * math/s_significandl.c: Likewise.
41981 * math/w_jnl.c: Likewise.
41982 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41983 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41984 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41985 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41986 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41987 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41988 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41989 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41990 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41991 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41992 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41993 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41994 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41995 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41996 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41997 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41998 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41999 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42000 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42001 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42002 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42003 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42004 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42005 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42006 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42007 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42008 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42009 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42010 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42011 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42012 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42013 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42014 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42015 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42016 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42017 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42018 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42019 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42020 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42021 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42022 * sysdeps/ieee754/k_standard.c: Likewise.
42023 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42024 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42025 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42026 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42027 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42028 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42029 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42030 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42031 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42032 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42033 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42034 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42035 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42036 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42037 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42038 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42039 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42040 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42041 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42042 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42043 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42044 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42045 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42046 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42047 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42048 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42049 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42050 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42051 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42052 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42053 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42054 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42055 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42056 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42057 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42058 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42059 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42060 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42061 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42062 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42063 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42064 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42065 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42066 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42067 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42068 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42069 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42070 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42071 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42072 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42073 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42074 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42075 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42076 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42077 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42078 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42079 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42080 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42081 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42082 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42083 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42084 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42085 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42086 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42087 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42088 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42089 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42090 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42091 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42092 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42093 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42094 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42095 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42096 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42097 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42098 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42099 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42100 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42101 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42102 * sysdeps/ieee754/s_matherr.c: Likewise.
42103 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42104 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42105 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42106 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42108 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42110 * crypt/md5.h: Remove __STDC__ conditionals.
42111 * libio/libioP.h: Likewise.
42112 * locale/programs/config.h: Likewise.
42113 * sysdeps/generic/sysdep.h: Likewise.
42114 * sysdeps/i386/asm-syntax.h: Likewise.
42115 * sysdeps/s390/asm-syntax.h: Likewise.
42116 * sysdeps/unix/sysdep.h: Likewise.
42117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42120 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42122 * libio/libio.h: Remove __STDC__ conditionals.
42123 * malloc/obstack.h: Likewise.
42124 * math/complex.h: Likewise.
42125 * math/math.h: Likewise.
42126 * sysdeps/generic/_G_config.h: Likewise.
42127 * sysdeps/gnu/_G_config.h: Likewise.
42128 * sysdeps/mach/hurd/_G_config.h: Likewise.
42129 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42130 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42131 * sysdeps/sparc/bits/mathdef.h: Likewise.
42133 2012-01-26 Ulrich Drepper <drepper@gmail.com>
42136 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42137 Clean up HAS_* macros.
42138 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42139 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42141 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42143 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42144 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42145 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42146 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42147 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42149 2012-01-25 Joseph Myers <joseph@codesourcery.com>
42151 * elf/tst-unique3.cc (gets): Remove declaration.
42152 * elf/tst-unique3lib.cc (gets): Likewise.
42153 * elf/tst-unique3lib2.cc (gets): Likewise.
42154 * elf/tst-unique4.cc (gets): Likewise.
42156 2012-01-24 Ulrich Drepper <drepper@gmail.com>
42158 * include/stdio.h: Add C++ protection. Add gets declarations and
42160 * debug/tst-chk1.c: Don't declare gets here.
42161 * stdio-common/tst-gets.c: Likewise.
42163 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42165 * posix/glob: Remove directory.
42167 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42169 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42171 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
42173 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42174 of the non-standard EPFNOSUPPORT.
42176 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
42178 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42179 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42180 ANYWHERE set to 1 only on KERN_NO_SPACE error.
42182 2012-01-21 Ulrich Drepper <drepper@gmail.com>
42184 * wcsmbs/uchar.h: Test __STDC_VERSION__.
42186 2012-01-20 Ulrich Drepper <drepper@gmail.com>
42188 * nscd/aicache.c (addhstaiX): Do not cache negative results of
42190 * nscd/grpcache.c (cache_addgr): Likewise.
42191 * nscd/hstcache.c (cache_addhst): Likewise.
42192 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42193 * nscd/pwdcache.c (cache_addpw): Likewise.
42194 * nscd/servicescache.c (cache_addserv): Likewise.
42196 2012-01-16 Ulrich Drepper <drepper@gmail.com>
42198 * malloc/malloc.c: Various cleanups.
42199 * malloc/hooks.c: Likewise.
42201 * stdlib/Makefile (tests): Add bug-fmtmsg1.
42202 * stdlib/bug-fmtmsg1.c: New file.
42204 * stdlib/fmtmsg.c (init): Add missing unlock.
42205 Patch by Peng Haitao <penght@cn.fujitsu.com>.
42207 2012-01-12 Marek Polacek <polacek@redhat.com>
42209 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42212 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42214 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42215 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42216 macro to ensure uniqueness of label name.
42217 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42218 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42220 2012-01-11 Ulrich Drepper <drepper@gmail.com>
42222 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42224 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42225 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42226 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42227 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42229 2012-01-10 Ulrich Drepper <drepper@gmail.com>
42231 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42233 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42234 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42235 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42237 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42239 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42240 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42241 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42242 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42244 * math/bits/math-finite.h: Add ldexp support.
42246 2012-01-10 Marek Polacek <polacek@redhat.com>
42248 * locale/programs/localedef.h (show_archive_content): Add noreturn
42251 2012-01-09 Ulrich Drepper <drepper@gmail.com>
42253 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42255 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42257 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42259 * io/Makefile (headers): Add bits/poll2.h.
42261 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
42263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42264 typo #include statement.
42266 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42268 * include/sys/cdefs.h: Define __attribute_alloc_size.
42269 * catgets/gencat.c: Add alloc_size attribute and apply consistently
42270 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42271 * elf/pldd.c: Likewise.
42272 * iconv/iconv_charmap.c: Likewise.
42273 * iconv/iconvconfig.c: Likewise.
42274 * iconv/strtab.c: Likewise.
42275 * locale/programs/locale.c: Likewise.
42276 * locale/programs/localedef.h: Likewise.
42277 * locale/programs/simple-hash.c: Likewise.
42278 * nscd/nscd.h: Likewise.
42279 * nss/makedb.c: Likewise.
42280 * sysdeps/generic/ldconfig.h: Likewise.
42281 * locale/programs/localedef.c: Remove xmalloc prototype.
42282 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42284 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42286 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42289 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42291 * math/Makefile (tests): Add tst-CMPLX.
42292 * math/tst-CMPLX.c: New file.
42294 * math/complex.h (CMPLXL): Fix typo.
42296 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42297 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42299 * debug/tst-chk1.c: Add poll and ppoll tests.
42300 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42301 * include/sys/poll.h: Add hidden proto for ppoll.
42302 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42303 * sysdeps/mach/hurd/ppoll.c: Likewise.
42304 * io/ppoll.c: Likewise.
42305 * debug/poll_chk.c: New file.
42306 * debug/ppoll_chk.c: New file.
42307 * include/bits/poll2.h: New file.
42308 * io/bits/poll2.h: New file.
42311 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42313 * configure.in: static is always set to yes. Remove.
42314 * config.make.in: Don't set build-static.
42315 * Makeconfig: Remove use of build-static.
42316 * dlfcn/Makefile: Likewise.
42317 * elf/Makefile: Likewise.
42318 * math/Makefile: Likewise.
42319 * misc/Makefile: Likewise.
42320 * nptl/Makefile: Likewise.
42321 * sysdeps/mach/hurd/Makefile: Likewise.
42323 * configure.in: PWD_P is not used anymore.
42324 * config.make.in: Remove PWD_P entry.
42326 * configure.in: Remove last remnants of RANLIB.
42327 No need to check for signed size_t anymore.
42328 Don't set libc_commonpagesize and libc_relro_required here for Alpha
42330 Remove __builtin_expect test because we require at least gcc 3.4.
42331 * aclocal.m4: Likewise.
42333 * wcsmbs/mbrtoc16.c: Implement using towc function.
42334 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42335 * wcsmbs/wcsmbsload.c: Likewise.
42336 * iconv/gconv_simple.c: Likewise.
42337 * iconv/gconv_int.h: Likewise.
42338 * iconv/gconv_builtin.h: Likewise.
42339 * iconv/iconv_prog.c: Remove CHAR16 handling.
42341 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42343 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42345 * configure.in: Remove --with-elf and --enable-bounded options.
42346 Dont set base_machine for ia64. More non-ELF conditions removed.
42347 Remove testing and setting of leading underscore information.
42348 * config.make.in (build-bounded): Set to no.
42349 * config.h.in: Remove NO_UNDERSCORES entry.
42350 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
42352 * csu/start.c: Remove !NO_UNDERSCORE code.
42353 * locale/localeinfo.h: Likewise.
42354 * sysdeps/generic/machine-gmon.h: Likewise.
42355 * sysdeps/generic/sysdep.h: Likewise.
42356 * sysdeps/i386/sysdep.h: Likewise.
42357 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42358 * sysdeps/mach/sysdep.h: Likewise.
42359 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42360 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42361 * sysdeps/sh/sysdep.h: Likewise.
42362 * sysdeps/sparc/sparc32/alloca.S: Likewise.
42363 * sysdeps/unix/i386/sysdep.S: Likewise.
42364 * sysdeps/unix/sparc/start.c: Likewise.
42365 * sysdeps/unix/sparc/sysdep.S: Likewise.
42366 * sysdeps/unix/sparc/sysdep.h: Likewise.
42367 * sysdeps/unix/start.c: Likewise.
42368 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42369 * sysdeps/x86_64/sysdep.h: Likewise.
42371 2012-01-07 Ulrich Drepper <drepper@gmail.com>
42374 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42376 * argp/argp-fmtstream.h: Use const instead __const.
42377 * argp/argp.h: Likewise.
42378 * assert/assert.h: Likewise.
42379 * bits/fenv.h: Likewise.
42380 * bits/sched.h: Likewise.
42381 * bits/sigset.h: Likewise.
42382 * bits/sigthread.h: Likewise.
42383 * catgets/nl_types.h: Likewise.
42384 * conform/data/pthread.h-data: Likewise.
42385 * crypt/crypt-private.h: Likewise.
42386 * crypt/crypt.h: Likewise.
42387 * crypt/crypt_util.c: Likewise.
42388 * ctype/ctype.h: Likewise.
42389 * debug/execinfo.h: Likewise.
42390 * debug/mbsnrtowcs_chk.c: Likewise.
42391 * debug/mbsrtowcs_chk.c: Likewise.
42392 * debug/wcsnrtombs_chk.c: Likewise.
42393 * debug/wcsrtombs_chk.c: Likewise.
42394 * debug/wcstombs_chk.c: Likewise.
42395 * dirent/dirent.h: Likewise.
42396 * dlfcn/dlfcn.h: Likewise.
42397 * elf/neededtest4.c: Likewise.
42398 * grp/grp.h: Likewise.
42399 * gshadow/gshadow.h: Likewise.
42400 * iconv/gconv.h: Likewise.
42401 * iconv/gconv_int.h: Likewise.
42402 * iconv/gconv_simple.c: Likewise.
42403 * iconv/iconv.h: Likewise.
42404 * iconv/loop.c: Likewise.
42405 * iconv/skeleton.c: Likewise.
42406 * include/aio.h: Likewise.
42407 * include/aliases.h: Likewise.
42408 * include/argz.h: Likewise.
42409 * include/arpa/inet.h: Likewise.
42410 * include/assert.h: Likewise.
42411 * include/dirent.h: Likewise.
42412 * include/dlfcn.h: Likewise.
42413 * include/execinfo.h: Likewise.
42414 * include/fcntl.h: Likewise.
42415 * include/fenv.h: Likewise.
42416 * include/glob.h: Likewise.
42417 * include/grp.h: Likewise.
42418 * include/libintl.h: Likewise.
42419 * include/mntent.h: Likewise.
42420 * include/netdb.h: Likewise.
42421 * include/pwd.h: Likewise.
42422 * include/rpc/netdb.h: Likewise.
42423 * include/sched.h: Likewise.
42424 * include/search.h: Likewise.
42425 * include/shadow.h: Likewise.
42426 * include/signal.h: Likewise.
42427 * include/stdio.h: Likewise.
42428 * include/stdlib.h: Likewise.
42429 * include/string.h: Likewise.
42430 * include/sys/socket.h: Likewise.
42431 * include/sys/stat.h: Likewise.
42432 * include/sys/statfs.h: Likewise.
42433 * include/sys/statvfs.h: Likewise.
42434 * include/sys/syslog.h: Likewise.
42435 * include/sys/time.h: Likewise.
42436 * include/sys/uio.h: Likewise.
42437 * include/time.h: Likewise.
42438 * include/unistd.h: Likewise.
42439 * include/utmp.h: Likewise.
42440 * include/wchar.h: Likewise.
42441 * include/wctype.h: Likewise.
42442 * inet/aliases.h: Likewise.
42443 * inet/arpa/inet.h: Likewise.
42444 * inet/netinet/ether.h: Likewise.
42445 * inet/netinet/in.h: Likewise.
42446 * intl/libintl.h: Likewise.
42447 * io/bits/fcntl2.h: Likewise.
42448 * io/fcntl.h: Likewise.
42449 * io/ftw.h: Likewise.
42450 * io/sys/poll.h: Likewise.
42451 * io/sys/stat.h: Likewise.
42452 * io/sys/statfs.h: Likewise.
42453 * io/sys/statvfs.h: Likewise.
42454 * io/utime.h: Likewise.
42455 * libio/bits/stdio.h: Likewise.
42456 * libio/bits/stdio2.h: Likewise.
42457 * libio/libio.h: Likewise.
42458 * libio/libioP.h: Likewise.
42459 * libio/stdio.h: Likewise.
42460 * locale/lc-ctype.c: Likewise.
42461 * locale/locale.h: Likewise.
42462 * login/utmp.h: Likewise.
42463 * malloc/arena.c: Likewise.
42464 * malloc/malloc.c: Likewise.
42465 * malloc/malloc.h: Likewise.
42466 * malloc/mcheck.c: Likewise.
42467 * malloc/mtrace.c: Likewise.
42468 * math/bits/mathcalls.h: Likewise.
42469 * math/fenv.h: Likewise.
42470 * math/math_private.h: Likewise.
42471 * misc/bits/error.h: Likewise.
42472 * misc/bits/syslog.h: Likewise.
42473 * misc/err.h: Likewise.
42474 * misc/error.h: Likewise.
42475 * misc/fstab.h: Likewise.
42476 * misc/mntent.h: Likewise.
42477 * misc/regexp.h: Likewise.
42478 * misc/search.h: Likewise.
42479 * misc/sgtty.h: Likewise.
42480 * misc/sys/mman.h: Likewise.
42481 * misc/sys/syslog.h: Likewise.
42482 * misc/sys/uio.h: Likewise.
42483 * misc/sys/xattr.h: Likewise.
42484 * misc/ttyent.h: Likewise.
42485 * nis/rpcsvc/ypclnt.h: Likewise.
42486 * nss/nss.h: Likewise.
42487 * posix/bits/unistd.h: Likewise.
42488 * posix/fnmatch.h: Likewise.
42489 * posix/glob.h: Likewise.
42490 * posix/sched.h: Likewise.
42491 * posix/spawn.h: Likewise.
42492 * posix/sys/wait.h: Likewise.
42493 * posix/unistd.h: Likewise.
42494 * posix/wordexp.h: Likewise.
42495 * pwd/pwd.h: Likewise.
42496 * resolv/netdb.h: Likewise.
42497 * resource/sys/resource.h: Likewise.
42498 * rt/aio.h: Likewise.
42499 * rt/bits/mqueue2.h: Likewise.
42500 * rt/mqueue.h: Likewise.
42501 * shadow/shadow.h: Likewise.
42502 * signal/signal.h: Likewise.
42503 * socket/send.c: Likewise.
42504 * socket/sendto.c: Likewise.
42505 * socket/sys/socket.h: Likewise.
42506 * stdio-common/printf.h: Likewise.
42507 * stdlib/bits/stdlib.h: Likewise.
42508 * stdlib/fmtmsg.h: Likewise.
42509 * stdlib/monetary.h: Likewise.
42510 * stdlib/stdlib.h: Likewise.
42511 * stdlib/ucontext.h: Likewise.
42512 * streams/stropts.h: Likewise.
42513 * string/argz.h: Likewise.
42514 * string/bits/string2.h: Likewise.
42515 * string/string.h: Likewise.
42516 * string/strings.h: Likewise.
42517 * sunrpc/rpc/auth.h: Likewise.
42518 * sunrpc/rpc/auth_des.h: Likewise.
42519 * sunrpc/rpc/clnt.h: Likewise.
42520 * sunrpc/rpc/netdb.h: Likewise.
42521 * sunrpc/rpc/pmap_clnt.h: Likewise.
42522 * sunrpc/rpc/xdr.h: Likewise.
42523 * sysdeps/generic/inttypes.h: Likewise.
42524 * sysdeps/generic/net/if.h: Likewise.
42525 * sysdeps/generic/sys/swap.h: Likewise.
42526 * sysdeps/gnu/net/if.h: Likewise.
42527 * sysdeps/gnu/utmpx.h: Likewise.
42528 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42529 * sysdeps/i386/i486/bits/string.h: Likewise.
42530 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42531 * sysdeps/s390/bits/string.h: Likewise.
42532 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42533 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42534 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42535 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42536 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42537 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42538 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42539 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42540 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42541 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42542 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42543 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42544 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42545 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42546 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42547 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42548 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42549 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42550 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42551 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42552 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42553 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42554 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42555 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42556 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42557 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42558 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42559 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42560 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42561 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42562 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42563 * sysvipc/sys/ipc.h: Likewise.
42564 * sysvipc/sys/msg.h: Likewise.
42565 * sysvipc/sys/sem.h: Likewise.
42566 * sysvipc/sys/shm.h: Likewise.
42567 * termios/termios.h: Likewise.
42568 * time/sys/time.h: Likewise.
42569 * time/time.h: Likewise.
42570 * wcsmbs/bits/wchar2.h: Likewise.
42571 * wcsmbs/uchar.h: Likewise.
42572 * wcsmbs/wchar.h: Likewise.
42573 * wctype/wctype.h: Likewise.
42576 * Makeconfig: Remove all but ELF support including AIX support.
42577 * Makerules: Likewise.
42578 * config.h.in: Likewise.
42579 * config.make.in: Likewise.
42580 * configure: Likewise.
42581 * configure.in: Likewise.
42582 * csu/Makefile: Likewise.
42583 * csu/version.c: Likewise.
42584 * debug/Makefile: Likewise.
42585 * dlfcn/Makefile: Likewise.
42586 * elf/Makefile: Likewise.
42587 * extra-lib.mk: Likewise.
42588 * iconv/Makefile: Likewise.
42589 * include/libc-symbols.h: Likewise.
42590 * include/shlib-compat.h: Likewise.
42591 * resolv/Makefile: Likewise.
42592 * resolv/res_libc.c: Likewise.
42593 * rt/Makefile: Likewise.
42594 * sysdeps/i386/asm-syntax.h: Likewise.
42595 * sysdeps/i386/sysdep.h: Likewise.
42596 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42597 * sysdeps/mach/sysdep.h: Likewise.
42598 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42599 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42600 * sysdeps/s390/asm-syntax.h: Likewise.
42601 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42602 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42603 * sysdeps/sh/sysdep.h: Likewise.
42604 * sysdeps/unix/sparc/sysdep.h: Likewise.
42605 * sysdeps/wordsize-32/divdi3.c: Likewise.
42606 * sysdeps/x86_64/sysdep.h: Likewise.
42608 * argp/Versions: Remove _argp_unlock_xxx.
42611 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42612 * abilist/libBrokenLocale.abilist: Likewise.
42613 * abilist/libanl.abilist: Likewise.
42614 * abilist/libc.abilist: Likewise.
42615 * abilist/libcrypt.abilist: Likewise.
42616 * abilist/libdl.abilist: Likewise.
42617 * abilist/libm.abilist: Likewise.
42618 * abilist/libnsl.abilist: Likewise.
42619 * abilist/libpthread.abilist: Likewise.
42620 * abilist/libresolv.abilist: Likewise.
42621 * abilist/librt.abilist: Likewise.
42622 * abilist/libthread_db.abilist: Likewise.
42623 * abilist/libutil.abilist: Likewise.
42624 * abilist/libnss_db.abilist: New file.
42626 * scripts/abilist.awk: Add support for indirect functions.
42628 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42630 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42632 * shlib-versions: Remove entries for ports architectures.
42634 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42636 * elf/stackguard-macros.h: Remove support for IA-64.
42637 * elf/tst-auditmod1.c: Likewise.
42638 * sysdeps/generic/ldsodefs.h: Likewise.
42640 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42641 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42645 * configure.in: Remove --enable-omitfp support.
42647 * config.make.in: Likewise.
42648 * Makeconfig: Likewise.
42649 * manual/install.texi: Likewise.
42651 In case anyone cares, the IA-64 architecture could move to ports.
42652 * sysdeps/ia64/*: Removed.
42653 * sysdeps/unix/sysv/linux/ia64/*: Removed.
42654 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42657 * configure.in: Remove entries for unsupported architectures.
42660 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42661 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42663 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42664 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42665 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42666 fall back to using wcrtomb.
42667 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42668 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42670 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42671 * wcsmbs/tst-c16c32-1.c: New file.
42673 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42676 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42678 * elf/tst-unique3.cc: Add explicit declaration of gets.
42679 * elf/tst-unique3lib.cc: Likewise.
42680 * elf/tst-unique3lib2.cc: Likewise.
42681 * elf/tst-unique4.cc: Likewise.
42683 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42685 2012-01-06 Joseph Myers <joseph@codesourcery.com>
42688 * assert/assert.h (static_assert): Don't define for C++.
42689 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42690 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42692 2012-01-03 Ulrich Drepper <drepper@gmail.com>
42694 * iconv/loop.c (single loop): Fix assertion in storing of
42697 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42699 2012-01-01 Ulrich Drepper <drepper@gmail.com>
42701 * posix/getconf.c: Update copyright year.
42702 * nss/getent.c: Likewise.
42703 * nss/makedb.c: Likewise.
42704 * iconv/iconvconfig.c: Likewise.
42705 * iconv/iconv_prog.c: Likewise.
42706 * elf/ldconfig.c: Likewise.
42707 * elf/pldd.c: Likewise.
42708 * elf/sotruss.ksh: Likewise.
42709 * catgets/gencat.c: Likewise.
42710 * csu/version.c: Likewise.
42711 * elf/ldd.bash.in: Likewise.
42712 * elf/sprof.c (print_version): Likewise.
42713 * locale/programs/locale.c: Likewise.
42714 * locale/programs/localedef.c: Likewise.
42715 * login/programs/pt_chown.c: Likewise.
42716 * nscd/nscd.c (print_version): Likewise.
42717 * debug/xtrace.sh: Likewise.
42718 * malloc/memusage.sh: Likewise.
42719 * malloc/mtrace.pl: Likewise.
42720 * debug/catchsegv.sh: Likewise.
42722 2011-12-30 Jakub Jelinek <jakub@redhat.com>
42724 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42727 2011-12-24 Ulrich Drepper <drepper@gmail.com>
42730 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42731 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42733 * iconv/gconv_int.h: Likewise.
42734 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42735 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42736 from libc for GLIBC_2.16.
42737 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42738 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42739 * wcsmbs/uchar.h: Really define mbstate_t.
42740 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42741 * wcsmbs/c16rtomb.c: New file.
42742 * wcsmbs/mbrtoc16.c: New file.
42743 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42744 for C/POSIX locale.
42745 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42746 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42748 * wcsmbs/wchar.h: Add missing __restrict.
42750 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42753 * time/Makefile (routines): Add timespec_get.
42754 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42755 * time/time.h: Define TIME_UTC and declare timespec_get. Define
42756 timespec for ISO C11.
42757 * time/timespec_get.c: New file.
42758 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42759 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42762 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42763 * stdlib/stdlib.h: Declare aligned_alloc.
42764 * Versions.def: Add GLIBC_2.16 for libc.
42765 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42768 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42771 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
42775 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42778 * assert/assert.h (static_assert): Define.
42780 * version.h: Update for 2.16 development version.
42783 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42786 * version.h (RELEASE): Bump for 2.15 release.
42787 * include/features.h (__GLIBC_MINOR__): Bump to 15.
42789 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42790 Patch by Marek Polacek <mpolacek@redhat.com>.
42792 * bits/byteswap.h: Protect long long constants with __extension__.
42793 * sysdeps/i386/bits/byteswap.h: Likewise.
42794 * sysdeps/ia64/bits/byteswap.h: Likewise.
42795 * sysdeps/s390/bits/byteswap.h: Likewise.
42796 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42798 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42801 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42802 destination buffer.
42803 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42805 2011-12-23 Marek Polacek <polacek@redhat.com>
42807 * elf/dl-addr.c (determine_info): Add inline keyword.
42808 * elf/tst-auditmod4b.c (check_avx): Likewise.
42809 * elf/tst-auditmod6b.c (check_avx): Likewise.
42810 * elf/tst-auditmod6c.c (check_avx): Likewise.
42811 * elf/tst-auditmod7b.c (check_avx): Likewise.
42813 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42815 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42818 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42821 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42822 processing for last bytes.
42824 2011-08-06 Bruno Haible <bruno@clisp.org>
42827 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42828 U+0385, not to U+1FEE.
42831 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42832 entry for U+00A5 U+0301.
42834 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42837 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42838 buffer for the output is too small.
42840 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42844 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42845 SSE flags if possible.
42847 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42850 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42851 processing for last bytes.
42853 2011-12-22 Joseph Myers <joseph@codesourcery.com>
42855 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42856 (syscall-list-default-options, syscall-list-default-condition)
42857 (syscall-list-includes): Define.
42858 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42859 list of ABIs and options and #if conditions for each ABI. Do not
42860 handle common syscalls between ABIs specially.
42861 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42863 (syscall-list-variants, syscall-list-32bit-options)
42864 (syscall-list-32bit-condition, syscall-list-64bit-options)
42865 (syscall-list-64bit-condition): Define.
42866 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42867 (syscall-list-variants, syscall-list-32bit-options)
42868 (syscall-list-32bit-condition, syscall-list-64bit-options)
42869 (syscall-list-64bit-condition): Define.
42870 * sysdeps/unix/sysv/linux/sparc/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/x86_64/Makefile (64bit-predefine):
42877 (syscall-list-variants, syscall-list-32bit-options)
42878 (syscall-list-32bit-condition, syscall-list-64bit-options)
42879 (syscall-list-64bit-condition): Define.
42881 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42883 * locale/iso-639.def: Add brx entry.
42886 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42887 Proposed by Mariusz_Cukr <marcukr@op.pl>.
42889 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42890 __feraiseexcept_renamed.
42892 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42895 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42896 EPOLLET with unsigned values.
42897 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42898 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42900 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42901 to large cancellation.
42902 * math/s_cacoshf.c: Likewise.
42903 * math/s_cacoshl.c: Likewise.
42905 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
42909 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42910 * math/s_cacoshf.c: Likewise.
42911 * math/s_cacoshl.c: Likewise.
42913 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42916 * iconv/gconv.h: Define __GCONV_SWAP.
42917 * iconvdata/unicode.c: The swap bit must be stored in __flags.
42918 * iconvdata/utf-16.c: Likewise.
42919 * iconvdata/utf-32.c: Likewise.
42921 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
42924 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42925 numerator after shifting it by one limb.
42927 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
42929 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42930 under [__USE_EXTERN_INLINES].
42932 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42935 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42937 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42939 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42940 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42942 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42943 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42944 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42945 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42946 for strncasecmp/strncasecmp_l compilation.
42947 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42948 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42950 2011-12-08 Marek Polacek <mpolacek@redhat.com>
42953 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42956 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42959 * time/tzfile.c (__tzfile_read): Check values from file header.
42961 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42963 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42964 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42965 * powerpc/powerpc32/dl-start.S: Likewise.
42966 * powerpc/powerpc32/elf/start.S: Likewise.
42967 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42968 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42969 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42970 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42971 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42972 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42973 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42974 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42975 * powerpc/powerpc32/fpu/s_round.S: Likewise.
42976 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42977 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42978 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42979 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42980 * powerpc/powerpc32/memset.S: Likewise.
42981 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42982 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42983 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42984 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42985 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42986 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42987 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42988 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42989 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42990 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42991 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42992 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42993 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42995 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42997 * math/libm-test.inc: Added more nearbyint tests.
42998 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42999 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43000 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43001 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43003 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
43005 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43008 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43010 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43011 Add wcscpy-ssse3 wcscpy-c.
43012 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43013 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43014 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43015 * sysdeps/x86_64/wcschr.S: New file.
43016 * sysdeps/x86_64/wcsrchr.S: New file.
43017 * string/test-strcmp.c: Remove checking of wcscmp function for
43019 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43020 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43021 wcsrchr-sse2 wcsrchr-c.
43022 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43023 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43024 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43025 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43026 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43027 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43028 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43029 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43030 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43031 * wcsmbc/wcschr.c (WCSCHR): New macro.
43033 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43035 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43036 * wcsmbs/test-wcsrchr.c: New file.
43037 * string/test-strrchr.c: Add wcsrchr support.
43039 * wcsmbs/test-wcscpy.c: New file.
43040 * string/test-strcpy.c: Add wcscpy support.
43043 2011-12-10 Ulrich Drepper <drepper@gmail.com>
43045 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43048 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
43051 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43053 2011-12-04 Ulrich Drepper <drepper@gmail.com>
43055 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43056 Minor optimizations.
43058 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43059 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43060 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43062 2011-12-03 Ulrich Drepper <drepper@gmail.com>
43064 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43065 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43066 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43067 for gcc to avoid warnings.
43068 * inet/Makefile (tests): Add tst-checks.
43069 * inet/tst-checks.c: New file.
43071 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43074 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43077 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43078 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43080 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43082 2011-12-02 Ulrich Drepper <drepper@gmail.com>
43084 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43087 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43089 2011-11-29 Joseph Myers <joseph@codesourcery.com>
43091 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43092 conditional on GCC version.
43093 (__arch_compare_and_exchange_val_8_acq)
43094 (__arch_compare_and_exchange_val_16_acq)
43095 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43096 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43097 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43099 2011-12-02 Joseph Myers <joseph@codesourcery.com>
43101 * sysdeps/sh/backtrace.c: New file.
43103 2011-12-02 Andreas Schwab <schwab@redhat.com>
43105 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
43108 2011-12-01 Andreas Schwab <schwab@redhat.com>
43110 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43111 falling back to utime.
43113 2011-11-30 Andreas Schwab <schwab@redhat.com>
43115 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43116 expectations for float.
43118 2011-11-29 Andreas Schwab <schwab@redhat.com>
43120 * locale/weight.h (findidx): Add parameter len.
43121 * locale/weightwc.h (findidx): Likewise.
43122 * posix/fnmatch_loop.c (FCT): Adjust caller.
43123 * posix/regcomp.c (build_equiv_class): Likewise.
43124 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43125 * posix/regexec.c (check_node_accept_bytes): Likewise.
43126 * string/strcoll_l.c (STRCOLL): Likewise.
43127 * string/strxfrm_l.c (STRXFRM): Likewise.
43129 2011-11-17 Ulrich Drepper <drepper@gmail.com>
43131 * Makefile.in: Remove CVSOPT handling.
43132 * configure.in: Remove use of AC_REVISION.
43133 * iconvdata/Makefile (distribute): No need to filter out CVS.
43134 * scripts/list-sources.sh: Remove CVS, subversion and monotone
43137 2011-11-16 Andreas Schwab <schwab@redhat.com>
43139 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43140 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43141 [USE_AS_STRNCASECMP_L]: Likewise.
43142 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43143 NO_TLS_DIRECT_SEG_REFS.
43144 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43145 Fix argument offsets for non-PIC.
43146 [USE_AS_STRNCASECMP_L]: Likewise.
43147 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43148 NO_TLS_DIRECT_SEG_REFS.
43150 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43152 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43154 * locale/loadlocale.c (_nl_load_locale): Likewise.
43156 2011-11-15 Andreas Schwab <schwab@redhat.com>
43158 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43159 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43160 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43161 (SYSCALL_GETTIME): Set errno on error.
43163 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43164 count references to noai6ai_cached.
43166 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43168 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43170 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43171 FD_CLOEXEC for /proc/self/maps.
43173 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43174 FD_CLOEXEC for /proc/meminfo.
43176 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43179 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
43180 FD_CLOEXEC for given file.
43182 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43184 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43185 FD_CLOEXEC for /etc/hosts.
43186 (_gethtent): Likewise.
43188 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43190 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43191 cancellation and set FD_CLOEXEC for /etc/netgroup.
43193 * nss/nss_files/files-key.c (search): Don't allow cancellation when
43194 reading /etc/publickey.
43196 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43197 allow cancellation when reading /etc/group.
43199 * nss/nss_files/files-alias.c (internal_setent): Don't allow
43201 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
43203 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43204 when using data file.
43206 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43208 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43209 (write_nis_obj): Use "c" and "e" in fopen.
43211 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43213 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43215 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43217 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43219 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43222 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43224 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43226 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43228 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43229 file parsing and set FD_CLOEXEC.
43231 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43233 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43235 2011-11-14 Andreas Schwab <schwab@redhat.com>
43237 * malloc/arena.c (arena_get2): Don't call reused_arena when
43238 _int_new_arena failed.
43240 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43242 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43243 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43244 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43245 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43246 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43247 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43248 to compile strcasecmp and strncasecmp.
43249 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43250 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43252 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43254 2011-11-13 Ulrich Drepper <drepper@gmail.com>
43256 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43257 locale-defines.sym to gen-as-const-headers.
43258 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43259 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43260 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43261 to compile strcasecmp and strncasecmp.
43262 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43263 strcasecmp_l and strncasecmp_l.
43264 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43265 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43266 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43267 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43268 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43269 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43270 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43271 * sysdeps/i386/i686/multiarch/strncase.S: New file.
43272 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43273 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43274 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43276 2011-11-12 Ulrich Drepper <drepper@gmail.com>
43278 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43279 result of SYSDEP_GETTIME_CPU to retval.
43280 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43281 parameter list to macro. Remove trailing semicolon. Adjust users.
43283 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43286 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43288 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43290 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43291 from unused variable.
43293 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43295 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43298 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43301 * sunrpc/rpc_prot.c (rejected): Fix case value.
43303 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43304 unsigned long long int to avoid warnings in shift.
43306 * posix/regex_internal.c (re_string_reconstruct): Actually use result
43308 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43311 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43312 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43313 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43315 * nis/nis_table.c (nis_list): Use variable of correct type for
43316 result of __follow_path call.
43318 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43320 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43321 of math functions ceil, trunc, floor, round, and sqrt, when
43322 avaliable on the platform.
43323 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43325 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43326 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43327 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43329 2011-10-30 Marek Polacek <mpolacek@redhat.com>
43331 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43332 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43334 2011-11-11 Roland McGrath <roland@hack.frob.com>
43336 * include/unistd.h: Fix __readlink return type.
43337 Reported by Chris Metcalf <cmetcalf@tilera.com>.
43339 2011-11-11 Ulrich Drepper <drepper@gmail.com>
43341 * stdlib/ucontext.h: Undo last change for makecontext.
43343 2011-11-11 Andreas Schwab <schwab@redhat.com>
43345 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43347 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43348 * setjmp/setjmp.h: Mark functions as non-leaf.
43349 * setjmp/bits/setjmp2.h: Likewise.
43350 * stdlib/ucontext.h: Likewise.
43352 2011-11-10 Andreas Schwab <schwab@redhat.com>
43354 * malloc/arena.c (_int_new_arena): Don't increment narenas.
43355 (reused_arena): Don't check arena limit.
43356 (arena_get2): Atomically check arena limit.
43358 2011-11-08 Ulrich Drepper <drepper@gmail.com>
43360 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43361 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43363 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43366 2011-11-07 Andreas Schwab <schwab@redhat.com>
43368 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43369 handler when locking.
43371 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43372 Fix size of allocated buffer.
43374 2011-11-04 Andreas Schwab <schwab@redhat.com>
43377 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43378 declarations for long double functions.
43379 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43381 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43383 2011-11-03 Andreas Schwab <schwab@redhat.com>
43385 * nscd/nscd.c (main): Don't start AVC thread until credentials are
43388 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43391 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
43393 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43395 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
43397 * include/alloca.h (stackinfo_alloca_round): Define.
43398 (extend_alloca): Use it.
43399 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43400 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43403 * scripts/check-local-headers.sh: Ignore libaudit.h.
43405 * nscd/Makefile (extra-objs): Make recursively expanded.
43407 2011-11-01 Ulrich Drepper <drepper@gmail.com>
43409 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43410 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43412 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43413 * posix/tst-rfc3484-2.c: Likewise.
43414 * posix/tst-rfc3484-3.c: Likewise.
43416 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43418 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43420 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43421 process_vm_writev from libc using GLIBC_2.15 version.
43423 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43425 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
43427 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43430 2011-10-31 Ulrich Drepper <drepper@gmail.com>
43433 * nss/getent.c (initgroups_keys): Show error message in case no group
43436 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43437 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43438 __bump_nl_timestamp.
43439 * nscd/connections (nscd_init): When host database is served open
43440 netlink socket and request notification about configuration changes.
43441 (main_loop_poll): Track netlink file descriptor and bump timestamp
43442 in case data becomes available.
43443 (main_loop_epoll): Likewise.
43444 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43445 (database_pers_head): Add extra_data fileds.
43446 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43447 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43448 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43450 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43451 in6ai data, call __free_in6ai.
43452 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43453 Add -DHAVE_NETLINK.
43454 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
43455 interface information. Reuse previous data if netlink timestamp
43457 (__bump_nl_timestamp): New function.
43458 (__free_in6ai): New function.
43460 2011-10-30 Ulrich Drepper <drepper@gmail.com>
43462 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43463 close_not_cancel_no_status here.
43464 (__check_pf): Reorganize code a bit to not call close twice if OOM.
43466 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43469 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43472 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43473 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43474 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43476 2011-07-03 Andreas Jaeger <aj@suse.de>
43479 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43480 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43481 * math/libm-test.inc (sin_test): Add test case.
43483 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43486 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43487 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43489 * elf/chroot_canon.c (chroot_canon): Cleanups.
43491 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43494 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43495 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43497 * string/test-strchr.c: Make usable for strchrnul testing.
43498 * string/test-strchrnul.c: New file.
43499 * string/Makefile (strop-tests): Add strchrnul.
43501 * po/it.po: Update from translation team.
43502 * po/es.po: Likewise.
43504 2011-10-28 Ulrich Drepper <drepper@gmail.com>
43506 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43507 the three constants needed as parameters. Drop the others.
43508 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43509 __m128i_strloadu_tolower.
43510 Create and initialize variable zero and use it in all the places
43511 where _mm_setzero_si128 was used.
43513 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43514 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43515 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43516 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43518 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43519 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43520 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43521 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43522 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43523 __mpranred, __mptan.
43524 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43525 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43526 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43527 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43528 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43529 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43530 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43531 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43532 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43534 2011-10-28 Andreas Schwab <schwab@redhat.com>
43536 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43537 redefine if SHARED.
43538 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43540 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43541 wide char related routines to wcsmbs subdir.
43543 2011-10-27 Andreas Schwab <schwab@redhat.com>
43546 * misc/sys/cdefs.h (__THROWNL): Define.
43547 * posix/unistd.h: Use __THREADNL instead of __THREAD
43548 for memory synchronization functions.
43550 2011-10-26 Roland McGrath <roland@hack.frob.com>
43553 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43555 * manual/stdio.texi (Obstack Streams): Node removed.
43557 2011-10-26 Andreas Schwab <schwab@redhat.com>
43559 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43560 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43561 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43563 * math/math_private.h (math_force_eval): Allow non-addressable
43565 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43567 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43569 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43570 file is not needed.
43572 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43573 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43574 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43575 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43576 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43577 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43578 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43579 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43581 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43582 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43583 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43584 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43585 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43586 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43587 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43588 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43589 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43590 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43591 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43592 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43593 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43594 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43595 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43596 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43597 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43598 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43599 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43601 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43602 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43604 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43605 place. Use VEX encoding when compiling for AVX.
43607 2011-10-25 Andreas Schwab <schwab@redhat.com>
43609 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43610 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43612 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43614 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43616 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43617 useless if() expression.
43618 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43619 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43620 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43621 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43622 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43623 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43624 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43625 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43626 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43627 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43628 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43629 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43630 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43631 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43632 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43633 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43634 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43635 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43636 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43638 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43640 2011-10-25 Andreas Schwab <schwab@redhat.com>
43642 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43644 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43646 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43648 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43649 .text section. Avoid duplicate constants.
43650 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43651 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43652 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43653 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43654 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43655 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43656 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43657 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43658 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43659 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43660 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43661 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43662 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43663 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43664 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43665 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43666 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43667 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43668 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43669 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43670 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43671 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43672 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43673 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43674 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43675 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43676 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43677 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43678 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43679 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43680 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43681 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43682 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43683 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43684 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43685 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43686 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43687 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43688 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43689 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43690 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43691 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43692 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43693 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43694 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43696 2011-10-24 Ulrich Drepper <drepper@gmail.com>
43698 * sysdeps/x86_64/dla.h: Move to ...
43699 * sysdeps/x86_64/fpu/dla.h: ...here.
43700 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43701 situations. Use __builtin_fma only for gcc 4.6 and up.
43703 * config.make.in: Add have-mfma4 entry.
43704 * configure.in: Substitute libc_cv_cc_fma4.
43705 * math/Makefile (dbl-only-routines): Add sincostab.
43706 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43707 Use __sincostab not sincos.
43708 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43710 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43711 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43712 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43713 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
43715 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
43716 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
43717 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43718 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43720 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43721 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43723 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
43724 define aliases when function name is a macro.
43725 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43726 sysdeps/ieee754/dbl-64/sincos.tbl.
43727 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43728 fma4-enabled routines.
43729 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43730 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43731 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43732 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43733 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43734 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43735 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43736 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43737 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43738 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43739 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43740 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43741 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43742 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43743 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43744 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43745 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43746 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43747 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43748 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43749 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43750 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43751 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43752 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43753 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43754 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43755 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43756 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43757 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43758 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43760 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43762 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43763 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43764 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43765 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43766 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43767 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43768 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43769 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43771 2011-10-24 Andreas Schwab <schwab@redhat.com>
43773 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43775 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43777 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43779 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43781 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43783 * string/strnlen.c: Don't define STRNLEN, reverse logic.
43784 Remove unused variable magic_bits.
43785 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43787 * string/strnlen.c: Define and use STRNLEN macro.
43788 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43789 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43790 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43791 * wcsmbs/wcslen.c: Define and use WCSLEN.
43792 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43793 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43794 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43795 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43796 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43797 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43798 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43800 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43802 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43803 strnlen-sse2-no-bsf.
43804 Rename strlen-no-bsf to strlen-sse2-no-bsf.
43805 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43806 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43807 Add strnlen support.
43808 (USE_AS_STRNLEN): New macro.
43809 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43810 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43811 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43812 * sysdeps/x86_64/wcslen.S: New file.
43814 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
43816 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43817 XMM-moves are used for copying on small sizes.
43819 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43821 * wcsmbs/Makefile (strop-tests): Add wcschr.
43822 * wcsmbs/test-wcschr.c: New file.
43823 * string/test-strchr.c: Update.
43824 Add wcschr support.
43827 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43829 * wcsmbs/Makefile (strop-tests): Add wcslen.
43830 * wcsmbs/test-wcslen.c: New file.
43831 * string/test-strlen.c: Update.
43832 Add wcslen support.
43835 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43837 * po/it.po: Update from translation team.
43839 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43841 * sysdeps/x86_64/wcscmp.S: Update.
43842 Fix wrong comparison semantics.
43843 wcscmp shall use signed comparison not unsigned.
43844 Don't use substraction to avoid overflow bug.
43845 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43846 * wcsmbc/wcscmp.c: Likewise.
43847 * string/test-strcmp.c: Likewise.
43848 Add new tests to check cases with negative values.
43850 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43852 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43853 * sysdeps/x86_64/dla.h: ...here. New file.
43854 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43855 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43856 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43857 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43858 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43859 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43860 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43861 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43862 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43864 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
43866 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43867 __ynl_finite aliases.
43869 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43871 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43873 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43875 [DLA_FMA] (EMULV): Use DLA_FMA.
43876 [DLA_FMA] (MUL12): Use EMULV.
43877 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43878 that are not needed.
43879 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43880 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43881 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43882 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43883 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43884 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43885 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43887 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
43889 * math/s_nan.c: Undef __nan.
43890 * math/s_nanf.c: Undef __nanf.
43891 * math/s_nanl.c: Undef __nanl.
43892 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43895 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43897 * math/s_catan.c: Add branch predictions.
43898 * math/s_catanf.c: Likewise.
43899 * math/s_catanh.c: Likewise.
43900 * math/s_catanhf.c: Likewise.
43901 * math/s_catanhl.c: Likewise.
43902 * math/s_catanl.c: Likewise.
43903 * math/s_cexp.c: Likewise.
43904 * math/s_cexpf.c: Likewise.
43905 * math/s_cexpl.c: Likewise.
43906 * math/s_clog.c: Likewise.
43907 * math/s_clog10.c: Likewise.
43908 * math/s_clog10f.c: Likewise.
43909 * math/s_clog10l.c: Likewise.
43910 * math/s_clogf.c: Likewise.
43911 * math/s_clogl.c: Likewise.
43912 * math/s_csqrt.c: Likewise.
43913 * math/s_csqrtf.c: Likewise.
43914 * math/s_csqrtl.c: Likewise.
43915 * math/s_ctanf.c: Likewise.
43916 * math/s_ctanh.c: Likewise.
43917 * math/s_ctanhf.c: Likewise.
43918 * math/s_ctanhl.c: Likewise.
43919 * math/s_ctanl.c: Likewise.
43921 * math/math_private.h: Define __nan, __nanf, __nanl.
43922 * math/s_cacosh.c: Include <math_private.h>.
43923 * math/s_cacoshl.c: Likewise.
43924 * math/s_casinh.c: Likewise.
43925 * math/s_casinhf.c: Likewise.
43926 * math/s_casinhl.c: Likewise.
43927 * math/s_ccos.c: Rely entire on ccosh.
43928 * math/s_ccosf.c: Rely entire on ccoshf.
43929 * math/s_ccosl.c: Rely entirely on ccoshl.
43930 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
43931 Remove tests for FE_INVALID.
43932 * math/s_ccoshf.c: Likewise.
43933 * math/s_ccoshl.c: Likewise.
43934 * math/s_csin.c: Likewise.
43935 * math/s_csinf.c: Likewise.
43936 * math/s_csinh.c Likewise.
43937 * math/s_csinhf.c: Likewise.
43938 * math/s_csinhl.c: Likewise.
43939 * math/s_csinl.c: Likewise.
43940 * math/s_ctan.c: Likewise.
43941 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43942 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43943 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43945 2011-10-21 Ulrich Drepper <drepper@gmail.com>
43947 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43948 compilation problems.
43950 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43953 2011-10-20 Ulrich Drepper <drepper@gmail.com>
43955 * sysdeps/i386/configure.in: Test for -mfma4 option.
43956 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43957 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43958 COMMON_CPUID_INDEX_80000001.
43959 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43960 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43961 use it if FMA3 is not supported.
43962 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43964 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43965 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43967 2011-10-20 Andreas Schwab <schwab@redhat.com>
43970 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43971 it would create a cycle with a link time dependency.
43973 2011-10-19 Ulrich Drepper <drepper@gmail.com>
43975 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43977 * string/Makefile (strop-tests): Add rawmemchr.
43978 * string/test-rawmemchr.c: New file.
43980 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43981 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
43982 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
43983 when compiling str{,n}casecmp and when AVX is available. Hook up
43984 new optimized code in initializers.
43986 2011-10-19 Andreas Schwab <schwab@redhat.com>
43988 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43989 __feraiseexcept instead of feraiseexcept.
43991 2011-10-18 Ulrich Drepper <drepper@gmail.com>
43993 * math/math_private.h: Define defaults for libc_fetestexcept and
43995 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43996 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43997 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43998 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43999 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44000 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44001 libc_fetestexcept and libc_feupdateenv.
44003 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44004 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44005 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44006 * sysdeps/x86_64/fpu/math_private.h: Define special version of
44007 libc_feholdexcept_setround.
44009 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44010 Add s_nearbyint-c and s_nearbyintf-c.
44011 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44012 nearbyintf inlines.
44013 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44014 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44015 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44016 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44018 * math/math_private.h: Define defaults for libc_fegetround,
44019 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44020 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44021 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44022 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44023 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44024 standard functions.
44025 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44026 Remove comments and hacks for old compiler versions.
44027 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44028 libc_fegetround, libc_fesetround, libc_feholdexcept, and
44029 libc_feholdexceptl.
44031 2011-10-18 Andreas Schwab <schwab@redhat.com>
44033 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44034 (__feraiseexcept_renamed): Add __NTH.
44035 (feraiseexcept): Add __NTH. Rename local variables to fix
44036 namespace violations.
44038 2011-10-17 Ulrich Drepper <drepper@gmail.com>
44040 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44042 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44044 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44045 recently added interfaces.
44046 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44048 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44049 about macro parameter expansion.
44051 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44052 __NO_MATH_INLINES is defined. Cleanups.
44054 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44055 and __floorf is target has SSE4.1.
44056 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44057 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44058 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44059 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44061 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44063 (floorf): Likewise.
44065 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44067 2011-10-17 Andreas Schwab <schwab@redhat.com>
44069 * misc/sys/cdefs.h: Fix last change.
44071 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44074 2011-10-16 Ulrich Drepper <drepper@gmail.com>
44076 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44078 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44079 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44080 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44081 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44082 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44083 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44084 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44085 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44086 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44087 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44088 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44089 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44090 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44091 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44092 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44093 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44094 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44095 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44096 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44097 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44098 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44099 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44101 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44102 ceil, ceilf, floor, floorf.
44104 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44105 Perform IRELATIVE relocations last.
44107 * elf/do-rel.h: Add another parameter nrelative, replacing the
44108 local variable with the same name. Change name of the function
44109 to end in Rel or Rela (uppercase).
44110 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44111 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
44112 elf_dynamic_do_##reloc function.
44114 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44116 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44117 is sufficient, at least on modern CPUs.
44119 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44121 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44122 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44124 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44126 * math/bits/math-finite.h: Add entries for exp.
44127 * math/e_expl.c: Add __*_finite alias.
44128 * sysdeps/i386/fpu/e_exp.S: Likewise.
44129 * sysdeps/i386/fpu/e_expf.S: Likewise.
44130 * sysdeps/i386/fpu/e_expl.c: Likewise.
44131 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44132 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44133 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44134 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44135 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44136 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44137 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44139 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44140 is sufficient, at least on modern CPUs.
44142 * ctype/ctype-info.c (__ctype_init): Define.
44143 * include/ctype.h (__ctype_init): Declare.
44144 (__ctype_b_loc): The variable is always initialized.
44145 (__ctype_toupper_loc): Likewise.
44146 (__ctype_tolower_loc): Likewise.
44147 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44148 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44150 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
44152 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44154 * configure.in: Also look in $cxxmachine/include for C++ system
44157 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44159 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44160 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44161 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44162 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
44163 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44164 (USE_AS_WMEMCMP): New macro.
44166 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44167 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44168 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44169 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44170 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44171 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44172 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44173 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44174 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44175 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44176 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44177 (USE_AS_WMEMCMP): New macro.
44178 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44179 * sysdeps/string/test-memcmp.c: Update.
44180 Fix simple_wmemcmp.
44182 * wcsmbs/wmemcmp.c: Update.
44183 (WMEMCMP): New macro.
44186 2011-10-12 Andreas Jaeger <aj@suse.de>
44189 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44191 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44193 * libio/iofwide.c (do_length): Avoid warning.
44195 * ctype/ctype.h (__isctype_f): Add missing __THROW.
44197 2011-10-14 Ulrich Drepper <drepper@gmail.com>
44199 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44201 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44202 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44203 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44204 * sysdeps/i386/i686/fpu/e_log.S: New file.
44205 * sysdeps/i386/i686/fpu/e_logf.S: New file.
44206 * sysdeps/i386/i686/fpu/e_logl.S: New file.
44208 * ctype/ctype.h: Add support for inlined isXXX functions when
44209 compiling C++ code.
44211 2011-10-14 Andreas Schwab <schwab@redhat.com>
44213 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44215 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44217 2011-10-13 Roland McGrath <roland@hack.frob.com>
44220 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44222 2011-10-13 Andreas Schwab <schwab@redhat.com>
44224 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44225 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44228 * sysdeps/x86_64/memrchr.S: Check for zero size.
44230 * string/stratcliff.c: Add memrchr tests.
44232 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44234 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44235 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44236 rawmemchr-sse2 rawmemchr-sse2-bsf.
44237 * sysdeps/i386/i686/multiarch/memchr.S: New file.
44238 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44239 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44240 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44241 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44242 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44243 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44244 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44245 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44246 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44247 * string/memrchr.c (MEMRCHR): New macro.
44249 2011-10-12 Ulrich Drepper <drepper@gmail.com>
44251 Add integration with gcc's -ffinite-math-only and optimize wrapper
44253 * Versions.def: Define GLIBC_2.15 version for libm.
44254 * math/Makefile (headers): Add bits/math-finite.h.
44255 * math/bits/math-finite.h: New file.
44256 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44257 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44258 * math/e_acoshl.c: Add __*_finite alias.
44259 * math/e_acosl.c: Likewise.
44260 * math/e_asinl.c: Likewise.
44261 * math/e_atan2l.c: Likewise.
44262 * math/e_atanhl.c: Likewise.
44263 * math/e_coshl.c: Likewise.
44264 * math/e_exp10.c: Likewise.
44265 * math/e_exp10f.c: Likewise.
44266 * math/e_exp10l.c: Likewise.
44267 * math/e_exp2l.c: Likewise.
44268 * math/e_fmodl.c: Likewise.
44269 * math/e_gammal_r.c: Likewise.
44270 * math/e_hypotl.c: Likewise.
44271 * math/e_j0l.c: Likewise.
44272 * math/e_j1l.c: Likewise.
44273 * math/e_jnl.c: Likewise.
44274 * math/e_lgammal_r.c: Likewise.
44275 * math/e_log10l.c: Likewise.
44276 * math/e_log2l.c: Likewise.
44277 * math/e_logl.c: Likewise.
44278 * math/e_powl.c: Likewise.
44279 * math/e_sinhl.c: Likewise.
44280 * math/e_sqrtl.c: Likewise.
44281 * math/e_scalb.c: Completely rewritten and optimized.
44282 * math/e_scalbf.c: Likewise.
44283 * math/e_scalbl.c: Likewise.
44284 * math/w_acos.c: Likewise.
44285 * math/w_acosf.c: Likewise.
44286 * math/w_acosl.c: Likewise.
44287 * math/w_acosh.c: Likewise.
44288 * math/w_acoshf.c: Likewise.
44289 * math/w_acoshl.c: Likewise.
44290 * math/w_asin.c: Likewise.
44291 * math/w_asinf.c: Likewise.
44292 * math/w_asinl.c: Likewise.
44293 * math/w_atan2.c: Likewise.
44294 * math/w_atan2f.c: Likewise.
44295 * math/w_atan2l.c: Likewise.
44296 * math/w_atanh.c: Likewise.
44297 * math/w_atanhf.c: Likewise.
44298 * math/w_atanhl.c: Likewise.
44299 * math/w_exp10.c: Likewise.
44300 * math/w_exp10f.c: Likewise.
44301 * math/w_exp10l.c: Likewise.
44302 * math/w_fmod.c: Likewise.
44303 * math/w_fmodf.c: Likewise.
44304 * math/w_fmodl.c: Likewise.
44305 * math/w_j0.c: Likewise.
44306 * math/w_j0f.c: Likewise.
44307 * math/w_j0l.c: Likewise.
44308 * math/w_j1.c: Likewise.
44309 * math/w_j1f.c: Likewise.
44310 * math/w_j1l.c: Likewise.
44311 * math/w_jn.c: Likewise.
44312 * math/w_jnf.c: Likewise.
44313 * math/w_log.c: Likewise.
44314 * math/w_logf.c: Likewise.
44315 * math/w_logl.c: Likewise.
44316 * math/w_log10.c: Likewise.
44317 * math/w_log10f.c: Likewise.
44318 * math/w_log10l.c: Likewise.
44319 * math/w_log2.c: Likewise.
44320 * math/w_log2f.c: Likewise.
44321 * math/w_log2l.c: Likewise.
44322 * math/w_pow.c: Likewise.
44323 * math/w_powf.c: Likewise.
44324 * math/w_powl.c: Likewise.
44325 * math/w_remainder.c: Likewise.
44326 * math/w_remainderf.c: Likewise.
44327 * math/w_remainderl.c: Likewise.
44328 * math/w_scalb.c: Likewise.
44329 * math/w_scalbf.c: Likewise.
44330 * math/w_scalbl.c: Likewise.
44331 * math/w_sqrt.c: Likewise.
44332 * math/w_sqrtf.c: Likewise.
44333 * math/w_sqrtl.c: Likewise.
44334 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44335 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
44337 * math/math_private.h: Declare __kernel_standard_f.
44338 * math/w_cosh.c: Remove cruft and optimize a bit.
44339 * math/w_coshf.c: Likewise.
44340 * math/w_coshl.c: Likewise.
44341 * math/w_exp2.c: Likewise.
44342 * math/w_exp2f.c: Likewise.
44343 * math/w_exp2l.c: Likewise.
44344 * math/w_hypot.c: Likewise.
44345 * math/w_hypotf.c: Likewise.
44346 * math/w_hypotl.c: Likewise.
44347 * math/w_lgamma.c: Likewise.
44348 * math/w_lgamma_r.c: Likewise.
44349 * math/w_lgammaf.c: Likewise.
44350 * math/w_lgammaf_r.c: Likewise.
44351 * math/w_lgammal.c: Likewise.
44352 * math/w_lgammal_r.c: Likewise.
44353 * math/w_sinh.c: Likewise.
44354 * math/w_sinhf.c: Likewise.
44355 * math/w_sinhl.c: Likewise.
44356 * math/w_tgamma.c: Likewise.
44357 * math/w_tgammaf.c: Likewise.
44358 * math/w_tgammal.c: Likewise.
44359 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44360 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44361 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44362 Minor optimizations. Pretty printing. Remove cruft.
44363 * sysdeps/i386/fpu/e_acosf.S: Likewise.
44364 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44365 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44366 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44367 * sysdeps/i386/fpu/e_acosl.c: Likewise.
44368 * sysdeps/i386/fpu/e_asin.S: Likewise.
44369 * sysdeps/i386/fpu/e_asinf.S: Likewise.
44370 * sysdeps/i386/fpu/e_atan2.S: Likewise.
44371 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44372 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44373 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44374 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44375 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44376 * sysdeps/i386/fpu/e_exp10.S: Likewise.
44377 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44378 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44379 * sysdeps/i386/fpu/e_exp2.S: Likewise.
44380 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44381 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44382 * sysdeps/i386/fpu/e_fmod.S: Likewise.
44383 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44384 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44385 * sysdeps/i386/fpu/e_hypot.S: Likewise.
44386 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44387 * sysdeps/i386/fpu/e_log.S: Likewise.
44388 * sysdeps/i386/fpu/e_log10.S: Likewise.
44389 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44390 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44391 * sysdeps/i386/fpu/e_log2.S: Likewise.
44392 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44393 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44394 * sysdeps/i386/fpu/e_logf.S: Likewise.
44395 * sysdeps/i386/fpu/e_logl.S: Likewise.
44396 * sysdeps/i386/fpu/e_pow.S: Likewise.
44397 * sysdeps/i386/fpu/e_powf.S: Likewise.
44398 * sysdeps/i386/fpu/e_powl.S: Likewise.
44399 * sysdeps/i386/fpu/e_remainder.S: Likewise.
44400 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44401 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44402 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44403 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44404 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44405 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44406 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44407 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44408 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44409 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44410 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44411 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44412 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44413 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44414 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44415 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44416 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44417 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44418 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44419 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44420 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44421 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44422 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44423 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44424 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44425 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44426 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44427 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44428 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44429 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44430 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44431 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44432 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44433 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44434 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44435 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44436 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44437 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44438 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44439 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44440 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44441 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44442 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44443 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44444 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44445 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44446 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44447 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44448 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44449 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44450 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44451 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44452 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44453 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44454 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44455 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44456 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44457 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44458 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44459 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44460 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44461 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44462 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44463 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44464 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44465 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44466 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44467 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44468 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44469 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44470 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44471 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44472 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44473 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44474 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44475 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44476 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44477 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44478 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44479 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44480 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44481 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44482 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44483 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44484 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44485 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44486 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44487 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44488 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44489 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44490 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44491 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44492 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44493 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44494 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44495 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44496 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44497 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44498 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44499 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44500 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44501 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44502 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44503 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44504 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44505 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44506 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44507 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44508 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44509 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44510 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44511 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44512 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44513 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44514 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44515 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44516 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44517 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44518 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44519 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44520 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44521 (__isnanf): Likewise.
44522 (__isinf_ns): Likewise.
44523 (__isinf_nsf): Likewise.
44524 (__finite): Likewise.
44525 (__finitef): Likewise.
44526 (__ieee754_sqrt): Define as macro.
44527 (__ieee754_sqrtf): Define as macro.
44528 (__ieee754_sqrtl): Define as macro.
44529 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44531 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44532 __FINITE_MATH_ONLY__ consistent.
44533 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44535 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44537 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44540 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44542 2011-10-09 Ulrich Drepper <drepper@gmail.com>
44544 * po/ja.po: Update from translation team.
44546 2011-10-08 Roland McGrath <roland@hack.frob.com>
44548 * locale/programs/locarchive.c (prepare_address_space): New function.
44549 (create_archive, enlarge_archive, open_archive): Use it.
44551 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44552 inside [SHARED], where it is used.
44554 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44556 * nss/getent.c (netgroup_keys): Remove unused variable.
44557 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44559 2011-10-08 Ulrich Drepper <drepper@gmail.com>
44561 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44562 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44563 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44564 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44565 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44566 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44567 * math/Makefile (libm-calls): Add s_isinf_ns.
44568 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44569 * math/multc3.c: Likewise.
44570 * math/s_casin.c: Likewise.
44571 * math/s_casinf.c: Likewise.
44572 * math/s_casinl.c: Likewise.
44573 * math/s_ccos.c: Likewise.
44574 * math/s_ccosf.c: Likewise.
44575 * math/s_ccosl.c: Likewise.
44576 * math/s_ctan.c: Likewise.
44577 * math/s_ctanf.c: Likewise.
44578 * math/s_ctanh.c: Likewise.
44579 * math/s_ctanhf.c: Likewise.
44580 * math/s_ctanhl.c: Likewise.
44581 * math/s_ctanl.c: Likewise.
44582 * math/w_fmod.c: Likewise.
44583 * math/w_fmodf.c: Likewise.
44584 * math/w_fmodl.c: Likewise.
44585 * math/w_remainder.c: Likewise.
44586 * math/w_remainderf.c: Likewise.
44587 * math/w_remainderl.c: Likewise.
44588 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44589 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44590 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44591 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44592 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44593 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44594 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44595 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44597 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44599 * stdio-common/printf_fphex.c: Likewise.
44600 * stdio-common/printf_size.c: Likewise.
44602 * math/e_exp10.c: Include math_private.h using <...> not "...".
44603 * math/e_exp10f.c: Likewise.
44604 * math/e_exp10l.c: Likewise.
44605 * math/e_exp2l.c: Likewise.
44606 * math/e_j0l.c: Likewise.
44607 * math/e_j1l.c: Likewise.
44608 * math/e_jnl.c: Likewise.
44609 * math/e_lgammal_r.c: Likewise.
44610 * math/e_rem_pio2l.c: Likewise.
44611 * math/e_scalb.c: Likewise.
44612 * math/e_scalbf.c: Likewise.
44613 * math/e_scalbl.c: Likewise.
44614 * math/k_cosl.c: Likewise.
44615 * math/k_sinl.c: Likewise.
44616 * math/k_tanl.c: Likewise.
44617 * math/s_cacoshf.c: Likewise.
44618 * math/s_catan.c: Likewise.
44619 * math/s_catanf.c: Likewise.
44620 * math/s_catanh.c: Likewise.
44621 * math/s_catanhf.c: Likewise.
44622 * math/s_catanhl.c: Likewise.
44623 * math/s_catanl.c: Likewise.
44624 * math/s_ccosh.c: Likewise.
44625 * math/s_ccoshf.c: Likewise.
44626 * math/s_ccoshl.c: Likewise.
44627 * math/s_cexp.c: Likewise.
44628 * math/s_cexpf.c: Likewise.
44629 * math/s_cexpl.c: Likewise.
44630 * math/s_clog.c: Likewise.
44631 * math/s_clog10.c: Likewise.
44632 * math/s_clog10f.c: Likewise.
44633 * math/s_clog10l.c: Likewise.
44634 * math/s_clogf.c: Likewise.
44635 * math/s_clogl.c: Likewise.
44636 * math/s_csin.c: Likewise.
44637 * math/s_csinf.c: Likewise.
44638 * math/s_csinh.c: Likewise.
44639 * math/s_csinhf.c: Likewise.
44640 * math/s_csinhl.c: Likewise.
44641 * math/s_csinl.c: Likewise.
44642 * math/s_csqrt.c: Likewise.
44643 * math/s_csqrtf.c: Likewise.
44644 * math/s_csqrtl.c: Likewise.
44645 * math/s_ctan.c: Likewise.
44646 * math/s_ctanf.c: Likewise.
44647 * math/s_ctanh.c: Likewise.
44648 * math/s_ctanhf.c: Likewise.
44649 * math/s_ctanhl.c: Likewise.
44650 * math/s_ctanl.c: Likewise.
44651 * math/s_ldexp.c: Likewise.
44652 * math/s_ldexpf.c: Likewise.
44653 * math/s_ldexpl.c: Likewise.
44654 * math/s_significand.c: Likewise.
44655 * math/s_significandf.c: Likewise.
44656 * math/s_significandl.c: Likewise.
44657 * math/w_acos.c: Likewise.
44658 * math/w_acosf.c: Likewise.
44659 * math/w_acosh.c: Likewise.
44660 * math/w_acoshf.c: Likewise.
44661 * math/w_acoshl.c: Likewise.
44662 * math/w_acosl.c: Likewise.
44663 * math/w_asin.c: Likewise.
44664 * math/w_asinf.c: Likewise.
44665 * math/w_asinl.c: Likewise.
44666 * math/w_atan2.c: Likewise.
44667 * math/w_atan2f.c: Likewise.
44668 * math/w_atan2l.c: Likewise.
44669 * math/w_atanh.c: Likewise.
44670 * math/w_atanhf.c: Likewise.
44671 * math/w_atanhl.c: Likewise.
44672 * math/w_cosh.c: Likewise.
44673 * math/w_coshf.c: Likewise.
44674 * math/w_coshl.c: Likewise.
44675 * math/w_dremf.c: Likewise.
44676 * math/w_exp10.c: Likewise.
44677 * math/w_exp10f.c: Likewise.
44678 * math/w_exp10l.c: Likewise.
44679 * math/w_exp2.c: Likewise.
44680 * math/w_exp2f.c: Likewise.
44681 * math/w_fmod.c: Likewise.
44682 * math/w_fmodf.c: Likewise.
44683 * math/w_fmodl.c: Likewise.
44684 * math/w_hypot.c: Likewise.
44685 * math/w_hypotf.c: Likewise.
44686 * math/w_hypotl.c: Likewise.
44687 * math/w_j0.c: Likewise.
44688 * math/w_j0f.c: Likewise.
44689 * math/w_j0l.c: Likewise.
44690 * math/w_j1.c: Likewise.
44691 * math/w_j1f.c: Likewise.
44692 * math/w_j1l.c: Likewise.
44693 * math/w_jn.c: Likewise.
44694 * math/w_jnf.c: Likewise.
44695 * math/w_jnl.c: Likewise.
44696 * math/w_lgamma.c: Likewise.
44697 * math/w_lgamma_r.c: Likewise.
44698 * math/w_lgammaf.c: Likewise.
44699 * math/w_lgammaf_r.c: Likewise.
44700 * math/w_lgammal.c: Likewise.
44701 * math/w_lgammal_r.c: Likewise.
44702 * math/w_log.c: Likewise.
44703 * math/w_log10.c: Likewise.
44704 * math/w_log10f.c: Likewise.
44705 * math/w_log10l.c: Likewise.
44706 * math/w_log2.c: Likewise.
44707 * math/w_log2f.c: Likewise.
44708 * math/w_log2l.c: Likewise.
44709 * math/w_logf.c: Likewise.
44710 * math/w_logl.c: Likewise.
44711 * math/w_pow.c: Likewise.
44712 * math/w_powf.c: Likewise.
44713 * math/w_powl.c: Likewise.
44714 * math/w_remainder.c: Likewise.
44715 * math/w_remainderf.c: Likewise.
44716 * math/w_remainderl.c: Likewise.
44717 * math/w_scalb.c: Likewise.
44718 * math/w_scalbf.c: Likewise.
44719 * math/w_scalbl.c: Likewise.
44720 * math/w_sinh.c: Likewise.
44721 * math/w_sinhf.c: Likewise.
44722 * math/w_sinhl.c: Likewise.
44723 * math/w_sqrt.c: Likewise.
44724 * math/w_sqrtf.c: Likewise.
44725 * math/w_sqrtl.c: Likewise.
44726 * math/w_tgamma.c: Likewise.
44727 * math/w_tgammaf.c: Likewise.
44728 * math/w_tgammal.c: Likewise.
44730 * po/ja.po: Update from translation team.
44732 2011-09-29 Andreas Jaeger <aj@suse.de>
44735 * sunrpc/netname.c (netname2host): Fix logic.
44739 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44741 * math/w_remainder.c (__remainder): Likewise.
44742 * math/w_remainderf.c (__remainderf): Likewise.
44743 * math/libm-test.inc (remainder_test): Add test cases.
44745 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44747 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
44750 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44752 * string/test-memcmp.c: Avoid unncessary #defines.
44753 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44755 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44757 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44758 Use new sse2 version for core i3 - i7 as it's faster
44759 than sse42 version.
44760 (bit_Prefer_PMINUB_for_stringop): New.
44761 * sysdeps/x86_64/rawmemchr.S: Update.
44762 Replace with faster SSE2 version.
44763 * sysdeps/x86_64/memrchr.S: New file.
44764 * sysdeps/x86_64/memchr.S: Update.
44765 Replace with faster SSE2 version.
44767 2011-09-12 Marek Polacek <mpolacek@redhat.com>
44769 * elf/dl-load.c (lose): Add cast to avoid warning.
44771 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44773 * po/ca.po: Update from translation team.
44775 * inet/getnetgrent_r.c: Hook up nscd.
44776 * nscd/Makefile (routines): Add nscd_netgroup.
44777 (nscd-modules): Add netgroupcache.
44778 (CFLAGS-netgroupcache.c): Define.
44779 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44780 (cache_search): Add const to second parameter.
44781 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44783 (dbs): Add netgrdb entry.
44784 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44785 (verify_persistent_db): Handle netgrdb.
44786 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44787 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44789 (netgroup_response_header): Define.
44790 (innetgroup_response_header): Define.
44791 (datahead): Add netgroup_response_header and innetgroup_response_header
44793 * nscd/nscd.conf: Add entries for netgroup cache.
44794 * nscd/nscd.h (dbtype): Add netgrdb.
44795 (_PATH_NSCD_NETGROUP_DB): Define.
44796 (netgroup_iov_disabled): Declare.
44797 (xmalloc, xcalloc, xrealloc): Move declarations here.
44798 (cache_search): Adjust prototype.
44799 Add netgroup-related prototypes.
44800 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44801 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44802 (__nscd_innetgr): Declare.
44803 * nscd/selinux.c (perms): Use access_vector_t as element type and
44804 add netgroup-related initializers.
44805 * nscd/netgroupcache.c: New file.
44806 * nscd/nscd_netgroup.c: New file.
44807 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44808 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44809 For four parameters use innetgr.
44810 * nss/nss_files/files-init.c: Add definition and callback for netgr.
44811 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44812 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44813 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44815 * nscd/connections.c (register_traced_file): Don't register file
44816 for disabled databases.
44818 2011-10-06 Ulrich Drepper <drepper@gmail.com>
44820 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44822 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44823 from tree and freeing node.
44825 2011-09-25 Jiri Olsa <jolsa@redhat.com>
44827 * nss/nsswitch.c (__nss_database_lookup): Handle
44828 nss_parse_service_list out of memory case.
44830 2011-09-15 Jiri Olsa <jolsa@redhat.com>
44832 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44833 out of memory case.
44835 2011-10-04 Andreas Schwab <schwab@redhat.com>
44837 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44838 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44840 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44841 elf_machine_rela, elf_machine_lazy_rel.
44842 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44843 (ELF_DYNAMIC_DO_REL): Likewise.
44844 (ELF_DYNAMIC_DO_RELA): Likewise.
44845 (ELF_DYNAMIC_RELOCATE): Likewise.
44846 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44847 to ELF_DYNAMIC_DO_REL.
44848 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44849 (dl_main): In trace mode always set __RTLD_NOIFUNC.
44850 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44852 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44853 skip_ifunc, don't call ifunc function if non-zero.
44854 (elf_machine_rela): Likewise.
44855 (elf_machine_lazy_rel): Likewise.
44856 (elf_machine_lazy_rela): Likewise.
44857 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44858 (elf_machine_lazy_rel): Likewise.
44859 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44861 (elf_machine_lazy_rel): Likewise.
44862 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44864 (elf_machine_lazy_rel): Likewise.
44865 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44866 (elf_machine_lazy_rel): Likewise.
44867 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44868 (elf_machine_lazy_rel): Likewise.
44869 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44870 (elf_machine_lazy_rel): Likewise.
44871 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44872 (elf_machine_lazy_rel): Likewise.
44873 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44874 (elf_machine_lazy_rel): Likewise.
44875 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44876 (elf_machine_lazy_rel): Likewise.
44878 2011-09-28 Ulrich Drepper <drepper@gmail.com>
44880 * nss/nss_files/files-init.c (_nss_files_init): Use static
44881 initialization for all the *_traced_file variables.
44883 2011-09-28 Andreas Schwab <schwab@redhat.com>
44885 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44887 2011-09-27 Roland McGrath <roland@hack.frob.com>
44890 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44892 2011-09-27 Andreas Schwab <schwab@redhat.com>
44894 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44895 Reread the line before reparsing it.
44897 2011-09-26 Andreas Schwab <schwab@redhat.com>
44899 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44901 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
44902 Maxim Kuvyrkov <maxim@codesourcery.com>
44903 Joseph Myers <joseph@codesourcery.com>
44905 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44906 if needed for __stack_chk_guard.
44908 2011-09-19 Roland McGrath <roland@hack.frob.com>
44910 * sysdeps/posix/spawni.c (script_execute): Always define it.
44911 It will be optimized away if unused.
44912 (maybe_script_execute): New function.
44913 (__spawni): Call it.
44915 * Makerules: Don't include tls.make.
44916 (config-tls): Always set to thread.
44917 * tls.make.c: File removed.
44919 2011-09-19 Mike Frysinger <vapier@gentoo.org>
44921 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44922 * config.make.in (CPPFLAGS-config): New substituted variable.
44924 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44926 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44929 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44930 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44932 2011-09-15 Roland McGrath <roland@hack.frob.com>
44934 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44935 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44936 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44937 (CALL_FAIL): Likewise.
44938 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44939 (CALL_FAIL): Macro removed.
44940 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44942 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44944 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44945 for __FINITE_MATH_ONLY__ == 1.
44947 2011-09-15 Andreas Schwab <schwab@redhat.com>
44949 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44950 __ieee754_sqrt instead of sqrt.
44951 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44952 __ieee754_sqrtf instead of sqrtf.
44953 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44954 __floorf instead of floorf.
44955 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44956 __floorf, __truncf instead of floorf, truncf.
44958 2011-09-14 Ulrich Drepper <drepper@gmail.com>
44960 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44962 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44963 __extern_always_inline.
44964 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44967 2011-09-14 Andreas Schwab <schwab@redhat.com>
44969 * elf/rtld.c (dl_main): Also relocate in dependency order when
44970 doing symbol dependency testing.
44972 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
44974 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44975 Always define `refsym'.
44977 2011-09-13 Andreas Schwab <schwab@redhat.com>
44979 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44980 (__FD_ELT): Renamed from __FDELT.
44981 * misc/bits/select2.h (__FD_ELT): Likewise.
44982 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44983 __FD_MASK instead of __FDELT, __FDMASK.
44984 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44986 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44989 * elf/Makefile (gen-ldd): Fix pattern.
44991 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44992 (init_tls): Likewise.
44994 2011-09-12 Ulrich Drepper <drepper@gmail.com>
44996 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44998 2011-09-12 Andreas Schwab <schwab@redhat.com>
45000 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45001 `struct cmsghdr *' instead of `void *'.
45002 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45005 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
45007 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45009 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45010 ldd_rewrite_script.
45012 2011-09-11 Ulrich Drepper <drepper@gmail.com>
45014 * configure.in: Remove --with-tls option.
45015 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45016 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45017 out in case it is missing.
45018 * sysdeps/ia64/elf/configure.in: Likewise.
45019 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45020 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45021 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45022 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45023 * sysdeps/sh/elf/configure.in: Likewise.
45024 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45025 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45026 * sysdeps/x86_64/elf/configure.in: Likewise.
45027 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45028 * sysdeps/mach/hurd/tls.h: Likewise.
45031 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45034 * configure.in: Fix use of AC_INIT.
45036 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45038 2011-09-10 Ulrich Drepper <drepper@gmail.com>
45040 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45042 * malloc/hooks.c: Likewise.
45045 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
45046 variables statically.
45047 (narenas): Initialize.
45048 (list_lock): Initialize.
45049 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
45050 initializtion of main_arena and list_lock. Small cleanups.
45051 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45052 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
45053 Add initializers to main_arena and mp_.
45054 (malloc_state): Remove pagesize member. Change all users to use
45057 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45058 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
45059 is always initialized.
45061 * malloc/malloc.c: Removed unused configurations and dead code.
45062 * malloc/arena.c: Likewise.
45063 * malloc/hooks.c: Likewise.
45064 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45066 * include/tls.h: Removed. USE___THREAD must always be defined.
45067 * bits/libc-tsd.h: Don't handle !USE___THREAD.
45068 * elf/dl-libc.c: Likewise.
45069 * elf/dl-tsd.c: Likewise.
45070 * include/errno.h: Likewise.
45071 * include/netdb.h: Likewise.
45072 * include/resolv.h: Likewise.
45073 * inet/herrno-loc.c: Likewise.
45074 * inet/herrno.c: Likewise.
45075 * malloc/arena.c: Likewise.
45076 * malloc/hooks.c: Likewise.
45077 * malloc/malloc.c: Likewise.
45078 * resolv/res-state.c: Likewise.
45079 * resolv/res_libc.c: Likewise.
45080 * sysdeps/i386/dl-machine.h: Likewise.
45081 * sysdeps/ia64/dl-machine.h: Likewise.
45082 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45083 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45084 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45085 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45086 * sysdeps/sh/dl-machine.h: Likewise.
45087 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45088 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45089 * sysdeps/unix/i386/sysdep.S: Likewise.
45090 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45091 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45092 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45093 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45094 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45095 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45096 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45097 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45098 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45099 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45100 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45101 * sysdeps/x86_64/dl-machine.h: Likewise.
45102 * tls.make.c: Likewise.
45104 * configure.in: Remove --with-__thread option. Make tests for
45105 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45106 tls_model attribute fail if no support is available. Remove
45108 * Makeconfig: Adjust for dropped configure option. All features are
45110 * Makerules: Likewise.
45111 * Versions.def: Likewise.
45112 * argp/argp-fmtstream.c: Likewise.
45113 * argp/argp-fmtstream.h: Likewise.
45114 * argp/argp-help.c: Likewise.
45115 * assert/assert.c: Likewise.
45116 * config.h.in: Likewise.
45117 * config.make.in: Likewise.
45118 * configure: Likewise.
45119 * configure.in: Likewise.
45120 * csu/Versions: Likewise.
45121 * csu/init.c: Likewise.
45122 * elf/tst-audit2.c: Likewise.
45123 * elf/tst-tls10.c: Likewise.
45124 * elf/tst-tls10.h: Likewise.
45125 * elf/tst-tls11.c: Likewise.
45126 * elf/tst-tls12.c: Likewise.
45127 * elf/tst-tls14.c: Likewise.
45128 * elf/tst-tlsmod11.c: Likewise.
45129 * elf/tst-tlsmod12.c: Likewise.
45130 * elf/tst-tlsmod13.c: Likewise.
45131 * elf/tst-tlsmod13a.c: Likewise.
45132 * elf/tst-tlsmod14a.c: Likewise.
45133 * elf/tst-tlsmod15b.c: Likewise.
45134 * elf/tst-tlsmod16a.c: Likewise.
45135 * elf/tst-tlsmod16b.c: Likewise.
45136 * elf/tst-tlsmod7.c: Likewise.
45137 * elf/tst-tlsmod8.c: Likewise.
45138 * elf/tst-tlsmod9.c: Likewise.
45139 * gmon/gmon.c: Likewise.
45140 * grp/fgetgrent_r.c: Likewise.
45141 * grp/putgrent.c: Likewise.
45142 * hurd/fopenport.c: Likewise.
45143 * include/libc-symbols.h: Likewise.
45144 * include/tls.h: Likewise.
45145 * intl/gettextP.h: Likewise.
45146 * intl/loadinfo.h: Likewise.
45147 * locale/global-locale.c: Likewise.
45148 * locale/localeinfo.h: Likewise.
45149 * mach/devstream.c: Likewise.
45150 * malloc/arena.c: Likewise.
45151 * malloc/set-freeres.c: Likewise.
45152 * misc/err.c: Likewise.
45153 * misc/getttyent.c: Likewise.
45154 * misc/mntent_r.c: Likewise.
45155 * posix/getopt.c: Likewise.
45156 * posix/wordexp.c: Likewise.
45157 * pwd/fgetpwent_r.c: Likewise.
45158 * resolv/Versions: Likewise.
45159 * resolv/res_hconf.c: Likewise.
45160 * shadow/fgetspent_r.c: Likewise.
45161 * shadow/putspent.c: Likewise.
45162 * stdio-common/printf_fphex.c: Likewise.
45163 * stdio-common/tmpfile.c: Likewise.
45164 * stdlib/abort.c: Likewise.
45165 * stdlib/fmtmsg.c: Likewise.
45166 * sunrpc/auth_unix.c: Likewise.
45167 * sunrpc/clnt_perr.c: Likewise.
45168 * sunrpc/clnt_tcp.c: Likewise.
45169 * sunrpc/clnt_udp.c: Likewise.
45170 * sunrpc/clnt_unix.c: Likewise.
45171 * sunrpc/openchild.c: Likewise.
45172 * sunrpc/svc_simple.c: Likewise.
45173 * sunrpc/svc_tcp.c: Likewise.
45174 * sunrpc/svc_udp.c: Likewise.
45175 * sunrpc/svc_unix.c: Likewise.
45176 * sunrpc/xdr.c: Likewise.
45177 * sunrpc/xdr_array.c: Likewise.
45178 * sunrpc/xdr_rec.c: Likewise.
45179 * sunrpc/xdr_ref.c: Likewise.
45180 * sunrpc/xdr_stdio.c: Likewise.
45182 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45184 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45186 2011-07-03 Andreas Jaeger <aj@suse.de>
45188 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45189 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45190 regenerate with gen-libm-tests.pl.
45192 2010-05-12 Petr Baudis <pasky@suse.cz>
45195 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45196 around j0() zero points by switching to j1().
45197 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45198 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45199 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45200 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45202 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45204 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45206 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45208 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45209 Patch in part by Pavel Roskin <proski@gnu.org>.
45212 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45214 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
45215 Free memory block if necessary.
45218 * libio/genops.c (INTDEF): For string streams the _lock pointer can
45219 be NULL. Don't lock in this case.
45221 2011-09-09 Roland McGrath <roland@hack.frob.com>
45223 * elf/elf.h (ELFOSABI_GNU): New macro.
45224 (ELFOSABI_LINUX): Define to that.
45226 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
45228 * string/strncat.c (strncat): Undef the symbol in case it has been
45229 defined in bits/string.h.
45231 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45233 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45235 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45238 2011-08-17 Andreas Jaeger <aj@suse.de>
45240 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45242 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
45243 Ian Lance Taylor <iant@google.com>
45245 * math/libm-test.inc (lround_test): New testcase.
45246 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45248 2011-09-08 Ulrich Drepper <drepper@gmail.com>
45250 * Makefile: Remove support for automatic cvs check-ins.
45251 * Makerules: Likewise.
45252 * config.make.in: Likewise.
45253 * configure.in: Likewise.
45254 * intl/Makefile: Likewise.
45255 * locale/Makefile: Likewise.
45256 * po/Makefile: Likewise.
45257 * posix/Makefile: Likewise.
45258 * sysdeps/gnu/Makefile: Likewise.
45259 * sysdeps/mach/hurd/Makefile: Likewise.
45260 * sysdeps/sparc/sparc32/Makefile: Likewise.
45263 * posix/Makefile (bug-regex32-ENV): Define.
45264 Patch by John Stanley <jpsinthemix@verizon.net>.
45266 * misc/Makefile (headers): Add bits/select2.h.
45267 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45268 * misc/bits/select2.h: New file.
45269 * include/bits/select2.h: New file.
45270 * debug/Makefile (routines): Add fdelt_chk.
45271 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45272 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45274 * debug/fdelt_chk.c: New file.
45276 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
45277 * wcsmbs/test-wmemcmp.c: Likewise.
45278 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45279 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45281 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45283 * string/Makefile (strop-tests): Add memcmp.
45284 * string/test-wmemcmp.c: New file.
45285 * string/test-memcmp.c: Add wmemcmp support.
45287 2011-09-08 Roland McGrath <roland@hack.frob.com>
45290 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45293 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45294 garbage value in a __mach_port_mod_refs call in the cases of the
45295 task-self and thread-self ports.
45297 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45299 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45301 2011-09-08 Andreas Schwab <schwab@redhat.com>
45303 * elf/dl-load.c (lose): Check for non-null L.
45305 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45307 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45309 * elf/dl-libc.c (dlerror_run): Pass back error code from
45313 * elf/dl-load.c (lose): Free l_origin if it is valid.
45315 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45317 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45318 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45319 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45320 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45321 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45322 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45324 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45326 * sysdeps/powerpc/fpu/e_hypot.c: New file.
45327 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45328 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45329 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45330 * sysdeps/powerpc/fpu/k_cosf.c: New file.
45331 * sysdeps/powerpc/fpu/k_sinf.c: New file.
45332 * sysdeps/powerpc/fpu/s_cosf.c: New file.
45333 * sysdeps/powerpc/fpu/s_sinf.c: New file.
45334 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45335 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45337 2011-08-15 Alan Modra <amodra@gmail.com>
45340 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45341 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45342 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
45343 ppc_mcount to static-only-routines.
45344 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45346 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45347 __mcount_internal with usual JUMPTARGET. Remove useless nop.
45349 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
45351 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45352 for finite and infinity parameters.
45354 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45356 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45357 and add nop instructions for throughput optimization.
45358 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45360 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
45362 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45363 aligned copy for power7 with vector-scalar instructions.
45364 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45366 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
45368 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45371 2011-09-07 Andreas Schwab <schwab@redhat.com>
45374 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45377 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45379 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45380 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45381 syscall wrapper around clock_gettime in __vdso_clock_gettime.
45382 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45385 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45387 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45388 Forgot to demangle the pointer.
45390 * sysdeps/i386/sysdep.h: Define atom_text_section.
45391 * sysdeps/x86_64/sysdep.h: Likewise.
45392 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45393 section with atom_text_section.
45394 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45395 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45396 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45397 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45398 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45400 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45401 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45402 already be defined. Change to take two parameters and don't assign
45403 result to variable. Adjust all users.
45404 Define INTERNAL_GETTIME if not already defined.
45405 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45407 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45408 HAVE_CLOCK_GETTIME_VSYSCALL.
45409 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45411 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45412 gettimeofday vsyscall, just use time.
45414 2011-09-06 Andreas Schwab <schwab@redhat.com>
45416 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45419 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45421 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45423 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45425 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45426 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45427 syscall if possible.
45429 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45431 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45432 e_ident. Don't pass to find_mapsXX.
45433 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45435 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45437 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45438 strchr-sse2-no-bsf strrchr-sse2-no-bsf
45439 * sysdeps/x86_64/multiarch/strchr.S: Update.
45440 Check bit_slow_BSF bit.
45441 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45442 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45443 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45445 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45448 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45450 (tryshell): Define.
45451 (__spawni): Change last parameter to be flag. Test
45452 SPAWN_XFLAGS_USE_PATH flag to use path or not.
45453 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45454 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45455 * posix/spawni.c: Likewise.
45456 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45457 * posix/spawnp.c: Likewise. Change normal version to use
45458 SPAWN_XFLAGS_USE_PATH.
45459 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45460 SPAWN_XFLAGS_TRY_SHELL.
45463 * posix/glob.h: Remove gcc 1.x support.
45466 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45468 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45470 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45471 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45473 * sysdeps/i386/i686/multiarch/strchr.S: New file.
45474 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45475 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45476 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45477 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45478 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45480 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45482 * sysdeps/x86_64/wcscmp.S: New file.
45484 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45485 wcscmp-c wcscmp-sse2
45486 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45487 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45488 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45489 * wcsmbs/wcscmp.c: Allow renaming.
45491 2011-09-05 David S. Miller <davem@davemloft.net>
45493 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45494 stack slot, rather than the struct return pointer slot.
45495 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45496 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45498 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45500 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45502 * po/ja.po: Update from translation team.
45505 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45506 kernel in 64-bit binaries.
45508 2011-09-01 David S. Miller <davem@davemloft.net>
45510 * elf/elf.h (HWCAP_SPARC_*): Move to..
45511 * sysdeps/sparc/sysdep.h: this new file and add new values.
45512 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45513 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45514 _DL_HWCAP_COUNT to 24.
45515 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45517 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45518 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45519 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45520 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45521 instead of magic constants.
45522 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45524 2011-08-31 David S. Miller <davem@davemloft.net>
45526 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45527 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45528 Reimplement to do errno handling inline.
45529 (SYSCALL_ERROR_HANDLER): New macro.
45530 (__SYSCALL_STRING): Do not do errno handling in asm.
45531 (__CLONE_SYSCALL_STRING): Delete.
45532 (__INTERNAL_SYSCALL_STRING): Delete.
45533 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45534 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45535 (PSEUDO): Reimplement to do errno handling inline.
45536 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45537 (SYSCALL_ERROR_HANDLER): New macro.
45538 (__SYSCALL_STRING): Do not do errno handling in asm.
45539 (__CLONE_SYSCALL_STRING): Delete.
45540 (__INTERNAL_SYSCALL_STRING): Delete.
45541 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45542 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45544 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45545 (inline_syscall*): Add 'err' argument.
45546 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45547 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45548 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45549 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45551 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45552 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45554 2011-08-30 Andreas Schwab <schwab@redhat.com>
45556 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45558 2011-08-29 Jiri Olsa <jolsa@redhat.com>
45560 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45563 2011-08-24 David S. Miller <davem@davemloft.net>
45565 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45567 2011-08-24 Andreas Schwab <schwab@redhat.com>
45569 * elf/Makefile: Add rules to build and run unload8 test.
45570 * elf/unload8.c: New file.
45571 * elf/unload8mod1.c: New file.
45572 * elf/unload8mod1x.c: New file.
45573 * elf/unload8mod2.c: New file.
45574 * elf/unload8mod3.c: New file.
45576 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45579 2011-08-23 David S. Miller <davem@davemloft.net>
45581 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45582 subtract stack bias.
45583 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45584 %sp not %fp in calculations.
45585 (_JMPBUF_UNWINDS_ADJ): Likewise.
45587 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45588 (aio_suspend): Call it to force an exception region around the
45589 AIO_MISC_WAIT() invocation.
45591 2011-08-23 Andreas Schwab <schwab@redhat.com>
45593 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45596 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45598 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45600 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45601 and <dl-machine.h>.
45602 (Elf64_FuncDesc): Remove.
45604 2011-08-22 David S. Miller <davem@davemloft.net>
45606 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45607 sigaltstack check, add missing cfi directives.
45608 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45609 missing cfi directives, and sigaltstack handling.
45611 2011-08-16 Andreas Schwab <schwab@redhat.com>
45614 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45615 object is seen twice.
45616 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45618 * elf/Makefile (distribute): Add tst-initorder2.c.
45619 (tests): Add tst-initorder2.
45620 (modules-names): Add tst-initorder2a tst-initorder2b
45621 tst-initorder2c tst-initorder2d. Add rules to build them.
45622 ($(objpfx)tst-initorder2.out): New rule.
45623 * elf/tst-initorder2.c: New file.
45624 * elf/tst-initorder2.exp: New file.
45626 2011-08-22 Andreas Schwab <schwab@redhat.com>
45628 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45630 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45631 dependencies back to end of function.
45633 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45634 $(elfobjdir)/ld.so.
45636 2011-08-21 Ulrich Drepper <drepper@gmail.com>
45638 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45639 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45640 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45641 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45642 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45643 of __vdso_gettimeofday.
45644 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45645 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45647 (_libc_vdso_platform_setup): Remove initialization of
45648 __vdso_gettimeofday and __vdso_time.
45650 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45652 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45653 and fgetc_unlocked.
45654 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45657 * elf/dl-open.c (add_to_global): Report additions to the global scope
45658 for LD_DEBUG=scopes.
45659 (dl_open_worker): Also print scope of newly loaded dependencies.
45660 (_dl_show_scope): Indicate if there is no scope.
45663 * stdio-common/Makefile (tests): Add bug24.
45664 * stdio-common/bug24.c: New file.
45666 2011-08-19 Andreas Jaeger <aj@suse.de>
45669 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45670 non-existant file when using close-on-exec mode.
45672 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45674 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45675 the very first instruction.
45677 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45678 the CFI state in the end.
45679 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45680 inclusion of dl-trampoline.h.
45681 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45683 2011-08-19 Andreas Schwab <schwab@redhat.com>
45685 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45686 expectations for long double.
45688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45689 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45691 2011-08-14 David S. Miller <davem@davemloft.net>
45693 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45694 artificual limit depends upon the system page size.
45696 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45698 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45699 * resolv/Makefile: Define CFLAGS-libresolv.
45701 2011-08-17 Andreas Schwab <schwab@redhat.com>
45703 * nss/makedb.c (compute_tables): Make variables used in nested
45706 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45708 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45709 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45710 if buffer was too small.
45712 * elf/pldd.c (main): Attach to all threads in the process.
45713 Rewrite /proc handling to use *at functions.
45715 2011-08-16 Ulrich Drepper <drepper@gmail.com>
45717 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45718 specifies first scope to show.
45719 (dl_open_worker): Update callers. Move printing scope of new
45720 object to before the relocation.
45721 * elf/rtld.c (dl_main): Update _dl_show_scope call.
45722 * sysdeps/generic/ldsodefs.h: Update declaration.
45724 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45725 string for the scope number.
45727 2011-08-14 Ulrich Drepper <drepper@gmail.com>
45729 * nscd/servicescache.c (cache_addserv): Make sure written is always
45732 2011-08-14 Roland McGrath <roland@hack.frob.com>
45734 * sysdeps/i386/i486/bits/atomic.h
45735 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45736 statement expression, so as to suppress "set but not used" warning.
45737 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45739 * string/strncat.c (STRNCAT): Use prototype definition.
45741 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45742 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45744 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45745 (localedef-modules): Add localedef.
45746 (locale-modules): Add locale.
45748 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45749 * elf/rtld.c (dl_main): Invert order of assignment in last change,
45750 to avoid a warning.
45752 2011-08-14 David S. Miller <davem@davemloft.net>
45754 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45755 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45757 2011-08-13 Ulrich Drepper <drepper@gmail.com>
45759 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
45760 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45761 * elf/rtld.c (dl_main): Set l_name of vDSO.
45762 Call _dl_show_scope when DL_DEBUG_SCOPES.
45763 (process_dl_debug): Recognize scopes flag and also set it for all.
45764 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45765 Declare _dl_show_scope.
45767 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45768 (do_dlopen): Pass caller_dlopen to dl_open.
45769 (__libc_dlopen_mode): Initialize caller_dlopen.
45771 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45772 of libc. Make tolower call locale-independent. Optimize a bit by
45773 using isdigit instead of isalnum.
45774 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45776 2011-08-12 Ulrich Drepper <drepper@gmail.com>
45778 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45779 was a dependency or dynamically loaded.
45781 2011-08-11 Ulrich Drepper <drepper@gmail.com>
45783 * intl/l10nflist.c: Allow architecture-specific pop function.
45784 * sysdeps/x86_64/l10nflist.c: New file.
45786 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45789 2011-08-10 Andreas Schwab <schwab@redhat.com>
45791 * include/dirent.h: Add libc_hidden_proto for scandirat and
45792 scandirat64. Don't declare __scandirat64.
45793 * dirent/scandirat.c: Add libc_hidden_def.
45794 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45795 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45797 2011-08-10 David S. Miller <davem@davemloft.net>
45799 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45801 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45802 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45803 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45805 2011-08-09 Ulrich Drepper <drepper@gmail.com>
45807 * Versions.def [libc]: Add GLIBC_2.15.
45808 * dirent/Makefile (routines): Add scandirat and scandirat64.
45809 * dirent/Versions [libc]: Export scandirat and scandirat64 for
45811 * dirent/dirent.h: Declare scandirat and scandirat64.
45812 * dirent/scandirat.c: New file.
45813 * dirent/scandirat64.c: New file.
45814 * sysdeps/wordsize-64/scandirat.c: New file.
45815 * sysdeps/wordsize-64/scandirat64.c: New file.
45816 * dirent/opendir.c: Define opendirat.
45817 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
45819 * dirent/scandir64.c: Adjust for scandir.c change.
45820 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
45821 __scandirat64, and __scandir_cancel_handler.
45822 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
45823 additional parameter and use openat instead of open (outside of ld.so).
45824 Add new __opendir as wrapper around __opendirat.
45825 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45826 here without requiring old scandirat implementation.
45828 2011-08-08 Ulrich Drepper <drepper@gmail.com>
45830 * dirent/scandir.c (cancel_handler): Renamed to
45831 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
45832 defined. Adjust users.
45833 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45834 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45836 2011-08-04 Ulrich Drepper <drepper@gmail.com>
45838 * string/test-string.h (IMPL): Use __STRING to expand name and then
45841 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
45844 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45846 * string/Makefile: Update.
45847 (strop-tests): Append strncat.
45848 * string/test-wcscmp.c: New file.
45849 New comprehensive test for wcscmp.
45850 * string/test-strcmp.c: Update.
45851 (WIDE): New define.
45853 2011-07-22 Andreas Schwab <schwab@redhat.com>
45855 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45858 2011-07-26 Andreas Schwab <schwab@redhat.com>
45860 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45861 encoding to ACE if AI_IDN.
45863 2011-08-01 Jakub Jelinek <jakub@redhat.com>
45865 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45866 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45868 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45870 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45871 Fix overflow bug in strncat.
45872 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45874 * string/test-strncat.c: Update.
45875 Add new tests for checking overflow bugs.
45877 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45879 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45880 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45881 * sysdeps/i386/i686/multiarch/strcat.S: New file.
45882 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45883 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45884 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45885 * sysdeps/i386/i686/multiarch/strncat.S: New file.
45886 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45887 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45889 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45890 (USE_AS_STRCAT): Define.
45891 Add strcat and strncat support.
45892 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45894 2011-07-25 Andreas Schwab <schwab@redhat.com>
45896 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45897 __n bigger than INT_MAX+1.
45898 (__strncmp_g): Likewise.
45900 2011-07-23 Ulrich Drepper <drepper@gmail.com>
45902 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45903 * libio/stido.h: Likewise.
45905 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45907 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45910 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45911 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45912 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45913 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45914 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45917 * scripts/test-installation.pl: Don't expect libnss_test1 to be
45920 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45922 (_dl_x86_64_save_sse): Likewise.
45924 2011-07-22 Ulrich Drepper <drepper@gmail.com>
45926 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45928 (_dl_x86_64_save_sse): Likewise.
45930 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45932 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45934 2011-07-21 Andreas Schwab <schwab@redhat.com>
45936 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45938 (_dl_x86_64_save_sse): Use correct AVX check.
45940 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45942 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45943 bug in strncpy/strncat.
45944 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45946 2011-07-21 Ulrich Drepper <drepper@gmail.com>
45948 * string/tester.c (test_strcat): Add tests for different alignments
45949 of source and destination.
45950 (test_strncat): Likewise.
45952 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45955 * posix/glob.c (glob): Check passed in values before using them in
45956 expressions to avoid some overflows.
45957 (glob_in_dir): Likewise.
45960 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45961 check for AVX enablement so that we don't crash with old kernels and
45963 * elf/tst-audit4.c: Add same checks here.
45964 * elf/tst-audit6.c: Likewise.
45966 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45968 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
45970 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45972 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45974 * po/cs.po: Update from translation team.
45975 * po/bg.po: Likewise.
45977 2011-07-12 Marek Polacek <mpolacek@redhat.com>
45979 * misc/sys/cdefs.h: Add support for const attribute.
45980 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45981 to gnu_dev_{major,minor,makedev} functions.
45983 2011-07-20 Marek Polacek <mpolacek@redhat.com>
45985 * intl/dcigettext.c (get_output_charset): Add missing bracket.
45987 2011-07-20 Andreas Schwab <schwab@redhat.com>
45989 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45992 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45994 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45995 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45996 register in order to avoid conflicts with the soft frame pointer
45997 being held in r11 when necessary.
45998 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45999 (INTERNAL_VSYSCALL_NCS): Likewise.
46001 2011-07-14 Marek Polacek <mpolacek@redhat.com>
46003 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46004 * elf/dl-fini.c (_dl_fini): Adjust caller.
46005 * elf/dl-close.c (_dl_close_worker): Likewise.
46006 * sysdeps/generic/ldsodefs.h: Adjust declaration.
46008 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46010 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46011 "aux_cache->nlibs < 0".
46013 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46014 in the reload-count case.
46016 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46018 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46019 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46020 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46021 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46022 * sysdeps/x86_64/multiarch/strcat.S: New file.
46023 * sysdeps/x86_64/multiarch/strncat.S: New file.
46024 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46025 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46026 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46027 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46028 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46029 (USE_AS_STRCAT): Define.
46030 Add strcat and strncat support.
46031 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46032 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46033 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46034 * string/strncat.c: Update.
46035 (USE_AS_STRNCAT): Define.
46036 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46037 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46039 * sysdeps/x86_64/multiarch/init-arch.h
46040 (bit_Prefer_PMINUB_for_stringop): New.
46041 (index_Prefer_PMINUB_for_stringop): Likewise.
46042 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46043 bit_Prefer_PMINUB_for_stringop.
46045 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46047 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46049 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46050 of casting of buffer.
46051 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46052 buffer32 and buffer64.
46053 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46054 writes instead of casting of buffer.
46055 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46057 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46060 2011-07-19 Andreas Schwab <schwab@redhat.com>
46062 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46064 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46066 * nscd/nscd.c (termination_handler): Don't do anything for a database
46067 if it has not yet been initialized.
46069 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46071 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46073 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46075 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46077 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46079 * po/nl.po: Update from translation team.
46080 * po/sv.po: Likewise.
46082 2011-07-16 Roland McGrath <roland@hack.frob.com>
46084 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46085 now disallowed by GCC.
46087 * configure.in (use-default-link): Default to yes if a test -shared
46088 link meets our qualifications.
46089 * configure: Regenerated.
46091 * config.make.in (output-format): New variable.
46092 * configure.in: Check for ld --print-output-format support.
46093 * configure: Regenerated.
46094 * Makerules ($(common-objpfx)format.lds)
46095 [$(output-format) != unknown]: Just use $(output-format),
46096 instead of the linker-script munging.
46098 2011-07-14 Roland McGrath <roland@hack.frob.com>
46100 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46101 of $(common-objpfx)shlib.lds.
46102 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46104 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46105 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46107 * configure.in (-z relro check): Adjust test code to add a large
46108 writable data section after it.
46109 * configure: Regenerated.
46111 2011-07-11 Roland McGrath <roland@hack.frob.com>
46113 * configure.in (-z relro check): Fix test code to make the variable
46115 * configure: Regenerated.
46117 2011-07-11 Ulrich Drepper <drepper@gmail.com>
46119 * nscd/nscd.h (struct traced_file): Define.
46120 (struct database_dyn): Remove inotify_descr, reset_res, and filename
46121 elements. Add traced_files.
46122 (inotify_fd): Declare.
46123 (register_traced_file): Declare.
46124 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46125 (inotify_fd): Export.
46126 (resolv_conf_descr): Remove.
46127 (nscd_init): Move inotify descriptor creation to main.
46128 Don't register files for notification here.
46129 (register_traced_file): New function.
46130 (invalidate_cache): Don't use reset_res to determine whether to call
46131 res_init, go through the list of registered files.
46132 (main_loop_poll): The inotify descriptors are now stored in the
46133 structures for the traced files.
46134 (main_loop_epoll): Likewise
46135 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
46136 to __nss_disable_nscd.
46137 * nscd/cache.c (prune_cache): There is no single inotify descriptor
46138 for a database anymore. Check the records for all the registered
46140 * nss/Makefile (libnss_files-routines): Add files-init.
46141 (libnss_db-routines): Add db-init.
46142 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46143 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46144 * nss/nss_db/db-init.c: New file.
46145 * nss/nss_files/files-init.c: New file.
46146 * nss/nsswitch.c (nss_load_library): New function. Broken out of
46147 __nss_lookup_function.
46148 (__nss_lookup_function): Call nss_load_library.
46149 (nss_load_all_libraries): New function.
46150 (__nss_disable_nscd): Take parameter with callback function for files
46151 to register. Set is_nscd. Load all the DSOs for the NSS modules
46152 used for the cached services.
46153 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46154 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46155 options for features to all the files in nscd.
46157 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46159 2011-07-10 Roland McGrath <roland@hack.frob.com>
46161 * csu/elf-init.c (__libc_csu_init): Comment typo.
46163 2011-07-09 Ulrich Drepper <drepper@gmail.com>
46165 * po/pl.po: Update from translation team.
46166 * po/ja.po: Likewise.
46167 * po/ru.po: Likewise.
46168 * po/ko.po: Likewise.
46169 * po/fr.po: Likewise.
46171 2011-07-09 Roland McGrath <roland@hack.frob.com>
46173 * configure.in (.ctors/.dtors header and trailer check):
46174 Use an empirical test on a built program.
46175 * configure: Regenerated.
46177 * configure.in (-z relro check): Use an empirical test on a built DSO.
46178 Detect, but do not require, on ia64.
46179 * configure: Regenerated.
46181 * configure.in (READELF): Find it with AC_CHECK_TOOL.
46182 Update tests that use readelf to use $READELF instead.
46183 * configure: Regenerated.
46185 2011-07-08 Ulrich Drepper <drepper@gmail.com>
46187 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46188 if the result is not used.
46190 2011-07-05 Andreas Jaeger <aj@suse.de>
46193 * stdlib/tst-strtod.c: Add testcase.
46195 2011-07-07 Ulrich Drepper <drepper@gmail.com>
46197 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46198 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46199 The latter has a higher limit. Take additional parameter to pass to
46201 (__pathconf): Pass file to __statfs_link_max.
46202 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46204 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46208 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46209 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46211 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46212 (__statfs_filesize_max): Likewise.
46213 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46215 2011-07-05 Andreas Jaeger <aj@suse.de>
46217 * resolv/res_comp.c (dn_skipname): Remove unused variable.
46219 2011-07-06 Marek Polacek <mpolacek@redhat.com>
46221 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46223 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46226 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
46228 * Makefile (strop-tests): Add strncat.
46229 * string/test-strncat.c: New file.
46231 2011-06-30 Marek Polacek <mpolacek@redhat.com>
46233 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46235 2011-06-21 Andreas Jaeger <aj@suse.de>
46237 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46238 Copy rule from iconvdata/Makefile.
46240 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46243 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46244 but no long options are defined, just return 'W'.
46246 2011-06-22 Marek Polacek <mpolacek@redhat.com>
46249 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46251 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46253 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46255 (innetgr): Likewise.
46257 2011-07-05 Roland McGrath <roland@hack.frob.com>
46259 * config.make.in (install_root): Default to $(DESTDIR).
46261 2011-07-05 Ulrich Drepper <drepper@gmail.com>
46263 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46265 2011-07-02 Roland McGrath <roland@hack.frob.com>
46267 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46269 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46270 containing directory rather than embedding absolute directory names.
46272 * scripts/check-local-headers.sh: Rewritten using awk.
46273 Match by word, not by line. Print error messages for matches.
46274 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46276 * Makerules [shlib-lds-flags empty]:
46277 ($(common-objpfx)libc_pic.opts): New target.
46278 ($(common-objpfx)libc_pic.os.clean): New target.
46279 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46281 * config.make.in (OBJCOPY): New variable.
46282 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46283 * configure: Regenerated.
46285 * config.make.in (use-default-link): New variable.
46286 * configure.in (use_default_link): Grok --with-default-link to set it.
46287 * configure: Regenerated.
46288 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46289 (shlib-lds, shlib-lds-flags): Define to empty.
46291 * Makerules (shlib-lds): New variable.
46292 (shlib-lds-flags): New variable.
46293 (build-shlib, build-moduile, build-module-asneeded): Use it.
46294 ($(common-objpfx)libc.so): Use $(shlib-lds).
46295 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46296 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46298 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46299 DT_FLAGS/DT_FLAGS_1 with zero flags.
46301 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46302 linker script munging.
46304 2011-07-02 Ulrich Drepper <drepper@gmail.com>
46306 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46308 * crypt/sha512.c (sha512_process_block): Perform total addition using
46309 128-bit if possible.
46310 (__sha512_finish_ctx): Likewise.
46311 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46313 * crypt/sha256.c (SWAP64): Define.
46314 (sha256_process_block): Perform total addition using 64-bit if
46316 (__sha256_finish_ctx): Likewise.
46318 2011-07-01 Ulrich Drepper <drepper@gmail.com>
46320 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
46321 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46322 * nscd/hstcache.c (cache_addhst): Likewise.
46323 * nscd/grpcache.c (cache_addgr): Likewise.
46324 * nscd/aicache.c (addhstaiX): Likewise
46325 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46327 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
46329 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
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
46335 2011-07-01 Andreas Schwab <schwab@redhat.com>
46337 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46338 domain only when needed.
46340 2011-06-30 Andreas Schwab <schwab@redhat.com>
46342 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46343 is always restored.
46345 2011-06-29 Ulrich Drepper <drepper@gmail.com>
46347 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46348 are re-adding the entry.
46349 * nscd/servicescache.c (cache_addserv): Likewise.
46351 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
46353 * sysdeps/generic/dl-irel.h: fix protection against multiple
46355 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46357 2011-06-28 Ulrich Drepper <drepper@gmail.com>
46360 * malloc/memusage.sh: Fix quoting in message.
46361 * debug/xtrace.sh: Likewise.
46363 * configure.in: Remove support for --experimental-malloc option, make
46365 * config.make.in: Likewise.
46366 * malloc/Makefile: Likewise.
46368 2011-06-27 Andreas Schwab <schwab@redhat.com>
46370 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46371 two-byte characters.
46373 2011-06-27 Roland McGrath <roland@hack.frob.com>
46375 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46376 AC_CACHE_CHECK invocation.
46377 * configure: Regenerated.
46379 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46381 2011-06-27 Ulrich Drepper <drepper@gmail.com>
46384 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
46385 bit from old_res_options.
46387 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46389 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46390 value type for setfct.
46392 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
46394 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46395 __gettimeofday instead of gettimeofday.
46397 2011-06-26 Ulrich Drepper <drepper@gmail.com>
46399 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46401 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
46403 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46405 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46408 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46410 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46411 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46412 strcpy-sse2-unaligned strncpy-sse2-unaligned
46413 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46414 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46415 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46416 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46417 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46418 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46419 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46420 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46421 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46422 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46423 (STRCPY): Support SSE2 and SSSE3 versions.
46425 2011-06-24 Ulrich Drepper <drepper@gmail.com>
46428 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46429 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46430 kernels which artificially limit size of requests.
46432 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46434 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46435 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46436 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46437 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46438 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46439 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46440 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46441 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46442 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46443 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46444 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46445 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46446 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46447 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46448 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46449 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46450 Enable unaligned load optimization for Intel Core i3, i5 and i7
46452 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46454 (index_Fast_Unaligned_Load): Define.
46455 (HAS_FAST_UNALIGNED_LOAD): Define.
46457 2011-06-23 Marek Polacek <mpolacek@redhat.com>
46459 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46461 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46464 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46465 until it is clear that the information is realy needed.
46466 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46468 2011-06-22 Andreas Schwab <schwab@redhat.com>
46470 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46472 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46474 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46475 /sys/devices/system/cpu/online if it is usable.
46477 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46478 reading the information from the /proc filesystem to once a second.
46480 2011-06-21 Andreas Jaeger <aj@suse.de>
46482 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46483 NULL after inclusion of kernel headers.
46485 2011-06-21 Ulrich Drepper <drepper@gmail.com>
46487 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46488 calls to internal_setent.
46491 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46492 addresses using gethostbyname4_r ignore IPv4 addresses.
46494 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46495 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46497 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46499 2011-06-20 David S. Miller <davem@davemloft.net>
46501 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46503 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46505 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46506 (elf_irel): Use it.
46507 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46508 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46509 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46510 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46511 * sysdeps/x86_64/dl-irel.h: Likewise.
46513 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46514 * elf/dl-sym.c: Likewise.
46516 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46518 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46519 need to dereference resplen2.
46521 2011-06-14 Andreas Schwab <schwab@redhat.com>
46523 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46525 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46527 * Makeconfig: Define vardbdir and inst_vardbdir.
46528 * nss/Makefile: Add rules to install db-Makefile.
46530 * nss/nss_db/db-XXX.c: Cleanup.
46532 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46533 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46535 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46536 * nss/makedb.c: Implement -g option to specify that value strings
46537 are generated and should not be added to table iterated over for
46539 * nss/nss_db/db-initgroups.c: New file.
46541 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46544 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46545 (internal_getgrouplist): Adjust to name change.
46546 Update use_initgroups_entry if this is not the first call.
46547 * nss/databases.def: Add initgroups entry.
46549 * nss/makedb.c (compute_tables): Check result of multiple hash table
46550 sizes to minimize maximum chain length.
46552 2011-06-14 Ulrich Drepper <drepper@gmail.com>
46554 * Versions.def: Add entry for libnss_db.
46555 * shlib-versions: Likewise.
46556 * nss/Makefile: Add rules to build libnss_db.
46557 * nss/Versions: Add libnss_db information. Organize libnss_files
46559 * nss/db-Makefile: Add gshadow support. Change rules for the new
46560 makedb progra. Some minor improvements to generate smaller files.
46561 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46563 * nss/makedb.c: ...here.
46564 Improve database format to be smaller and require less memory at
46566 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46568 * nss/nss_db/db-netgrp.c: Likewise.
46569 * nss/nss_db/db-open.c: Likewise.
46570 * nss/nss_files/flies-XXX.x: Adjust comments.
46571 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46572 * nss/nss_files/files-grp.c: Likewise.
46573 * nss/nss_files/files-hosts.c: Likewise.
46574 * nss/nss_files/files-network.c: Likewise.
46575 * nss/nss_files/files-proto.c: Likewise.
46576 * nss/nss_files/files-pwd.c: Likewise.
46577 * nss/nss_files/files-rpc.c: Likewise.
46578 * nss/nss_files/files-service.c: Likewise.
46579 * nss/nss_files/files-sgrp.c: Likewise.
46580 * nss/nss_files/files-spwd.c: Likewise.
46581 * nss/nss_db/db-alias.c: Removed.
46582 * nss/nss_db/dummy-db.h: Removed.
46584 2011-06-02 Ulrich Drepper <drepper@gmail.com>
46586 * nss/makedb.c: Rewritten to not use database library.
46587 * nss/Makefile: Update to build new makedb program.
46589 2011-06-14 Andreas Jaeger <aj@suse.de>
46591 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46592 memset declaration.
46594 2011-06-10 Andreas Schwab <schwab@redhat.com>
46596 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46599 2011-06-10 Roland McGrath <roland@hack.frob.com>
46601 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46602 * elf/Makefile ($(objpfx)ld.so): Likewise.
46604 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46605 Don't list ld.so twice in dependencies.
46607 * posix/bug-regex31.c: Include <stdlib.h>.
46609 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46611 * nis/nss_compat/compat-spwd.c
46612 (getspent_next_nss_netgr): Remove unused variable.
46613 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46615 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46616 nonmembers" output to use the right array.
46618 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46620 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46622 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46623 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46624 * catgets/gencat.c (read_input_file): Likewise.
46625 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46627 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46628 variable definition inside #if's controlling its use.
46630 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46632 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46634 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46636 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46639 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46641 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46642 * configure: Regenerated.
46644 * Makerules: Revert last change.
46645 * elf/Makefile: Likewise.
46647 2011-06-09 Roland McGrath <roland@hack.frob.com>
46649 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46650 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46651 (reloc-link): Likewise.
46653 2011-06-09 Ulrich Drepper <drepper@gmail.com>
46655 * elf/Makefile: Add rules to build pldd.
46656 * elf/pldd.c: New file.
46657 * elf/pldd-xx.c: New file.
46659 2011-06-07 Ulrich Drepper <drepper@gmail.com>
46661 * version.h: Update for 2.15 development version.
46663 2011-06-07 David S. Miller <davem@davemloft.net>
46665 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46667 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46668 elf_machine_lazy_rel): Likewise.
46669 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46670 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46671 elf_machine_lazy_rel): Likewise.
46672 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46673 dl_hwcap via passed in argument.
46674 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46677 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46679 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46681 2011-06-06 Roland McGrath <roland@hack.frob.com>
46684 * manual/fdl-1.1.texi: New file, verbatim from:
46685 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46686 * manual/lgpl-2.1.texi: New file, verbatim from:
46687 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46688 * manual/Makefile (licenses): New variable, list those new file names.
46690 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46692 * manual/fdl.texi: File removed.
46693 * manual/lesser.texi: File removed.
46694 * manual/libc.texinfo (Copying, Documentation License):
46695 Use new @include file names, put @appendix directive before @include.
46697 2011-06-04 Jakub Jelinek <jakub@redhat.com>
46700 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46701 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46702 (mq_open): Add __NTH.
46704 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
46706 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46707 Assume Intel Core i3/i5/i7 processor if AVX is available.
46709 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46711 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46714 2011-05-31 Andreas Schwab <schwab@redhat.com>
46716 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46717 memory. Use alloca_account. Fix memory leak when retrying.
46719 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46721 * version.h (RELEASE): Bump for 2.14 release.
46722 * include/features.h (__GLIBC_MINOR__): Bump to 14.
46724 * config.make.in (RANLIB): Remove entry.
46726 2011-05-30 Ulrich Drepper <drepper@gmail.com>
46728 * po/Makefile (po-sed-cmd): Add ksh to extensions.
46729 (libc.pot): Work around missing support for .ksh extension in xgettext.
46732 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46733 if both request failed.
46734 (send_dg): In case of server errors clear resplen or *resplen2.
46737 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46738 when there are multiple maps.
46739 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46740 (_dl_fini): Remove test here.
46742 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46744 2011-05-29 Ulrich Drepper <drepper@gmail.com>
46747 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46748 bit from old_res_options.
46749 (gaih_inet): Likewise.
46752 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46755 * resolv/res_init.c (res_setoptions): Make the code more compact.
46758 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46762 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46764 * malloc/malloc.h: Mark malloc hook variables as deprecated.
46767 * malloc/malloc.h: Declare malloc hook variables as volatile.
46769 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46773 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
46774 raise in the comment.
46775 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46776 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46777 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
46779 2011-05-28 Ulrich Drepper <drepper@gmail.com>
46782 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46783 grow the buffers more if it already has to be sufficient.
46784 (build_wcs_upper_buffer): Likewise.
46785 * posix/regexec.c (check_matching): Likewise.
46786 (clean_state_log_if_needed): Likewise.
46787 (extend_buffers): Don't enlarge buffers beyond size of the input
46789 Patches mostly by Emil Wojak <emil@wojak.eu>.
46790 * posix/bug-regex32.c: New file.
46791 * posix/Makefile (tests): Add bug-regex32.
46793 * locale/findlocale.c (_nl_find_locale): Return right away if
46794 _nl_explode_name failed.
46795 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46797 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46799 * debug/xtrace.sh: Unify messages.
46800 * malloc/memusage.sh: Likewise.
46803 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46804 time symbol from vDSO. Substitute with vsyscall if not available.
46805 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46808 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46809 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46810 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46811 Add sendmmsg and internal_sendmmsg.
46812 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46813 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46814 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46816 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46817 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46818 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46820 2011-05-27 Ulrich Drepper <drepper@gmail.com>
46823 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46824 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
46826 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46830 * iconvdata/Makefile (tests): Add bug-iconv9.
46831 * iconvdata/bug-iconv9.c: New file.
46833 2011-05-27 Andreas Schwab <schwab@redhat.com>
46836 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46838 2011-05-25 Jakub Jelinek <jakub@redhat.com>
46840 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46841 (struct user_regs_struct): Change intcs field back to cs.
46843 2011-05-25 Ulrich Drepper <drepper@gmail.com>
46845 * po/ja.po: Update from translation team.
46847 2011-05-23 Ulrich Drepper <drepper@gmail.com>
46850 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46851 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46853 2011-05-20 Andreas Schwab <schwab@redhat.com>
46855 * stdlib/longlong.h: Update from GCC.
46857 2011-05-23 Andreas Schwab <schwab@redhat.com>
46859 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46861 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46862 Add parameter name.
46863 (__sysconf): Pass it down.
46865 2011-05-22 Ulrich Drepper <drepper@gmail.com>
46868 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46870 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46871 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46872 add in in __libc_use_alloca calls. Adjust callers.
46873 (glob): Use malloc in some situations.
46875 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46876 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46879 2011-05-21 Ulrich Drepper <drepper@gmail.com>
46881 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46882 and CLOCK_BOOTTIME_ALARM.
46885 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46888 * string/_strerror.c (__strerror_r): Print negative errors as signed
46892 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46893 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46894 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46896 * configure.in: Fix typo in redirection and correct removal of test
46897 files in two cases.
46900 * locale/setlocale.c (new_composite_name): Fix test to check for
46901 identical name of all categories.
46904 * libio/filedoalloc.c (local_isatty): New function.
46905 (_IO_file_doallocate): Use local_isatty.
46906 * stdio-common/perror.c (perror): In case a new stream is used
46907 forward the stream error.
46908 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46911 2011-05-20 Ulrich Drepper <drepper@gmail.com>
46914 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46916 * include/alloca.h (extend_alloca_account): Define.
46919 * posix/regex.h: Fix comments with documentation of user-accessible
46920 fields after compilation and describe correct free'ing of pattern
46921 after re_compile_pattern.
46922 Patch by Reuben Thomas <rrt@sc3d.org>.
46924 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
46926 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46927 and -mno-altivec to prevent the compiler from using Altivec and/or
46928 VSX instructions when the corresponding registers are not available.
46930 2011-05-19 Andreas Schwab <schwab@redhat.com>
46932 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46934 2011-05-19 Ulrich Drepper <drepper@gmail.com>
46936 * libio/freopen.c (freopen): Use __dup2, not dup2.
46937 * libio/freopen64.c (freopen64): Likewise.
46939 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
46942 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46943 * math/Makefile (tests): Add test-powl.
46944 (CFLAGS-test-powl.c): Define.
46945 * math/test-powl.c: New file.
46947 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
46949 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46951 2011-05-17 Ulrich Drepper <drepper@gmail.com>
46954 * iconvdata/gb18030.c: Update to GB18020-2005.
46956 2011-05-16 Ulrich Drepper <drepper@gmail.com>
46958 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46959 RE_SYNTAX_POSIX_AWK): Update to match recent development.
46960 Patch by Aharon Robbins <arnold@skeeve.com>.
46963 * stdlib/putenv.c (putenv): Don't always create copy of the variable
46967 * misc/pselect.c (__pselect): Handle timeout value errors hidden
46968 through underflows.
46971 * misc/error.c (error_at_line): Ensure file_name and old_file_name
46972 point to strings before performing equality test for error_one_per_line
46976 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46979 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46980 (struct user_fpregs_struct): Avoid __uint*_t types.
46983 * malloc/mtrace.c (tr_where): Add additional parameter to point to
46984 symbol info. Use it instead of calling _dl_addr locally.
46985 (lock_and_info): New function.
46986 (tr_freehook): Call lock_and_info and pass symbol info as additional
46987 parameter to tr_where.
46988 (tr_mallochook): Likewise.
46989 (tr_reallochook): Likewise.
46990 (tr_memalignhook): Likewise.
46992 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
46993 used and couldn't be at all thread-safe.
46995 2011-05-15 Ulrich Drepper <drepper@gmail.com>
46997 * libio/freopen.c (freopen): Don't close old file descriptor
46998 before the new one is opened. Instead dup the new file descriptor
46999 to the old one after the new stream is created.
47000 * libio/freopen64.c (freopen64): Likewise.
47001 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47002 * libio/fileops.c (_IO_new_file_close_it): Handle new
47003 _IO_FLAGS2_NOCLOSE flag.
47004 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47005 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47006 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47007 _IO_FLAGS2_NOCLOSE flag.
47008 * include/unistd.h: Add hidden_proto for dup3.
47009 Define __have_dup3.
47010 * io/dup3.c: Define hidden symbol.
47011 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47014 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47015 when an incomplete long option is used.
47016 * posix/tst-getopt_long1.c: New file.
47017 * posix/Makefile (tests): Add tst-getopt_long1.
47020 * scripts/config.guess: Update from autoconf-2.68.
47021 * scripts/config.sub: Likewise.
47024 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47026 (has_cpuclock): ...this. New function.
47027 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47028 macro here based on has_cpuclock code.
47031 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47032 First byte (not low byte) is now always NUL.
47033 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47035 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47036 Use non-cancelable interfaces.
47039 * locale/iso-639.def: Add entry for Sorani.
47042 * include/stdlib.h: Move include protection to the right place.
47043 Define abort_msg_s. Declare __abort_msg with it.
47044 * stdlib/abort.c (__abort_msg): Adjust type.
47045 * assert/assert.c (__assert_fail_base): New function. Majority
47046 of code from __assert_fail. Allocate memory for __abort_msg with
47048 (__assert_fail): Now call __assert_fail_base.
47049 * assert/assert-perr.c: Remove bulk of implementation. Use
47050 __assert_fail_base.
47051 * include/assert.hL Declare __assert_fail_base.
47052 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47054 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47056 2011-05-14 Ulrich Drepper <drepper@gmail.com>
47060 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47061 until all modules are registered in the DTV.
47062 * elf/Makefile: Add rules to build and run tst-tls19.
47063 * elf/tst-tls19.c: New file.
47064 * elf/tst-tls19mod1.c: New file.
47065 * elf/tst-tls19mod2.c: New file.
47066 * elf/tst-tls19mod3.c: New file.
47067 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47070 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47074 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47075 two-byte sequence errors.
47076 * iconvdata/Makefile (tests): Add bug-iconv8.
47077 * iconvdata/bug-iconv8.c: New file.
47080 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47083 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47086 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47087 (dummy_getcfa): New function.
47088 (init): Get _Unwind_GetCFA address, use dummy if not found.
47089 (backtrace_helper): In recursion check, also check whether CFA changes.
47090 (__backtrace): Completely initialize arg.
47092 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47093 storing incomplete byte sequence in state object. Avoid testing for
47094 guaranteed too small input if we know there is enough data available.
47096 2011-05-11 Andreas Schwab <schwab@redhat.com>
47098 * Makeconfig (+link-pie): Indent.
47099 * Rules (binaries-pie): Define if $(have-fpie) and
47101 (binaries-shared): Also filter out $(binaries-pie).
47102 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47103 * nscd/Makefile (others-pie): Add nscd.
47104 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47105 ($(objpfx)nscd): Remove command override.
47106 * login/Makefile (others-pie): Add pt_chown.
47107 ($(objpfx)pt_chown): Remove command override.
47108 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47109 remove command overrides.
47111 2011-05-13 Ulrich Drepper <drepper@gmail.com>
47113 * libio/tst_putwc.c: Fix error messages.
47116 * libio/fileops.c (_IO_new_file_close_it): Always flush when
47117 currently writing and seek to current position when not.
47118 * libio/Makefile (tests): Add bug-fclose1.
47119 * libio/bug-fclose1.c: New file.
47121 2011-05-12 Ulrich Drepper <drepper@gmail.com>
47124 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47125 don't set DF_1_NODELETE here.
47126 (do_lookup_x): When entering new entry test for copy relocation
47127 and if necessary set DF_1_NODELETE flag.
47128 * elf/tst-unique4.cc: New file.
47129 * elf/tst-unique4.h: New file.
47130 * elf/tst-unique4lib.cc: New file.
47131 * elf/Makefile: Add rules to build and run tst-unique4.
47132 Patch by Piotr Bury <pbury@goahead.com>.
47134 2011-05-11 Ulrich Drepper <drepper@gmail.com>
47137 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47140 * misc/mntent_r.c (addmntent): Flush the stream after the output
47143 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47144 (is_trusted_path_normalize): Skip initial colon. Append slash
47145 to empty buffer. Duplicate is_trusted_path code but allow
47146 constructed patch to be prefix.
47147 (is_dst): Allow $ORIGIN followed by /.
47148 (_dl_dst_substitute): Correct clearing of check_for_trusted.
47149 Correct testing of result of is_trusted_path_normalize
47150 (decompose_rpath): Fix warning.
47152 2011-05-10 Ulrich Drepper <drepper@gmail.com>
47155 * grp/initgroups.c (internal_getgrouplist): When we found the service
47156 list through the initgroups entry in nsswitch.conf do not always
47157 continue on a successful lookup. Don't always use the
47158 __nss_group_database value if it is set.
47159 * nss/nsswitch.conf (initgroups): Change action for successful db
47160 lookup to continue for compatibility.
47162 2011-05-09 Ulrich Drepper <drepper@gmail.com>
47165 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47167 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47169 * iconvdata/tst-tables.sh: Likewise.
47170 * iconvdata/cp770.c: New file.
47171 * iconvdata/cp771.c: New file.
47172 * iconvdata/cp772.c: New file.
47173 * iconvdata/cp773.c: New file.
47174 * iconvdata/cp774.c: New file.
47175 * iconvdata/testdata/CP770: New file.
47176 * iconvdata/testdata/CP770..UTF8: New file.
47177 * iconvdata/testdata/CP771: New file.
47178 * iconvdata/testdata/CP771..UTF8: New file.
47179 * iconvdata/testdata/CP772: New file.
47180 * iconvdata/testdata/CP772..UTF8: New file.
47181 * iconvdata/testdata/CP773: New file.
47182 * iconvdata/testdata/CP773..UTF8: New file.
47183 * iconvdata/testdata/CP774: New file.
47184 * iconvdata/testdata/CP774..UTF8: New file.
47186 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47188 * iconvdata/gen-8bit-gap.sh: Likewise.
47189 * iconvdata/gen-8bit.sh: Likewise.
47191 * locale/iso-639.def: Add ary entry.
47194 * locale/C-translit.h.in: Add U20A1 transliteration.
47197 * locale/iso-639.def: Add wae entry.
47198 Patch by Kevin Bortis <bortis@translate-wae.ch>.
47201 * locale/programs/localedef.c (construct_output_path): Use ssize_t
47205 * locale/C-translit.h.in: Add entry for U20B9.
47206 Patch by pravin.d.s@gmail.com.
47208 2011-05-08 Ulrich Drepper <drepper@gmail.com>
47211 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47212 ENAMETOOLONG use generic getcwd.
47213 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
47214 in rtld. Use *stat64.
47215 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47216 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47217 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47218 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47219 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47220 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47221 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47222 __fstatat64 macros.
47223 * include/dirent.h: Add libc_hidden_proto for rewinddir.
47224 * dirent/rewinddir.c: Add libc_hidden_def.
47225 * sysdeps/mach/hurd/rewinddir.c: Likewise.
47226 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
47228 * include/dirent.h (__alloc_dir): Add flags parameter.
47229 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47230 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47232 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
47233 from fdopendir if O_CLOEXEC is already set.
47235 2011-03-15 Alan Modra <amodra@gmail.com>
47237 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47238 l_tls_firstbyte_offset non-zero. Save padding offset in
47239 l_tls_firstbyte_offset for later use.
47240 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47241 freeing static tls block.
47243 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
47245 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47246 where #ifdef was intended. The intent is to prevent ARG_MAX from
47247 being defined by the kernel headers.
47249 2011-05-07 Ulrich Drepper <drepper@gmail.com>
47252 * resolv/resolv.h: Define RES_NOTLDQUERY.
47253 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47254 no-tld-query and set RES_NOTLDQUERY.
47255 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47256 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47257 modern BIND to search name as TLD unless forbidden.
47259 2011-05-07 Petr Baudis <pasky@suse.cz>
47260 Ulrich Drepper <drepper@gmail.com>
47263 * elf/dl-load.c (fillin_rpath): Move trusted path check...
47264 (is_trusted_path): ...to here.
47265 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47266 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47267 using is_trusted_path_normalize() in setuid scripts.
47269 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47271 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47272 __BEGIN/__END_DECLS.
47274 2011-05-06 Ulrich Drepper <drepper@gmail.com>
47276 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47277 NSS_STATUS_NOTFOUND if no record was found.
47279 2011-05-05 Andreas Schwab <schwab@redhat.com>
47281 * sunrpc/Makefile (headers): Add rpc/netdb.h.
47282 (headers-not-in-tirpc): Remove rpc/netdb.h
47283 * resolv/netdb.h: Revert last change.
47285 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47287 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47288 circular dependency between libgcc.a and libc.a.
47290 2011-05-05 Andreas Schwab <schwab@redhat.com>
47292 * resolv/netdb.h: Don't include <rpc/netdb.h>.
47293 * nis/Makefile: Don't install rpcsvc/*.
47294 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47295 instead of <rpc/types.h>.
47296 (MAXHOSTNAMELEN): Define.
47298 2011-05-03 Andreas Schwab <schwab@redhat.com>
47300 * elf/ldconfig.c (add_dir): Don't crash on empty path.
47302 2011-04-28 Maciej Babinski <mbabinski@google.com>
47305 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47306 gethostbyname4_r when IPv6 results are possible.
47308 2011-05-02 Ulrich Drepper <drepper@gmail.com>
47311 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47312 _PC_PIPE_BUF handling.
47314 2011-04-30 Bruno Haible <bruno@clisp.org>
47317 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47318 * resolv/netdb.h (getnameinfo): Change type of flags parameter
47320 * inet/getnameinfo.c (getnameinfo): Likewise.
47322 2011-04-29 Ulrich Drepper <drepper@gmail.com>
47324 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47325 to groups setting in database lookup.
47326 * nss/nsswitch.conf: Add initgroups entry.
47328 2011-04-22 Ulrich Drepper <drepper@gmail.com>
47331 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47333 Patch by Eric Blake <eblake@redhat.com>.
47335 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
47337 * sunrpc/Makefile (need-export-routines): Add svc_run.
47338 (routines): Remove svc_run.
47339 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47340 * sunrpc/clnt_perr.c (clnt_perrno): Export.
47341 * sunrpc/svc_run.c (svc_run): Likewise.
47342 * sunrpc/svc_udp.c (svcudp_create): Likewise.
47344 2011-04-21 Ulrich Drepper <drepper@gmail.com>
47346 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47347 problem in reallocation in last patch.
47349 2011-04-20 Ulrich Drepper <drepper@gmail.com>
47351 * sunrpc/Makefile: Move inclusion of Rules.
47353 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47355 * nss/nss_files/files-initgroups.c: New file.
47356 * nss/Makefile (libnss_files-routines): Add files-initgroups.
47357 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47358 _nss_files_initgroups_dyn.
47360 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
47362 * elf/elf.h (R_ARM_IRELATIVE): Define.
47364 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47366 * po/ru.po: Update from translation team.
47368 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47370 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47373 2011-02-06 Mike Frysinger <vapier@gentoo.org>
47376 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47377 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47378 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47379 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47380 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47382 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
47384 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47386 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47387 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47388 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47390 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47393 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47395 * stdlib/bug-getcontext.c: New file.
47396 * stdlib/Makefile: Add rules to build and run bug-getcontext.
47398 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47400 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47401 instructions into .machine "z9-109".
47402 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47403 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47405 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47407 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47408 between environment variables and auxiliary vector.
47410 2011-04-16 Ulrich Drepper <drepper@gmail.com>
47412 * Makefile: Add rules to build linkobj/libc.so.
47413 * include/libc-symbols.h: Define libc_hidden_nolink.
47414 * include/rpc/auth.h: Mark functions which are to be hidden.
47415 * include/rpc/auth_des.h: Likewise.
47416 * include/rpc/auth_unix.h: Likewise.
47417 * include/rpc/clnt.h: Likewise.
47418 * include/rpc/des_crypt.h: Likewise.
47419 * include/rpc/key_prot.h: Likewise.
47420 * include/rpc/pmap_clnt.h: Likewise.
47421 * include/rpc/pmap_prot.h: Likewise.
47422 * include/rpc/pmap_rmt.h: Likewise.
47423 * include/rpc/rpc_msg.h: Likewise.
47424 * include/rpc/svc.h: Likewise.
47425 * include/rpc/svc_auth.h: Likewise.
47426 * include/rpc/xdr.h: Likewise.
47427 * nis/Makefile: Link all DSOs against linkobj/libc.so.
47428 * nss/Makefile: Likewise.
47429 * sunrpc/Makefile: Don't install headers. Build library with normal
47430 entry points. Don't build rpcinfo. Link RPC tests appropriately.
47431 * sunrpc/auth_des.c: Hide exported symbols by default, export some
47432 for the compat linking library. Remove use of INTDEF/INTUSE.
47433 * sunrpc/auth_none.c: Likewise.
47434 * sunrpc/auth_unix.c: Likewise.
47435 * sunrpc/authdes_prot.c: Likewise.
47436 * sunrpc/authuxprot.c: Likewise.
47437 * sunrpc/clnt_gen.c: Likewise.
47438 * sunrpc/clnt_perr.c: Likewise.
47439 * sunrpc/clnt_raw.c: Likewise.
47440 * sunrpc/clnt_simp.c: Likewise.
47441 * sunrpc/clnt_tcp.c: Likewise.
47442 * sunrpc/clnt_udp.c: Likewise.
47443 * sunrpc/clnt_unix.c: Likewise.
47444 * sunrpc/des_crypt.c: Likewise.
47445 * sunrpc/des_soft.c: Likewise.
47446 * sunrpc/get_myaddr.c: Likewise.
47447 * sunrpc/key_call.c: Likewise.
47448 * sunrpc/key_prot.c: Likewise.
47449 * sunrpc/netname.c: Likewise.
47450 * sunrpc/pm_getmaps.c: Likewise.
47451 * sunrpc/pm_getport.c: Likewise.
47452 * sunrpc/pmap_clnt.c: Likewise.
47453 * sunrpc/pmap_prot.c: Likewise.
47454 * sunrpc/pmap_prot2.c: Likewise.
47455 * sunrpc/pmap_rmt.c: Likewise.
47456 * sunrpc/publickey.c: Likewise.
47457 * sunrpc/rpc_cmsg.c: Likewise.
47458 * sunrpc/rpc_common.c: Likewise.
47459 * sunrpc/rpc_dtable.c: Likewise.
47460 * sunrpc/rpc_prot.c: Likewise.
47461 * sunrpc/rpc_thread.c: Likewise.
47462 * sunrpc/rtime.c: Likewise.
47463 * sunrpc/svc.c: Likewise.
47464 * sunrpc/svc_auth.c: Likewise.
47465 * sunrpc/svc_authux.c: Likewise.
47466 * sunrpc/svc_raw.c: Likewise.
47467 * sunrpc/svc_run.c: Likewise.
47468 * sunrpc/svc_simple.c: Likewise.
47469 * sunrpc/svc_tcp.c: Likewise.
47470 * sunrpc/svc_udp.c: Likewise.
47471 * sunrpc/svc_unix.c: Likewise.
47472 * sunrpc/svcauth_des.c: Likewise.
47473 * sunrpc/xcrypt.c: Likewise.
47474 * sunrpc/xdr.c: Likewise.
47475 * sunrpc/xdr_array.c: Likewise.
47476 * sunrpc/xdr_float.c: Likewise.
47477 * sunrpc/xdr_intXX_t.c: Likewise.
47478 * sunrpc/xdr_mem.c: Likewise.
47479 * sunrpc/xdr_rec.c: Likewise.
47480 * sunrpc/xdr_ref.c: Likewise.
47481 * sunrpc/xdr_sizeof.c: Likewise.
47482 * sunrpc/xdr_stdio.c: Likewise.
47484 2011-04-10 Ulrich Drepper <drepper@gmail.com>
47487 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47488 * sysdeps/ia64/dl-tls.h: Likewise.
47489 * sysdeps/powerpc/dl-tls.h: Likewise.
47490 * sysdeps/s390/dl-tls.h: Likewise.
47491 * sysdeps/sh/dl-tls.h: Likewise.
47492 * sysdeps/sparc/dl-tls.h: Likewise.
47493 * sysdeps/x86_64/dl-tls.h: Likewise.
47494 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47496 2011-03-14 Andreas Schwab <schwab@redhat.com>
47498 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47499 rpath element also skip the following colon.
47500 (expand_dynamic_string_token): Add is_path parameter and pass
47501 down to DL_DST_REQUIRED and _dl_dst_substitute.
47502 (decompose_rpath): Call expand_dynamic_string_token with
47503 non-zero is_path. Ignore empty rpaths.
47504 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47507 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47512 2011-04-09 Ulrich Drepper <drepper@gmail.com>
47515 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47516 Patch by Filipe David Manana <fdmanana@apache.org>.
47518 2011-04-07 Andreas Schwab <schwab@redhat.com>
47520 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47521 Maintain aligned stack.
47522 (CHECK_RSP): Remove unused macro.
47524 2011-04-03 Ulrich Drepper <drepper@gmail.com>
47526 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47527 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47529 2011-04-02 Ulrich Drepper <drepper@gmail.com>
47531 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47533 * include/features.h: Mention __USE_XOPEN2K8 in comment.
47535 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47538 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47539 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47540 * sysdeps/x86_64/memmove.c: New file.
47541 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47542 (memcpy): Renamed to ...
47543 (__new_memcpy): This.
47544 (memcpy): Provide GLIBC_2_14 memcpy.
47545 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47546 (memcpy): Provide GLIBC_2_2_5 memcpy.
47548 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47551 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47553 2011-03-30 Andreas Schwab <schwab@redhat.com>
47555 * misc/syncfs.c: New file.
47556 * misc/Makefile (routines): Add syncfs.
47557 * posix/unistd.h: Declare syncfs.
47558 * sysdeps/unix/syscalls.list: Add syncfs.
47560 2011-04-01 Andreas Schwab <schwab@redhat.com>
47562 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47564 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47565 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47566 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47567 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47568 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47569 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47570 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47572 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47574 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47575 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47576 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47577 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47578 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47579 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47580 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47582 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47583 sync_file_range.c with -fexceptions.
47584 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47585 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47586 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47587 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47588 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47589 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47590 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47591 sync_file_range as cancellation point
47592 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47593 now a wrapper around __call_sync_file_range with cancellation handling.
47594 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47595 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47596 function name to __call_sync_file_range.
47597 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47598 Add call_sync_file_range.
47600 2011-04-01 Andreas Schwab <schwab@redhat.com>
47602 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47605 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47607 * iconv/iconv.h: Fix typo in comment.
47608 * io/fcntl.h: Likewise.
47609 * libio/stdio.h: Likewise.
47610 * posix/spawn.h: Likewise.
47611 * posix/unistd.h: Likewise.
47612 * stdlib/stdlib.h: Likewise.
47613 * time/time.h: Likewise.
47614 * wcsmbs/wchar.h: Likewise.
47616 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47617 open_by_handle): Add.
47618 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47619 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47620 Augment a few comments.
47621 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47622 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47623 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47624 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47625 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47626 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47629 * io/fcntl.h (AT_EMPTY_PATH): Define.
47631 2011-03-30 Ulrich Drepper <drepper@gmail.com>
47633 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47634 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47635 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47637 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
47638 * Versions.def: Add GLIBC_2.14.
47639 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47642 2011-03-22 Ulrich Drepper <drepper@gmail.com>
47644 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47646 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47648 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47651 * string/test-strncmp.c (do_page_test): New function.
47652 (check2): Likewise.
47653 (test_main): Call check2.
47654 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47656 2011-03-20 Ulrich Drepper <drepper@gmail.com>
47659 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47660 Handle cache information in CPU leaf 4.
47661 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47663 2011-03-18 Ulrich Drepper <drepper@gmail.com>
47666 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47667 character representation.
47668 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47670 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47672 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47673 END(__isnan) to END(__isnanf) to match function entry point/label
47674 EALIGN(__isnanf,...).
47676 2011-03-10 Jakub Jelinek <jakub@redhat.com>
47678 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47680 2011-03-10 Ulrich Drepper <drepper@gmail.com>
47683 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47684 copy from the symbol referenced in the relocation to initialize the
47686 Patch by Piotr Bury <pbury@goahead.com>.
47687 * elf/Makefile: Add rules to build and tst-unique3.
47688 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47689 * elf/tst-unique3.cc: New file.
47690 * elf/tst-unique3.h: New file.
47691 * elf/tst-unique3lib.cc: New file.
47692 * elf/tst-unique3lib2.cc: New file.
47694 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47696 2011-03-10 Mike Frysinger <vapier@gentoo.org>
47698 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47699 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
47702 2011-03-06 Ulrich Drepper <drepper@gmail.com>
47704 * elf/dl-load.c (_dl_map_object): If we are looking for the first
47705 to-be-loaded object along a path to loader is ld.so.
47707 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47708 Ulrich Drepper <drepper@gmail.com>
47710 * sysdeps/x86_64/memset.S: After aligning destination, code
47711 branches to different locations depending on the value of
47712 misalignment, when multiarch is enabled. Fix this.
47714 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47716 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47717 Set _x86_64_preferred_memory_instruction for AMD processsors.
47718 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47719 Set bit_Prefer_SSE_for_memop for AMD processors.
47721 2011-03-04 Ulrich Drepper <drepper@gmail.com>
47723 * libio/fmemopen.c (fmemopen): Optimize a bit.
47725 2011-03-03 Andreas Schwab <schwab@redhat.com>
47727 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47729 2011-03-03 Roland McGrath <roland@redhat.com>
47731 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47733 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
47735 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47736 __bzero_ultra1 instead of __memset_ultra1.
47738 2011-02-23 Andreas Schwab <schwab@redhat.com>
47739 Ulrich Drepper <drepper@gmail.com>
47742 * include/link.h (struct link_map): Add l_orig_initfini.
47743 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47744 returning unsuccessfully.
47745 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47746 close of a file loaded at startup, restore the original l_initfini
47748 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47749 list, store the pointer.
47750 * elf/Makefile ($(objpfx)noload-mem): New rule.
47751 (noload-ENV): Define.
47752 (tests): Add $(objpfx)noload-mem.
47753 * elf/noload.c: Include <memcheck.h>.
47754 (main): Call mtrace. Close all opened handles.
47756 2011-02-17 Andreas Schwab <schwab@redhat.com>
47759 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47760 dependencies are missing.
47762 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
47764 Fix __if_freereq crash: Unlike the generic version which uses free,
47766 * sysdeps/mach/hurd/ifreq.h: New file.
47768 2011-01-27 Petr Baudis <pasky@suse.cz>
47769 Ulrich Drepper <drepper@gmail.com>
47772 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47773 to extend_alloca().
47774 * stdio-common/bug23.c: New file.
47775 * stdio-common/Makefile (tests): Add bug23.
47777 2010-09-28 Andreas Schwab <schwab@redhat.com>
47778 Ulrich Drepper <drepper@gmail.com>
47781 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47782 before performing relro protection. At old place add assertion
47783 to make sure nothing changed.
47785 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
47786 Glauber de Oliveira Costa <glommer@gmail.com>
47788 * elf/elf.h: Add new ARM TLS relocs.
47790 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
47792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47793 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47795 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
47797 * sysdeps/wordsize-64/tst-writev.c: New file.
47799 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
47801 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47802 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47803 insns in _dl_start to prevent a TOC reference before relocs are
47806 2011-02-15 Ulrich Drepper <drepper@gmail.com>
47809 * Makeconfig: Remove RANLIB definition.
47810 * Makerules: Don't use RANLIB.
47811 * aclocal.m4: Remove ranlib test.
47812 * configure.in: No need to check for ranlib.
47813 * elf/rtld-Rules: Don't use RANLIB.
47815 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
47817 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47819 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47820 inclusion protection macro.
47822 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47823 SIGRTMIN and SIGRTMAX and print information in that case only when
47824 SIGRTMIN is defined.
47826 2011-02-11 Jakub Jelinek <jakub@redhat.com>
47828 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47829 arginfo fn returning -1.
47831 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47832 and thousands string is zero terminated.
47834 2011-02-03 Andreas Schwab <schwab@redhat.com>
47836 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47837 sysdeps/unix/sysv/linux/bits/socket.h.
47839 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
47841 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47842 (__CPU_COUNT): Remove old macros.
47843 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47844 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47845 (__CPU_ALLOC, __CPU_FREE): Add macros.
47846 (__sched_cpualloc, __sched_cpufree): Add declarations.
47848 2011-02-05 Ulrich Drepper <drepper@gmail.com>
47850 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47851 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47852 * nscd/aicache.c (addhstaiX): Return timeout of added value.
47853 (readdhstai): Return value of addhstaiX call.
47854 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47855 (addgrbyX): Return value returned by cache_addgr.
47856 (readdgrbyname): Return value returned by addgrbyX.
47857 (readdgrbygid): Likewise.
47858 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47859 (addpwbyX): Return value returned by cache_addpw.
47860 (readdpwbyname): Return value returned by addhstbyX.
47861 (readdpwbyuid): Likewise.
47862 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47863 (addservbyX): Return value returned by cache_addserv.
47864 (readdservbyname): Return value returned by addservbyX:
47865 (readdservbyport): Likewise.
47866 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47867 (addhstbyX): Return value returned by cache_addhst.
47868 (readdhstbyname): Return value returned by addhstbyX.
47869 (readdhstbyaddr): Likewise.
47870 (readdhstbynamev6): Likewise.
47871 (readdhstbyaddrv6): Likewise.
47872 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47873 (readdinitgroups): Return value returned by addinitgroupsX.
47874 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47875 (prune_cache): Keep track of timeout value of re-added entries.
47876 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47877 * nscd/nscd.h: Adjust prototypes of readd* functions.
47879 2011-02-04 Roland McGrath <roland@redhat.com>
47881 * nis/nis_server.c (nis_servstate): Use the right name for 0.
47882 (nis_stats): Likewise.
47883 * nis/nis_modify.c (nis_modify): Likewise.
47884 * nis/nis_remove.c (nis_remove): Likewise.
47885 * nis/nis_add.c (nis_add): Likewise.
47887 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47889 * posix/fnmatch_loop.c: Add some consts.
47891 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47893 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
47896 * config.make.in (config-cflags-novzeroupper): Define.
47897 * configure.in: Substitute libc_cv_cc_novzeroupper.
47898 * elf/Makefile (AVX-CFLAGS): Define.
47899 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47900 (CFLAGS-tst-auditmod4a.c): Likewise.
47901 (CFLAGS-tst-auditmod4b.c): Likewise.
47902 (CFLAGS-tst-auditmod6b.c): Likewise.
47903 (CFLAGS-tst-auditmod6c.c): Likewise.
47904 (CFLAGS-tst-auditmod7b.c): Likewise.
47905 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47907 2011-02-02 Ulrich Drepper <drepper@gmail.com>
47909 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47910 function to the callback.
47911 Patch partly by Jiri Olsa <jolsa@redhat.com>.
47913 2011-02-02 Andreas Schwab <schwab@redhat.com>
47915 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47918 2011-01-19 Ulrich Drepper <drepper@gmail.com>
47921 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47923 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47925 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47928 * elf/Makefile: Add rules to build and run new test.
47929 * elf/tst-initorder.c: New file.
47930 * elf/tst-initorder.exp: New file.
47931 * elf/tst-initordera1.c: New file.
47932 * elf/tst-initordera2.c: New file.
47933 * elf/tst-initordera3.c: New file.
47934 * elf/tst-initordera4.c: New file.
47935 * elf/tst-initorderb1.c: New file.
47936 * elf/tst-initorderb2.c: New file.
47937 * elf/tst-order-a1.c: New file.
47938 * elf/tst-order-a2.c: New file.
47939 * elf/tst-order-a3.c: New file.
47940 * elf/tst-order-a4.c: New file.
47941 * elf/tst-order-b1.c: New file.
47942 * elf/tst-order-b2.c: New file.
47943 * elf/tst-order-main.c: New file.
47944 New test case by George Gensure <werkt0@gmail.com>.
47946 2010-10-01 Andreas Schwab <schwab@redhat.com>
47948 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47949 decoding ACE if AI_CANONIDN.
47951 2011-01-18 Ulrich Drepper <drepper@gmail.com>
47953 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47955 2011-01-17 Ulrich Drepper <drepper@gmail.com>
47957 * version.h (RELEASE): Bump for 2.13 release.
47958 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47960 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47962 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47964 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47965 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47966 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47967 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47968 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47969 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47971 * posix/getconf.c: Update copyright year.
47972 * catgets/gencat.c: Likewise.
47973 * csu/version.c: Likewise.
47974 * debug/catchsegv.sh: Likewise.
47975 * debug/xtrace.sh: Likewise.
47976 * elf/ldconfig.c: Likewise.
47977 * elf/ldd.bash.in: Likewise.
47978 * elf/sprof.c (print_version): Likewise.
47979 * iconv/iconv_prog.c: Likewise.
47980 * iconv/iconvconfig.c: Likewise.
47981 * locale/programs/locale.c: Likewise.
47982 * locale/programs/localedef.c: Likewise.
47983 * malloc/memusage.sh: Likewise.
47984 * malloc/mtrace.pl: Likewise.
47985 * nscd/nscd.c (print_version): Likewise.
47986 * nss/getent.c: Likewise.
47988 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47989 PF_CAIF, and PF_ALG.
47990 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47992 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
47994 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47995 (modules-names): Use them.
47996 (ifunc-test-modules, ifunc-pie-tests): Define.
47997 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47998 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47999 (test-extras): Likewise.
48000 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48001 $(compile-command.c).
48002 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48003 (all-built-dso): Define.
48004 (check-textrel.out, check-execstack.out): Depend on it.
48006 * configure.in: Don't override --enable-multi-arch.
48008 2011-01-15 Ulrich Drepper <drepper@gmail.com>
48011 * nscd/hstcache.c (tryagain): Define.
48012 (cache_addhst): Return tryagain not notfound for temporary errors.
48013 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48016 2011-01-14 Ulrich Drepper <drepper@gmail.com>
48019 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48020 to make the syscall.
48021 * sysdeps/unix/sysv/linux/setgroups.c: New file.
48024 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48025 and fall back to matching as normal character if the string ends before
48026 the matching ']' is found. This is what POSIX requires.
48027 * posix/testfnm.c: Adjust test result.
48028 * posix/globtest.sh: Adjust test result. Add new test.
48029 * posix/tst-fnmatch.input: Likewise.
48030 * posix/tst-fnmatch2.c: Add new test.
48032 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
48034 * elf/Makefile (check-execstack): Revert last change. Depend on
48036 (check-execstack.h): New target.
48037 (generated): Add check-execstack.h.
48038 * elf/check-execstack.c: Include "check-execstack.h".
48039 (main): Revert last change.
48040 (handle_file): Return zero if GNU_STACK is absent and
48041 DEFAULT_STACK_PERMS doesn't include PF_X.
48043 2011-01-13 Ulrich Drepper <drepper@gmail.com>
48045 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48046 in child fails because the descriptor is already closed.
48047 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48048 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48049 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48052 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48056 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48057 temporary buffer used to handle multi lookups locally.
48058 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48060 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48062 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48065 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
48067 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48068 alignment for SSE2.
48070 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48073 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48074 characters. When rounding increased number of integer digits recompute
48076 * stdio-common/tst-grouping.c: New file.
48077 * stdio-common/Makefile: Add rules to build and run tst-grouping.
48079 2011-01-09 Ulrich Drepper <drepper@gmail.com>
48081 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48082 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
48084 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48086 * bits/select.h: Likewise.
48088 2011-01-08 Ulrich Drepper <drepper@gmail.com>
48090 * po/ja.po: Update from translation team.
48092 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
48095 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48096 implementation just like for lxstat, fxstatat, et al.
48098 2010-12-27 Jim Meyering <meyering@redhat.com>
48101 * posix/regexec.c (build_trtable): Return failure indication upon
48102 calloc failure. Otherwise, re_search_internal could infloop on OOM.
48104 2010-12-25 Ulrich Drepper <drepper@gmail.com>
48107 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48108 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48109 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48110 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48113 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48116 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48117 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48119 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
48121 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48122 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48123 script has SORT_BY_INIT_PRIORITY.
48124 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48125 NO_CTORS_DTORS_SECTIONS is defined.
48126 * elf/soinit.c: Likewise.
48127 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48128 NO_CTORS_DTORS_SECTIONS is defined.
48129 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48130 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48131 * sysdeps/sh/init-first.c: Likewise.
48132 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48134 2010-12-24 Ulrich Drepper <drepper@gmail.com>
48136 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48137 always use the slow path.
48139 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
48141 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48142 similar rule which adds the sysdep directories to the header search in
48143 order to pick up the correct platform stackinfo.h.
48144 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48145 perform test if it is, otherwise return successfully without testing.
48146 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48147 DEFAULT_STACK_PERMS define in stackinfo.h.
48148 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48149 defined in stackinfo.h.
48150 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48151 DEFAULT_STACK_PERMS defined in stackinfo.h.
48152 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48153 * sysdeps/ia64/stackinfo.h: Likewise.
48154 * sysdeps/s390/stackinfo.h: Likewise.
48155 * sysdeps/sh/stackinfo.h: Likewise.
48156 * sysdeps/sparc/stackinfo.h: Likewise.
48157 * sysdeps/x86_64/stackinfo.h: Likewise.
48158 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48159 PF_X for powerpc64. Retain PF_X for powerpc32.
48161 2010-12-19 Ulrich Drepper <drepper@gmail.com>
48163 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48165 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48166 GETDENTS_64BIT_ALIGNED.
48168 2010-12-14 Ulrich Drepper <dreper@gmail.com>
48170 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48172 2010-12-10 Andreas Schwab <schwab@redhat.com>
48174 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48177 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48178 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48180 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48181 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48183 2010-12-09 Ulrich Drepper <drepper@gmail.com>
48186 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48189 2010-12-09 Jakub Jelinek <jakub@redhat.com>
48191 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48193 2010-12-03 Ulrich Drepper <drepper@gmail.com>
48195 * po/it.po: Update from translation team.
48197 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
48199 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48202 2010-11-30 Ulrich Drepper <drepper@gmail.com>
48204 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48206 2010-11-24 Andreas Schwab <schwab@redhat.com>
48208 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48210 (gaih_getanswer_slice): Likewise.
48212 2010-10-20 Jakub Jelinek <jakub@redhat.com>
48214 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48216 2010-05-31 Petr Baudis <pasky@suse.cz>
48219 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48220 silently even in the chroot mode.
48222 2010-11-22 Ulrich Drepper <drepper@gmail.com>
48224 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48225 last patch a bit. Pretty printing
48227 2010-05-31 Petr Baudis <pasky@suse.cz>
48230 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48231 initialization of skip_initgroups_dyn.
48233 2010-11-19 Ulrich Drepper <drepper@gmail.com>
48235 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48236 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48238 2010-11-16 Ulrich Drepper <drepper@gmail.com>
48240 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48242 2010-11-11 Andreas Schwab <schwab@redhat.com>
48244 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48245 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48246 (tst-fnmatch-ENV): Set MALLOC_TRACE.
48247 ($(objpfx)tst-fnmatch-mem): New rule.
48248 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48249 * posix/tst-fnmatch.c (main): Call mtrace.
48251 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
48253 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48254 Support Intel processor model 6 and model 0x2c.
48256 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
48258 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48261 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
48264 * string/test-strncasecmp.c (check_result): New function.
48265 (do_one_test): Use it.
48266 (check1): New function.
48267 (test_main): Use it.
48268 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48269 Support strcasecmp and strncasecmp.
48271 2010-11-08 Ulrich Drepper <drepper@gmail.com>
48274 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48275 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48277 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
48279 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48281 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48283 * sysdeps/x86_64/multiarch/bzero.S: New file.
48284 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48285 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48286 * sysdeps/x86_64/multiarch/memset.S: New file.
48287 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48288 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48289 Set bit_Prefer_SSE_for_memop for Intel processors.
48290 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48292 (index_Prefer_SSE_for_memop): Define.
48293 (HAS_PREFER_SSE_FOR_MEMOP): Define.
48295 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
48297 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48298 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48300 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
48303 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48304 (__x86_64_raw_data_cache_size_half): Likewise.
48305 (__x86_64_raw_shared_cache_size): Likewise.
48306 (__x86_64_raw_shared_cache_size_half): Likewise.
48308 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48309 (__x86_64_raw_data_cache_size_half): Likewise.
48310 (__x86_64_raw_shared_cache_size): Likewise.
48311 (__x86_64_raw_shared_cache_size_half): Likewise.
48312 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48313 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48314 and __x86_64_raw_shared_cache_size_half. Round
48315 __x86_64_data_cache_size_half, __x86_64_data_cache_size
48316 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48317 to multiple of 256 bytes.
48319 2010-11-03 Ulrich Drepper <drepper@gmail.com>
48322 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48323 of inacessible symlinks. Verify result of symlink before returning it.
48324 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48325 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48327 2010-10-28 Erich Ritz <erichritz@gmail.com>
48329 * math/math.h (isinf): Fix typo in comment.
48331 2010-11-01 Ulrich Drepper <drepper@gmail.com>
48333 * po/da.po: Update from translation team.
48335 2010-10-26 Ulrich Drepper <drepper@gmail.com>
48337 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48338 is added to the list.
48340 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48341 Ulrich Drepper <drepper@gmail.com>
48343 * elf/dl-object.c (_dl_new_object): Don't append the new object to
48344 the global list here. Move code to...
48345 (_dl_add_to_namespace_list): ...here. New function.
48346 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48347 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48348 * elf/dl-load.c (lose): Don't remove the element from the list.
48349 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48350 (_dl_map_object): Likewise.
48352 2010-10-25 Ulrich Drepper <drepper@gmail.com>
48355 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48356 into all bytes of SSE register.
48357 Patch by Richard Li <richardpku@gmail.com>.
48359 2010-10-24 Ulrich Drepper <drepper@gmail.com>
48362 * malloc/malloc.c (_int_free): Fill correct number of bytes when
48365 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
48367 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48368 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48369 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48370 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48375 2010-10-22 Andreas Schwab <schwab@redhat.com>
48377 * include/dlfcn.h (__RTLD_SECURE): Define.
48378 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
48379 mode & __RTLD_SECURE instead.
48380 (open_path): Rename preloaded parameter to secure.
48381 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48382 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48383 * elf/dl-deps.c (openaux): Likewise.
48384 * elf/rtld.c (struct map_args): Remove is_preloaded.
48385 (map_doit): Don't use it.
48386 (dl_main): Likewise.
48387 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48388 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48390 2010-09-09 Andreas Schwab <schwab@redhat.com>
48392 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48393 (sysd-rules-targets): Remove duplicates.
48394 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48395 rtld-%.$o dependency.
48397 2010-10-18 Andreas Schwab <schwab@redhat.com>
48399 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48400 _dl_map_object do it.
48402 2010-10-19 Ulrich Drepper <drepper@gmail.com>
48404 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48405 fast fma builtins, define the macros in the C99 standard.
48406 (FP_FAST_FMAF): Likewise.
48407 (FP_FAST_FMAL): Likewise.
48408 * sysdeps/x86_64/bits/mathdef.h: Likewise.
48410 * bits/mathdef.h: Update copyright year.
48411 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48413 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
48415 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48416 builtins, define the macros in the C99 standard.
48417 (FP_FAST_FMAF): Likewise.
48418 (FP_FAST_FMAL): Likewise.
48419 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48421 (FP_FAST_FMAF): Likewise.
48423 2010-10-15 Jakub Jelinek <jakub@redhat.com>
48426 * math/libm-test.inc (fma_test): Some new testcases.
48427 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48428 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48429 y and infinite z. Do multiplication by C already in long double.
48430 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48431 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48432 y and infinite z. Do bitwise or of inexact bit into u.d.
48433 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48434 * sysdeps/i386/fpu/s_fmaf.S: Removed.
48435 * sysdeps/i386/fpu/s_fma.S: Removed.
48436 * sysdeps/i386/fpu/s_fmal.S: Removed.
48438 2010-10-16 Jakub Jelinek <jakub@redhat.com>
48441 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48442 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48443 computation is not scheduled after fetestexcept. Fix value
48444 of minimum denormal long double.
48446 2010-10-14 Jakub Jelinek <jakub@redhat.com>
48449 * math/libm-test.inc (fma_test): Add some more tests.
48450 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48453 2010-10-15 Andreas Schwab <schwab@redhat.com>
48455 * scripts/data/localplt-s390-linux-gnu.data: New file.
48456 * scripts/data/localplt-s390x-linux-gnu.data: New file.
48458 2010-10-13 Jakub Jelinek <jakub@redhat.com>
48461 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48462 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48464 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48466 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48467 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48468 if one of x and y is very large and the other is subnormal.
48469 * sysdeps/s390/fpu/s_fmaf.c: New file.
48470 * sysdeps/s390/fpu/s_fma.c: New file.
48471 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48472 * sysdeps/powerpc/fpu/s_fma.S: New file.
48473 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48474 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48475 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48477 2010-10-12 Jakub Jelinek <jakub@redhat.com>
48480 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48482 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48483 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48484 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48485 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48486 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48487 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48488 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48490 2010-10-12 Ulrich Drepper <drepper@redhat.com>
48493 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48494 * posix/bug-regex31.input: Add test case.
48496 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48498 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48499 * posix/bug-regex31.input: New file.
48502 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48503 (parse_sub_exp): Fix last change, use postorder.
48505 * posix/bug-regex31.c: New file.
48506 * posix/Makefile: Add rules to build and run bug-regex31.
48508 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48511 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48514 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48515 to have entries in sys_siglist.
48518 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48521 2010-10-07 Jakub Jelinek <jakub@redhat.com>
48524 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48525 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48526 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48527 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48528 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48529 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48530 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48531 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48532 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48533 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48534 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48535 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48536 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48537 * math/ftestexcept.c (fetestexcept): Likewise.
48538 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48539 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48540 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48541 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48542 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48543 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48544 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48546 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48549 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48552 2010-10-06 Ulrich Drepper <drepper@gmail.com>
48554 * string/bug-strstr1.c: New file.
48555 * string/Makefile: Add rules to build and run bug-strstr1.
48557 2010-10-05 Eric Blake <eblake@redhat.com>
48560 * string/str-two-way.h (two_way_long_needle): Always clear memory
48561 when skipping input due to the shift table.
48563 2010-10-03 Ulrich Drepper <drepper@gmail.com>
48566 * malloc/mcheck.c: Handle large requests.
48569 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48570 for strncmp and strncasecmp.
48571 * string/stratcliff.c: Add tests for strcmp and strncmp.
48572 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48574 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48576 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48579 2010-09-30 Andreas Jaeger <aj@suse.de>
48581 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48582 (CGROUP_SUPER_MAGIC): Define.
48583 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48584 Handle btrfs and cgroup file systems.
48585 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48588 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
48590 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48591 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48593 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48596 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48597 trying to locate the ELF header.
48599 2010-09-27 Andreas Schwab <schwab@redhat.com>
48602 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48603 Mask out sign-bit copies when constructing f_fsid.
48605 2010-09-24 Petr Baudis <pasky@suse.cz>
48607 * debug/stack_chk_fail_local.c: Add missing licence exception.
48608 * debug/warning-nop.c: Likewise.
48610 2010-09-15 Joseph Myers <joseph@codesourcery.com>
48612 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48613 implementing getdents64 using getdents syscall, set d_type if
48614 __ASSUME_GETDENTS32_D_TYPE.
48616 2010-09-16 Andreas Schwab <schwab@redhat.com>
48618 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48619 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48621 2010-09-21 Ulrich Drepper <drepper@redhat.com>
48624 * posix/unistd.h: Undo change of feature selection for ftruncate from
48627 2010-09-20 Ulrich Drepper <drepper@redhat.com>
48629 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48632 2010-09-20 Andreas Schwab <schwab@redhat.com>
48634 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48636 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48638 2010-09-14 Andreas Schwab <schwab@redhat.com>
48640 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48641 variables after CHECK_SP call.
48642 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48644 2010-09-13 Andreas Schwab <schwab@redhat.com>
48645 Ulrich Drepper <drepper@redhat.com>
48647 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48648 re-relocationg ld.so.
48649 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48650 _dl_init_paths call.
48651 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48654 2010-09-14 Ulrich Drepper <drepper@redhat.com>
48656 * resolv/res_init.c (__res_vinit): Count the default server we added.
48658 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48659 Ulrich Drepper <drepper@redhat.com>
48662 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48663 (____longjmp_chk): Use %ebx for saving value across system call.
48666 2010-09-06 Andreas Schwab <schwab@redhat.com>
48668 * manual/Makefile: Don't mix pattern rules with normal rules.
48670 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48672 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48674 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48675 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48676 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48677 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48678 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48681 2010-09-04 Ulrich Drepper <drepper@redhat.com>
48684 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48685 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48687 2010-09-02 Ulrich Drepper <drepper@redhat.com>
48689 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48690 * sysdeps/x86_64/addmul_1.S: Likewise.
48691 * sysdeps/x86_64/lshift.S: Likewise.
48692 * sysdeps/x86_64/mul_1.S: Likewise.
48693 * sysdeps/x86_64/rshift.S: Likewise.
48694 * sysdeps/x86_64/sub_n.S: Likewise.
48695 * sysdeps/x86_64/submul_1.S: Likewise.
48697 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
48699 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48700 Define __sched_param instead of SCHED_* and sched_param when
48701 <bits/sched.h> is included with __need_schedparam defined.
48702 * bits/sched.h [__need_schedparam]
48703 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48704 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48705 (__defined_schedparam): Define to 1.
48706 (__sched_param): New structure, identical to sched_param.
48707 (__need_schedparam): Undefine.
48709 2010-08-31 Mike Frysinger <vapier@gentoo.org>
48711 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48712 (epoll_create1): Declare.
48714 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48716 2010-08-31 Andreas Schwab <schwab@redhat.com>
48719 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48720 shifting retval into place.
48722 2010-09-01 Ulrich Drepper <drepper@redhat.com>
48724 * nis/rpcsvc/nis.h: Update copyright notice.
48725 * nis/rpcsvc/nis.x: Likewise.
48726 * nis/rpcsvc/nis_callback.h: Likewise.
48727 * nis/rpcsvc/nis_callback.x: Likewise.
48728 * nis/rpcsvc/nis_object.x: Likewise.
48729 * nis/rpcsvc/nis_tags.h: Likewise.
48730 * nis/rpcsvc/yp.h: Likewise.
48731 * nis/rpcsvc/yp.x: Likewise.
48732 * nis/rpcsvc/ypupd.h: Likewise.
48733 * nis/yp_xdr.c: Likewise.
48734 * nis/ypupdate_xdr.c: Likewise.
48736 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
48737 mainly the body of pmap_getport. Add parameters to specify timeouts.
48738 (pmap_getport): Use __libc_rpc_getport.
48739 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48740 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48741 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48743 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
48745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48748 2010-08-27 Roland McGrath <roland@redhat.com>
48750 * sysdeps/i386/i686/multiarch/Makefile
48751 (CFLAGS-varshift.c): New variable.
48753 2010-08-27 Ulrich Drepper <drepper@redhat.com>
48755 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48756 * sysdeps/i386/i686/multiarch/varshift.c: New file.
48758 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48760 * sysdeps/x86_64/strlen.S: Minimal code improvement.
48762 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
48764 * sysdeps/x86_64/strlen.S: Unroll the loop.
48765 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48766 strlen-sse2 strlen-sse2-bsf.
48767 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48768 __strlen_no_bsf if bit_Slow_BSF is set.
48769 (__strlen_sse42): Removed.
48770 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48771 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48773 2010-08-25 Roland McGrath <roland@redhat.com>
48775 * sysdeps/x86_64/multiarch/varshift.S: File removed.
48776 * sysdeps/x86_64/multiarch/varshift.c: New file.
48777 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48778 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48779 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48780 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48782 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
48784 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48785 strlen-sse2 strlen-sse2-bsf.
48786 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48787 __strlen_sse2_bsf if bit_Slow_BSF is unset.
48788 (__strlen_sse2): Removed.
48789 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48790 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48791 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48792 bit_Slow_BSF for Atom.
48793 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48794 (index_Slow_BSF): Define.
48795 (HAS_SLOW_BSF): Define.
48797 2010-08-25 Ulrich Drepper <drepper@redhat.com>
48800 * resolv/res_init.c (__res_vinit): When no server address at all
48801 is given default to loopback.
48803 2010-08-24 Roland McGrath <roland@redhat.com>
48805 * configure.in: Remove config-name.h generation.
48806 * configure: Regenerated.
48807 * config-name.in: File removed.
48808 * scripts/config-uname.sh: New file.
48809 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48810 ($(objdir)config-name.h): New target.
48812 * sunrpc/rpc_parse.h: Avoid nested comment.
48814 2010-08-24 Richard Henderson <rth@redhat.com>
48815 Ulrich Drepper <drepper@redhat.com>
48816 H.J. Lu <hongjiu.lu@intel.com>
48818 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48819 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48820 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48821 Replace _mm_srli_si128 with __m128i_shift_right. Replace
48822 _mm_alignr_epi8 with _mm_loadu_si128.
48823 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48824 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48825 (__m128i_shift_right): Removed.
48826 * sysdeps/i386/i686/multiarch/varshift.h: New file.
48827 * sysdeps/i386/i686/multiarch/varshift.S: New file.
48828 * sysdeps/x86_64/multiarch/varshift.h: New file.
48829 * sysdeps/x86_64/multiarch/varshift.S: New file.
48831 2010-08-21 Mike Frysinger <vapier@gentoo.org>
48833 * configure.in: Move assembler checks to before sysdep dir checking.
48835 2010-08-20 Petr Baudis <pasky@suse.cz>
48837 * LICENSES: Sync the sunrpc license.
48839 2010-08-19 Ulrich Drepper <drepper@redhat.com>
48841 * sunrpc/auth_des.c: Update copyright notice once again.
48842 * sunrpc/auth_none.c: Likewise.
48843 * sunrpc/auth_unix.c: Likewise.
48844 * sunrpc/authdes_prot.c: Likewise.
48845 * sunrpc/authuxprot.c: Likewise.
48846 * sunrpc/bindrsvprt.c: Likewise.
48847 * sunrpc/clnt_gen.c: Likewise.
48848 * sunrpc/clnt_perr.c: Likewise.
48849 * sunrpc/clnt_raw.c: Likewise.
48850 * sunrpc/clnt_simp.c: Likewise.
48851 * sunrpc/clnt_tcp.c: Likewise.
48852 * sunrpc/clnt_udp.c: Likewise.
48853 * sunrpc/clnt_unix.c: Likewise.
48854 * sunrpc/des_crypt.c: Likewise.
48855 * sunrpc/des_soft.c: Likewise.
48856 * sunrpc/get_myaddr.c: Likewise.
48857 * sunrpc/getrpcport.c: Likewise.
48858 * sunrpc/key_call.c: Likewise.
48859 * sunrpc/key_prot.c: Likewise.
48860 * sunrpc/openchild.c: Likewise.
48861 * sunrpc/pm_getmaps.c: Likewise.
48862 * sunrpc/pm_getport.c: Likewise.
48863 * sunrpc/pmap_clnt.c: Likewise.
48864 * sunrpc/pmap_prot.c: Likewise.
48865 * sunrpc/pmap_prot2.c: Likewise.
48866 * sunrpc/pmap_rmt.c: Likewise.
48867 * sunrpc/rpc/auth.h: Likewise.
48868 * sunrpc/rpc/auth_unix.h: Likewise.
48869 * sunrpc/rpc/clnt.h: Likewise.
48870 * sunrpc/rpc/des_crypt.h: Likewise.
48871 * sunrpc/rpc/key_prot.h: Likewise.
48872 * sunrpc/rpc/netdb.h: Likewise.
48873 * sunrpc/rpc/pmap_clnt.h: Likewise.
48874 * sunrpc/rpc/pmap_prot.h: Likewise.
48875 * sunrpc/rpc/pmap_rmt.h: Likewise.
48876 * sunrpc/rpc/rpc.h: Likewise.
48877 * sunrpc/rpc/rpc_des.h: Likewise.
48878 * sunrpc/rpc/rpc_msg.h: Likewise.
48879 * sunrpc/rpc/svc.h: Likewise.
48880 * sunrpc/rpc/svc_auth.h: Likewise.
48881 * sunrpc/rpc/types.h: Likewise.
48882 * sunrpc/rpc/xdr.h: Likewise.
48883 * sunrpc/rpc_clntout.c: Likewise.
48884 * sunrpc/rpc_cmsg.c: Likewise.
48885 * sunrpc/rpc_common.c: Likewise.
48886 * sunrpc/rpc_cout.c: Likewise.
48887 * sunrpc/rpc_dtable.c: Likewise.
48888 * sunrpc/rpc_hout.c: Likewise.
48889 * sunrpc/rpc_main.c: Likewise.
48890 * sunrpc/rpc_parse.c: Likewise.
48891 * sunrpc/rpc_parse.h: Likewise.
48892 * sunrpc/rpc_prot.c: Likewise.
48893 * sunrpc/rpc_sample.c: Likewise.
48894 * sunrpc/rpc_scan.c: Likewise.
48895 * sunrpc/rpc_scan.h: Likewise.
48896 * sunrpc/rpc_svcout.c: Likewise.
48897 * sunrpc/rpc_tblout.c: Likewise.
48898 * sunrpc/rpc_util.c: Likewise.
48899 * sunrpc/rpc_util.h: Likewise.
48900 * sunrpc/rpcinfo.c: Likewise.
48901 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48902 * sunrpc/rpcsvc/key_prot.x: Likewise.
48903 * sunrpc/rpcsvc/klm_prot.x: Likewise.
48904 * sunrpc/rpcsvc/mount.x: Likewise.
48905 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48906 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48907 * sunrpc/rpcsvc/rex.x: Likewise.
48908 * sunrpc/rpcsvc/rstat.x: Likewise.
48909 * sunrpc/rpcsvc/rusers.x: Likewise.
48910 * sunrpc/rpcsvc/sm_inter.x: Likewise.
48911 * sunrpc/rpcsvc/spray.x: Likewise.
48912 * sunrpc/rpcsvc/yppasswd.x: Likewise.
48913 * sunrpc/rtime.c: Likewise.
48914 * sunrpc/svc.c: Likewise.
48915 * sunrpc/svc_auth.c: Likewise.
48916 * sunrpc/svc_authux.c: Likewise.
48917 * sunrpc/svc_raw.c: Likewise.
48918 * sunrpc/svc_run.c: Likewise.
48919 * sunrpc/svc_simple.c: Likewise.
48920 * sunrpc/svc_tcp.c: Likewise.
48921 * sunrpc/svc_udp.c: Likewise.
48922 * sunrpc/svc_unix.c: Likewise.
48923 * sunrpc/svcauth_des.c: Likewise.
48924 * sunrpc/xcrypt.c: Likewise.
48925 * sunrpc/xdr.c: Likewise.
48926 * sunrpc/xdr_array.c: Likewise.
48927 * sunrpc/xdr_float.c: Likewise.
48928 * sunrpc/xdr_mem.c: Likewise.
48929 * sunrpc/xdr_rec.c: Likewise.
48930 * sunrpc/xdr_ref.c: Likewise.
48931 * sunrpc/xdr_sizeof.c: Likewise.
48932 * sunrpc/xdr_stdio.c: Likewise.
48934 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48937 2010-08-19 Andreas Schwab <schwab@redhat.com>
48939 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48941 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
48943 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48944 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48945 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48946 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48947 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48948 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48949 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48950 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48951 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48952 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48953 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48954 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48955 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48956 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48958 2010-07-26 Anton Blanchard <anton@samba.org>
48960 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48961 * malloc/arena.c (heap_trim): Likewise.
48963 2010-08-16 Ulrich Drepper <drepper@redhat.com>
48965 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48967 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48968 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48970 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
48972 * sysdeps/i386/elf/Makefile: New file.
48974 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48976 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48977 from fanotify_init.
48978 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48979 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48981 2010-08-15 Ulrich Drepper <drepper@redhat.com>
48983 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48985 * sysdeps/multiarch/strcmp.S: Likewise.
48987 2010-08-14 Ulrich Drepper <drepper@redhat.com>
48989 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48990 strncase_l-nonascii.
48991 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48992 Add strncase_l-ssse3.
48993 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48994 * sysdeps/x86_64/strcmp.S: Likewise.
48995 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48996 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48997 * sysdeps/x86_64/strncase.S: New file.
48998 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48999 * sysdeps/x86_64/strncase_l.S: New file.
49000 * string/Makefile (strop-tests): Add strncasecmp.
49001 * string/test-strncasecmp.c: New file.
49003 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49006 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49007 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49009 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49011 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49013 2010-08-12 Ulrich Drepper <drepper@redhat.com>
49015 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49016 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49017 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49019 2010-05-01 Alan Modra <amodra@gmail.com>
49021 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49022 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49023 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49024 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49025 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49026 tidying. Don't tail-call __sigjmp_save for static lib.
49027 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49029 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49030 (CALL_MCOUNT): Add eh info, and nop after bl.
49031 (TAIL_CALL_SYSCALL_ERROR): New macro.
49032 (PSEUDO_RET): Use it.
49033 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49034 Correct save location of integer regs and cr.
49035 (_dl_profile_resolve): Correct cr save location. Delete nops
49036 after bl when SHARED. Reduce cfi size a little by better
49037 placement of cfi directives.
49038 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49039 make a stack frame. Instead use parm save area as a temp.
49040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49041 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
49042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49043 Don't make a stack frame for parent, use parm save area.
49044 Increase child stack frame to 112 bytes. Don't save unused reg,
49045 and adjust reg usage. Set up cfi on error recovery and
49046 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49048 (__makecontext): Add dummy nop after jump to exit.
49049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49050 Use correct parm save area and cr save, reduce stack frame.
49051 Correct cfi for possible PSEUDO_RET frame setup.
49052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49053 Branch to local label emitted by PSEUDO_RET rather than
49056 2010-08-12 Andreas Schwab <schwab@redhat.com>
49059 * locale/programs/locale.c (print_assignment): New function.
49060 (show_locale_vars): Use it.
49062 2010-08-11 Ulrich Drepper <drepper@redhat.com>
49064 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49066 (struct statfs64): Likewise.
49067 (_STATFS_F_FLAGS): Define.
49068 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49069 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49070 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49071 (ST_VALID): Define locally.
49072 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49073 __statvfs_getflags, use the provided value.
49074 * sysdeps/unix/sysv/linux/kernel-features.h: Define
49075 __ASSUME_STATFS_F_FLAGS.
49077 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49079 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49080 Add sys/fanotify.h.
49081 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49082 fanotify_mask for GLIBC_2.13.
49083 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49084 fanotify_init and fanotify_mark.
49085 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49086 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49088 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49090 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49091 prlimit64 for GLIBC_2.13.
49092 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49094 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49097 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49098 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49099 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49100 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
49102 * sysdeps/unix/sysv/linux/prlimit.c: New file.
49105 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49106 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49108 * nss/Makefile: Add rules to build and run tst-nss-test1.
49109 * shlib-versions: Add entry for libnss_test1.
49110 * nss/nss_test1.c: New file.
49111 * nss/tst-nss-test1.c: New file.
49113 * nss/nsswitch.c (__nss_database_custom): Define new variable.
49114 (__nss_configure_lookup): Set appropriate entry in
49115 __nss_configure_lookup to true.
49116 * nss/nsswitch.h: Define enum with indeces of databases in
49117 databases and __nss_database_custom arrays. Declare
49118 __nss_database_custom.
49119 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49120 to avoid using nscd when custom rules are installed.
49121 * nss/getXXbyYY_r.c: Likewise.
49122 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49124 * nss/nss_files/files-parse.c: Whitespace fixes.
49126 2010-08-09 Ulrich Drepper <drepper@redhat.com>
49129 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49130 * posix/fnmatch_loop.c: Likewise.
49132 2010-07-17 Andi Kleen <ak@linux.intel.com>
49134 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49135 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49136 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49137 * Versions.def [GLIBC_2.13]: Add.
49139 2010-08-06 Ulrich Drepper <drepper@redhat.com>
49141 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49142 Also fail if tpwd after pwuid call is NULL.
49144 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
49146 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49147 when converting to ms.
49149 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49151 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49152 EOPNOTSUPP errors with ENOTTY.
49153 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49154 EOPNOTSUPP errors with ENOTTY.
49156 2010-07-31 Ulrich Drepper <drepper@redhat.com>
49158 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49159 Add strcasecmp_l-ssse3.
49160 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49162 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49163 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49164 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49166 2010-07-30 Ulrich Drepper <drepper@redhat.com>
49168 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49170 * string/Makefile (strop-tests): Add strcasecmp.
49171 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49172 strcasecmp_l-nonascii.
49173 (gen-as-const-headers): Add locale-defines.sym.
49174 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49175 * sysdeps/x86_64/strcasecmp.S: New file.
49176 * sysdeps/x86_64/strcasecmp_l.S: New file.
49177 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49178 * sysdeps/x86_64/locale-defines.sym: New file.
49179 * string/test-strcasecmp.c: New file.
49181 * string/test-strcasestr.c: Test both ends of the range of characters.
49182 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49184 2010-07-29 Roland McGrath <roland@redhat.com>
49187 * manual/locale.texi (Yes-or-No Questions): Fix example code.
49189 2010-07-27 Ulrich Drepper <drepper@redhat.com>
49191 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49194 2010-07-27 Andreas Schwab <schwab@redhat.com>
49196 * manual/memory.texi (Malloc Tunable Parameters): Document
49199 2010-07-26 Roland McGrath <roland@redhat.com>
49202 * configure.in (-fgnu89-inline check): Set and substitute
49203 gnu89_inline, not libc_cv_gnu89_inline.
49204 * configure: Regenerated.
49205 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49207 2010-07-26 Ulrich Drepper <drepper@redhat.com>
49209 * string/test-strnlen.c: New file.
49210 * string/Makefile (strop-tests): Add strnlen.
49211 * string/tester.c (test_strnlen): Add a few more test cases.
49212 * string/tst-strlen.c: Better error reporting.
49214 * sysdeps/x86_64/strnlen.S: New file.
49216 2010-07-24 Ulrich Drepper <drepper@redhat.com>
49218 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49219 lower-latency instructions.
49221 2010-07-23 Ulrich Drepper <drepper@redhat.com>
49223 * string/test-strcasestr.c: New file.
49224 * string/test-strstr.c: New file.
49225 * string/Makefile (strop-tests): Add strstr and strcasestr.
49226 * string/str-two-way.h: Don't undefine MAX.
49227 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49229 2010-07-21 Andreas Schwab <schwab@redhat.com>
49231 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49232 strcasestr-nonascii.
49233 (CFLAGS-strcasestr-nonascii.c): Define.
49234 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49235 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49236 Remove unused attribute.
49238 2010-07-20 Roland McGrath <roland@redhat.com>
49240 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49241 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
49242 ld.so.cache was broken. With it, there is no way to disable dsocaps
49243 like LD_HWCAP_MASK can disable hwcaps.
49245 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49247 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49249 2010-07-16 Ulrich Drepper <drepper@redhat.com>
49251 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49252 call in strcasestr.
49253 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49254 __strcasestr_sse42_nonascii.
49255 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49256 strcasestr-nonascii.c.
49257 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49259 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
49261 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49262 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49263 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49264 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49266 2010-07-09 Ulrich Drepper <drepper@redhat.com>
49268 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49271 2010-07-06 Andreas Schwab <schwab@redhat.com>
49274 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49277 2010-07-06 Ulrich Drepper <drepper@redhat.com>
49279 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49280 _PC_PIPE_BUF using F_GETPIPE_SZ.
49282 2010-07-05 Roland McGrath <roland@redhat.com>
49284 * manual/arith.texi (Rounding Functions): Fix rint description
49285 implicit in round description.
49287 2010-07-02 Ulrich Drepper <drepper@redhat.com>
49289 * elf/Makefile: Fix linking for a few tests to make recent linker
49292 2010-06-30 Andreas Schwab <schwab@redhat.com>
49294 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49295 $(common-objpfx)libc_nonshared.a.
49297 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
49299 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49300 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49301 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49302 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49303 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49304 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49305 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49306 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49321 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49322 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49323 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49324 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49325 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49326 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49327 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49328 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49329 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49330 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49331 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49332 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49348 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
49350 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49351 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
49352 * string/memmove.c (memmove): Renamed to ...
49353 (MEMMOVE): ...this. Default to memmove.
49354 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49355 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49357 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49358 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49359 mempcpy-ssse3-back memmove-ssse3-back.
49360 * sysdeps/x86_64/multiarch/bcopy.S: New file .
49361 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49362 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49363 * sysdeps/x86_64/multiarch/memcpy.S: New file.
49364 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49365 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49366 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49367 * sysdeps/x86_64/multiarch/memmove.c: New file.
49368 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49369 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49370 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49371 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49372 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49373 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49375 (index_Fast_Copy_Backward): Define.
49376 (HAS_ARCH_FEATURE): Define.
49377 (HAS_FAST_REP_STRING): Define.
49378 (HAS_FAST_COPY_BACKWARD): Define.
49380 2010-06-21 Andreas Schwab <schwab@redhat.com>
49382 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49383 Restore proper fallback handling.
49385 2010-06-19 Ulrich Drepper <drepper@redhat.com>
49388 * posix/group_member.c (__group_member): Correct checking loop.
49390 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49391 OOM in getpwuid_r correctly. Return error number when the caller
49392 should return, otherwise -1.
49393 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49394 call returning > 0 value.
49395 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49397 2010-06-07 Andreas Schwab <schwab@redhat.com>
49399 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49400 libc_nonshared.a from targets in modules-names.
49402 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
49404 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49407 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
49409 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49410 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49411 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49412 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49414 2010-06-02 Andreas Schwab <schwab@redhat.com>
49416 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49418 2010-06-14 Ulrich Drepper <drepper@redhat.com>
49420 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49422 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49423 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49424 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49425 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49426 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49427 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49429 2010-06-14 Roland McGrath <roland@redhat.com>
49431 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49433 2010-06-07 Jakub Jelinek <jakub@redhat.com>
49435 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49436 __REDIRECT followed by __THROW.
49437 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49438 * posix/getopt.h (getopt): Likewise.
49440 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49442 * hurd/lookup-at.c (__file_name_lookup_at): Accept
49443 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
49444 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49446 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49447 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49449 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
49451 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49453 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
49456 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49457 Properly check family and model.
49459 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
49461 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49463 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
49465 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49467 2010-05-21 Ulrich Drepper <drepper@redhat.com>
49469 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49472 2010-05-19 Andreas Schwab <schwab@redhat.com>
49474 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49477 2010-05-21 Andreas Schwab <schwab@redhat.com>
49479 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49480 and internal_recvmmsg.
49481 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49482 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49483 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49484 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49486 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49487 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49488 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49490 2010-05-20 Andreas Schwab <schwab@redhat.com>
49492 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49494 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
49496 POWER7 optimizations.
49497 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49498 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49500 2010-05-19 Ulrich Drepper <drepper@redhat.com>
49502 * version.h: Update for 2.13 development version.
49504 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
49506 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49507 exceptions. Return 0.
49509 2010-05-07 Roland McGrath <roland@redhat.com>
49511 * elf/ldconfig.c (main): Add a const.
49513 2010-05-06 Ulrich Drepper <drepper@redhat.com>
49515 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49516 (args_options): Add no-idn option.
49517 (ahosts_keys_int): Add idn_flags to ai_flags.
49518 (parse_option): Handle 'i' option to clear idn_flags.
49520 * malloc/malloc.c (_int_free): Possible race in the most recently
49521 added check. Only act on the data if no current modification
49524 See ChangeLog.17 for earlier changes.