add ChangeLog for previous commit
[platform/upstream/glibc.git] / ChangeLog
1 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
2
3         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
4         (main): Likewise.
5
6 2014-08-01  Roland McGrath  <roland@hack.frob.com>
7
8         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
9
10 2014-08-01  Richard Henderon  <rth@redhat.com>
11
12         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
13         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
14         typo in exact zero test.
15         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18
19 2014-08-01  Roland McGrath  <roland@hack.frob.com>
20
21         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
22         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
23         * sysdeps/arm/sysdep.h: ... here.
24         [!__ASSEMBLER__]: Include <stdint.h>.
25
26 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27
28         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
29         (HAVE_WCTYPE_H): Likewise.
30         (HAVE_ISWCTYPE): Likewise.
31         (ENABLE_NLS): Likewise.
32         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
33         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
34
35         * posix/regex_internal.c: Check if DEBUG is defined and is
36         set.
37
38         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
39         (HAVE_MBSRTOWCS): Likewise.
40         * posix/fnmatch.c: Include string.h unconditionally.
41
42 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
43
44         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
45         reversal.
46
47 2014-07-31  Roland McGrath  <roland@hack.frob.com>
48
49         * sysdeps/generic/safe-fatal.h: New file.
50         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
51         * nptl/forward.c: Include it.
52         (__pthread_unwind): Use __safe_fatal as default action, rather
53         than a bogus use of INTERNAL_SYSCALL that could never work.
54
55         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
56         * configure.ac (libc_cv_builtin_trap): New test.
57         * configure: Regenerated.
58         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
59         (ABORT_INSTRUCTION): Define using __builtin_trap.
60
61         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
62         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
63         * sysdeps/nptl/nptl-signals.h: New file.
64         * nptl/pthreadP.h: Include <nptl-signals.h>.
65
66 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
67
68         * sysdeps/s390/s390-64/utf16-utf32-z9.c
69         (ONE_DIRECTION): Define.
70         * sysdeps/s390/s390-64/utf8-utf16-z9.c
71         (ONE_DIRECTION): Define.
72         * sysdeps/s390/s390-64/utf8-utf32-z9.c
73         (ONE_DIRECTION): Define.
74
75 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
76
77         * sysdeps/s390/Makefile: Delete file.
78         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
79         * sysdeps/s390/__longjmp.c: Delete file.
80         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
81         Remove fields __flags and __reserved.
82         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
83         and add versioning.
84         * sysdeps/s390/rtld-__longjmp.c: Delete file.
85         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
86         * sysdeps/s390/rtld-setjmp.S: Likewise.
87         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
88         * sysdeps/s390/s390-32/__longjmp.c: ... here.
89         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
90         * sysdeps/s390/s390-32/setjmp.S: ... here.
91         Add versioning.
92         (__sigsetjmp): Remove setting __flags field.
93         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
94         * sysdeps/s390/s390-64/__longjmp.c: ... here.
95         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
96         * sysdeps/s390/s390-64/setjmp.S: ... here.
97         Add versioning.
98         (__sigsetjmp): Remove setting __flags field.
99         * sysdeps/s390/setjmp.S: Delete file.
100         * sysdeps/s390/sigjmp.c: Likewise.
101         * sysdeps/s390/v1-longjmp.c: Likewise.
102         * sysdeps/s390/v1-setjmp.h: Likewise.
103         * sysdeps/s390/v1-sigjmp.c: Likewise.
104         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
105         Remove v1-longjmp_chk.
106         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
107         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
108         Include debug/longjmp_chk.c and add versioning.
109         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
110         Include nptl/pt-longjmp.c and add versioning.
111         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
112         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
113         Include __longjmp.c.
114         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
115         Move to ...
116         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
117         (__getcontext): Remove setting __flags field.
118         Add versioning.
119         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
120         Don't restore upper high grps.
121         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
122         Likewise.
123         (__swapcontext): Remove setting uc_flags field.
124         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
125         Delete file.
126         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
127         Include __longjmp.c.
128         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
129         Move to ...
130         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
131         (__getcontext): Remove setting __flags field.
132         Add versioning.
133         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
134         (__swapcontext): Remove setting uc_flags field.
135         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
136         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
137         Remove fields uc_high_gprs and __reserved.
138         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
139         New file with reverted content.
140         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
141         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
142         Regenerated.
143         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
144         Regenerated.
145
146 2014-07-31  Andreas Schwab  <schwab@suse.de>
147
148         * config.h.in (HAVE_IFUNC): Define to 0.
149         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
150         definedness.
151
152 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
153
154         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
155         memmove-avx-unaligned, memcpy-avx-unaligned and
156         mempcpy-avx-unaligned.
157         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
158         Add tests for AVX memcpy functions.
159         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
160         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
161         memcpy_chk.
162         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
163         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
164         memmove_chk.
165         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
166         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
167         mempcpy_chk.
168         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
169         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
170         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
171
172 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
173
174         [BZ #17213]
175         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
176         powerpc64le.
177
178 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
179
180         [BZ #16839]
181         * manual/llio.texi: Add section about open file description locks.
182         * manual/examples/ofdlocks.c: Example of open file description
183         lock usage.
184         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
185         F_OFD_SETLK, and F_OFD_SETLKW.
186
187 2014-07-23  Allan McRae  <allan@archlinux.org>
188
189         * po/es.po: Update Spanish translation from translation project.
190
191 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
192
193         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
194
195 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
196
197         [BZ #17078]
198         * sysdeps/arm/dl-machine.h (elf_machine_rela)
199         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
200         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
201
202 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
203
204         [BZ #17088]
205         * math/fesetenv.c (__fesetenv)
206         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
207         * math/feupdateenv.c (__feupdateenv)
208         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
209
210         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
211         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
212         (__ASSUME_SOCKETCALL): Do not define.
213
214         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
215         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
216         (__ASSUME_SOCKETCALL): Do not define.
217         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
218         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
219         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
220         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
221         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
222         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
223         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
224         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
225
226         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
227         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
228         (__ASSUME_SOCKETCALL): Do not define.
229         (__ASSUME_IPC64): Define unconditionally.
230         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
231         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
232         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
233         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
234         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
235         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
236         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
237         Likewise.
238
239         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
240         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
241         (__ASSUME_SOCKETCALL): Do not define.
242         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
243         (__ASSUME_FUTEX_LOCK_PI): Likewise.
244         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
245         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
246         (__ASSUME_REQUEUE_PI): Define unconditionally.
247         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
248         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
249         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
250         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
251         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
252         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
253
254         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
255         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
256         (__ASSUME_SOCKETCALL): Do not define.
257         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
258         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
259         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
260         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
261         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
262         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
263
264         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
265         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
266         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
267         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
268         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
269         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
270         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
271         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
272         (__ASSUME_GETCPU_SYSCALL): Likewise.
273
274         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
275         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
276         cases for individual architectures.
277         * sysdeps/gnu/configure: Regenerated.
278         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
279         LIBC_SLIBDIR_RTLDDIR.
280         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
281         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
282         LIBC_SLIBDIR_RTLDDIR.
283         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
285         LIBC_SLIBDIR_RTLDDIR.
286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
287         Regenerated.
288         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
289         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
290         file.
291         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
292         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
293         file.
294         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
295         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
296         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
297         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
298
299         * sysdeps/aarch64/shlib-versions: Move to ...
300         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
301         * sysdeps/alpha/shlib-versions: Move to ...
302         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
303         * sysdeps/arm/shlib-versions: Move to ...
304         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
305         * sysdeps/hppa/shlib-versions: Move all contents except for
306         libgcc_s entry to ...
307         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
308         entry from ...
309         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
310         * sysdeps/ia64/shlib-versions: Move to ...
311         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
312         entry from ...
313         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
314         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
315         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
316         * sysdeps/microblaze/shlib-versions: Move to ...
317         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
318         * sysdeps/mips/shlib-versions: Move to ...
319         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
320         entry from ...
321         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
322         * sysdeps/tile/shlib-versions: Move to ...
323         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
324         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
325         from ...
326         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
327         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
328         entry from ...
329         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
330
331 2014-07-17  Will Newton  <will.newton@linaro.org>
332
333         * sysdeps/arm/bits/atomic.h
334         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
335         (__arch_compare_and_exchange_bool_16_int): Likewise.
336         (__arch_compare_and_exchange_bool_64_int): Likewise.
337
338         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
339         into an #else block.
340
341 2014-07-16  Roland McGrath  <roland@hack.frob.com>
342
343         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
344         just Linux configurations.  Test empirically that the compiler sets
345         __ARM_EABI__, rather than using the tuple to decide.
346         * sysdeps/arm/preconfigure: Regenerated.
347         * sysdeps/unix/sysv/linux/arm/configure: File removed.
348         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
349         contents appended ...
350         * sysdeps/arm/configure.ac: ... here.
351         * sysdeps/arm/configure: Regenerated.
352
353 2014-07-15  Roland McGrath  <roland@hack.frob.com>
354
355         * nptl/pthread_kill.c: New file.
356         * nptl/pthread_sigmask.c: New file.
357         * nptl/pthread_sigqueue.c: New file.
358
359         * sysdeps/nptl/lowlevellock.h: New file.
360         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
361         * sysdeps/nptl/lowlevellock-futex.h: New file.
362
363         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
364         Remove dead declarations.
365
366 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
367
368         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
369         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
370         config-cflags-avx2.
371         * sysdeps/x86_64/configure.ac: Likewise.
372         * sysdeps/i386/configure: Regenerated.
373         * sysdeps/x86_64/configure: Likewise.
374         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
375         memset-avx2 only if config-cflags-avx2 is yes.
376         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
377         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
378         defined.
379         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
380         only if HAVE_AVX2_SUPPORT is defined.
381         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
382
383 2014-07-14  Alan Modra  <amodra@gmail.com>
384
385         [BZ #17153]
386         * elf/elf.h (DT_PPC64_NUM): Correct value.
387         * NEWS: Add to fixed bug list.
388
389 2014-07-13  Jim Meyering  <meyering@fb.com>
390
391         [BZ 17150]
392         regex: don't deref NULL upon heap allocation failure
393         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
394         failure in one more place.
395         To trigger the segfault, configure grep -with-included-regex,
396         build it, and run these commands:
397         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
398
399 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
400
401         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
402
403 2014-07-11  Richard Henderson  <rth@redhat.com>
404
405         * sysdeps/aarch64/libm-test-ulps: Update.
406
407 2014-07-10  Florian Weimer  <fweimer@redhat.com>
408
409         [BZ #17135]
410         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
411         * nptl/allocatestack.c (__nptl_setxid_error): New function.
412         (__nptl_setxid): Initialize error member.  Call
413         __nptl_setxid_error.
414         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
415         * nptl/descr.h (struct xid_command): Add error member.
416         * nptl/tst-setuid3.c: New file.
417         * nptl/Makefile (tests): Add it.
418
419 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
420
421         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
422         New define.
423         (__lll_trylock): Use __lll_base_trylock.
424         (__lll_cond_trylock): Likewise.
425
426 2014-07-10  Roland McGrath  <roland@hack.frob.com>
427
428         * nptl/pthread_create.c (start_thread): Use atomic_or and
429         lll_futex_wake directly rather than lll_robust_dead.
430         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
431         (lll_robust_dead): Macro removed.
432         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
433         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
434         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
435         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
436         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
437         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
438         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
439         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
440         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
441         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
442         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
443         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
444         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
445         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
446         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
447
448         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
449         Use atomic_compare_and_exchange_val_acq directly rather than
450         lll_robust_trylock.
451         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
452         (__lll_robust_trylock, lll_robust_trylock): Removed.
453         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
454         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
455         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
456         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
457         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
458         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
459         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
460         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
461         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
462         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
463         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
464         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
465         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
466         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
467
468 2014-07-02  Florian Weimer  <fweimer@redhat.com>
469
470         * manual/locale.texi (Locale Names): New section documenting
471         locale name syntax.  Adjust menu and node chaining accordingly.
472         (Choosing Locale): Reference Locale Names, Locale Categories.
473         Mention setting LC_ALL=C.  Reflect that name syntax is now
474         documented.
475         (Locale Categories): New section title.  Reference Locale Names.
476         LC_ALL is an environment variable, but not a category.
477         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
478         description, now in Locale Name.  Reference that section.  Locale
479         name syntax is now documented.
480
481 2014-07-02  Florian Weimer  <fweimer@redhat.com>
482
483         [BZ #17137]
484         * locale/findlocale.c (name_present, valid_locale_name): New
485         functions.
486         (_nl_find_locale): Use the loc_name variable to store name
487         candidates.  Call name_present and valid_locale_name to check and
488         validate locale names.  Return an error if the locale is invalid.
489
490 2014-07-02  Florian Weimer  <fweimer@redhat.com>
491
492         * locale/setlocale.c (setlocale): Use strdup for allocating
493         composite name copy.
494
495 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
496
497         Sync up with gnulib.
498         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
499         [!_LIBC && ENABLE_NLS]: Include gettext.h.
500         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
501         and _GL_ARG_NONNULL.
502         [USE_UNLOCKED_IO]: Include unlocked-io.h.
503         [!_LIBC]: Include code for Windows and Cygwin.
504         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
505         Include prototype for int strerror_r.
506         [!_LIBC] (is_open): New function.
507         (flush_stdout): New function.
508         (print_errno_message): Use it.
509         (error): Likewise.
510         (error_at_line): Likewise.
511         (error_tail) Add function attribute macros.  Use
512         __builtin_expect.
513
514         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
515
516         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
517
518         * io/ftw.c: Include sys/param.h unconditionally.
519
520         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
521
522         [BZ #17125]
523         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
524         libc_freeres_ptr.
525         (freecache): New function to free CACHE on exit.
526
527         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
528         initialization.
529
530 2014-07-09  David S. Miller  <davem@davemloft.net>
531
532         * sysdeps/sparc/fpu/libm-test-ulps: Update.
533
534         * sysdeps/sparc/nptl/internaltypes.h: Delete.
535         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
536         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
537         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
538         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
539         * sysdeps/sparc/nptl/sem_init.c: Likewise.
540         * sysdeps/sparc/nptl/sem_post.c: Likewise.
541         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
542         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
543         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
544         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
545         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
546         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
547
548 2014-07-09  Andreas Schwab  <schwab@suse.de>
549
550         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
551         output.
552         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
553         (do_test): Likewise.
554
555         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
556
557 2014-07-09  Will Newton  <will.newton@linaro.org>
558
559         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
560         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
561         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
562         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
563         * sysdeps/hppa/start.S (_start): Likewise.
564
565 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
566
567         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
568
569         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
570         defined.
571
572 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
573
574         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
575         after checking that it is non-NULL.
576
577         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
578
579 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
580
581         * sysdeps/powerpc/memmove.c: Remove file.
582         * sysdeps/powerpc/powerpc32/power4/memcopy.h
583         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
584         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
585         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
586         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
587         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
588         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
589         string memmove instead of removed powerpc one.
590
591         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
592         [weak_alias]: Fix compiler warning due trailing data.
593         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
594         [weak_alias]: Likewise.
595         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
596         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
597
598         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
599         (__libc_ifunc_impl_list): Add memmove functions.
600
601 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
602
603         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
604         Remove code.
605         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
606         Likewise
607         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
608         Likewise
609         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
610         Likewise
611         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
612         Likewise
613         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
614         Likewise
615         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
616         Likewise
617         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
618         Likewise
619         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
620         Likewise
621         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
622         Likewise
623         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
624         Likewise
625         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
626         Likewise
627         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
628         Likewise
629         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
630         Likewise
631         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
632         Likewise
633         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
634         Likewise
635         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
636         Likewise
637
638 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
639
640         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
641         to avoid alignment traps in non-cacheable memory.
642         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
643
644         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
645         multiarch objects.
646         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
647         file: multiarch power7 memmove.
648         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
649         multiarch default memmove.
650         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
651         multiarch memove for powerpc32/power4.
652
653         * string/bcopy.c: Use full path to include memmove.c.
654         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
655         multiarch objects.
656         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
657         bcopy for powerpc64.
658         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
659         bcopy for powerpc64.
660         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
661         and memmove implementations.
662         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
663         optimized multiarch memmove for POWER7/powerpc64.
664         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
665         default multiarch memmove for powerpc64.
666         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
667         multiarch for powerpc64.
668         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
669         for POWER7/powerpc64.
670         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
671         memmove for POWER7/powerpc64.
672
673         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
674         glibc default one.
675
676         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
677         __ELF_NATIVE_CLASS equal to 64.
678
679 2014-07-07  Roland McGrath  <roland@hack.frob.com>
680
681         * sysdeps/nptl/lowlevellock.h: File removed.
682
683         * NEWS: NPTL is no longer an add-on!
684         * nptl/internaltypes.h: Moved ...
685         * sysdeps/nptl/internaltypes.h: ... here.
686         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
687         * sysdeps/nptl/fork.c: Likewise.
688         * sysdeps/nptl/gai_misc.h: Likewise.
689         * sysdeps/nptl/librt-cancellation.c: Likewise.
690         * sysdeps/nptl/jmp-unwind.c: Likewise.
691         * sysdeps/nptl/setxid.h: Likewise.
692         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
693         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
694         * sysdeps/unix/sysv/linux/arm/Implies: New file.
695         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
696         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
697         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
698         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
699         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
700         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
701         * sysdeps/unix/sysv/linux/mips/Implies: New file.
702         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
703         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
704         * sysdeps/unix/sysv/linux/sh/Implies: New file.
705         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
706         * sysdeps/unix/sysv/linux/tile/Implies: New file.
707         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
708         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
709         * nptl/Makeconfig: Moved ...
710         * sysdeps/nptl/Makeconfig: ... here.
711         * nptl/configure: File removed.
712         * nptl/ANNOUNCE: File removed.
713         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
714         * sysdeps/unix/sysv/linux/configure: Regenerated.
715
716         * nptl/Makefile (routines): Add libc_pthread_init,
717         libc_multiple_threads, register-atfork and unregister-atfork.
718         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
719         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
720         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
721         pthread-pi-defines.sym, structsem.sym.
722         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
723         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
724         [$(subdir) = nptl] (tests): Add tst-setgetname.
725         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
726         * sysdeps/unix/sysv/linux/sigaction.c: Just include
727         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
728         [!LIBC_SIGACTION]: Remove aliases.
729         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
730         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
731         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
732         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
733         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
734         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
735         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
736         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
737         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
738         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
739         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
740         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
741         __libc_allocate_rtsig_private.
742         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
743         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
744         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
745         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
746         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
747         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
748         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
749         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
750         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
751         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
752         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
753         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
754         * nptl/internaltypes.h: ... here.
755         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
756         * sysdeps/nptl/jmp-unwind.c: ... here.
757         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
758         * nptl/libc-lowlevellock.c: ... here.
759         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
760         * nptl/libc_multiple_threads.c: ... here.
761         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
762         * nptl/libc_pthread_init.c: ... here.
763         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
764         * nptl/lowlevelbarrier.sym: ... here.
765         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
766         * nptl/lowlevelcond.sym: ... here.
767         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
768         * nptl/lowlevellock.c: ... here.
769         * nptl/lowlevellock.h: Moved ...
770         * sysdeps/nptl/lowlevellock.h: ... here.
771         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
772         * nptl/lowlevelrobustlock.c: ... here.
773         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
774         * nptl/lowlevelrobustlock.sym: ... here.
775         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
776         * nptl/lowlevelrwlock.sym: ... here.
777         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
778         * nptl/pt-fork.c: ... here.
779         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
780         * nptl/pthread-pi-defines.sym: ... here.
781         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
782         * nptl/pthread_attr_getaffinity.c: ... here.
783         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
784         * nptl/pthread_attr_setaffinity.c: ... here.
785         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
786         * nptl/pthread_mutex_cond_lock.c: ... here.
787         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
788         Update #include.
789         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
790         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
791         * nptl/pthread_once.c: ... here, replacing old file.
792         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
793         * nptl/pthread_yield.c: ... here.
794         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
795         * nptl/register-atfork.c: ... here.
796         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
797         * nptl/sem_post.c: ... here.
798         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
799         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
800         * nptl/sem_timedwait.c: ... here.
801         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
802         * nptl/sem_trywait.c: ... here.
803         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
804         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
805         * nptl/sem_wait.c: ... here.
806         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
807         * nptl/structsem.sym: ... here.
808         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
809         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
810         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
811         * nptl/unregister-atfork.c: ... here.
812         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
813         * nptl/unwindbuf.sym: ... here.
814         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
815         * sysdeps/nptl/fork.c: ... here.
816         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
817         * sysdeps/nptl/fork.h: ... here.
818         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
819         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
820         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
821         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
822         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
823         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
824         * sysdeps/unix/sysv/linux/getpid.c: ... here.
825         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
826         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
827         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
828         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
829         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
830         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
831         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
832         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
833         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
834         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
835         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
836         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
837         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
838         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
839         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
840         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
841         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
842         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
843         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
844         * sysdeps/unix/sysv/linux/raise.c: ... here.
845         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
846         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
847         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
848         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
849         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
850         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
851         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
852         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
853         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
854         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
855         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
856         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
857         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
858         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
859         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
860
861 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
862
863         * sysdeps/generic/memcopy.h: Add comment for
864         MEMCPY_OK_FOR_FWD_MEMMOVE.
865
866 2014-07-04  Will Newton  <will.newton@linaro.org>
867
868         * string/memchr.c: Merge from gnulib.
869         [_LIBC]: Remove conditionals.
870         (__ptr_t): Remove define.
871         (LONG_MAX_32_BITS): Likewise.
872         (LONG_MAX): Likewise.
873         (MEMCHR): Use ANSI prototype and optimize algorithm.
874
875         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
876
877 2014-07-03  Roland McGrath  <roland@hack.frob.com>
878
879         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
880         (lll_futex_timed_wait_bitset): Fix syscall argument count.
881
882         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
883         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
884         in a bare environment with no <stdlib.h> installed.
885         * sysdeps/nptl/configure: Regenerated.
886
887         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
888
889         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
890         AC_EGREP_CPP for kernel header checks, so they only succeed if
891         including <linux/version.h> actually works right.
892         * sysdeps/unix/sysv/linux/configure: Regenerated.
893
894         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
895         value so it's not diagnosed as unused.
896
897         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
898         thing) with "ifeq ($(subdir),rt)".
899
900 2014-07-03  Richard Henderson  <rth@redhat.com>
901
902         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
903         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
904         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
905
906         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
907         (math_force_eval): New.
908
909         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
910         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
911
912         * sysdeps/alpha/fpu/s_round.c: Remove file.
913         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
914
915         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
916         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
917         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
918         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
919         (_dl_start, print_statistics): Likewise.
920         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
921         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
922
923         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
924         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
925         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
926         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
927         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
928         (HP_SMALL_TIMING_AVAIL): Define.
929         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
930         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
931         (HP_SMALL_TIMING_AVAIL): Define.
932         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
933         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
934
935         * sysdeps/aarch64/hp-timing.h: New file.
936
937         * sysdeps/generic/hp-timing.h: Remove dead comment.
938         * sysdeps/generic/hp-timing-common.h: New file.
939         * sysdeps/alpha/hp-timing.h: Include it.
940         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
941         * sysdeps/i386/i686/hp-timing.h: Likewise.
942         * sysdeps/ia64/hp-timing.h: Likewise.
943         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
944         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
945         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
946         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
947         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
948         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
949         (hp_timing_t): New.
950
951         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
952         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
953         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
954         * elf/rtld.c (_dl_start_final): Likewise.
955         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
956         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
957         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
958         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
959         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
960         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
961         (HP_TIMING_DIFF_INIT): Remove.
962         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
963         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
964         (HP_TIMING_DIFF_INIT): Remove.
965         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
966         * sysdeps/i386/i686/hp-timing.c: Remove file.
967         * sysdeps/x86_64/hp-timing.c: Remove file.
968         * sysdeps/ia64/hp-timing.c: Remove file.
969         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
970         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
971         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
972         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
973
974         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
975         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
976         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
977         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
978         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
979         (HP_TIMING_ACCUM): Remove.
980         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
981         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
982         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
983
984         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
985         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
986         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
987         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
988         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
989         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
990         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
991         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
992
993         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
994
995 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
996
997         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
998
999 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1000
1001         Sync up with gettext.
1002         * intl/loadmsgcat.c: Define O_BINARY if not defined.
1003         [_MSC_VER]: Include malloc.h
1004         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1005         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1006         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
1007         TEMP_FAILURE_RETRY.  Cast return of alloca.
1008         [!_LIBC] Call gl_rwlock_init.
1009         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1010
1011 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1012
1013         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1014         before checking its value.
1015
1016 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1017
1018         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1019
1020         * debug/memcpy_chk.c: Don't include pagecopy.h.
1021         * debug/mempcpy_chk.c: Likewise.
1022         * string/memcpy.c: Likewise.
1023         * string/memmove.c: Likewise.
1024         * sysdeps/powerpc/memmove.c: Likewise.
1025         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
1026         definition of PAGE_COPY_FWD_MAYBE here...
1027         * sysdeps/generic/pagecopy.h: ... from here.
1028         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1029
1030 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1031             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1032
1033         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1034         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1035         optimizations.
1036         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1037         (__libc_ifunc_impl_list): Likewise.
1038         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1039         multiarch strcat for PPC64.
1040         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1041         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1042
1043 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1044
1045         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1046
1047 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1048
1049         * intl/loadmsgcat.c: Remove declaration of
1050         get_sysdep_segment_value.
1051         (get_sysdep_segment_value): Use ISO C style.
1052         (_nl_load_domain): Use ISO C style.  Get rid of redundant
1053         semicolon.  Fix typo and formatting in comment.
1054         (_nl_unload_domain): Use ISO C style.
1055
1056         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1057
1058 2014-07-02  Will Newton  <will.newton@linaro.org>
1059
1060         * malloc/obstack.c: Merge from gnulib master.
1061         [HAVE_CONFIG_H]: Remove conditional code.
1062         [!_LIBC]: Include config.h.
1063         [!ELIDE_CODE]: Don't include inttypes.h, include
1064         stdint.h unconditionally.
1065         (print_and_abort): Mark as _Noreturn.
1066         (_obstack_allocated_p): Mark as __attribute_pure__.
1067         (obstack_free): Rename to __obstack_free.
1068         [!__attribute__]: Remove conditional code.
1069         * malloc/obstack.h: Merge from gnulib master.
1070         [__cplusplus]: Move conditional down.
1071         [!__attribute_pure__]: Define __attribute_pure__ here
1072         if it is not already defined.
1073         (_obstack_memory_used): Mark as __attribute_pure__.
1074         [!__obstack_free]: Define as obstack_free.
1075         [__GNUC__]: Remove check for ancient NeXT gcc.
1076
1077 2014-07-02  Will Newton  <will.newton@linaro.org>
1078             Paul Eggert  <eggert@cs.ucla.edu>
1079
1080         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1081
1082 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1083
1084         * resolv/gethnamaddr.c: Add comment warning that the file is
1085         not maintained.
1086
1087 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
1088
1089         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1090         entries.
1091
1092         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1093         entry for aio_cancel and aio_cancel64.
1094         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1095         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1096         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1097         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1098         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1099         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1100         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1101         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1102         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1103         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1104         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1105         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1106         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1107
1108 2014-07-01  Roland McGrath  <roland@hack.frob.com>
1109
1110         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1111         * nptl/pthread_mutex_lock.c: Likewise.
1112         * nptl/pthread_mutex_timedlock.c: Likewise.
1113         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1114
1115 2014-07-01  Richard henderson  <rth@redhat.com>
1116
1117         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1118         (__isnan, __isnanl): Remove.
1119         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1120
1121         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1122
1123 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1124
1125         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1126
1127 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1128
1129         * resolv/nss_dns/dns-host.c (getanswer_r)
1130         [MULTI_PTRS_ARE_ALIASES]: Remove code.
1131
1132 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
1133
1134         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1135         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1136         undefine.
1137         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1138         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1139
1140 2014-07-01  Roland McGrath <roland@hack.frob.com>
1141
1142         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1143         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1144
1145         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1146         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1147
1148         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1149         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1150         ... here.
1151         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1152         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1153
1154         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1155         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1156         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1157         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1158
1159         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1160         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1161         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1162         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1163         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1164         Moved ...
1165         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1166         ... here.
1167         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1168         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1169         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1170         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1171         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1172         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1173         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1174         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1175         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1176         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1177         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1178         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1179         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1180         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1181         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1182         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1183         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1184         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1185         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1186         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1187         ... here.
1188         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1189         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1190         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1191         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1192         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1193         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1194         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1195         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1196
1197 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
1198
1199         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1200         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1201         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1202         Add sysdep.
1203
1204 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1205
1206         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1207
1208 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1209
1210         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1211         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1212
1213         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1214
1215         * sysdeps/arm/libm-test-ulps: Regenerated.
1216
1217 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1218             Roland McGrath <roland@hack.frob.com>
1219
1220         * test-skeleton.c (signal_handler): Kill the whole process group
1221         before killing the child individually.
1222         (main): Report any failure on `setpgid'.
1223
1224 2014-06-30  Roland McGrath  <roland@hack.frob.com>
1225
1226         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1227         from _TLS_H to _ARM_NPTL_TLS_H.
1228         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1229         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1230
1231 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1232
1233         [BZ #16539]
1234         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1235         (__expm1l): Return argument unchanged when small but not
1236         subnormal.
1237
1238         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1239         include macro name.
1240         (_FP_UNPACK_RAW_1_P): Likewise.
1241         (_FP_PACK_RAW_1): Likewise.
1242         (_FP_PACK_RAW_1_P): Likewise.
1243         (_FP_MUL_MEAT_1_wide): Likewise.
1244         (_FP_MUL_MEAT_DW_1_hard): Likewise.
1245         (_FP_MUL_MEAT_1_hard): Likewise.
1246         (_FP_DIV_MEAT_1_imm): Likewise.
1247         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1248         (_FP_DIV_MEAT_1_udiv): Likewise.
1249         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1250         (_FP_UNPACK_RAW_2): Likewise.
1251         (_FP_UNPACK_RAW_2_P): Likewise.
1252         (_FP_PACK_RAW_2): Likewise.
1253         (_FP_PACK_RAW_2_P): Likewise.
1254         (_FP_MUL_MEAT_DW_2_wide): Likewise.
1255         (_FP_MUL_MEAT_2_wide): Likewise.
1256         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1257         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1258         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1259         (_FP_MUL_MEAT_2_gmp): Likewise.
1260         (_FP_DIV_MEAT_2_udiv): Likewise.
1261         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1262         (_FP_FRAC_SRL_4): Likewise.
1263         (_FP_FRAC_SRST_4): Likewise.
1264         (_FP_FRAC_SRS_4): Likewise.
1265         (_FP_UNPACK_RAW_4): Likewise.
1266         (_FP_UNPACK_RAW_4_P): Likewise.
1267         (_FP_PACK_RAW_4): Likewise.
1268         (_FP_PACK_RAW_4_P): Likewise.
1269         (_FP_MUL_MEAT_DW_4_wide): Likewise.
1270         (_FP_MUL_MEAT_4_wide): Likewise.
1271         (_FP_MUL_MEAT_4_gmp): Likewise.
1272         (umul_ppppmnnn): Likewise.
1273         (_FP_DIV_MEAT_4_udiv): Likewise.
1274         (__FP_FRAC_ADD_4): Likewise.
1275         (__FP_FRAC_SUB_3): Likewise.
1276         (__FP_FRAC_SUB_4): Likewise.
1277         (__FP_FRAC_DEC_3): Likewise.
1278         (__FP_FRAC_DEC_4): Likewise.
1279         (__FP_FRAC_ADDI_4): Likewise.
1280         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1281         (_FP_FRAC_SRL_8): Likewise.
1282         (_FP_FRAC_SRS_8): Likewise.
1283
1284         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1285         include macro name.
1286         (FP_UNPACK_RAW_EP): Likewise.
1287         (FP_PACK_RAW_E): Likewise.
1288         (FP_PACK_RAW_EP): Likewise.
1289         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1290         (_FP_ISSIGNAN): Likewise.
1291         (_FP_ADD_INTERNAL): Likewise.
1292         (_FP_FMA): Likewise.
1293         (_FP_CMP): Likewise.
1294         (_FP_SQRT): Likewise.
1295         (_FP_TO_INT): Likewise.
1296         (_FP_FROM_INT): Likewise.
1297         (FP_EXTEND): Likewise.
1298         (_FP_DIV_MEAT_N_loop): Likewise.
1299
1300 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1301
1302         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1303         throughout.
1304
1305 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
1306
1307         [BZ #17097]
1308         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1309         result with correct sign in case of exponents that produce
1310         overflow except for X very close to 1.
1311
1312 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
1313
1314         mktime: merge #if/#ifdef usage from glibc
1315         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1316         as that works with both Glibc's and Gnulib's style.
1317         See thread starting at Siddhesh Poyarekar's bug report at:
1318         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1319
1320 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1321
1322         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1323         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1324         * sysdeps/tile/tilegx/memmove.c: Remove file.
1325
1326 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1327
1328         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1329         abi-name definition.
1330         * scripts/soversions.awk: Do not handle or generate ABI lines.
1331         * shlib-versions: Remove ABI entries.
1332         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1333         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1334
1335 2014-06-27  Roland McGrath  <roland@hack.frob.com>
1336
1337         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1338         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1339         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1340         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1341         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1342         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1343         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1344         Moved ...
1345         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1346         ... here.
1347         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1348         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1349         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1350         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1351         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1352         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1353         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1354         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1355         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1356         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1357         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1358         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1359         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1360         Moved ...
1361         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1362         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1363         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1364         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1365         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1366         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1367         Moved ...
1368         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1369         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1370         Moved ...
1371         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1372         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1373         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1374         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1375         Moved ...
1376         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1377         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1378         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1379         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1380         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1381         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1382         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1383         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1384         Moved ...
1385         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1386         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1387         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1388         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1389         Moved ...
1390         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1391         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1392         Moved ...
1393         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1394         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1395         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1396         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1397         Moved ...
1398         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1399         ... here.
1400         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1401         Identical file removed.
1402         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1403         Moved ...
1404         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1405         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1406         Identical file removed.
1407         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1408         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1409         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1410         Moved ...
1411         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1412         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1413         Identical file removed.
1414         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1415         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1416         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1417         Identical file removed.
1418         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1419         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1420         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1421         Identical file removed.
1422         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1423         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1424         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1425         Identical file removed.
1426         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1427         Moved ...
1428         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1429         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1430         Identical file removed.
1431         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1432         Moved ...
1433         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1434         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1435         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1436         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1437         Identical file removed.
1438         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1439         Moved ...
1440         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1441         ... here.
1442         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1443         Identical file removed.
1444         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1445         Moved ...
1446         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1447         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1448         Identical file removed.
1449         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1450         Moved ...
1451         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1452         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1453         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1454         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1455         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1456         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1457         Moved ...
1458         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1459         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1460         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1461
1462         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1463         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1464         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1465         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1466         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1467
1468 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
1469
1470         [BZ #17092]
1471         * nscd/nscd.c (monitor_child): Return exit status of child
1472         instead of return value from wait syscall.
1473
1474 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1475
1476         * configure.ac (libc_commonpagesize): Remove variable.
1477         (libc_relro_required): Likewise.
1478         (libc_cv_z_relro): Remove configure test.
1479         * configure: Regenerated.
1480         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1481         variable.
1482         (libc_relro_required): Likewise.
1483         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1484         (libc_relro_required): Likewise.
1485         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1486         (libc_relro_required): Likewise.
1487         * sysdeps/arm/preconfigure: Regenerated.
1488         * sysdeps/ia64/preconfigure: Remove file.
1489         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1490         variable.
1491         (libc_relro_required): Likewise.
1492
1493         [BZ #16561]
1494         [BZ #16562]
1495         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1496         (__ieee754_yn): Set FE_TONEAREST mode internally and then
1497         recompute overflowing results in original rounding mode.
1498         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1499         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1500         recompute overflowing results in original rounding mode.
1501         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1502         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1503         recompute overflowing results in original rounding mode.
1504         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1505         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1506         recompute overflowing results in original rounding mode.
1507         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1508         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1509         recompute overflowing results in original rounding mode.
1510         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1511         (libc_feholdsetround_ctx): New macro.
1512         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1513         * sysdeps/i386/fpu/libm-test-ulps: Update.
1514         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1515
1516 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1517
1518         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1519         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1520         corresponding .cpsetup call.
1521
1522 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1523
1524         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1525         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1526         * sysdeps/arm/Makefile [$(subdir) = csu]
1527         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1528         (static-only-routines): Add aeabi_read_tp here.
1529         (shared-only-routines): Add libc-aeabi_read_tp here.
1530         (CFLAGS-libc-start.c): Add -fexceptions here.
1531         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1532         (sysdep_routines, static-only-routines, shared-only-routines):
1533         Don't add to these here.
1534         (CFLAGS-libc-start.c): Likewise.
1535
1536         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1537         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1538         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1539         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1540         * sysdeps/arm/Makefile [$(subdir) = rt]
1541         (librt-sysdep_routines, librt-shared-only-routines):
1542         Append rt-aeabi_unwind_cpp_pr1 here.
1543         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1544         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1545         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1546         (libpthread-sysdep_routines, libpthread-shared-only-routines):
1547         Append nptl-aeabi_unwind_cpp_pr1 here.
1548         (tests): Filter out tst-cleanupx4 here.
1549         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1550         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1551         Don't do those here.
1552
1553 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1554
1555         * scripts/list-sources.sh: Do not handle ports specially.
1556
1557 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1558
1559         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1560         * sysdeps/arm/feupdateenv.c: Likewise.
1561
1562         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1563
1564 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1565
1566         * manual/texinfo.tex: Update to version 2014-05-05.10 with
1567         trailing whitespace removed.
1568         * scripts/config.guess: Update to version 2014-03-23.
1569         * scripts/config.sub: Update to version 2014-05-01
1570         * scripts/install-sh: Update to version 2013-12-25.23.
1571         * scripts/move-if-change: Update from gnulib.
1572
1573 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1574
1575         * debug/memmove_chk.c: Remove pagecopy.h include.
1576
1577 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
1578
1579         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
1580         identical to gnulib mktime.
1581
1582 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1583
1584         * configure.ac: Do not test for machine being rs6000.  Do not test
1585         for powerpc*-*soft.
1586         * configure: Regenerated.
1587
1588         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1589         test.
1590         * configure: Regenerated.
1591         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1592         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1593         Remove configure test.
1594         * sysdeps/arm/configure: Regenerated.
1595         * sysdeps/nptl/configure.ac: Do not check
1596         libc_cv_asm_cfi_directives.
1597         * sysdeps/nptl/configure: Regenerated.
1598         * sysdeps/x86_64/nptl/configure.ac: Remove file.
1599         * sysdeps/x86_64/nptl/configure: Remove generated file.
1600         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1601         unconditional.
1602         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1603
1604 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1605
1606         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1607         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1608         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1609         it is defined.
1610
1611         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1612         instead of whether it is defined.
1613         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1614         * sysdeps/hppa/dl-machine.h: Likewise.
1615         * sysdeps/ia64/dl-machine.h: Likewise.
1616         * sysdeps/m68k/dl-machine.h: Likewise.
1617         * sysdeps/microblaze/dl-machine.h: Likewise.
1618         * sysdeps/mips/dl-machine.: Likewise.
1619         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1620         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1621         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1622         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1623         * sysdeps/sh/dl-machine.h: Likewise.
1624         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1625         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1626         * sysdeps/tile/dl-machine.h: Likewise.
1627         * sysdeps/x86_64/dl-machine.h: Likewise.
1628
1629         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1630         code.
1631         (verify_persistent_db): Likewise.
1632
1633 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1634
1635         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1636         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1637         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1638         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1639         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1640         Moved ...
1641         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1642         ... here.
1643         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1644         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1645         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1646         Identical file removed.
1647         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1648         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1649         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1650         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1651         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1652         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1653         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1654         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1655         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1656         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1657         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1658         Moved ...
1659         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1660         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1661         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1662         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1663         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1664         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1665         Moved ...
1666         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1667         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1668         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1669         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1670         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1671         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1672         Identical file removed.
1673         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1674         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1675         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1676         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1677         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1678         Moved ...
1679         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1680         ... here.
1681         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1682         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1683         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1684         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1685         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1686         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1688         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1689         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1690         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1691         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1692         Moved ...
1693         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1694         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1695         Moved ...
1696         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1697         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1698         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1699         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1700         Moved ...
1701         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1702         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1703         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1704
1705         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1706         folded into ...
1707         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1708         * sysdeps/unix/sysv/linux/s390/Versions
1709         (libpthread: GLIBC_2.19): New version set.
1710         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1711         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1712         (librt: GLIBC_2.3.3): New version set.
1713         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1714         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1715         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1716         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1717         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1718         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1719         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1720         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1721         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1722         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1723         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1724         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1725         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1726         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1727         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1728         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1729         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1730         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1731         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1732         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1733         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1734         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1735         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1736         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1737         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1738         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1739         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1740         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1741         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1742         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1743         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1744         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1745         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1746         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1747         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1748         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1749         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1750         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1751         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1752         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1753         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1754         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1755         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1756         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1757         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1758
1759         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1760         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1761         (__libc_vfork): Define the function under this name.
1762         [!NOT_IN_libc] (__vfork): Make this an alias.
1763         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1764         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1765         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1766         (__libc_vfork): Define the function under this name.
1767         [!NOT_IN_libc] (__vfork): Make this an alias.
1768         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1769         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1770         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1771         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1772         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1773         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1774
1775         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1776         code that was previously under [RESET_PID].
1777         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1778         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1779         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1780
1781         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1782         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1783         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1784         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1785         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1786         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1787         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1788         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1789         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1790         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1791         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1792         Moved ...
1793         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1794         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1795         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1796         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1797         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1798         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1799         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1800         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1801         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1802         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1803         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1804         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1805         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1806         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1807         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1808         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1809         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1810         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1811         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1812         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1813         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1814         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1815         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1816         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1817         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1818         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1819         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1820         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1821         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1822
1823 2014-06-25  Roland McGrath  <roland@hack.frob.com>
1824
1825         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1826         that was previously under [RESET_PID].
1827         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1828
1829 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1830
1831         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1832         not undefine and redefine.
1833         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1834         [O_CLOEXEC]: Make code unconditional.
1835         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1836         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1837         <kernel-features.h>.
1838         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1839         conditional variable definition.
1840         (shm_open) [O_CLOEXEC]: Make code unconditional.
1841         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1842         code.
1843
1844         * configure.ac (USE_REGPARMS): Don't define here.
1845         * configure: Regenerated.
1846         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1847         * sysdeps/i386/configure: Regenerated.
1848
1849         * nptl/createthread.c: Don't include kernel-features.h.
1850         * nptl/pthread_cancel.c: Likewise.
1851         * nptl/pthread_condattr_setclock.c: Likewise.
1852         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1853         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1854         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1855         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1856         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1857         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1858         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1859         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1860         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1861         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1862         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1863         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1864         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1865         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1866         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1867         * nscd/gai.c: Likewise.
1868         * nss/nss_db/db-open.c: Likewise.
1869         * sysdeps/generic/ldsodefs.h: Likewise.
1870         * sysdeps/sh/nptl/tls.h: Likewise.
1871         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1872         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1873         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1874         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1875         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1876         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1877         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1878         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1879         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1880         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1881         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1882         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1883         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1884         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1885         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1886         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1887         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1888         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1889         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1890         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1891         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1892         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1893         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1894         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1895         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1896         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1897         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1898         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1899         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1900         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1901         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1902         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1903         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1904         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1905         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1906         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1907         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1908         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1909         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1910         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1911         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1912         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1913         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1914         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1915         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1916         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1917         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1918         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1919         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1920         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1921         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1922         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1923         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1924         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1925         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1926         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1927         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1928         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1951         * sysdeps/unix/sysv/linux/pread.c: Likewise.
1952         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1953         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1954         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1955         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1956         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1957         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1958         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1959         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1960         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1961         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1962         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1963         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1964         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1965         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1966         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1967         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1968         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1969         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1970         * sysdeps/unix/sysv/linux/system.c: Likewise.
1971         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1972         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1973         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1974         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1975         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1976         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1977         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1978
1979         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1980         * configure: Regenerated.
1981         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1982
1983         * configure.ac (base_machine): Do not set specially for particular
1984         machines here.
1985         * configure: Regenerated.
1986         * sysdeps/powerpc/preconfigure: Move machine and base_machine
1987         settings from configure.ac.
1988         * sysdeps/i386/preconfigure: New file.
1989         * sysdeps/s390/preconfigure: Likewise.
1990         * sysdeps/sh/preconfigure: Likewise.
1991         * sysdeps/sparc/preconfigure: Likewise.
1992
1993 2014-06-25  Roland McGrath  <roland@hack.frob.com>
1994
1995         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1996         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1997         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1998         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1999         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2000         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2001         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2002         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2003         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2004         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2005         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2006         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2007         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2008         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2009         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2010         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2011         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2012         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2013         * sysdeps/sparc/sparc64/Makefile: ... appended here.
2014
2015         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2016         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2017         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2018         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2019         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2020         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2021         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2022         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2023         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2024         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2025         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2026         * sysdeps/sparc/sparc32/sem_post.c: ... here.
2027         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2028         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2029         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2030         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2031         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2032         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2033         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2034         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2035         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2036         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2037         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2038         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2039         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2040         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2041         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2042         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2043         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2044         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2045         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2046         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2047         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2048         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2049         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2050         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2051         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2052         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2053
2054         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2055         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2056         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2057         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2058         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2059         Moved ...
2060         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2061         ... here.
2062         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2063         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2064         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2065         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2066         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2067         Moved ...
2068         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2069         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2070         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2071         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2072         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2073         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2074         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2075         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2076         Moved ...
2077         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2078         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2079         Moved ...
2080         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2081         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2082         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2083         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2084         Moved ...
2085         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2086         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2087         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2088         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2089         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2090         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2091         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2092         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2093         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2094         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2095         Moved ...
2096         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2097         ... here.
2098         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2099         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2100         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2101         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2102         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2103         Moved ...
2104         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2105         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2106         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2107         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2108         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2109         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2110         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2111         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2112         Moved ...
2113         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2114         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2115         Moved ...
2116         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2117         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2118         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2119         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2120         Moved ...
2121         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2122         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2123         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2124         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2125         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2126
2127 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2128
2129         * timezone/checktab.awk: Update from tzcode 2014e.
2130         * timezone/private.h: Likewise.
2131         * timezone/tzfile.h: Likewise.
2132         * timezone/zdump.c: Likewise.
2133         * timezone/zic.c: Likewise.
2134
2135         * sysdeps/unix/sysv/linux/kernel-features.h
2136         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2137         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2138         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2139         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2140         Remove conditional code.
2141
2142 2014-06-25  Will Newton  <will.newton@linaro.org>
2143
2144         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2145         (_dl_arm_cap_flags): Add HWCAP2 values.
2146         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2147         (_DL_HWCAP_COUNT): Increase to 37.
2148         (_DL_HWCAP_LAST): New define.
2149         (_DL_HWCAP2_LAST): New define.
2150         (_dl_procinfo): Add support for printing
2151         AT_HWCAP2 entries.
2152         (_dl_string_hwcap): Use _dl_hwcap_string.
2153
2154 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2155
2156         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2157
2158 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2159
2160         * README: Do not mention ports directory.
2161
2162         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2163         Remove macro.
2164         * sysdeps/unix/sysv/linux/futimes.c: Do not include
2165         <kernel-features.h>.
2166         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2167         conditional variable definition.
2168         (__futimes): Update comment.
2169         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2170         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2171
2172         [BZ #16560]
2173         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2174         arguments close to 0.
2175         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2176         Likewise.
2177         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2178         Likewise.
2179         * math/auto-libm-test-in: Add more tests of exp10.
2180         * math/auto-libm-test-out: Regenerated.
2181         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2182
2183         * sysdeps/unix/sysv/linux/kernel-features.h
2184         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2185         * sysdeps/unix/sysv/linux/readv.c: Do not include
2186         <kernel-features.h>.
2187         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2188         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2189         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2190         unconditional.
2191         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2192         conditional code.
2193         * sysdeps/unix/sysv/linux/writev.c: Do not include
2194         <kernel-features.h>.
2195         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2196         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2197         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2198         unconditional.
2199         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2200         conditional code.
2201
2202 2014-06-25  Will Newton  <will.newton@linaro.org>
2203
2204         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2205         comment changes throughout the file.  Remove checks
2206         for HAVE_*_H definitions that are not required.
2207         (__gen_tempname): Call abort if an unknown kind value is
2208         passed.
2209
2210 2014-06-25  Andreas Schwab  <schwab@suse.de>
2211
2212         [BZ #17086]
2213         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2214         scalbln, scalblnf, scalblnl in libc.
2215
2216 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2217
2218         [BZ #17086]
2219         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2220         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2221         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2222
2223 2014-06-24  Roland McGrath  <roland@hack.frob.com>
2224
2225         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2226         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2227         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2228         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2229         Update #include.
2230         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2231         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2232         Update #include.
2233         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2234         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2235         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2236         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2237         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2238         * sysdeps/x86/bits/pthreadtypes.h: ... here.
2239         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2240         * sysdeps/x86/bits/semaphore.h: ... here.
2241         * sysdeps/x86/nptl/elide.h: Moved ...
2242         * sysdeps/x86/elide.h: ... here.
2243         * sysdeps/x86_64/nptl/Implies: File removed.
2244         * sysdeps/i386/nptl/Implies: File removed.
2245
2246 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
2247
2248         [BZ #16539]
2249         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2250         return the argument for normal arguments with exponent below -64.
2251         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2252         Likewise.
2253         * math/auto-libm-test-in: Add another test of expm1.
2254         * math/auto-libm-test-out: Regenerated.
2255
2256         [BZ #16287]
2257         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2258         calling __erfcl for arguments at least 16.
2259         * math/auto-libm-test-in: Add more tests of erf.
2260         * math/auto-libm-test-out: Regenerated.
2261
2262         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2263         individual architectures.
2264         * sysdeps/unix/sysv/linux/configure: Regenerated.
2265         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2266         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2267         * sysdeps/unix/sysv/linux/powerpc/configure.ac
2268         (ldd_rewrite_script): Define variable.
2269         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2271         file.
2272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2273         generated file.
2274         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2275         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2276         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2277         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2278         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2279         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2280         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2281         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2282
2283 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2284
2285         [BZ #17084]
2286         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2287         Rename member __data.d to __data.__elision_data.
2288
2289 2014-06-24  Wilco  <wdijkstr@arm.com>
2290
2291         * NEWS: Add 16918 to fixed bug list.
2292
2293 2014-06-24  Wilco  <wdijkstr@arm.com>
2294
2295         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2296
2297 2014-06-24  Wilco  <wdijkstr@arm.com>
2298
2299         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2300         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2301         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2302         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2303         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2304         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2305         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2306         Use _FPU_MASK_RM.
2307
2308 2014-06-24  Wilco  <wdijkstr@arm.com>
2309
2310         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2311
2312 2014-06-24  Wilco  <wdijkstr@arm.com>
2313
2314         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2315         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2316         * sysdeps/arm/fesetround.c (fesetround): Remove space.
2317         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2318
2319 2014-06-24  Wilco  <wdijkstr@arm.com>
2320
2321         [BZ #16918]
2322         * sysdeps/arm/feupdateenv.c (feupdateenv):
2323         Rewrite to reduce FPSCR accesses and fix return value.
2324
2325 2014-06-24  Wilco  <wdijkstr@arm.com>
2326
2327         * sysdeps/arm/fclrexcpt.c (feclearexcept):
2328         Optimize to avoid unnecessary FPSCR writes.
2329         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2330         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2331         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2332         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2333
2334 2014-06-24  Wilco  <wdijkstr@arm.com>
2335
2336         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2337         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2338         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2339         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2340         Call libc_fetestexcept_vfp.
2341         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2342         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2343         __SOFTFP__ ifdef so that they can be built for softfp.
2344
2345 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2346
2347         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2348         argument type signed char.
2349
2350         * Makerules (check-abi): Dump diff of symlist if the test
2351         fails.
2352
2353 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2354
2355         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2356         using abort.
2357
2358         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2359         Remove unused variable ST.
2360
2361 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
2362
2363         [BZ #16354]
2364         [BZ #17061]
2365         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2366         small arguments before calling __expm1.
2367         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2368         small arguments before calling __expm1f.
2369         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2370         small arguments before calling __expm1l.
2371         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2372         Likewise.
2373         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2374         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
2375         spurious underflow for some cosh tests.
2376         * math/auto-libm-test-out: Regenerated.
2377         * sysdeps/i386/fpu/libm-test-ulps: Update.
2378
2379         [BZ #17050]
2380         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2381         (__ieee754_y1): Set errno if return value overflows.
2382         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2383         (__ieee754_y1f): Set errno if return value overflows.
2384         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2385         (__ieee754_y1l): Set errno if return value overflows.
2386         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2387         (__ieee754_y1l): Set errno if return value overflows.
2388         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2389         * math/auto-libm-test-out: Regenerated.
2390
2391         * math/gen-auto-libm-tests.c: Document use of
2392         ignore-zero-inf-sign.
2393         (input_flag_type): Add value flag_ignore_zero_inf_sign.
2394         (input_flags): Add ignore-zero-inf-sign.
2395         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2396         * math/gen-libm-test.pl (generate_testfile): Handle
2397         ignore-zero-inf-sign.
2398         * math/auto-libm-test-in: Mark some cpow tests with
2399         ignore-zero-inf-sign and some with xfail-rounding.
2400         * math/auto-libm-test-out: Regenerated.
2401         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2402         * sysdeps/i386/fpu/libm-test-ulps: Update.
2403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2404
2405         [BZ #16315]
2406         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2407         overflowing or underflowing operations take place with sign of
2408         result.
2409         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2410         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2411         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2412         (__ieee754_pow): Recompute overflowing and underflowing results in
2413         original rounding mode.
2414         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2415         (__powl_helper): Allow negative argument X and scale negated value
2416         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
2417         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2418         overflowing or underflowing operations take place with sign of
2419         result.
2420         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2421         Include <math.h>.
2422         * math/auto-libm-test-in: Add more tests of pow.
2423         * math/auto-libm-test-out: Regenerated.
2424         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2425         (pow_tonearest_test_data): Remove.
2426         (pow_test_tonearest): Likewise.
2427         (pow_towardzero_test_data): Likewise.
2428         (pow_test_towardzero): Likewise.
2429         (pow_downward_test_data): Likewise.
2430         (pow_test_downward): Likewise.
2431         (pow_upward_test_data): Likewise.
2432         (pow_test_upward): Likewise.
2433         (main): Don't call removed functions.
2434         * sysdeps/i386/fpu/libm-test-ulps: Update.
2435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2436
2437 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2438
2439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2440         Moved ...
2441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2443         Moved ...
2444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2446         Moved ...
2447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2449         Moved ...
2450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2452         File removed.
2453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2454         File removed.
2455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2456         File removed.
2457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2458         File removed.
2459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2460         File removed.
2461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2462         File removed.
2463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2464         File removed.
2465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2466         File removed.
2467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2468         File removed.
2469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2470         File removed.
2471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2472         File removed.
2473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2474         File removed.
2475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2476         Moved ...
2477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2479         Moved ...
2480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2481         ... here.
2482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2483         Moved ...
2484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2486         Moved ...
2487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2489         Moved ...
2490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2492         Moved ...
2493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2495         Moved ...
2496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2498         Moved ...
2499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2501         Moved ...
2502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2505         ... here.
2506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2507         Moved ...
2508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2510         Moved ...
2511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2512         ... here.
2513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2514         Moved ...
2515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2516         ... here.
2517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2518         Moved ...
2519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2520         ... here.
2521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2522         Moved ...
2523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2525         Moved ...
2526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2530         Moved ...
2531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2532         ... here.
2533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2534         Moved ...
2535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2536         ... here.
2537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2538         Moved ...
2539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2541         Moved ...
2542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2544         Moved ...
2545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2547         Moved ...
2548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2550         Moved ...
2551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2552         ... here.
2553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2554         Moved ...
2555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2557         Moved ...
2558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2560         Moved ...
2561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2563         Moved ...
2564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2568         Moved ...
2569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2571         Moved ...
2572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2574         Moved ...
2575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2576         ... here.
2577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2578         Moved ...
2579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2580         ... here.
2581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2582         Moved ...
2583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2584         ... here.
2585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2586         Moved ...
2587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2589         Moved ...
2590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2592         Moved ...
2593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2595         Moved ...
2596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2597         ... here.
2598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2599         Moved ...
2600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2601         ... here.
2602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2603         Moved ...
2604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2605         ... here.
2606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2607         Moved ...
2608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2610         Moved ...
2611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2612
2613 2014-06-23  Will Newton  <will.newton@linaro.org>
2614             Wilco  <wdijkstr@arm.com>
2615
2616         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2617         implementation.  Include get-rounding-mode.h.
2618         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2619         [!libc_feholdsetround_noex_ctx]: Define
2620         libc_feholdsetround_noex_ctx.
2621         [!libc_feholdsetround_noexf_ctx]: Define
2622         libc_feholdsetround_noexf_ctx.
2623         [!libc_feholdsetround_noexl_ctx]: Define
2624         libc_feholdsetround_noexl_ctx.
2625         (libc_feholdsetround_ctx): New function.
2626         (libc_feresetround_ctx): New function.
2627         (libc_feholdsetround_noex_ctx): New function.
2628         (libc_feresetround_noex_ctx): New function.
2629
2630 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2631
2632         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2633         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2634         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2635         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2636         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2637         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2638
2639         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2640         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2641         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2642         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2643         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2644         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2645         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2646         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2647         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2648         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2649         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2650         Moved ...
2651         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2652         ... here.
2653         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2654         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2655         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2656         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2657         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2658         Moved ...
2659         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2660         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2661         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2662         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2663         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2664         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2665         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2666         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2667         Moved ...
2668         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2669         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2670         Moved ...
2671         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2672         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2673         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2674         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2675         Moved ...
2676         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2677         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2678         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2679         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2680         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2681         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2682         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2683         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2684         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2685         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2686         Moved ...
2687         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2688         ... here.
2689         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2690         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2691         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2692         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2693         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2694         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2695         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2696         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2697         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2698         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2699         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2700         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2701         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2702         Moved ...
2703         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2704         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2705         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2706         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2707         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2708         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2709         Moved ...
2710         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2711         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2712         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2713         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2714         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2715
2716         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2717         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2718         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2719         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2720         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2721         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2722         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2723         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2724         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2725         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2726         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2727         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2728         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2729         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2730         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2731         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2732         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2733         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2734         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2735         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2736         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2737         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2738         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2739         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2740         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2741         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2742         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2743         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2744
2745 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
2746
2747         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2748         (FALLOC_FL_COLLAPSE_RANGE): New macro.
2749         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2750         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2751         (IPV6_PMTUDISC_INTERFACE): Likewise.
2752         (IPV6_PMTUDISC_OMIT): Likewise.
2753
2754 2014-06-23  Andreas Schwab  <schwab@suse.de>
2755
2756         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2757         Remove unused errout label.
2758
2759 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2760
2761         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2762         macro: hardware supports Vector Crypto instructions.
2763
2764 2014-06-23  Will Newton  <will.newton@linaro.org>
2765
2766         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2767         rather than __builtin_expect.
2768
2769         * elf/dl-lookup.c (undefined_msg): Remove variable.
2770         (_dl_lookup_symbol_x): Replace undefined_msg with string
2771         literal.
2772
2773         * elf/dl-lookup.c (do_lookup_unique): New function.
2774         (do_lookup_x): Move STB_GNU_UNIQUE handling code
2775         to a separate function.
2776
2777 2014-06-23  Andreas Schwab  <schwab@suse.de>
2778
2779         [BZ #17079]
2780         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2781         before reading the next line.
2782
2783 2014-06-23  Will Newton  <will.newton@linaro.org>
2784
2785         * test-skeleton.c (signal_handler): Use printf and %m
2786         rather than perror.  Use printf rather than fprintf to
2787         stderr.  Use puts rather than fputs to stderr.
2788         (main): Likewise.
2789
2790 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
2791
2792         * nscd/nscd.c (thread_info_t): Remove typedef.
2793         (thread_info): Remove variable.
2794
2795 2014-06-21  Allan McRae  <allan@archlinux.org>
2796
2797         * NEWS: Mention CVE-2014-4043.
2798
2799 2014-06-20  Roland McGrath  <roland@hack.frob.com>
2800
2801         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2802         * nptl/smp.h: ... here.
2803
2804         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2805
2806         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2807         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2808         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2809         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2810
2811         * nptl/allocatestack.c: Include <stack-aliasing.h>.
2812         * nptl/stack-aliasing.h: New file.
2813         * sysdeps/i386/i686/stack-aliasing.h: New file.
2814         * sysdeps/i386/i686/nptl/Makefile: File removed.
2815         * sysdeps/x86_64/stack-aliasing.h: New file.
2816         * sysdeps/x86_64/nptl/Makefile
2817         (CFLAGS-pthread_create.c): Variable removed.
2818
2819         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2820         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2821         old file.
2822         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2823         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2824         old file.
2825
2826 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
2827
2828         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2829         (__ASSUME_SIGFRAME_V2): Remove macro.
2830         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2831         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2832         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2833         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2834         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2835         Declare as function.  Remove conditional macro definitions.
2836         (__default_rt_sa_restorer): Likewise.
2837         (__default_sa_restorer_v1): Remove declaration.
2838         (__default_sa_restorer_v2): Likewise.
2839         (__default_rt_sa_restorer_v1): Likewise.
2840         (__default_rt_sa_restorer_v2): Likewise.
2841         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2842         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2843         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2844
2845 2014-06-20  Roland McGrath  <roland@hack.frob.com>
2846
2847         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2848         (libpthread-routines): Add sysdep.
2849         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2850         * sysdeps/unix/sysv/linux/sparc/Versions
2851         (libpthread: GLIBC_2.3.3): New version set.
2852         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2853         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2854         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2855         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2856         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
2857         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2858         Moved ...
2859         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2860         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2861         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2862         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2863         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2864         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2865         * sysdeps/sparc/nptl/sem_init.c: ... here.
2866         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2867         * sysdeps/sparc/nptl/sem_post.c: ... here.
2868         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2869         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2870         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2871         * sysdeps/sparc/nptl/sem_wait.c: ... here.
2872         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2873         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2874         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2875         (libpthread-routines): Add cpu_relax.
2876         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2877         File removed.
2878         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2879         (librt: GLIBC_2.3.3): New version set.
2880         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2881         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2882         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2883         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2884         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2885         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2886         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2887         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2888         Moved ...
2889         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2890         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2891         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2892         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2893         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2894         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2895         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2896         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2897         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2898         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2899         Moved ...
2900         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2901         Update #include.
2902         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2903         Moved ...
2904         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2905         Update #include.
2906         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2907         Moved ...
2908         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2909         Update #include.
2910         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2911         Moved ...
2912         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2913         Update #include.
2914         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2915         Moved ...
2916         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2917         Update #include.
2918         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2919         Moved ...
2920         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2921         Update #include.
2922         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2923         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2924         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2925         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2926         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2927         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2928         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2929         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2930         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2931         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2932         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2933         Moved ...
2934         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2935         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2936         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2937         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2938         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2939
2940 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2941
2942         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2943         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2944         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2945         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2946         * nscd/nscd.c: Likewise.
2947         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2948         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2949         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2950         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2951
2952         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2953         <kernel-features.h>.
2954         (init_mq_netlink): Remove conditional have_sock_cloexec
2955         definitions.  Remove code conditional on have_sock_cloexec < 0.
2956         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2957         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2958         * sysdeps/unix/sysv/linux/opensock.c: Do not include
2959         <kernel-features.h>.
2960         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2961         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2962
2963 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2964
2965         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2966         Add tests for memset_chk and memset.
2967
2968         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2969         with AVX2_Usable.
2970
2971 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
2972
2973         [BZ #16046]
2974         * elf/tst-dl-iter-static.c: New file.
2975         * elf/Makefile (tests-static): Add tst-dl-iter-static.
2976
2977         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2978         error.
2979
2980 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2981
2982         * sysdeps/unix/sysv/linux/kernel-features.h
2983         (__ASSUME_F_GETOWN_EX): Remove macro.
2984         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2985         <kernel-features.h>.
2986         (miss_F_GETOWN_EX): Remove variable or macro.
2987         (do_fcntl): Do not check miss_F_GETOWN_EX.
2988         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2989
2990         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2991         Remove macro.
2992         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2993         [!__ASSUME_AT_RANDOM]: Remove conditional code.
2994         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2995
2996         * sysdeps/unix/sysv/linux/kernel-features.h
2997         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2998         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2999         [ADJ_OFFSET_SS_READ]: Make code unconditional.
3000         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3001
3002 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3003
3004         [BZ #17075]
3005         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3006         Fix calculation of the symbol's value.
3007         * sysdeps/arm/tst-armtlsdescloc.c: New file.
3008         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3009         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3010         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3011         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3012         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3013         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3014         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3015         (modules-names): Add `tst-armtlsdescmod',
3016         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3017         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3018         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3019         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3020         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3021         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3022         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3023         ($(objpfx)tst-armtlsdescloc): New dependency.
3024         ($(objpfx)tst-armtlsdescextnow): Likewise.
3025         ($(objpfx)tst-armtlsdescextlazy): Likewise.
3026         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3027         TLS scheme support.
3028         * sysdeps/arm/configure: Regenerate.
3029
3030 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3031
3032         * include/fcntl.h (__atfct_seterrno): Remove prototype.
3033         (__atfct_seterrno_2): Likewise.
3034         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3035         <kernel-features.h>.
3036         (__ASSUME_ATFCTS): Do not undefine and redefine.
3037         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3038         (__have_atfcts): Remove conditional definition.
3039         (__fxstatat([__NR_fstatat64]: Make code unconditional.
3040         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3041         unreachable if [__ASSUME_ATFCTS].
3042         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3043         not undefine and redefine.
3044         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3045         <kernel-features.h>.
3046         (faccessat) [__NR_faccessat]: Make code unconditional.
3047         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3048         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3049         <kernel-features.h>.
3050         (fchmodat) [__NR_fchmodat]: Make code unconditional.
3051         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3052         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3053         <kernel-features.h>.
3054         (fchownat) [__NR_fchownat]: Make code unconditional.
3055         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3056         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3057         <kernel-features.h>.
3058         (futimesat) [__NR_futimesat]: Make code unconditional.
3059         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3060         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3061         <kernel-features.h>.
3062         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3063         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3064         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3065         <kernel-features.h>.
3066         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3067         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3068         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3069         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3070         <kernel-features.h>.
3071         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3072         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3073         * sysdeps/unix/sysv/linux/linkat.c: Do not include
3074         <kernel-features.h>.
3075         (linkat) [__NR_linkat]: Make code unconditional.
3076         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3077         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3078         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3079         <kernel-features.h>.
3080         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3081         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3082         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3083         <kernel-features.h>.
3084         (mkdirat) [__NR_mkdirat]: Make code unconditional.
3085         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3086         * sysdeps/unix/sysv/linux/openat.c: Do not include
3087         <kernel-features.h>.
3088         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3089         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3090         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3091         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3092         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3093         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3094         <kernel-features.h>.
3095         (readlinkat) [__NR_readlinkat]: Make code unconditional.
3096         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
3097         result of INLINE_SYSCALL directly, not via int variable.
3098         * sysdeps/unix/sysv/linux/renameat.c: Do not include
3099         <kernel-features.h>.
3100         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3101         (renameat) [__NR_renameat]: Make code unconditional.
3102         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3103         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3104         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3105         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3106         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3107         (__ASSUME_ATFCTS): Do not undefine and redefine.
3108         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3109         <kernel-features.h>.
3110         (symlinkat) [__NR_symlinkat]: Make code unconditional.
3111         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3112         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3113         <kernel-features.h>.
3114         (unlinkat) [__NR_unlinkat]: Make code unconditional.
3115         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3116         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3117         (__ASSUME_ATFCTS): Do not undefine and redefine.
3118         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3119         <kernel-features.h>.
3120         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3121         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3122         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3123         <kernel-features.h>.
3124         (__xmknodat) [__NR_mknodat]: Make code unconditional.
3125         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3126
3127 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3128
3129         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3130
3131 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
3132
3133         [BZ #17069]
3134         * posix/regcomp.c (parse_reg_exp): Deallocate partially
3135         constructed tree before returning error.
3136         * posix/bug-regexp36.c: Expand test case.
3137
3138 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3139
3140         [BZ #6803]
3141         * math/libm-test.inc (scalbln_test_date):
3142         Add errno expectations.
3143         * math/w_scalblnf.c: New File.
3144         Add wrapper which checks for setting errno to ERANGE.
3145         Add weak_alias for corresponding scalbln function.
3146         * math/w_scalbln.c: Likewise.
3147         * math/w_scalblnl.c: Likewise.
3148         * math/Makefile (libm-calls): Add w_scalbln.
3149         * sysdeps/ieee754/flt-32/s_scalblnf.c:
3150         Remove weak_alias for corresponding scalbln function.
3151         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3152         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3153         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3154         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3155         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3156         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3157         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3158         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3159         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3160         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3161         Remove long_double_symbol for scalblnl function in libm, libc.
3162         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3163         Add wrapper which checks for setting errno to ERANGE.
3164         Add long_double_symbol for scalblnl function in libm, libc.
3165         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3166         Remove long_double_symbol for scalblnl in libm.
3167         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3168         Add wrapper which checks for setting errno to ERANGE.
3169         Add long_double_symbol for scalblnl function in libm.
3170         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3171         Do not use wrapper because of own implementation.
3172
3173 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
3174
3175         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3176         3 bytes for __pad1 for x32.
3177         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3178
3179 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
3180             H.J. Lu  <hongjiu.lu@intel.com>
3181
3182         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3183         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3184         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3185         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3186         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3187
3188 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
3189
3190         [BZ #17069]
3191         * posix/regcomp.c (parse_expression): Deallocate partially
3192         constructed tree before returning error.
3193         * posix/Makefile.c (tests): Add bug-regex36.
3194         (generated): Add bug-regex36.mtrace.
3195         (tests-special): Add $(objpfx)bug-regex36-mem.out
3196         (bug-regex36-ENV): New variable.
3197         ($(objpfx)bug-regex36-mem.out): New rule.
3198         * posix/bug-regex36.c: New file.
3199
3200 2014-06-19  Will Newton  <will.newton@linaro.org>
3201
3202         * malloc/malloc.c (systrim): If extra is zero then return
3203         early.
3204
3205 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3206
3207         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3208
3209 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
3210
3211         * sysdeps/aarch64/strchr.S: New file.
3212
3213 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3214
3215         [BZ #17022]
3216         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3217         from arguments -2 or below.
3218         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3219         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3220
3221 2014-06-18  Andreas Schwab  <schwab@suse.de>
3222
3223         [BZ #17062]
3224         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3225         of a bracket expr not to run off the end of the string.
3226         * posix/Makefile (tests): Add tst-fnmatch3.
3227         * posix/tst-fnmatch3.c: New file.
3228
3229 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3230
3231         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3232         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3233         [$(cross-compiling) = no]: Likewise.
3234         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3235         [$(cross-compiling) = no]: Likewise.
3236
3237 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3238
3239         [BZ #17031]
3240         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3241         double, adjusted for any remainder from the high double.
3242         * math/libm-test.inc (nearbyint): Add tests.
3243         (rint): Likewise.
3244
3245 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3246
3247         * nptl/sysdeps/powerpc/Makefile: Moved ...
3248         * sysdeps/powerpc/nptl/Makefile: ... here.
3249         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3250         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3251         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3252         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3253         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3254         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3255         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3256         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3257         * nptl/sysdeps/powerpc/tls.h: Moved ...
3258         * sysdeps/powerpc/nptl/tls.h: ... here.
3259
3260 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
3261
3262         [BZ #16681]
3263         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3264         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3265         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3266         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3267         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3268         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3269         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3270         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3271         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3272
3273 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
3274
3275         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3276
3277 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
3278
3279         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3280         defined operator.
3281
3282         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3283         $TIMEOUTFACTOR.
3284
3285 2014-06-16  Florian Weimer  <fweimer@redhat.com>
3286
3287         [BZ #17058]
3288         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3289         non-executed part of the test.
3290
3291 2014-06-16  Andreas Schwab  <schwab@suse.de>
3292
3293         * string/bits/string2.h (strdup, strndup): Update feature guard.
3294
3295 2014-06-14  David S. Miller  <davem@davemloft.net>
3296
3297         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3298
3299 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
3300
3301         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3302         that was previously under [RESET_PID].
3303         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3304
3305         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3306         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3307         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3308         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3309         (__libc_vfork): New strong alias.
3310         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3311
3312 2014-06-14 Andi Kleen  <ak@linux.intel.com>
3313
3314         * sysdeps/generic/elide.h: New file.
3315
3316 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3317
3318         * Makefile (installed-headers): Adjust path of pthread.h header.
3319
3320 2014-06-13  Roland McGrath  <roland@hack.frob.com>
3321
3322         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3323         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3324         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3325         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3326
3327         * nptl/sysdeps/s390/Makefile: Moved ...
3328         * sysdeps/s390/nptl/Makefile: ... here.
3329         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3330         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3331         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3332         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3333         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3334         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3335         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3336         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3337         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3338         * sysdeps/s390/nptl/pthreaddef.h: ... here.
3339         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3340         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3341         * nptl/sysdeps/s390/tls.h: Moved ...
3342         * sysdeps/s390/nptl/tls.h: ... here.
3343
3344         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3345         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3346
3347 2014-06-13  David S. Miller  <davem@davemloft.net>
3348
3349         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3350         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3351         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3352         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3353         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3354         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3355         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3356         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3357         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3358         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3359         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3360         Remove RESET_PID cpp guards.
3361         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3362         Remove RESET_PID cpp guards.
3363         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3364
3365 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
3366
3367         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3368         __sp to uintptr_t.
3369
3370 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3371
3372         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3373         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3374         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3375         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3376         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3377         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3378         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3379         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3380         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3381         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3382         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3383         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3384         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3385         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3386         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3387         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3388         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3389         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3390         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3391         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3392
3393         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3394         (pthread_rwlock_rdlock): Add elision.
3395         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3396         (pthread_rwlock_wrlock): Add elision.
3397         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3398         (pthread_rwlock_trywrlock): Add elision.
3399         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3400         (pthread_rwlock_tryrdlock): Add elision.
3401         * nptl/pthread_rwlock_unlock.c: Include elide.h.
3402         (pthread_rwlock_tryrdlock): Add elision unlock.
3403         * nptl/sysdeps/pthread/pthread.h:
3404         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3405         (PTHREAD_RWLOCK_INITIALIZER,
3406         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3407         Handle new elision field.
3408         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3409         * sysdeps/arm/nptl/bits/pthreadtypes.h
3410         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3411         * sysdeps/sh/nptl/bits/pthreadtypes.h
3412         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3413         * sysdeps/tile/nptl/bits/pthreadtypes.h
3414         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3415         * sysdeps/a/nptl/bits/pthreadtypes.h
3416         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3417         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3418         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3419         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3420         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3421         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3422         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3423         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3424         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3425         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3426         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3427         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3428         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3429         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3430         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3431         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3432         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3433         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3434         (elision_init): Set try_xbegin to zero when no RTM.
3435         * sysdeps/x86/nptl/bits/pthreadtypes.h
3436         (pthread_rwlock_t): Change __pad1 to __rwelision.
3437         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3438
3439 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3440
3441         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3442         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3443         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3444         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3445
3446 2014-06-13  Meador Inge  <meadori@codesourcery.com>
3447
3448         [BZ #16996]
3449         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3450         that the cached result has been set before returning it.
3451
3452 2014-06-12  Roland McGrath  <roland@hack.frob.com>
3453
3454         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3455         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3456         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3457         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3458         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3459         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3460
3461         * nptl/sysdeps/sparc/Makefile: Moved ...
3462         * sysdeps/sparc/nptl/Makefile: ... here.
3463         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3464         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3465         * nptl/sysdeps/sparc/tls.h: Moved ...
3466         * sysdeps/sparc/nptl/tls.h: ... here.
3467         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3468         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3469         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3470         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3471         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3472         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3473         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3474         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3475         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3476         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3477         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3478         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3479         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3480         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3481         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3482         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3483         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3484         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3485         Update #include.
3486         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3487         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3488         Update #include.
3489         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3490         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3491         Update #include.
3492         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3493         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3494         Update #include.
3495
3496         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3497
3498         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3499         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3500
3501         * sysdeps/pthread/posix-timer.h: Include <list.h>.
3502         (struct list_links): Type removed.
3503         (struct thread_node, struct timer_node): Replace struct list_links
3504         with struct list_head.
3505         (list_unlink_ip): Likewise.
3506         * sysdeps/pthread/timer_routines.c
3507         (timer_free_list, thread_free_list, thread_active_list): Likewise.
3508         (list_append, list_insbefore): Likewise.
3509         (list_init): Function removed.
3510         (thread_init, init_module): Use INIT_LIST_HEAD instead.
3511         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3512         * sysdeps/pthread/Makefile: ... here, new file.
3513
3514         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3515         * sysdeps/nptl/Implies: ... here.
3516         * sysdeps/unix/sysv/linux/Implies: Add nptl.
3517         * nptl/sysdeps/pthread/list.h: Moved ...
3518         * include/list.h: ... here.
3519         * nptl/sysdeps/pthread/createthread.c: Moved ...
3520         * nptl/createthread.c: ... here.
3521         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3522         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3523         * nptl/pt-longjmp.c: ... here.
3524         * nptl/sysdeps/pthread/Makefile: Moved ...
3525         * sysdeps/nptl/Makefile: ... here.
3526         * nptl/sysdeps/pthread/Subdirs: Moved ...
3527         * sysdeps/nptl/Subdirs: ... here.
3528         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3529         * sysdeps/nptl/aio_misc.h: ... here.
3530         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3531         * sysdeps/nptl/bits/libc-lock.h: ... here.
3532         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3533         * sysdeps/nptl/bits/libc-lockP.h: ... here.
3534         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3535         * sysdeps/nptl/bits/stdio-lock.h: ... here.
3536         * nptl/sysdeps/pthread/configure: Moved ...
3537         * sysdeps/nptl/configure: ... here.
3538         * nptl/sysdeps/pthread/configure.ac: Moved ...
3539         * sysdeps/nptl/configure.ac: ... here.
3540         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3541         * sysdeps/nptl/gai_misc.h: ... here.
3542         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3543         * sysdeps/nptl/librt-cancellation.c: ... here.
3544         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3545         * sysdeps/nptl/malloc-machine.h: ... here.
3546         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3547         * sysdeps/nptl/pthread-functions.h: ... here.
3548         * nptl/sysdeps/pthread/pthread.h: Moved ...
3549         * sysdeps/nptl/pthread.h: ... here.
3550         * nptl/sysdeps/pthread/setxid.h: Moved ...
3551         * sysdeps/nptl/setxid.h: ... here.
3552         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3553         * sysdeps/nptl/sigfillset.c: ... here.
3554         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3555         * sysdeps/nptl/tcb-offsets.h: ... here.
3556         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3557         * sysdeps/nptl/tst-mqueue8x.c: ... here.
3558         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3559         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3560         * nptl/sysdeps/pthread/allocalim.h: Moved ...
3561         * sysdeps/pthread/allocalim.h: ... here.
3562         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3563         * sysdeps/pthread/bits/sigthread.h: ... here.
3564         * nptl/sysdeps/pthread/flockfile.c: Moved ...
3565         * sysdeps/pthread/flockfile.c: ... here.
3566         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3567         * sysdeps/pthread/ftrylockfile.c: ... here.
3568         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3569         * sysdeps/pthread/funlockfile.c: ... here.
3570         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3571         * sysdeps/pthread/posix-timer.h: ... here.
3572         * nptl/sysdeps/pthread/timer_create.c: Moved ...
3573         * sysdeps/pthread/timer_create.c: ... here.
3574         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3575         * sysdeps/pthread/timer_delete.c: ... here.
3576         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3577         * sysdeps/pthread/timer_getoverr.c: ... here.
3578         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3579         * sysdeps/pthread/timer_gettime.c: ... here.
3580         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3581         * sysdeps/pthread/timer_routines.c: ... here.
3582         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3583         * sysdeps/pthread/timer_settime.c: ... here.
3584         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3585         * sysdeps/pthread/tst-timer.c: ... here.
3586         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3587         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3588
3589         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3590         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3591
3592         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3593         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3594         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3595         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3596         Update #include target.
3597         * nptl/sysdeps/i386/i686/Makefile: Moved ...
3598         * sysdeps/i386/i686/nptl/Makefile: ... here.
3599         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3600         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3601         Update #include target.
3602         * nptl/sysdeps/i386/i686/tls.h: Moved ...
3603         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
3604         * nptl/sysdeps/i386/Makefile: Moved ...
3605         * sysdeps/i386/nptl/Makefile: ... here.
3606         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3607         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3608         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3609         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3610         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3611         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3612         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3613         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3614         * sysdeps/i386/nptl/pthreaddef.h: ... here.
3615         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3616         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3617         * nptl/sysdeps/i386/tls.h: Moved ...
3618         * sysdeps/i386/nptl/tls.h: ... here.
3619
3620         * sysdeps/sh/Makefile [$(subdir) = csu]
3621         (gen-as-const-headers): Add tcb-offsets.sym.
3622         * nptl/sysdeps/sh/Makefile: File removed.
3623         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3624         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3625         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3626         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3627         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3628         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3629         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3630         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3631         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3632         * sysdeps/sh/nptl/pthreaddef.h: ... here.
3633         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3634         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3635         * nptl/sysdeps/sh/tls.h: Moved ...
3636         * sysdeps/sh/nptl/tls.h: ... here.
3637         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3638         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3639         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3640         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3641         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3642         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3643         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3644         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3645         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3646         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3647         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3648         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3649         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3650         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3651         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3652         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3653         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3654         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3655         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3656         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3657         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3658         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3659         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3660         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3661         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3662         Moved ...
3663         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3664         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3665         Moved ...
3666         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3667         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3668         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3669         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3670         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3671         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3672         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3673         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3674         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3675         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3676         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3677         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3678         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3679         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3680         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3681         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3682         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3683         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3684         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3685
3686 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3687
3688         * posix/spawn_faction_addopen.c: Include string.h.
3689
3690 2014-06-11  Roland McGrath  <roland@hack.frob.com>
3691
3692         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3693         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3694         * nptl/sysdeps/x86_64/Makefile: Moved ...
3695         * sysdeps/x86_64/nptl/Makefile: ... here.
3696         * nptl/sysdeps/x86_64/configure: Moved ...
3697         * sysdeps/x86_64/nptl/configure: ... here.
3698         * nptl/sysdeps/x86_64/configure.ac: Moved ...
3699         * sysdeps/x86_64/nptl/configure.ac: ... here.
3700         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3701         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3702         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3703         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3704         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3705         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3706         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3707         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3708         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3709         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3710         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3711         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3712         * nptl/sysdeps/x86_64/tls.h: Moved ...
3713         * sysdeps/x86_64/nptl/tls.h: ... here.
3714         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3715         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3716         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3717         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3718
3719         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3720
3721 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3722
3723         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3724
3725 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
3726
3727         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3728         type.
3729         [POSIX] (off_t): Likewise.
3730         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3731         [POSIX] (S_ISBLK): Require macro.
3732         [POSIX] (S_ISCHR): Likewise.
3733         [POSIX] (S_ISDIR): Likewise.
3734         [POSIX] (S_ISFIFO): Likewise.
3735         [POSIX] (S_ISREG): Likewise.
3736         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3737         optional-macro.
3738         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3739         type.
3740         [POSIX] (time_t): Likewise.
3741         [POSIX] (timer_t): Likewise.
3742
3743 2014-06-11  Florian Weimer  <fweimer@redhat.com>
3744
3745         [BZ #17048]
3746         * posix/spawn_int.h (struct __spawn_action): Make the path string
3747         non-const to support deallocation.
3748         * posix/spawn_faction_addopen.c
3749         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3750         * posix/spawn_faction_destroy.c
3751         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
3752         path in all spawn_do_open actions.
3753         * posix/tst-spawn.c (do_test): Exercise the copy operation in
3754         posix_spawn_file_actions_addopen.
3755
3756 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
3757
3758         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3759         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3760         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3761         conditional code always true.
3762         (__libc_vfork): New alias.
3763
3764 2014-06-11  Roland McGrath  <roland@hack.frob.com>
3765
3766         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3767         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3768
3769         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3770
3771         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3772         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3773
3774         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3775         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3776
3777         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3778         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3779
3780 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3781
3782         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3783         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3784         multiarch strcmp for PPC64.
3785         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3786         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3787         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3788         multiarch optimizations.
3789         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3790         (__libc_ifunc_impl_list): Likewise.
3791
3792 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3793
3794         * benchtests/scripts/validate_benchout.py: New script.
3795         * benchtests/Makefile (bench-func): Call it.
3796         * benchtests/scripts/benchout.schema.json: New file.
3797
3798 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
3799
3800         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3801         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3802         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3803         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3804         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3805         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3806         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3807         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3808         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3809         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3810         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3811         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3812         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3813         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3814         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3815         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
3817         Moved ...
3818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
3819         ... here.
3820         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
3821         Moved ...
3822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
3824         Moved ...
3825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
3826         ... here.
3827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
3828         Moved ...
3829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
3830         ... here.
3831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
3832         Moved ...
3833         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
3835         Moved ...
3836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
3837         ... here.
3838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
3839         Moved ...
3840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
3841         ... here.
3842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
3843         Moved ...
3844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
3846         Moved ...
3847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
3848         ... here.
3849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
3850         Moved ...
3851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
3852         ... here.
3853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
3854         Moved ...
3855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
3856         ... here.
3857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
3858         Moved ...
3859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
3861         Moved ...
3862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
3863         ... here.
3864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
3865         Moved ...
3866         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
3867         ... here.
3868         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
3869         Moved ...
3870         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
3871         ... here.
3872         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
3873         Moved ...
3874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3875         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
3876         Moved ...
3877         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
3878         ... here.
3879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
3880         Moved ...
3881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
3882         ... here.
3883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
3884         Moved ...
3885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3886         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
3887         Moved ...
3888         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
3889         ... here.
3890         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
3891         Moved ...
3892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3893         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
3894         Moved ...
3895         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
3897         Moved ...
3898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3899         ... here.
3900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
3901         Moved ...
3902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3903         ... here.
3904         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3905         Moved ...
3906         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3907         ... here.
3908         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3909         Moved ...
3910         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3912         Moved ...
3913         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3914         ... here.
3915         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3916         Moved ...
3917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3918         ... here.
3919         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3920         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3921         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3922         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3923         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3924         Moved ...
3925         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3926         ... here.
3927         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3928         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3929         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3930         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3931         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3932         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3933         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3934         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3935         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3936         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3937         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3938         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3939         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3940         Moved ...
3941         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3942         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3943         Moved ...
3944         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3945         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3946         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3947         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3948         Moved ...
3949         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3950         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3951         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3952         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3953         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3954         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3955         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3956
3957 2014-06-10  Wilco  <wdijkstr@arm.com>
3958
3959         * math/test-fenv-return.c: New file.
3960         * math/Makefile: Add new test test-fenv-return.
3961
3962 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
3963
3964         [BZ #17042]
3965         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3966         when x - 1 is zero.
3967         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3968         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3969         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3970         0.0L for an argument of 1.0L.
3971         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3972         Likewise.
3973         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3974         value when x - 1 is zero.
3975         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3976         * sysdeps/i386/fpu/libm-test-ulps: Update.
3977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3978
3979 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
3980
3981         [BZ #15119]
3982         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3983
3984 2014-06-09  Roland McGrath  <roland@hack.frob.com>
3985
3986         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3987         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3988
3989 2014-06-09  Roland McGrath  <roland@hack.frob.com>
3990
3991         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3992         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3993
3994         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3995         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3996
3997         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3998         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3999
4000         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4001         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4002
4003         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4004         if not already defined.
4005         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4006         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4007         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4008         (TLS_INIT_TP): Use it.
4009         (TLS_DEFINE_INIT_TP): New macro.
4010         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4011
4012 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
4013
4014         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4015         constant.
4016         [POSIX] (IXANY): Likewise.
4017         [POSIX] (OLCUC): Likewise.
4018         [POSIX || POSIX2008] (CBAUD): Do not allow.
4019         [POSIX || POSIX2008] (DEFECHO): Likewise.
4020         [POSIX || POSIX2008] (ECHOCTL): Likewise.
4021         [POSIX || POSIX2008] (ECHOKE): Likewise.
4022         [POSIX || POSIX2008] (ECHOPRT): Likewise.
4023         [POSIX || POSIX2008] (EXTA): Likewise.
4024         [POSIX || POSIX2008] (EXTB): Likewise.
4025         [POSIX || POSIX2008] (FLUSHO): Likewise.
4026         [POSIX || POSIX2008] (LOBLK): Likewise.
4027         [POSIX || POSIX2008] (PENDIN): Likewise.
4028         [POSIX || POSIX2008] (SWTCH): Likewise.
4029         [POSIX || POSIX2008] (VDISCARD): Likewise.
4030         [POSIX || POSIX2008] (VDSUSP): Likewise.
4031         [POSIX || POSIX2008] (VLNEXT): Likewise.
4032         [POSIX || POSIX2008] (VREPRINT): Likewise.
4033         [POSIX || POSIX2008] (VSTATUS): Likewise.
4034         [POSIX || POSIX2008] (VWERASE): Likewise.
4035         (B*): Change to B[0123456789]*.
4036         * conform/data/time.h-data [POSIX || UNIX98]
4037         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4038         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4039         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4040         [POSIX] (tm_*): Do not allow.
4041
4042 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
4043
4044         * Makefile (install): Don't set LANGUAGE.
4045         * Makefile.in (install): Likewise.
4046         * assert/Makefile (test-assert-ENV): Remove variable.
4047         (test-assert-perr-ENV): Likewise.
4048         * elf/Makefile (neededtest4-ENV): Likewise.
4049         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4050         [$(cross-compiling) = no]: Don't set LANGUAGE.
4051         * io/ftwtest-sh (LANG): Remove variable.
4052         * libio/Makefile (tst-widetext-ENV): Likewise.
4053         * manual/install.texi (Running make install): Don't refer to
4054         environment settings for make install.
4055         * INSTALL: Regenerated.
4056         * nptl/tst-tls6.sh: Don't set LANG.
4057         * posix/globtest.sh (LANG): Remove variable.
4058         * string/Makefile (tester-ENV): Likewise.
4059         (inl-tester-ENV): Likewise.
4060         (noinl-tester-ENV): Likewise.
4061         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4062         [$(cross-compiling) = no]: Don't set LANGUAGE.
4063         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4064         without explicit environment settings.
4065
4066 2014-06-06  Roland McGrath  <roland@hack.frob.com>
4067
4068         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4069         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4070         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4071         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4072
4073 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
4074
4075         * crypt/crypt-private.h [DOS]: Add some includes taken from the
4076         other files in the crypt directory.
4077         * crypt/crypt.c: Remove duplicate includes.
4078         * crypt/crypt-entry.c: Likewise.
4079         * crypt/crypt_util.c: Likewise.
4080
4081 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
4082
4083         * Makeconfig (run-program-env): New variable.
4084         (run-program-prefix-before-env): Likewise.
4085         (run-program-prefix-after-env): Likewise.
4086         (run-program-prefix): Define in terms of new variables.
4087         (built-program-cmd-before-env): New variable.
4088         (built-program-cmd-after-env): Likewise.
4089         (built-program-cmd): Define in terms of new variables.
4090         (test-program-prefix-before-env): New variable.
4091         (test-program-prefix-after-env): Likewise.
4092         (test-program-prefix): Define in terms of new variables.
4093         (test-program-cmd-before-env): New variable.
4094         (test-program-cmd-after-env): Likewise.
4095         (test-program-cmd): Define in terms of new variables.
4096         * Rules (make-test-out): Use $(run-program-env).
4097         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4098         (help): Do not mention environment variables.  Mention
4099         --timeoutfactor option.
4100         (timeoutfactor): New variable.
4101         (blacklist_exports): Remove function.
4102         (exports): Remove variable.
4103         (command): Do not include ${exports}.
4104         * manual/install.texi (Configuring and compiling): Do not mention
4105         test wrappers preserving environment variables.  Mention that last
4106         assignment to a variable must take precedence.
4107         * INSTALL: Regenerated.
4108         * benchtests/Makefile (run-bench): Use $(run-program-env).
4109         * catgets/Makefile ($(objpfx)test1.cat): Use
4110         $(built-program-cmd-before-env), $(run-program-env) and
4111         $(built-program-cmd-after-env).
4112         ($(objpfx)test2.cat): Do not specify environment variables
4113         explicitly.
4114         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4115         $(run-program-env) and $(built-program-cmd-after-env).
4116         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4117         $(run-program-env) and $(test-program-cmd-after-env).
4118         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4119         explicitly.
4120         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4121         run_program_env and test_program_cmd_after_env arguments.
4122         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4123         * elf/tst-pathopt.sh: Use run_program_env argument.
4124         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4125         $(test-wrapper-env) and $(run-program-env).
4126         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4127         run_program_env arguments.
4128         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4129         * intl/Makefile ($(objpfx)tst-gettext.out): Use
4130         $(test-program-prefix-before-env), $(run-program-env) and
4131         $(test-program-prefix-after-env).
4132         ($(objpfx)tst-gettext2.out): Likewise.
4133         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4134         run_program_env and test_program_prefix_after_env arguments.
4135         * intl/tst-gettext2.sh: Likewise.
4136         * intl/tst-gettext4.sh: Do not set environment variables
4137         explicitly.
4138         * intl/tst-gettext6.sh: Likewise.
4139         * intl/tst-translit.sh: Likewise.
4140         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4141         $(test-program-prefix-before-env), $(run-program-env) and
4142         $(test-program-prefix-after-env).
4143         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4144         run_program_env and test_program_prefix_after_env arguments.
4145         * math/Makefile (run-regen-ulps): Use $(run-program-env).
4146         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4147         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
4148         explicitly with each use of ${test_wrapper_env}.
4149         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4150         $(test-program-prefix-before-env), $(run-program-env) and
4151         $(test-program-prefix-after-env).
4152         * posix/tst-getconf.sh: Do not set environment variables
4153         explicitly.
4154         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4155         run_program_env and test_program_prefix_after_env arguments.
4156         * stdio-common/tst-printf.sh: Do not set environment variables
4157         explicitly.
4158         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4159         $(test-program-prefix-before-env), $(run-program-env) and
4160         $(test-program-prefix-after-env).
4161         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4162         run_program_env and test_program_prefix_after_env arguments.
4163         Split $test calls into $test_pre and $test.
4164         * timezone/Makefile (build-testdata): Use
4165         $(built-program-cmd-before-env), $(run-program-env) and
4166         $(built-program-cmd-after-env).
4167
4168 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4169
4170         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4171         strlen for non SHARED builds.
4172
4173 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4174
4175         * nptl/allocatestack.c (check_list): Inlined function...
4176         (__reclaim_stacks): ... here.
4177
4178 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4179
4180         [BZ #15698]
4181         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4182         memory overrun.
4183
4184 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
4185
4186         * Rules (make-test-out): Include
4187         LOCPATH=$(common-objpfx)localedata in default environment.
4188         * debug/Makefile (tst-chk1-ENV): Remove variable.
4189         (tst-chk2-ENV): Likewise.
4190         (tst-chk3-ENV): Likewise.
4191         (tst-chk4-ENV): Likewise.
4192         (tst-chk5-ENV): Likewise.
4193         (tst-chk6-ENV): Likewise.
4194         (tst-lfschk1-ENV): Likewise.
4195         (tst-lfschk2-ENV): Likewise.
4196         (tst-lfschk3-ENV): Likewise.
4197         (tst-lfschk4-ENV): Likewise.
4198         (tst-lfschk5-ENV): Likewise.
4199         (tst-lfschk6-ENV): Likewise.
4200         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4201         (tst-iconv7-ENV): Likewise.
4202         * intl/Makefile (LOCPATH-ENV): Likewise.
4203         (tst-codeset-ENV): Likewise.
4204         (tst-gettext3-ENV): Likewise.
4205         (tst-gettext5-ENV): Likewise.
4206         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4207         (tst-fopenloc-ENV): Likewise.
4208         (tst-fgetws-ENV): Remove variable.
4209         (tst-ungetwc1-ENV): Likewise.
4210         (tst-ungetwc2-ENV): Likewise.
4211         (bug-ungetwc2-ENV): Likewise.
4212         (tst-swscanf-ENV): Likewise.
4213         (bug-ftell-ENV): Likewise.
4214         (tst-fgetwc-ENV): Likewise.
4215         (tst-fseek-ENV): Likewise.
4216         (tst-ftell-partial-wide-ENV): Likewise.
4217         (tst-ftell-active-handler-ENV): Likewise.
4218         (tst-ftell-append-ENV): Likewise.
4219         * posix/Makefile (tst-fnmatch-ENV): Likewise.
4220         (tst-regexloc-ENV): Likewise.
4221         (bug-regex1-ENV): Likewise.
4222         (tst-regex-ENV): Likewise.
4223         (tst-regex2-ENV): Likewise.
4224         (bug-regex5-ENV): Likewise.
4225         (bug-regex6-ENV): Likewise.
4226         (bug-regex17-ENV): Likewise.
4227         (bug-regex18-ENV): Likewise.
4228         (bug-regex19-ENV): Likewise.
4229         (bug-regex20-ENV): Likewise.
4230         (bug-regex22-ENV): Likewise.
4231         (bug-regex23-ENV): Likewise.
4232         (bug-regex25-ENV): Likewise.
4233         (bug-regex26-ENV): Likewise.
4234         (bug-regex30-ENV): Likewise.
4235         (bug-regex32-ENV): Likewise.
4236         (bug-regex33-ENV): Likewise.
4237         (bug-regex34-ENV): Likewise.
4238         (bug-regex35-ENV): Likewise.
4239         (tst-rxspencer-ENV): Likewise.
4240         (tst-rxspencer-no-utf8-ENV): Likewise.
4241         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4242         (tst-sscanf-ENV): Likewise.
4243         (tst-swprintf-ENV): Likewise.
4244         (tst-swscanf-ENV): Likewise.
4245         (test-vfprintf-ENV): Likewise.
4246         (scanf13-ENV): Likewise.
4247         (bug14-ENV): Likewise.
4248         (tst-grouping-ENV): Likewise.
4249         * stdlib/Makefile (tst-strtod-ENV): Likewise.
4250         (tst-strtod3-ENV): Likewise.
4251         (tst-strtod4-ENV): Likewise.
4252         (tst-strtod5-ENV): Likewise.
4253         (testmb2-ENV): Likewise./
4254         * string/Makefile (tst-strxfrm-ENV): Likewise.
4255         (tst-strxfrm2-ENV): Likewise.
4256         (bug-strcoll1-ENV): Likewise.
4257         (test-strcasecmp-ENV): Likewise.
4258         (test-strncasecmp-ENV): Likewise.
4259         * time/Makefile (tst-strptime-ENV): Likewise.
4260         (tst-ftime_l-ENV): Likewise.
4261         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4262         (tst-mbrtowc-ENV): Likewise.
4263         (tst-wcrtomb-ENV): Likewise.
4264         (tst-mbrtowc2-ENV): Likewise.
4265         (tst-c16c32-1-ENV): Likewise.
4266         (tst-mbsnrtowcs-ENV): Likewise.
4267
4268 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4269
4270         * manual/resource.texi (How to get information about the memory
4271         subsystem?): Fix typo.
4272         Reported by Peon de la Parra Ivan <peon@keba.com>
4273
4274 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
4275
4276         [BZ #16882]
4277         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4278         (pthread_spin_lock): Branch out of spin loop to proper location.
4279         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4280         (pthread_spin_lock): Likewise.
4281
4282         * nptl/tst-spin4.c: New test.
4283         * nptl/Makefile (tests): Add tst-spin4.
4284
4285 2014-06-03  Andreas Schwab  <schwab@suse.de>
4286
4287         [BZ #15946]
4288         * resolv/res_send.c (send_dg): Reload file descriptor after
4289         calling reopen.
4290
4291 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
4292
4293         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4294
4295 2014-06-03  Richard Henderson  <rth@redhat.com>
4296
4297         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4298         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4299         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4300         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
4301         in the SAVE_PID block.
4302         (__libc_vfork): New alias.
4303         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4304
4305         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4306         child in registers, not on the stack.  Remove RESET_PID conditionals.
4307         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4308
4309 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4310
4311         * sysdeps/aarch64/libm-test-ulps: Regenerate.
4312
4313 2014-06-03  Wilco  <wdijkstr@arm.com>
4314
4315         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4316         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4317         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4318         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4319         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4320         Likewise.
4321
4322 2014-06-03  Wilco  <wdijkstr@arm.com>
4323
4324         * sysdeps/aarch64/fpu/math_private.h
4325         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4326         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4327         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4328         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4329         Fix declarations.
4330
4331 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4332
4333         * crypt/crypt-private.h: Include ufc-crypt.h.
4334         (__b64_from_24bit): Declare extern.
4335         * crypt/crypt_util.c(__b64_from_24bit): New function.
4336         (b64t): New static const variable.
4337         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4338         (b64t): Remove variable.
4339         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4340         * crypt/sha256-crypt.c: Include crypt-private.h.
4341         (b64t): Remove variable.
4342         (__sha256_crypt_r): Remove b64_from_24bit and replace
4343         with __b64_from_24bit.
4344         * crypt/sha512-crypt.c: Likewise.
4345
4346 2014-06-02  Roland McGrath  <roland@hack.frob.com>
4347
4348         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4349         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4350         Label the code __libc_vfork rather than __vfork.
4351         [!NOT_IN_libc] (vfork): Define as weak alias.
4352         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4353         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4354         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4355
4356 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4357
4358         * malloc/malloc.c (malloc_info): Fix format specifier for
4359         n_mmaps.
4360
4361 2014-06-02  Wilco  <wdijkstr@arm.com>
4362
4363         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4364         FPCR write.
4365
4366 2014-06-02  Wilco  <wdijkstr@arm.com>
4367
4368         [BZ #17009]
4369         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4370         Rewrite to reduce FPCR/FPSR accesses.
4371
4372 2014-06-01  David S. Miller  <davem@davemloft.net>
4373
4374         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4375
4376 2014-05-31  David S. Miller  <davem@davemloft.net>
4377
4378         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4379         to occur in round to nearest mode when |x| >= 2.0
4380
4381 2014-05-30  Richard Henderson  <rth@twiddle.net>
4382
4383         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4384         (PSEUDO_RET_NOERRNO): Remove.
4385         (ret): Don't redefine.
4386         (ret_NOERRNO): Define in terms of ret.
4387         (ret_ERRVAL): Likewise.
4388
4389         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4390         use of PSEUDO_RET; perform the error check directly.
4391
4392 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
4393
4394         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4395         with __int128_t.
4396
4397 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4398
4399         * malloc/malloc (malloc_info): Fix formatting.
4400
4401 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4402             Roland McGrath  <roland@hack.frob.com>
4403
4404         * malloc/malloc (malloc_info): Also print mmapped statistics.
4405
4406 2014-05-30  Roland McGrath  <roland@hack.frob.com>
4407
4408         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4409         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4410
4411 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
4412
4413         * malloc/malloc.c (malloc_info): Inline mi_arena.
4414
4415 2014-05-29  Richard Henderson  <rth@twiddle.net>
4416
4417         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4418         Remove comma before expanding ASM_ARGS_##nr.
4419         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4420         Make _x0 a strict output; make _x8 a strict input; adjust expansion
4421         of ASM_ARGS_##nr.
4422         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4423         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4424         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4425         (ASM_ARGS_1): Add leading comma.
4426
4427         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4428         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4429         to __errno_location.
4430         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4431         Remove the expected plt for __errno_location.
4432
4433         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4434         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4435         call to __read_tp.
4436
4437         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4438         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
4439         it and break it down.
4440         (DOCARGS_0, DOCARGS_1): Do nothing.
4441         (DOCARGS_2): Update to store into the new stack frame.
4442         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4443         (UNDOCARGS_1): Update to restore from the new stack frame.
4444         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4445         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4446
4447         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4448         (SINGLE_THREAD_P): New parameter for result regno.
4449         (PSEUDO): Update to match; use cbz instead of beq.
4450
4451         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4452         Use ENTRY to define the _nocancel entry point.  Share the syscall
4453         and syscall error check paths with the cancel path.
4454         (PSEUDO_END): New.
4455
4456         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4457         whitespace; tabs before and after asm mnemonics.
4458
4459 2014-05-29  Eric Wong  <normalperson@yhbt.net>
4460
4461         [BZ #15132]
4462         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4463         Call fstat64 or stat64 internally, depending on arguments passed.
4464         Replace stat buffer argument with file descriptor argument.
4465         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4466         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4467         Pass fd to __internal_statvfs instead of calling fstat64.
4468         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4469         Pass fd to __internal_statvfs64 instead of calling fstat64.
4470         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4471         Pass -1 to __internal_statvfs instead of calling stat64.
4472         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4473         Pass -1 to __internal_statvfs64 instead of calling stat64.
4474
4475 2014-05-28  Roland McGrath  <roland@hack.frob.com>
4476
4477         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4478         that was previously under [RESET_PID].
4479         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4480
4481         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4482         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4483
4484 2014-05-27  Roland McGrath  <roland@hack.frob.com>
4485
4486         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4487
4488         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4489         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4490
4491 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
4492
4493         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4494
4495 2014-05-27  Andreas Schwab  <schwab@suse.de>
4496
4497         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4498         TLS_INIT_TP macro.
4499         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4500         * elf/rtld.c (init_tls, dl_main): Likewise.
4501         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4502         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4503         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4504         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4505         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4506         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4507         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4508         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4509         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4510         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4511         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4512         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4513         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4514         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4515         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4516         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4517         * sysdeps/generic/tls.h: Update description.
4518
4519 2014-05-27  Will Newton  <will.newton@linaro.org>
4520
4521         [BZ #16990]
4522         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4523         and restore r2 rather than just restoring.
4524
4525 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4526
4527         [BZ #16724]
4528         * libio/tst-ftell-append.c: New test case.
4529         * libio/Makefile (tests): Add test case.
4530         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4531         append mode.
4532         * libio/wfileops.c (do_ftell_wide): Likewise.
4533
4534 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4535
4536         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4537
4538         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4539         ...
4540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4542         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4543         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4544         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4545         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4546         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4547         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4548         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4549         Moved ...
4550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4551         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4552         Moved ...
4553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4554         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4555         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4556         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4557         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4558         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4559         ...
4560         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4561         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4562         Moved ...
4563         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4564         here.
4565         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4566         ...
4567         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4568         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4569         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4570
4571         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4572         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4573         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4574         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4575
4576         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4577         merge into ...
4578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4579         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4580         ...
4581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4582         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4583         ...
4584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4585         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4586         Moved ...
4587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4588         here.
4589         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4590         Moved ...
4591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4592         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4593         Moved ...
4594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4595
4596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4597         conditional [RESET_PID].
4598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4599         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4600         removed.
4601         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4602         removed.
4603
4604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4605         <tcb-offsets.h>.
4606         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4607         (__libc_vfork): New strong alias.
4608         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4609         removed.
4610         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4611         Removed.
4612
4613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4614         <tcb-offsets.h>.
4615         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4616         (__libc_vfork): New strong alias.
4617         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4618         removed.
4619         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4620         removed.
4621
4622 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
4623
4624         * malloc/malloc.c (mi_arena): New function.
4625         (malloc_info): Remove nested function mi_arena. Call non-nosted
4626         function mi_arena.
4627
4628 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4629
4630         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4631         by insrwi.
4632         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4633         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4634         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4635         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4636         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4637         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4638         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4639
4640 2014-05-26  Andreas Schwab  <schwab@suse.de>
4641
4642         [BZ #16984]
4643         * locale/programs/repertoire.c (repertoire_read): Add slash
4644         between I18NPATH element and file name.
4645         * locale/programs/locfile.c (locfile_read): Likewise.
4646
4647 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4648
4649         * nptl/pthread_mutexattr_settype.c
4650         (__pthread_mutexattr_settype):
4651         Disable lock elision for PTHREAD_MUTEX_NORMAL.
4652
4653 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4654
4655         * nptl/tst-mutex5 (do_test):
4656         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4657
4658 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4659
4660         * benchtests/README: Document 'init' directive.
4661         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4662         BENCH_INIT.
4663         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4664         (parse_file): Recognize 'init' directive.
4665
4666 2014-05-26  Kyle McMartin  <kyle@redhat.com>
4667
4668         [BZ #16796]
4669         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4670         alignment of struct pthread.
4671
4672 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4673
4674         [BZ #16878]
4675         * nscd/netgroupcache.c (addgetnetgrentX): Look for
4676         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4677         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4678         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4679
4680 2014-05-25  Richard Henderson  <rth@twiddle.net>
4681
4682         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4683         (SINGLE_THREAD_P_PIC): Remove.
4684         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4685         (SINGLE_THREAD_P_PIC): Remove.
4686
4687         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4688         branch to syscall error ...
4689         (PSEUDO): ... here.
4690         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4691         from __local_syscall_error to .Lsyscall_error.
4692         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4693         (SYSCALL_ERROR): Update label name.
4694
4695         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4696         Do not use DOARGS/UNDOARGS.
4697         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4698         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4699         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4700         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4701         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4702
4703         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4704         block comment.
4705
4706         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4707         define if !NOT_IN_libc.
4708         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4709         define with non-default symbol versions.
4710
4711 2014-05-23  Richard Henderson  <rth@twiddle.net>
4712
4713         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4714         (vfork, __vfork): Define via compat_symbol.
4715
4716         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4717         [!HAVE_IFUNC] (vfork_compat): Remove.
4718         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4719
4720 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
4721
4722         [BZ #16978]
4723         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4724         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4725         variable.
4726
4727 2014-05-23  Richard Henderson  <rth@twiddle.net>
4728
4729         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4730         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4731         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4732         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4733
4734         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4735         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4736         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4737         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4738         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4739         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4740         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4741         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4742         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4743         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4744         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4745         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4746         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4747         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4748         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4749         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4750         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4751         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4752         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4753         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4754         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4755         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4756         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4757         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4758         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4759         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4760         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4761         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4762         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4763         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4764         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4765         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4766         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4767         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4768         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4769         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4770         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4771         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4772         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4773         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4774         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4775         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4776         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4777         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4778         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4779         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4780         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4781         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4782         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4783         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4784         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4785         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4786         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4787         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4788         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4789         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4790
4791         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4792         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4793         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
4794         before exiting on error.
4795         (__libc_vfork): New strong alias.
4796         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4797         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4798
4799         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4800         that was previously under [RESET_PID].
4801         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4802
4803         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4804
4805 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
4806
4807         [BZ #16977]
4808         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4809         value when x - 1 is zero.
4810         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4811         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4812         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4813         0.0L for an argument of 1.0L.
4814         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4815         Likewise.
4816         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4817         value when x - 1 is zero.
4818         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4819         * sysdeps/i386/fpu/libm-test-ulps: Update.
4820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4821
4822 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4823
4824         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4825         alphasort and versionsort.
4826
4827 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4828
4829         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4830         macro.
4831         [copysignf]: Likewise.
4832
4833 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4834
4835         * crypt/md5-crypt.c: Fix formatting.
4836
4837 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4838
4839         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4840         (b64_from_24bit): New function.
4841
4842 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4843
4844         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4845         libc_hidden_builtin_def to ifunc.
4846         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4847         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4848
4849 2014-05-21  Roland McGrath  <roland@hack.frob.com>
4850
4851         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4852         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4853
4854 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
4855
4856         * nscd/Depend (linuxthreads): Remove.
4857         (nptl): Add.
4858         * resolv/Depend (linuxthreads): Remove.
4859         * rt/Depend (linuxthreads): Remove.
4860
4861         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4862         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4863         $(common-objpfx)elf/.
4864         (link-libc-before-gnulib): Likewise.
4865         (elfobjdir): Remove variable.
4866         * Makefile (install): Use $(elf-objpfx) instead of
4867         $(common-objpfx)elf/.
4868         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4869         $(elfobjdir)/.
4870         (link-libc-deps): Likewise.
4871         ($(common-objpfx)libc.so): Likewise.
4872         ($(common-objpfx)linkobj/libc.so): Likewise.
4873         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4874         instead of $(common-objpfx)elf/.
4875         (symbolic-link-list): Likewise.
4876         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4877         [$(cross-compiling) = no]: Likewise.
4878         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4879         $(elfobjdir)/.
4880         (static-gnulib-arch): Likewise.
4881         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4882         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4883         $(common-objpfx)elf/.
4884
4885 2014-05-21  Richard Henderson  <rth@redhat.com>
4886
4887         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4888         (SINGLE_THREAD_P): Use the correct width load.  Fold
4889         into the ldr offset.
4890
4891         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4892         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4893
4894 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
4895
4896         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4897         (libgcc_s_resume): Use __attribute_used__.
4898         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4899         Likewise.
4900
4901 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4902
4903         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4904         optimization when used with float constants.
4905
4906         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4907
4908 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
4909
4910         [BZ #16915]
4911         * locale/nl_langinfo_l.c: Make direct reference to every
4912         _nl_current_CATEGORY symbol.
4913         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4914         (tests-static): Add tst-langinfo-static.
4915         (tests-special): Add tst-langinfo-static.out.
4916         ($(objpfx)tst-langinfo.out): Redirect output.
4917         ($(objpfx)tst-langinfo-static.out): New.
4918         * localedata/tst-langinfo.sh: Send output to stdout.
4919         * localedata/tst-langinfo-static.c: New file.
4920
4921         [BZ #16965]
4922         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4923         when the shift amount is modulo the limb size.
4924
4925 2014-05-20  Richard Henderson  <rth@redhat.com>
4926
4927         [BZ #16967]
4928         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4929         Change type of sa_flags from unsigned int to int.
4930
4931         [BZ #16966]
4932         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4933
4934         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4935
4936 2014-05-20  Will Newton  <will.newton@linaro.org>
4937
4938         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4939         Test the return value of the system call in the nocancel case.
4940
4941 2014-05-20  Will Newton  <will.newton@linaro.org>
4942             Yvan Roux  <yvan.roux@linaro.org>
4943
4944         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4945         #include of asm/ptrace.h.
4946         (PTRACE_GET_THREAD_AREA): Remove #undef.
4947         (PTRACE_GETHBPREGS): Likewise.
4948         (PTRACE_SETHBPREGS): Likewise.
4949         (struct user_regs_struct): New structure.
4950         (struct user_fpsimd_struct): New structure.
4951         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4952         #include of asm/ptrace.h and second #include of sys/user.h.
4953         (PTRACE_GET_THREAD_AREA): Remove #undef.
4954         (PTRACE_GETHBPREGS): Likewise.
4955         (PTRACE_SETHBPREGS): Likewise.
4956         (ELF_NGREG): Use new struct user_regs_struct.
4957         (elf_fpregset_t): Use new struct user_fpsimd_struct.
4958
4959 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4960
4961         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4962         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4963
4964 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
4965
4966         [BZ #16958]
4967         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4968         membar to avoid block loads/stores to overlap previous stores.
4969
4970 2014-05-17  Richard Henderson  <rth@redhat.com>
4971
4972         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4973         Create the __##syscall_name##_nocancel entry point.
4974         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4975         Remove; let the sysdep-cancel.h code create it.
4976
4977 2014-05-17  David S. Miller  <davem@davemloft.net>
4978
4979         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4980         Protect with __USE_GNU.
4981         (TIOCSET_TEMPT): Likewise.
4982         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4983         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4984         these are already provided in bits/ioctl-types.h
4985
4986 2014-05-16  Roland McGrath  <roland@hack.frob.com>
4987
4988         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4989         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4990
4991         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4992         Use wait4 regardless of [__NR_waitpid].
4993
4994 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
4995
4996         PR libgcc/60166
4997         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4998         (_FP_NANSIGN_Q): Set the quiet bit.
4999
5000 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
5001
5002         * benchtests/Makefile
5003         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5004         not $(common-objpfx)math/libm.so.
5005         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5006         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5007         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5008         $(common-objpfx)dlfcn/libdl.so.
5009         ($(objpfx)tst-audit8): Depend on $(libm), not
5010         $(common-objpfx)math/libm.so.
5011         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5012         not $(common-objpfx)dlfcn/libdl.so.
5013         * math/Makefile
5014         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5015         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
5016         [$(build-shared) = yes].
5017         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5018         $(common-objpfx)nptl/libpthread.so.
5019         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5020         $(common-objpfx)math/libm.so$(libm.so-version) or
5021         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5022         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5023         $(common-objpfx)dlfcn/libdl.so.
5024         * setjmp/Makefile (link-libm): Remove variable.
5025         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5026         * stdio-common/Makefile (link-libm): Remove variable.
5027         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5028         * stdlib/Makefile (link-libm): Remove variable.
5029         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5030         ($(objpfx)tst-strtod-round): Likewise.
5031         ($(objpfx)tst-tininess): Likewise.
5032         ($(objpfx)tst-strtod-underflow): Likewise.
5033         ($(objpfx)tst-strtod6): Likewise.
5034         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5035         $(libdl), not $(common-objpfx)nptl/libpthread.so and
5036         $(common-objpfx)dlfcn/libdl.so.
5037
5038 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5039
5040         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5041         BSD terminal modes definitions.
5042
5043 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5044
5045         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5046         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5047
5048         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5049         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5050         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5051         Don't do #include_next.
5052         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5053         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5054         Don't do #include_next.
5055         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5056         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5057         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5058         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5059
5060 2014-05-16  Allan McRae  <allan@archlinux.org>
5061
5062         * po/sv.po: Update Swedish translation from translation project.
5063
5064         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5065         in sed expression.
5066
5067 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
5068
5069         [BZ #16917]
5070         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5071         errno if the TIOCGPTN ioctl fails with an error different than
5072         EINVAL.
5073         * login/tst-ptsname.c: New file.
5074         * login/Makefile (tests): Add tst-ptsname.
5075
5076         [BZ #16943]
5077         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5078         and prlimit64.
5079
5080 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5081
5082         [BZ #16849]
5083         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5084         herrno to return EAI_AGAIN.
5085
5086 2014-05-14  Roland McGrath  <roland@hack.frob.com>
5087
5088         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5089         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5090         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5091         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5092         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5093         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5094         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5095         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5096         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5097         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5098         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5099         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5100         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5101         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5102         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5103         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5104         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5105         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5106         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5107         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5108         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5109         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5110         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5111         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5112         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5113         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5114         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5115         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5116         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5117         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5118         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5119         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5120         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5121         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5122         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5123         Moved ...
5124         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5125         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5126         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5127         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5128         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5129         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5130         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5131         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5132         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5133         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5134         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5135         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5136         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5137         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5138         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5139         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5140         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5141         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5142         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5143         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5144         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5145         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5146         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5147         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5148         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5149         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5150         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5151         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5152         Moved ...
5153         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5154         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5155         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5156         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5157         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5158         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5159         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5160         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5161         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5162         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5163         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5164         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5165         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5166         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5167         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5168         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5169         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5170         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5171         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5172         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5173         Moved ...
5174         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5175         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5176         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5177
5178         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5179         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5180         (libpthread-sysdep_routines): Add elision-related stuff here instead.
5181         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5182         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5183         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5184         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5185         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5186         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5187         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5188         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5189         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5190         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5191         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5192         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5193         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5194         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5195         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5196         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5197         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5198         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5199         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5200         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5201         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5202         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5203         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5204         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5205         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5206         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5207         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5208         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5209
5210         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5211         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5212
5213         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5214         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5215         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5216         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5217         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5218         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5219         Moved ...
5220         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5221         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5222         Moved ...
5223         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5224         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5225         Moved ...
5226         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5227         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5228         Moved ...
5229         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5230         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5231         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5232         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5233         Moved ...
5234         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5235         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5236         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5237         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5238         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5239         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5240         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5241         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5242         Moved ...
5243         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5244         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5245         Moved ...
5246         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5247         ... here.
5248         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5249         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5250         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5251         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5252         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5253         Moved ...
5254         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5255         ... here.
5256         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5257         Moved ...
5258         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5259         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5260         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5261         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5262         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5263         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5264         Moved ...
5265         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5266         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5267         Moved ...
5268         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5269         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5270         Moved ...
5271         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5272         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5273         Moved ...
5274         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5275         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5276         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5277         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5278         Moved ...
5279         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5280         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5281         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5282         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5283         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5284         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5285         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5286         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5287         Moved ...
5288         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5289         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5290         Moved ...
5291         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5292         ... here.
5293         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5294         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5295         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5296         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5297         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5298         Moved ...
5299         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5300         ... here.
5301         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5302         Moved ...
5303         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5304         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5305         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5306         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5307         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5308         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5309         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5310         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5311         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5312         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5313         Moved ...
5314         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5315         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5316         Moved ...
5317         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5318         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5319         Moved ...
5320         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5321         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5322         Moved ...
5323         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5324         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5325         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5326         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5327         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5328         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5329         Moved ...
5330         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5331         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5332         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5333         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5334         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5335         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5336         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5337         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5338         Moved ...
5339         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5340         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5341         Moved ...
5342         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5343         ... here.
5344         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5345         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5346         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5347         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5348         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5349         Moved ...
5350         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5351         ... here.
5352         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5353         Moved ...
5354         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5355         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5356         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5357         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5358         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5359         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5360         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5361         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5362         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5363         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5364         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5365
5366         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5367         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5368
5369         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5370         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5371
5372         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5373         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5374         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5375         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5376         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5377         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5378         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5379         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5380         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5381         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5382         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5383         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5384         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5385         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5386         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5387         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5388         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5389         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5390         Moved ...
5391         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5392         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5393         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5394         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5395         Moved ...
5396         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5397         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5398         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5399         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5400         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5401         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5402         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5403         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5404         Moved ...
5405         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5406         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5407         Moved ...
5408         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5409         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5410         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5411         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5412         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5413         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5414         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5415         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5416         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5417         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5418         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5419         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5420         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5421         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5422         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5423         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5424         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5425
5426         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5427         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5428         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5429         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5430         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5431
5432         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5433         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5434         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5435         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5436         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5437         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5438         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5439         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5440         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5441         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5442
5443         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5444         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5445
5446         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5447         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5448         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5449         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5450         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5451         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5452         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5453         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5454         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5455         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5456         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5457         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5458         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5459         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5460         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5461         Update #include.
5462         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5463         Likewise.
5464         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5465         Likewise.
5466         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5467         Likewise.
5468         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5469         Likewise.
5470         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5471         Likewise.
5472         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5473         Likewise.
5474         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5475         Likewise.
5476         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5477         Likewise.
5478         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5479         Likewise.
5480         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5481         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5482         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5483         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5484         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5485         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5486         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5487         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5488         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5489         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5490         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5491         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5492         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5493         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
5494         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
5495
5496         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5497         that was previously under [RESET_PID].
5498         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5499         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5500         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5501
5502         * sysdeps/i386/nptl/Implies: New file.
5503         * sysdeps/x86_64/nptl/Implies: New file.
5504         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5505         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5506         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5507         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5508
5509         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5510         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5511         (__libc_vfork): New strong alias.
5512         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5513         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5514
5515         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5516         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5517         (__libc_vfork): New strong alias.
5518         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5519         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5520
5521         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5522         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5523         (__libc_vfork): New strong alias.
5524         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5525         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5526         * nptl/pt-vfork.c: New file.
5527         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5528         (libpthread: GLIBC_2.20): New version set (empty).
5529
5530 2014-05-14  Will Newton  <will.newton@linaro.org>
5531
5532         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5533         rather than #if.
5534
5535 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
5536
5537         [BZ #16564]
5538         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5539         arguments with exponent 65 or above.
5540         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5541         arguments 0x1p113L or above.
5542         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5543         to arguments 0x1p107L or above.
5544         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5545         positive arguments with exponent 65 or above.
5546         * math/auto-libm-test-in: Add more tests of log1p.
5547         * math/auto-libm-test-out: Regenerated.
5548
5549         [BZ #16928]
5550         * math/s_cacos.c (__cacos): Ensure zero real part of result from
5551         non-finite arguments is +0.
5552         * math/s_cacosf.c (__cacosf): Likewise.
5553         * math/s_cacosl.c (__cacosl): Likewise.
5554         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5555         * sysdeps/i386/fpu/libm-test-ulps: Update.
5556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5557
5558         [BZ #16927]
5559         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5560         value.
5561         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5562         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5563         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5564         for explicit high bit of mantissa when testing for argument equal
5565         to 1.
5566         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5567         * sysdeps/i386/fpu/libm-test-ulps: Update.
5568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5569
5570         [BZ #16516]
5571         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5572         (__erf): Scale by 16 instead of 8 in potentially underflowing
5573         case.  Ensure exception if result actually underflows.
5574         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5575         (__erff): Scale by 16 instead of 8 in potentially underflowing
5576         case.  Ensure exception if result actually underflows.
5577         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5578         (efx8): Remove variable.
5579         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5580         case.  Ensure exception if result actually underflows.
5581         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5582         (efx8): Remove variable.
5583         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5584         case.  Ensure exception if result actually underflows.
5585         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5586         (efx8): Remove variable.
5587         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5588         case.  Ensure exception if result actually underflows.
5589         * math/auto-libm-test-in: Add more tests of erf.
5590         * math/auto-libm-test-out: Regenerated.
5591
5592 2014-05-14  Andreas Schwab  <schwab@suse.de>
5593
5594         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5595         Remove code conditionalized on USE___THREAD.
5596
5597         * config.h.in (HAVE_PT_CHOWN): Define as 0.
5598         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5599         not definedness.
5600
5601 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
5602
5603         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5604         Define unconditionally.
5605         (__ASSUME_O_CLOEXEC): Likewise.
5606         (__ASSUME_SOCK_CLOEXEC): Likewise.
5607         (__ASSUME_IN_NONBLOCK): Likewise.
5608         (__ASSUME_PIPE2): Likewise.
5609         (__ASSUME_EVENTFD2): Likewise.
5610         (__ASSUME_SIGNALFD4): Likewise.
5611         (__ASSUME_DUP3): Likewise.
5612         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5613         (__ASSUME_DUP3): Do not define.
5614         (__ASSUME_EVENTFD2): Likewise.
5615         (__ASSUME_IN_NONBLOCK): Likewise.
5616         (__ASSUME_O_CLOEXEC): Likewise.
5617         (__ASSUME_PIPE2): Likewise.
5618         (__ASSUME_SIGNALFD4): Likewise.
5619         (__ASSUME_SOCK_CLOEXEC): Likewise.
5620         (__ASSUME_UTIMES): Undefine.
5621         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5622         (__ASSUME_UTIMES): Do not define.
5623         (__ASSUME_O_CLOEXEC): Likewise.
5624         (__ASSUME_SOCK_CLOEXEC): Likewise.
5625         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5626         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5627         0x020621].
5628         (__ASSUME_PIPE2): Likewise.
5629         (__ASSUME_EVENTFD2): Likewise.
5630         (__ASSUME_SIGNALFD4): Likewise.
5631         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5632         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5633         Do not define.
5634         (__ASSUME_EVENTFD2): Likewise.
5635         (__ASSUME_SIGNALFD4): Likewise.
5636         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5637         (__ASSUME_32BITUIDS): Likewise.
5638         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5639         (__ASSUME_IPC64): Likewise.
5640         (__ASSUME_ST_INO_64_BIT): Likewise.
5641         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5642         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5643         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5644         (__ASSUME_UTIMES): Do not define.
5645         (__ASSUME_PSELECT): Likewise.
5646         (__ASSUME_PPOLL): Likewise.
5647         (__ASSUME_O_CLOEXEC): Likewise.
5648         (__ASSUME_SOCK_CLOEXEC): Likewise.
5649         (__ASSUME_IN_NONBLOCK): Likewise.
5650         (__ASSUME_PIPE2): Likewise.
5651         (__ASSUME_EVENTFD2): Likewise.
5652         (__ASSUME_SIGNALFD4): Likewise.
5653         (__ASSUME_DUP3): Likewise.
5654         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5655         (__ASSUME_UTIMES): Likewise.
5656         (__ASSUME_O_CLOEXEC): Likewise.
5657         (__ASSUME_SOCK_CLOEXEC): Likewise.
5658         (__ASSUME_IN_NONBLOCK): Likewise.
5659         (__ASSUME_PIPE2): Likewise.
5660         (__ASSUME_EVENTFD2): Likewise.
5661         (__ASSUME_SIGNALFD4): Likewise.
5662         (__ASSUME_DUP3): Likewise.
5663         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5664         (__ASSUME_UTIMES): Likewise.
5665         (__ASSUME_O_CLOEXEC): Likewise.
5666         (__ASSUME_SOCK_CLOEXEC): Likewise.
5667         (__ASSUME_IN_NONBLOCK): Likewise.
5668         (__ASSUME_PIPE2): Likewise.
5669         (__ASSUME_EVENTFD2): Likewise.
5670         (__ASSUME_SIGNALFD4): Likewise.
5671         (__ASSUME_DUP3): Likewise.
5672         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5673         Likewise.
5674         (__ASSUME_UTIMES): Likewise.
5675         (__ASSUME_EVENTFD2): Likewise.
5676         (__ASSUME_SIGNALFD4): Likewise.
5677         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5678         (__ASSUME_O_CLOEXEC): Likewise.
5679         (__ASSUME_SOCK_CLOEXEC): Likewise.
5680         (__ASSUME_IN_NONBLOCK): Likewise.
5681         (__ASSUME_PIPE2): Likewise.
5682         (__ASSUME_EVENTFD2): Likewise.
5683         (__ASSUME_SIGNALFD4): Likewise.
5684         (__ASSUME_DUP3): Likewise.
5685         (__ASSUME_UTIMES): Undefine.
5686
5687         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5688         feclearexcept.  Remove symbol versioning code.
5689         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
5690         symbol versioning code.
5691         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
5692         symbol versioning code.
5693         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5694         feupdateenv.  Remove symbol versioning code.
5695         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5696         fegetexceptflag.  Remove symbol versioning code.
5697         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5698         fesetexceptflag.  Remove symbol versioning code.
5699         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5700         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
5701         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5702         (__posix_fadvise64_l32): Remove prototype.
5703         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5704         code.
5705
5706 2014-05-13  Roland McGrath  <roland@hack.frob.com>
5707
5708         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5709         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5710         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5711         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5712
5713 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
5714
5715         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5716         current working directory
5717
5718 2014-05-13  Roland McGrath  <roland@hack.frob.com>
5719
5720         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5721         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5722         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5723         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5724         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5725         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5726         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5727         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5728         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5729         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5730         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5731         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5732         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5733         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5734         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5735         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5736         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5737         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5738         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5739         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5740         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5741         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5742         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5743         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5744         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5745         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5746         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5747         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5748         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5749         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5750         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5751         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5752         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5753         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5754         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5755         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5756         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5757         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5758         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5759         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5760         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5761         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5762
5763         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5764         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5765
5766         * sysdeps/unix/sysv/linux/arm/Makefile
5767         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5768         Add rt-aeabi_unwind_cpp_pr1.
5769         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5770         Add nptl-aeabi_unwind_cpp_pr1.
5771         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5772         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5773         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5774         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5775         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5776         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5777
5778         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5779         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5780         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5781         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5782
5783         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5784         Deconditionalize the code that was previously under [RESET_PID].
5785         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5786
5787         * sysdeps/generic/exit-thread.h: New file.
5788         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5789         * include/unistd.h (__exit_thread): Remove declaration.
5790         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5791         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5792         * csu/libc-start.c: Include <exit-thread.h>.
5793         (LIBC_START_MAIN): Pass no argument to __exit_thread.
5794         * nptl/pthread_create.c: Include <exit-thread.h>.
5795         (start_thread): Call __exit_thread in place of __exit_thread_inline.
5796         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5797         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5798         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5799         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5800         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5801         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5802         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5803         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5804         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5805         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5806         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5807         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5808         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5809         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5810         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5811         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5812
5813 2014-05-13  Andreas Schwab  <schwab@suse.de>
5814
5815         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5816
5817 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
5818
5819         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5820         (__ASSUME_UTIMES): Do not condition on kernel version.
5821         (__ASSUME_PSELECT): Define unconditionally.
5822         (__ASSUME_PPOLL): Likewise.
5823         (__ASSUME_ATFCTS): Likewise.
5824         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5825         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5826         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5827         (__ASSUME_UTIMENSAT): Define unconditionally.
5828         (__ASSUME_PRIVATE_FUTEX): Likewise.
5829         (__ASSUME_FALLOCATE): Likewise.
5830         (__ASSUME_O_CLOEXEC): Likewise.
5831         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5832         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5833         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5834         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5835         (__ASSUME_IN_NONBLOCK): Likewise.
5836         (__ASSUME_PIPE2): Likewise.
5837         (__ASSUME_EVENTFD2): Likewise.
5838         (__ASSUME_SIGNALFD4): Likewise.
5839         (__ASSUME_DUP3): Likewise.
5840         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5841         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5842         (__ASSUME_AT_RANDOM): Likewise.
5843         (__ASSUME_PREADV): Likewise.
5844         (__ASSUME_PWRITEV): Likewise.
5845         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5846         (__ASSUME_F_GETOWN_EX): Define unconditionally.
5847         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5848         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5849         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5850         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5851         (__ASSUME_O_CLOEXEC): Define unconditionally.
5852         (__ASSUME_PSELECT): Do not undefine conditionally.
5853         (__ASSUME_PPOLL): Likewise.
5854         (__ASSUME_ATFCTS): Likewise.
5855         (__ASSUME_SET_ROBUST_LIST): Likewise.
5856         (__ASSUME_UTIMENSAT): Likewise.
5857         (__ASSUME_FDATASYNC): Define unconditionally.
5858         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5859         (__ASSUME_SIGFRAME_V2): Likewise.
5860         )__ASSUME_EVENTFD2): Likewise.
5861         (__ASSUME_SIGNALFD4): Likewise.
5862         (__ASSUME_PSELECT): Do not undefine conditionally.
5863         (__ASSUME_PPOLL): Likewise.
5864         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5865         (__ASSUME_PSELECT): Define unconditionally.
5866         (__ASSUME_PPOLL): Likewise.
5867         (__ASSUME_O_CLOEXEC): Likewise.
5868         (__ASSUME_SOCK_CLOEXEC): Likewise.
5869         (__ASSUME_IN_NONBLOCK): Likewise.
5870         (__ASSUME_PIPE2): Likewise.
5871         (__ASSUME_EVENTFD2): Likewise.
5872         (__ASSUME_SIGNALFD4): Likewise.
5873         (__ASSUME_DUP3): Likewise.
5874         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5875         (__ASSUME_O_CLOEXEC): Likewise.
5876         (__ASSUME_SOCK_CLOEXEC): Likewise.
5877         (__ASSUME_IN_NONBLOCK): Likewise.
5878         (__ASSUME_PIPE2): Likewise.
5879         (__ASSUME_EVENTFD2): Likewise.
5880         (__ASSUME_SIGNALFD4): Likewise.
5881         (__ASSUME_DUP3): Likewise.
5882         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5883         (__ASSUME_EVENTFD2): Likewise.
5884         (__ASSUME_SIGNALFD4): Likewise.
5885         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5886
5887 2014-05-12  Andreas Schwab  <schwab@suse.de>
5888
5889         [BZ #16932]
5890         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5891         (_nss_nis_gethostbyname4_r): Return error if item length is larger
5892         than maximum RPC packet size.
5893         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5894         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5895         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5896         (_nss_nis_getservbyport_r): Likewise.
5897
5898 2014-05-12  Will Newton  <will.newton@linaro.org>
5899
5900         * malloc/Makefile (tests): Add tst-mallopt.
5901         * malloc/tst-mallopt.c: New file.
5902
5903 2014-05-09  Roland McGrath  <roland@hack.frob.com>
5904
5905         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5906         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5907
5908 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5909
5910         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5911         (tst-tlsmod6.so): Likewise.
5912
5913 2014-05-09  Roland McGrath  <roland@hack.frob.com>
5914
5915         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5916
5917 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
5918
5919         [BZ #16064]
5920         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5921         and <dl-procinfo.h>.
5922         (__fegetenv): Save SSE state in envp->__eip if supported.
5923         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5924         envp->__eip if supported.
5925         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5926         and <dl-procinfo.h>.
5927         (__fesetenv): Always set __eip, __cs_selector, __opcode,
5928         __data_offset and __data_selector in environment to 0.  Set SSE
5929         state if supported.
5930         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5931         test-fenv-sse.
5932         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5933         -mfpmath=sse.
5934         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5935
5936 2014-05-09  Will Newton  <will.newton@linaro.org>
5937
5938         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5939         and libc_relro_required for ARM.
5940         * sysdeps/arm/preconfigure: Regenerate.
5941
5942 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
5943             Stefan Liebler  <stli@linux.vnet.ibm.com>
5944
5945         * config.make.in (enable-lock-elision): New Makefile variable.
5946         * configure.ac: Likewise.
5947         * configure: Regenerate.
5948         * sysdeps/s390/configure.ac:
5949         Add check for gcc transactions support.
5950         * sysdeps/s390/configure: Regenerate.
5951         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5952         Build elision files if enabled.
5953         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5954         Add lock elision support for s390.
5955         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5956         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5957         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5958         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5959         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5960         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5961         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5962         Likewise.
5963         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5964         Likewise.
5965         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5966         Likewise.
5967         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5968         Likewise.
5969         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5970         (__lll_timedlock_elision, __lll_lock_elision)
5971         (__lll_unlock_elision, __lll_trylock_elision)
5972         (lll_timedlock_elision, lll_lock_elision)
5973         (lll_unlock_elision, lll_trylock_elision): Add.
5974         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5975         (pthread_mutex_t): Add lock elision support for s390.
5976
5977 2014-05-14  Wilco  <wdijkstr@arm.com>
5978
5979         * sysdeps/arm/fclrexcpt.c: Cleanup.
5980         * sysdeps/arm/fedisblxcpt.c: Cleanup.
5981         * sysdeps/arm/feenablxcpt.c: Cleanup.
5982         * sysdeps/arm/fegetenv.c: Cleanup.
5983         * sysdeps/arm/fegetexcept.c: Cleanup.
5984         * sysdeps/arm/fegetround.c: Cleanup.
5985         * sysdeps/arm/feholdexcpt.c: Cleanup.
5986         * sysdeps/arm/fesetenv.c: Cleanup.
5987         * sysdeps/arm/fesetround.c: Cleanup.
5988         * sysdeps/arm/feupdateenv.c: Cleanup.
5989         * sysdeps/arm/fgetexcptflg.c: Cleanup.
5990         * sysdeps/arm/fraiseexcpt.c: Cleanup.
5991         * sysdeps/arm/fsetexcptflg.c: Cleanup.
5992         * sysdeps/arm/ftestexcept.c: Cleanup.
5993         * sysdeps/arm/get-rounding-mode.h: Cleanup.
5994         * sysdeps/arm/setfpucw.c: Cleanup.
5995
5996 2014-05-09  Will Newton  <will.newton@linaro.org>
5997
5998         * sysdeps/arm/armv7/strcmp.S: New file.
5999         * NEWS: Mention addition of ARMv7 optimized strcmp.
6000
6001 2014-05-08  Roland McGrath  <roland@hack.frob.com>
6002
6003         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6004         look for %.ac rather than %.in.
6005
6006         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6007         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6008         * sysdeps/mach/hurd/configure: Regenerated.
6009         * sysdeps/unix/sysv/linux/configure: Regenerated.
6010
6011         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6012
6013 2014-05-07  Steve Ellcey  <sellcey@mips.com>
6014
6015         [BZ# 16922]
6016         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6017         (LONG_SUB): Ditto.
6018         (PTR_SUB): Ditto.
6019
6020 2014-05-07  Andreas Schwab  <schwab@suse.de>
6021
6022         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6023         when skipping over non-matching result from nscd.
6024
6025 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
6026
6027         [BZ #16876]
6028         * nptl/sockperf.c (client): Check socket return value.
6029
6030         [BZ #16877]
6031         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6032         nscd security class.
6033
6034 2014-05-06  Roland McGrath  <roland@hack.frob.com>
6035
6036         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6037         * sysdeps/arm/unwind.h: ... here.
6038
6039 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
6040
6041         [BZ# 16916]
6042         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6043         Define.
6044
6045 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6046
6047         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6048         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6049         multiarch strncpy for PPC64.
6050         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6051         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6052         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6053         multiarch optimizations.
6054         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6055         (__libc_ifunc_impl_list): Likewise.
6056         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6057         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6058         multiarch stpncpy for PPC64.
6059         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6060         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6061
6062 2014-05-06  Andreas Schwab  <schwab@suse.de>
6063
6064         [BZ #16912]
6065         * gmon/mcount.c (_MCOUNT_DECL): Use
6066         atomic_compare_and_exchange_bool_acq instead of
6067         catomic_compare_and_exchange_bool_acq.
6068
6069 2014-05-05  Roland McGrath  <roland@hack.frob.com>
6070
6071         * elf/Makefile (others, install-bin): Remove pldd.
6072         (pldd-modules): Variable removed.
6073         ($(objpfx)pldd): Target removed.
6074         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6075         (others, install-bin): Append pldd here.
6076         ($(objpfx)pldd): New target.
6077
6078         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6079         to 0, so the first #if test emitted later doesn't see it undefined.
6080         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6081         * sysdeps/gnu/errlist.c: Regenerated.
6082
6083 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6084
6085         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6086         [libc_hidden_builtin_def]: Define to empty value.
6087         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6088         [libc_hidden_builtin_def]: Likewise.
6089         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6090         [libc_hidden_builtin_def]: Likewise.
6091         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6092         [libc_hidden_builtin_def]: Likewise.
6093         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6094         __redirect_memcpy and define ifunc as default hidden symbol.
6095         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6096         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6097
6098 2014-05-04  Adam Conrad  <adconrad@0c3.net>
6099
6100         * locale/iso-4217.def: Reintroduce XDR currency.
6101
6102 2014-05-04  Allan McRae  <allan@archlinux.org>
6103
6104         * po/eo.po: Update Esperanto translation from translation project.
6105
6106 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
6107
6108         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6109         and FEATURE_INDEX_MAX to 1.
6110         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6111
6112 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6113
6114         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6115         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6116         * iconvdata/big5.c (ONE_DIRECTION): Define.
6117         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6118         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6119         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6120         * iconvdata/cp932.c (ONE_DIRECTION): Define.
6121         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6122         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6123         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6124         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6125         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6126         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6127         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6128         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6129         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6130         * iconvdata/gbk.c (ONE_DIRECTION): Define.
6131         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6132         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6133         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6134         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6135         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6136         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6137         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6138         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6139         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6140         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6141         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6142         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6143         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6144         * iconvdata/iso646.c (ONE_DIRECTION): Define.
6145         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6146         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6147         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6148         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6149         * iconvdata/johab.c (ONE_DIRECTION): Define.
6150         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6151         * iconvdata/sjis.c (ONE_DIRECTION): Define.
6152         * iconvdata/t.61.c (ONE_DIRECTION): Define.
6153         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6154         * iconvdata/tscii.c (ONE_DIRECTION): Define.
6155         * iconvdata/uhc.c (ONE_DIRECTION): Define.
6156         * iconvdata/unicode.c (ONE_DIRECTION): Define.
6157         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6158         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6159         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6160
6161 2014-05-01  Roland McGrath  <roland@hack.frob.com>
6162
6163         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6164         (_IO_JUMPS_OFFSET): Define to 0.
6165
6166         * nptl/sysdeps/pthread/bits/libc-lock.h
6167         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6168         (__libc_lock_define_initialized_recursive): Always define using
6169         initializer.  Modern compilers treat uninitialized (implicit zero) and
6170         explicit zero initializers the same (i.e. put the datum in bss).
6171
6172 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6173
6174         * nscd/nscd-client.h: Include <string.h>.
6175
6176 2014-05-01  David S. Miller  <davem@davemloft.net>
6177
6178         [BZ #16885]
6179         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6180         multiple zero bytes exist at the end of a string.
6181         Reported by Aurelien Jarno <aurelien@aurel32.net>
6182
6183         * string/test-strcmp.c (check): Add explicit test for situations where
6184         there are multiple zero bytes after the first.
6185
6186 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6187
6188         [BZ #16890]
6189         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6190         when compiling wprintf.
6191         * stdio-common/tstdiomisc.c (t3): New function.
6192         (main): Call it.
6193
6194 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6195
6196         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6197         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6198         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6199         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6200
6201 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6202
6203         * stdlib/longlong.h: Updated from GCC.
6204
6205 2014-05-01  Will Newton  <will.newton@linaro.org>
6206             Bernard Ogden  <bernie.ogden@linaro.org>
6207
6208         * NEWS: Update fixed bug list.
6209
6210         [BZ #15119]
6211         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6212
6213 2014-04-30  David S. Miller  <davem@davemloft.net>
6214
6215         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6216         (libc_feholdexcept_setround_sparc_ctx): New function.
6217         (libc_fesetenv_sparc_ctx): Likewise.
6218         (libc_feupdateenv_sparc_ctx): Likewise.
6219         (libc_feholdsetround_sparc_ctx): Likewise.
6220         (libc_feholdexcept_setround_ctx): Define.
6221         (libc_feholdexcept_setroundf_ctx): Likewise.
6222         (libc_feholdexcept_setroundl_ctx): Likewise.
6223         (libc_fesetenv_ctx): Likewise.
6224         (libc_fesetenvf_ctx): Likewise.
6225         (libc_fesetenvl_ctx): Likewise.
6226         (libc_feupdateenv_ctx): Likewise.
6227         (libc_feupdateenvf_ctx): Likewise.
6228         (libc_feupdateenvl_ctx): Likewise.
6229         (libc_feresetround_ctx): Likewise.
6230         (libc_feresetroundf_ctx): Likewise.
6231         (libc_feresetroundl_ctx): Likewise.
6232         (libc_feholdsetround_ctx): Likewise.
6233         (libc_feholdsetroundf_ctx): Likewise.
6234         (libc_feholdsetroundl_ctx): Likewise.
6235
6236         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6237         with __USE_GNU instead of XOPEN cpp guards.
6238
6239         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6240         0.
6241
6242         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6243         with XOPEN cpp guards.
6244
6245 2014-04-30  Julian Brown  <julian@codesourcery.com>
6246
6247         [BZ #16888]
6248         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6249         handling.
6250
6251 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
6252
6253         [BZ #9894]
6254         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6255         Change to 2.6.32.
6256         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6257         * sysdeps/unix/sysv/linux/configure: Regenerated.
6258         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6259         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6260         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6261         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6262         * README: Update reference to required Linux kernel version.
6263         * manual/install.texi (Linux): Update reference to required Linux
6264         kernel headers version.
6265         * INSTALL: Regenerated.
6266
6267         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6268         header inclusion.
6269         [POSIX] (limits.h): Likewise.
6270         [POSIX] (math.h): Likewise.
6271         [POSIX] (sys/wait.h): Likewise.
6272         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6273         function.
6274         [POSIX] (stddef.h): Do not allow header inclusion.
6275
6276 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6277
6278         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6279
6280 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
6281
6282         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6283         Return immediately after lll_futex_wake.
6284
6285 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6286
6287         [BZ #16791]
6288         * nscd/nscd-client.h (datahead_init_common): Initialize entire
6289         structure.
6290         (datahead_init_pos): Call datahead_init_common early.
6291         (datahead_init_neg): Likewise.
6292
6293         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6294         datahead_init_neg): New functions.
6295         * nscd/aicache.c (addhstaiX): Use them.
6296         * nscd/grpcache.c (cache_addgr): Likewise.
6297         * nscd/hstcache.c (cache_addhst): Likewise.
6298         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6299         * nscd/netgroupcache.c (do_notfound): Likewise.
6300         (addgetnetgrentX): Likewise.
6301         (addinnetgrX): Likewise.
6302         * nscd/pwdcache.c (cache_addpw): Likewise.
6303         * nscd/servicescache.c (cache_addserv): Likewise.
6304
6305 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6306             Atsushi Onoe  <atsushi@onoe.org>
6307
6308         [BZ #14308]
6309         [BZ #12994]
6310         [BZ #13651]
6311         * resolv/res_query.c (__libc_res_nsearch): Return if at least
6312         one response is valid.
6313         * resolv/res_send.c (send_dg): Check for validity of other
6314         response if the current response is a referral.
6315
6316 2014-04-29  Steve Ellcey  <sellcey@mips.com>
6317
6318         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6319
6320 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
6321
6322         [BZ #16823]
6323         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6324         Always divide by positive zero when computing -Inf result.
6325         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6326         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6327
6328 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6329
6330         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6331         FPSCR if value do not change.
6332         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6333         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6334         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6335         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6336         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6337         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6338         function.
6339
6340 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
6341
6342         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6343         * sysdeps/unix/sysv/linux/hppa: Move directory from
6344         ports/systeps/unix/sysv/linux/hppa.
6345         * README: Update listing for hppa-*-linux-gnu.
6346
6347 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
6348
6349         [BZ #16754]
6350         * manual/stdio.texi (Hook functions): Fix types of stream hook
6351         functions.
6352         [BZ #16854]
6353         * socket/sys/socket.h: Fix typo in comment.
6354
6355 2014-04-28  Wilco  <wdijkstr@arm.com>
6356
6357         * sysdeps/arm/fenv_private.h: New file.
6358         * sysdeps/arm/math_private.h: New file.
6359         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6360
6361 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
6362
6363         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6364         with __int128_t.
6365         (La_x86_64_retval): Likewise.
6366
6367 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
6368
6369         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6370         fpsr if value didn't change.
6371         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6372         to fpcr if value didn't change.
6373         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6374         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6375         fpsr or fpcr if value didn't change.
6376         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6377         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6378         fpcr if value didn't change.
6379         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6380         to fpsr if value didn't change.
6381
6382 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6383
6384         * nptl/tst-sem3.c: Use test-skeleton.c
6385         (main): Rename to do_test.  Use return instead of
6386         exit.
6387         * nptl/tst-sem4.c: Use test-skeleton.c
6388         (main): Rename to do_test.
6389
6390 2014-04-22  David S. Miller  <davem@davemloft.net>
6391
6392         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6393         (struct sigaction): New struct member __glibc_reserved0, change
6394         type of sa_flags to int.
6395
6396 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
6397
6398         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6399         (COUNT_LEADING_ZEROS_0): Define for AArch64.
6400
6401 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6402
6403         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6404         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6405
6406 2014-04-22  Will Newton  <will.newton@linaro.org>
6407             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
6408
6409         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6410         (__longjmp): Add longjmp and longjmp_target SystemTap
6411         probes.
6412         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6413         (__sigsetjmp): Add setjmp SystemTap probe.
6414
6415 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
6416
6417         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6418         match manual order.
6419
6420 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6421
6422         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6423
6424         * sysdeps/powerpc/fpu/fenv_private.h
6425         (libc_feholdexcept_setroundl_ctx): Define to
6426         libc_feholdexcept_setround_ppc_ctx.
6427         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6428         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6429         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6430         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6431
6432 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6433
6434         * sysdeps/aarch64/math-tests.h: New file.
6435
6436 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
6437
6438         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6439         New.
6440         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6441         Check and set bit_AVX2_Usable.
6442         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6443         macro.
6444         (bit_AVX2): Likewise.
6445         (index_AVX2_Usable): Likewise.
6446         (CPUID_AVX2): Likewise.
6447         (HAS_AVX2): Likewise.
6448
6449 2014-04-17  Will Newton  <will.newton@linaro.org>
6450
6451         * manual/setjmp.texi (System V contexts): Add note that
6452         calling setcontext on a context created by a call to a
6453         signal handler is undefined.  Update text to note that
6454         setcontext from a signal handler is possible but not
6455         recommended.
6456
6457         [BZ #16629]
6458         * stdlib/tst-setcontext.c: Include signal.h.
6459         (main): Check that the signal stack before and
6460         after swapcontext is the same.
6461
6462         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6463         Re-implement to restore registers in user code and avoid
6464         rt_sigreturn system call.
6465
6466 2014-04-17  Wilco  <wdijkstr@arm.com>
6467
6468         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6469         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6470         * math/test-fenv.c: Skip exception trap tests on targets which only
6471         support non-stop mode.
6472
6473 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6474             Wilco Dijkstra  <wilco.dijkstra@arm.com>
6475
6476         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6477         (libc_feholdsetround_aarch64_ctx)
6478         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6479         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6480         (libc_feresetround_ctx, libc_feresetroundf_ctx)
6481         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6482         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6483         (libc_feresetround_noexl_ctx): Define.
6484
6485 2014-04-16  Richard Henderson  <rth@redhat.com>
6486
6487         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6488
6489         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6490         unwind tables.
6491
6492         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6493         const from the non-libc, non-ldso copy.
6494
6495         * sysdeps/alpha/libm-test-ulps: Regenerate.
6496
6497 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
6498             Wilco Dijkstra  <wilco.dijkstra@arm.com>
6499
6500         * sysdeps/aarch64/fpu/math_private.h: New file.
6501
6502 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6503
6504         * sysdeps/aarch64/libm-test-ulps: Regenerate.
6505
6506 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
6507
6508         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6509         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6510         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6511         Intel MPX bound registers before _dl_profile_fixup.
6512         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6513         registers after _dl_profile_fixup.  Save and restore bound
6514         registers bnd0/bnd1 when calling _dl_call_pltexit.
6515         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6516         (LR_BND_OFFSET): Likewise.
6517         (LRV_BND0_OFFSET): Likewise.
6518         (LRV_BND1_OFFSET): Likewise.
6519
6520 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6521
6522         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6523         to...
6524         * sysdeps/mach/hurd/i386/tls.h: ... here.
6525         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6526         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6527         fields.
6528
6529 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6530
6531         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6532
6533 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6534
6535         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6536
6537 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6538
6539         [BZ #14770]
6540         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6541         * sysdeps/s390/configure: Regenerate.
6542
6543         [BZ #16824]
6544         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6545         Set round-to-nearest internally to reduce error accumulation.
6546
6547 2014-04-16  Alan Modra  <amodra@gmail.com>
6548
6549         [BZ #16740]
6550         [BZ #16619]
6551         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6552         * math/libm-test.inc (frexp_test_data): Add tests.
6553         * NEWS: Update fixed bug list.
6554
6555 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6556
6557         * benchtests/Makefile: Depend on libraries in build directory.
6558         (bench-math): Separate out math tests.
6559         (bench-pthread): Separate out pthread tests.
6560         (bench): Include math and pthread tests.
6561
6562 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
6563
6564         [BZ #16831]
6565         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6566         _dl_debug_initialize.
6567
6568         * configure.ac: Remove SELinux header check.
6569         * configure: Regenerate.
6570         * nscd/selinux.c (perms): Array of const char* to permission names.
6571         (nscd_request_avc_has_perm): Call security_deny_unknown to find
6572         default policy. Call string_to_security_class and string_to_av_perm to
6573         translate strings. Enforce default policy and call avs_has_perm with
6574         results of translated strings.
6575
6576 2014-04-13  David S. Miller  <davem@davemloft.net>
6577
6578         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6579
6580 2014-04-12  Allan McRae  <allan@archlinux.org>
6581
6582         [BZ #16838]
6583         * manual/string.texi (Collation Functions): Fix qsort argument
6584         order in example.
6585         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6586
6587 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
6588
6589         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6590         Make the test a no-op if there are no exceptions defined.
6591
6592 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6593
6594         * elf/Makefile (tests): make tst-dlopen-aout conditional on
6595         enable-hardcoded-path-in-tests
6596
6597 2014-04-11  Will Newton  <will.newton@linaro.org>
6598
6599         * benchtests/Makefile (extra-objs): Add json-lib.o.
6600         (bench-func): Tidy up JSON output.
6601         * benchtests/bench-skeleton.c: Include json-lib.h.
6602         (main): Use JSON library functions to do output of
6603         benchmark results.
6604         * benchtests/bench-timing-type.c (main): Output the
6605         timing type simply, leaving formatting to the user.
6606         * benchtests/json-lib.c: New file.
6607         * benchtests/json-lib.h: Likewise.
6608
6609 2014-04-11  Torvald Riegel  <triegel@redhat.com>
6610
6611         [BZ #15215]
6612         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6613         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
6614         memory barriers.  Add comments.
6615         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6616         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6617         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6618         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6619         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6620         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6621
6622 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6623
6624         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6625         * sysdeps/s390/s390-64/configure.ac: ... this ...
6626         * sysdeps/s390/configure.ac: ... to here.
6627         * sysdeps/s390/s390-32/configure: Delete file.
6628         * sysdeps/s390/s390-64/configure: Delete file.
6629         * sysdeps/s390/configure: Regenerate.
6630
6631 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
6632
6633         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6634
6635 2014-04-11  Will Newton  <will.newton@linaro.org>
6636
6637         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6638         to zero if it is not defined elsewhere.  (mtrim): Test
6639         the value of MALLOC_DEBUG with #if rather than #ifdef.
6640
6641 2014-04-10 Torvald Riegel  <triegel@redhat.com>
6642
6643         * benchtests/pthread_once-inputs: New file.
6644         * benchtests/pthread_once-source.c: New file.
6645         * benchtests/README: Update documentation.
6646
6647 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
6648             H.J. Lu  <hongjiu.lu@intel.com>
6649
6650         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6651         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6652         * sysdeps/x86_64/configure: Regenerated.
6653         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6654         macro.
6655         (REGISTER_SAVE_RAX): Likewise.
6656         (REGISTER_SAVE_RCX): Likewise.
6657         (REGISTER_SAVE_RDX): Likewise.
6658         (REGISTER_SAVE_RSI): Likewise.
6659         (REGISTER_SAVE_RDI): Likewise.
6660         (REGISTER_SAVE_R8): Likewise.
6661         (REGISTER_SAVE_R9): Likewise.
6662         (REGISTER_SAVE_BND0): Likewise.
6663         (REGISTER_SAVE_BND1): Likewise.
6664         (REGISTER_SAVE_BND2): Likewise.
6665         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
6666         bound registers when calling _dl_fixup.
6667
6668 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6669
6670         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6671         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6672         of its definition.
6673         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6674         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6675         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6676         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6677         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6678         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6679         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6680
6681 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
6682
6683         [BZ #15514]
6684         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6685         pathconf(_PC_NAME_MAX).
6686
6687 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6688
6689         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6690         Remove macro usage.
6691         (__PTHREAD_SPINS): Move definition to ...
6692         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6693         (__PTHREAD_SPINS): ... here.
6694         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6695         (__PTHREAD_SPIN): Likewise.
6696         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6697         (__PTHREAD_SPIN): Likewise.
6698         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6699         (__PTHREAD_SPIN): Likewise.
6700         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6701         (__PTHREAD_SPIN): Likewise.
6702         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6703         (__PTHREAD_SPIN): Likewise.
6704         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6705         (__PTHREAD_SPIN): Likewise.
6706         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6707         (__PTHREAD_SPIN): Likewise.
6708         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6709         (__PTHREAD_SPIN): Likewise.
6710         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6711         (__PTHREAD_SPIN): Likewise.
6712         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6713         (__PTHREAD_SPIN): Likewise.
6714         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6715         (__PTHREAD_SPIN): Likewise.
6716         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6717         (__PTHREAD_SPIN): Likewise.
6718
6719         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6720         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6721         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6722         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6723         imply folder.
6724         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6725         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6726         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6727         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6728         correct imply path.
6729         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6730         strlen symbol for non multi-arch builds.
6731         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6732         missing hidden_def and weak_alias.
6733
6734 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
6735
6736         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6737
6738 2014-04-07  Will Newton  <will.newton@linaro.org>
6739
6740         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6741         and contents.  [!_LIBC] Remove #ifndef and contents.
6742         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
6743         * string/memccpy.c (__memccpy): Use ANSI prototype.
6744         * string/memfrob.c (memfrob): Likewise.
6745         * string/strcoll.c (STRCOLL): Likewise.
6746         * string/strlen.c (strlen): Likewise.
6747         * string/strtok.c (STRTOK): Likewise.
6748         * string/strcat.c: Remove unused #include of memcopy.h.
6749         (strcat): Use ANSI prototype.
6750         * string/strchr.c: Remove unused #include of memcopy.h.
6751         (strchr): Use ANSI prototype.
6752         * string/strcmp.c: Remove unused #include of memcopy.h.
6753         (strcmp): Use ANSI prototype.
6754         * string/strcpy.c: Remove unused #include of memcopy.h.
6755         (strcpy): Use ANSI prototype.
6756
6757 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6758
6759         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6760         * config.make.in (config-extra-cppflags): Set it from
6761         libc_extra_cppflags.
6762         * configure.ac (libc_extra_cflags): Make it accumulate over
6763         configure fragments.
6764         (libc_extra_cppflags): New flag.
6765         * configure. Regenerate.
6766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6767         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6768         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6770
6771         [BZ #16815]
6772         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6773         result for FE_DOWNWARD rounding mode.
6774         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6775         Likewise.
6776         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6777
6778 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
6779
6780         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6781         in function argument name.
6782
6783 2014-04-03  David Svoboda  <svoboda@cert.org>
6784
6785         [BZ #5666]
6786         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6787         explicitly.
6788
6789 2014-04-03  Roland McGrath  <roland@hack.frob.com>
6790
6791         * elf/dl-unmap-segments.h: New file.
6792         * sysdeps/generic/ldsodefs.h
6793         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6794         * elf/dl-close.c: Include <dl-unmap-segments.h>.
6795         * elf/dl-fptr.c: Likewise.
6796         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6797         * sysdeps/aarch64/tlsdesc.c: Likewise.
6798         * sysdeps/arm/tlsdesc.c: Likewise.
6799         * sysdeps/i386/tlsdesc.c: Likewise.
6800         * sysdeps/tile/dl-runtime.c: Likewise.
6801         * sysdeps/x86_64/tlsdesc.c: Likewise.
6802         * elf/dl-load.h: New file.
6803         * elf/dl-load.c: Include it.
6804         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6805         Macros moved to dl-load.h.
6806         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6807         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6808         Use _dl_unmap_segments in place of __munmap.
6809         Break out segment-mapping loop into ...
6810         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6811
6812 2014-04-03  Will Newton  <will.newton@linaro.org>
6813
6814         * elf/dl-lookup.c (do_lookup_x): Remove comment
6815         referring to nested function and move variable
6816         declarations down to before first use.
6817
6818 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
6819
6820         [BZ #16799]
6821         [BZ #16800]
6822         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6823         with 0 numerator.
6824         * math/s_catanf.c (__catanf): Likewise.
6825         * math/s_catanh.c (__catanh): Likewise.
6826         * math/s_catanhf.c (__catanhf): Likewise.
6827         * math/s_catanhl.c (__catanhl): Likewise.
6828         * math/s_catanl.c (__catanl): Likewise.
6829         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6830         by positive zero when computing -Inf result.
6831         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6832         (catanh_test): Likewise.
6833         * sysdeps/i386/fpu/libm-test-ulps: Update.
6834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6835
6836         [BZ #16789]
6837         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6838         instead of using underflowing value in computing result.
6839         * math/s_clog10.c (__clog10): Likewise.
6840         * math/s_clog10f.c (__clog10f): Likewise.
6841         * math/s_clog10l.c (__clog10l): Likewise.
6842         * math/s_clogf.c (__clogf): Likewise.
6843         * math/s_clogl.c (__clogl): Likewise.
6844         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6845         (clog10_test): Likewise.
6846         * sysdeps/i386/fpu/libm-test-ulps: Update.
6847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6848
6849 2014-04-02  Alan Modra  <amodra@gmail.com>
6850
6851         [BZ #16739]
6852         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6853         output when value is near a power of two.  Use int64_t for lx and
6854         remove casts.  Use decimal rather than hex exponent constants.
6855         Don't use long double multiplication when double will suffice.
6856         * math/libm-test.inc (nextafter_test_data): Add tests.
6857         * NEWS: Add 16739 and 16786 to bug list.
6858
6859         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6860
6861         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6862
6863 2014-04-01  Will Newton  <will.newton@linaro.org>
6864
6865         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6866         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
6867
6868 2014-04-01  Florian Weimer  <fweimer@redhat.com>
6869
6870         [BZ #13347]
6871         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6872         * nptl/tst-setuid2.c: New file.
6873         * nptl/Makefile (xtests): Add tst-setuid2.
6874
6875 2014-04-01  Alan Modra  <amodra@gmail.com>
6876
6877         [BZ #16786]
6878         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6879
6880 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
6881
6882         [BZ #6803]
6883         [BZ #6804]
6884         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6885         set errno as appropriate.
6886         * math/w_scalbf.c (__scalbf): Likewise.
6887         * math/w_scalbl.c (__scalbl): Likewise.
6888         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6889         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6890         * math/libm-test.inc (scalb_test_data): Add errno expectations.
6891         Add more NaN tests.
6892
6893         [BZ #16349]
6894         * math/w_atan2.c: Include <errno.h>.
6895         (__atan2): Set errno for result underflowing to zero.
6896         * math/w_atan2f.c: Include <errno.h>.
6897         (__atan2f): Set errno for result underflowing to zero.
6898         * math/w_atan2l.c: Include <errno.h>.
6899         (__atan2l): Set errno for result underflowing to zero.
6900         * math/auto-libm-test-in: Don't allow missing errno for some atan2
6901         tests.
6902         * math/auto-libm-test-out: Regenerated.
6903
6904 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6905
6906         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6907         Encode instruction correctly in little endian.
6908         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6909         Likewise.
6910         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6911         Likewise.
6912         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6913         Likewise.
6914         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6915         Likewise.
6916
6917 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
6918
6919         [BZ #9894]
6920         * sysdeps/unix/sysv/linux/kernel-features.h
6921         [__sparc__ && !__arch64__ && !__sparc_v9__]
6922         (__ASSUME_SET_ROBUST_LIST): Do not define.
6923         [__sparc__ && !__arch64__ && !__sparc_v9__]
6924         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6925         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6926         Likewise.
6927         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6928         (__ASSUME_FUTEX_LOCK_PI): Undefine.
6929         (__ASSUME_REQUEUE_PI): Likewise.
6930         (__ASSUME_SET_ROBUST_LIST): Likewise.
6931         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6932         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6933         Undefine.
6934         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6935         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6936         Likewise.
6937         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6938         Likewise.
6939         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6940         Likewise.
6941         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6942         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6943         Undefine.
6944         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6945         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6946         Likewise.
6947
6948         [BZ #16648]
6949         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6950         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6951         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6952
6953 2014-03-31  Will Newton  <will.newton@linaro.org>
6954
6955         * benchtests/Makefile (bench): Add ffs and ffsll to list
6956         of tests.
6957         * benchtests/ffs-inputs: New file.
6958         * benchtests/ffsll-inputs: Likewise.
6959
6960 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
6961
6962         [BZ #16770]
6963         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6964         too large before casting to int.
6965         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6966         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6967         * math/libm-test.inc (scalb_test_data): Add more tests.
6968
6969 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6970
6971         * benchtests/Makefile (DETAILED_OPT): New make option.
6972         (bench-func): Run benchmark program with -d if DETAILED_OPT is
6973         set.
6974         * benchtests/bench-skeleton.c: Include stdbool.h.
6975         (main): Store and print timings per input.
6976         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6977         member to each argument value.
6978         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6979         (_print_arg_data): Initialize per-input timing to 0.
6980
6981         * benchtests/Makefile (timing-type): New binary.
6982         (bench-clean): Also remove bench-timing-type.
6983         (bench): New target for timing-type.
6984         (bench-func): Print output in JSON format.
6985         * benchtests/bench-skeleton.c (main): Print output in JSON
6986         format.
6987         * benchtests/bench-timing-type.c: New file.
6988         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6989         (TIMING_PRINT_STATS): Remove.
6990         * benchtests/scripts/bench.py (_print_arg_data): Store variant
6991         name separately.
6992
6993         * benchtests/bench-modf.c: Remove.
6994         * benchtests/modf-inputs: New inputs file.
6995
6996 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
6997
6998         [BZ #16362]
6999         * math/s_clog10.c (M_PI_LOG10E): New macro.
7000         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7001         imaginary parts are 0.
7002         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7003         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7004         imaginary parts are 0.
7005         * math/s_clog10l.c (M_PI_LOG10El): New macro.
7006         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7007         imaginary parts are 0.
7008         * math/libm-test.inc (clog10_test_data): Update expected results
7009         for when real and imaginary parts are 0.
7010
7011 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
7012
7013         * elf/dl-load.c: Finish conversion of __builtin_expect into
7014         __glibc_{un}likely.
7015
7016 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
7017
7018         [BZ #16348]
7019         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7020         1+x for argument with exponent below -67.
7021         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7022         Likewise.
7023         * math/auto-libm-test-in: Add more tests of exp.
7024         * math/auto-libm-test-out: Regenerated.
7025
7026 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7027
7028         [BZ #16759]
7029         * inet/getnetgrent_r.c (get_nonempty_val): New function.
7030         (nscd_getnetgrent): Use it.
7031
7032         [BZ #16760]
7033         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7034         of stpcpy.
7035
7036 2014-03-27  Andi Kleen  <ak@linux.intel.com>
7037
7038         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7039         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7040         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7041         (lll_robust_unlock): Remove out of line section. Use cfi
7042         intrinsics.
7043         (LLL_STUB_UNWIND_INFO*): Remove.
7044         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7045         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7046         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7047         (lll_robust_unlock): Remove out of line section. Use cfi
7048         intrinsics.
7049         (LLL_STUB_UNWIND_INFO*): Remove.
7050
7051 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7052
7053         [BZ #16758]
7054         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7055         blank values.
7056
7057 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
7058
7059         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7060
7061 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
7062
7063         [BZ #16198]
7064         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7065         fnstenv.
7066         * math/test-fenv-preserve.c: New file.
7067         * math/Makefile (tests): Add test-fenv-preserve.
7068
7069 2014-03-26  Will Newton <will.newton@linaro.org>
7070
7071         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7072
7073 2014-03-25  Roland McGrath  <roland@hack.frob.com>
7074
7075         * scripts/versionlist.awk: Partition the version sets and emit all
7076         GLIBC_* (sorted) before all others (sorted).
7077
7078 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7079
7080         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7081         GLIBC_2.2.5 version.
7082
7083 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7084
7085         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7086         calls.
7087
7088         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7089         previous change.
7090
7091         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7092
7093 2014-03-25  Andreas Schwab  <schwab@suse.de>
7094
7095         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7096         label to be used after in6ailist is initialized.
7097
7098 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7099
7100         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7101         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7102
7103 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7104
7105         [BZ #16357]
7106         [BZ #16599]
7107         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7108         min_plus_half.
7109         (fp_formats): Update initializers.
7110         (init_fp_formats): Initialize new field.
7111         (output_for_one_input_case): Allow underflow for results up to
7112         min_plus_half.
7113         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7114         * math/auto-libm-test-in: Don't mark some underflows from asin and
7115         atanh as spurious.
7116         * math/auto-libm-test-out: Regenerated.
7117         * sysdeps/i386/fpu/libm-test-ulps: Update.
7118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7119
7120 2014-03-25  Andreas Schwab  <schwab@suse.de>
7121
7122         * libio/Makefile (tst-ftell-partial-wide-ENV)
7123         (tst-ftell-active-handler-ENV): Define.
7124
7125 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
7126
7127         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7128
7129 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7130
7131         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7132
7133 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7134
7135         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7136         * sysdeps/x86_64/fpu/multiarch/e_exp.c
7137         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7138
7139 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7140
7141         [BZ #16634]
7142         * elf/dl-load.c (open_verify): Add mode parameter.
7143         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7144         (open_path): Change from boolean 'secure' to complete flag 'mode'
7145         (_dl_map_object): Adjust.
7146         * elf/Makefile (tests): Add tst-dlopen-aout.
7147         * elf/tst-dlopen-aout.c: New test.
7148
7149 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
7150
7151         [BZ #16714]
7152         * sysdeps/unix/sysv/linux/s390/bits/stat.h
7153         (struct stat): Rename member pad0 to __glibc_reserved0.
7154
7155         [BZ #16712]
7156         * sysdeps/s390/s390-32/bits/wordsize.h
7157         (__WORDSIZE32_SIZE_ULONG): New define.
7158         * sysdeps/s390/s390-64/bits/wordsize.h
7159         (__WORDSIZE32_SIZE_ULONG): Likewise.
7160         * sysdeps/generic/stdint.h (SIZE_MAX):
7161         Define as UL if __WORDSIZE32_SIZE_ULONG.
7162
7163         [BZ #16713]
7164         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7165         (__glibc_reserved0): New variable.
7166         (sa_flags): Change type to int.
7167
7168         * posix/Makefile (before-compile): Use += before-compile instead
7169         of a :=.
7170
7171         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7172         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7173
7174 2014-03-20  Andreas Schwab  <schwab@suse.de>
7175
7176         [BZ #16743]
7177         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7178         non-matching result from nscd.
7179
7180 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7181
7182         * scripts/bench.py: Moved to ...
7183         * benchtests/scripts/bench.py: ... here.
7184         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7185
7186 2014-03-24  Andreas Schwab  <schwab@suse.de>
7187
7188         [BZ #16002]
7189         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7190         alloca_account and account alloca use for struct in6ailist.
7191
7192 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7193
7194         [BZ #16284]
7195         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7196         rounding mode to recompute results that overflow to infinity or
7197         underflow to zero.
7198         * math/auto-libm-test-in: Don't mark tests as expected to fail for
7199         bug 16284.
7200         * math/auto-libm-test-out: Regenerated.
7201         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7202         (ccosh_test): Likewise.
7203         (csin_test_data): Use plus_oflow.
7204         (csin_test): Use ALL_RM_TEST.
7205         (csinh_test_data): Use plus_oflow.
7206         (csinh_test): Use ALL_RM_TEST.
7207         * sysdeps/i386/fpu/libm-test-ulps: Update.
7208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7209
7210 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
7211
7212         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7213         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7214         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7215
7216         [BZ #16731]
7217         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7218         when x - 1 is zero.
7219         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7220         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7221         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7222         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7223         argument is 1.
7224         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7225         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7226         zero.
7227         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7228         * sysdeps/i386/fpu/libm-test-ulps: Update.
7229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7230
7231 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7232
7233         * scripts/bench.pl: Remove file.
7234         * scripts/bench.py: New benchmark script.
7235         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7236         * benchtests/README: Mention python dependency.
7237         * scripts/pylintrc: New file.
7238         * scripts/pylint: New file.
7239
7240         * bits/mathdef.h: Use #ifdef instead of #if.
7241         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7242         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7243         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7244         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7245         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7246         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7247
7248 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7249             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7250
7251         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7252         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7253         and strpbrk-ppc64 objects.
7254         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7255         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7256         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7257         multiarch strpbrk for POWER7.
7258         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7259         multiarch strpbrk for PPC64.
7260         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7261         ifunc selector.
7262         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7263         strpbrk for POWER7.
7264
7265 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7266
7267         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7268         (atan_test): Likewise.
7269         (atanh_test_data): Use NO_TEST_INLINE for two tests.
7270         (atanh_test): Use ALL_RM_TEST.
7271         (atan2_test_data): Likewise.
7272         (cabs_test): Likewise.
7273         (cacosh_test): Likewise.
7274         (carg_test): Likewise.
7275         (casin_test): Likewise.
7276         (casinh_test): Likewise.
7277         (cbrt_test): Likewise.
7278         (csqrt_test): Likewise.
7279         (erf_test): Likewise.
7280         (erfc_test): Likewise.
7281         (pow10_test): Likewise.
7282         (exp2_test): Likewise.
7283         (hypot_test): Likewise.
7284         (j0_test): Likewise.
7285         (j1_test): Likewise.
7286         (lgamma_test): Likewise.
7287         (gamma_test): Likewise.
7288         (sincos_test): Likewise.
7289         (tanh_test): Likewise.
7290         (y0_test): Likewise.
7291         (y1_test): Likewise.
7292         * sysdeps/i386/fpu/libm-test-ulps: Update.
7293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7294
7295 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7296
7297         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7298         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7299         and strcspn-ppc64 objects.
7300         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7301         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7302         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7303         multiarch strcspn for POWER7.
7304         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7305         multiarch strcspn for PPC64.
7306         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7307         ifunc selector.
7308         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7309         strcspn for POWER7.
7310
7311 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7312
7313         * math/gen-libm-test.pl (generate_testfile): Expect only function
7314         name as argument to AUTO_TESTS_* and pass results for all rounding
7315         modes to parse_args.
7316         (parse_auto_input): Separate inputs of automatic tests from
7317         outputs before storing in %auto_tests.
7318         * math/libm-test.inc (acos_test_data): Update call to
7319         AUTO_TESTS_f_f.
7320         (acos_test): Use ALL_RM_TEST.
7321         (acos_tonearest_test_data): Remove.
7322         (acos_test_tonearest): Likewise.
7323         (acos_towardzero_test_data): Likewise.
7324         (acos_test_towardzero): Likewise.
7325         (acos_downward_test_data): Likewise.
7326         (acos_test_downward): Likewise.
7327         (acos_upward_test_data): Likewise.
7328         (acos_test_upward): Likewise.
7329         (acosh_test_data): Update call to AUTO_TESTS_f_f.
7330         (asin_test_data): Likewise.
7331         (asin_test): Use ALL_RM_TEST.
7332         (asin_tonearest_test_data): Remove.
7333         (asin_test_tonearest): Likewise.
7334         (asin_towardzero_test_data): Likewise.
7335         (asin_test_towardzero): Likewise.
7336         (asin_downward_test_data): Likewise.
7337         (asin_test_downward): Likewise.
7338         (asin_upward_test_data): Likewise.
7339         (asin_test_upward): Likewise.
7340         (asinh_test_data): Update call to AUTO_TESTS_f_f.
7341         (atan_test_data): Likewise.
7342         (atanh_test_data): Likewise.
7343         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7344         (cabs_test_data): Update call to AUTO_TESTS_c_f.
7345         (carg_test_data): Likewise.
7346         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7347         (ccos_test_data): Update call to AUTO_TESTS_c_c.
7348         (ccosh_test_data): Likewise.
7349         (cexp_test_data): Likewise.
7350         (clog_test_data): Likewise.
7351         (clog10_test_data): Likewise.
7352         (cos_test_data): Update call to AUTO_TESTS_f_f.
7353         (cos_test): Use ALL_RM_TEST.
7354         (cos_tonearest_test_data): Remove.
7355         (cos_test_tonearest): Likewise.
7356         (cos_towardzero_test_data): Likewise.
7357         (cos_test_towardzero): Likewise.
7358         (cos_downward_test_data): Likewise.
7359         (cos_test_downward): Likewise.
7360         (cos_upward_test_data): Likewise.
7361         (cos_test_upward): Likewise.
7362         (cosh_test_data): Update call to AUTO_TESTS_f_f.
7363         (cosh_test): Use ALL_RM_TEST.
7364         (cosh_tonearest_test_data): Remove.
7365         (cosh_test_tonearest): Likewise.
7366         (cosh_towardzero_test_data): Likewise.
7367         (cosh_test_towardzero): Likewise.
7368         (cosh_downward_test_data): Likewise.
7369         (cosh_test_downward): Likewise.
7370         (cosh_upward_test_data): Likewise.
7371         (cosh_test_upward): Likewise.
7372         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7373         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7374         (ctan_test_data): Likewise.
7375         (ctan_test): Use ALL_RM_TEST.
7376         (ctan_tonearest_test_data): Remove.
7377         (ctan_test_tonearest): Likewise.
7378         (ctan_towardzero_test_data): Likewise.
7379         (ctan_test_towardzero): Likewise.
7380         (ctan_downward_test_data): Likewise.
7381         (ctan_test_downward): Likewise.
7382         (ctan_upward_test_data): Likewise.
7383         (ctan_test_upward): Likewise.
7384         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7385         (ctanh_test): Use ALL_RM_TEST.
7386         (ctanh_tonearest_test_data): Remove.
7387         (ctanh_test_tonearest): Likewise.
7388         (ctanh_towardzero_test_data): Likewise.
7389         (ctanh_test_towardzero): Likewise.
7390         (ctanh_downward_test_data): Likewise.
7391         (ctanh_test_downward): Likewise.
7392         (ctanh_upward_test_data): Likewise.
7393         (ctanh_test_upward): Likewise.
7394         (erf_test_data): Update call to AUTO_TESTS_f_f.
7395         (erfc_test_data): Likewise.
7396         (exp_test_data): Likewise.
7397         (exp_test): Use ALL_RM_TEST.
7398         (exp_tonearest_test_data): Remove.
7399         (exp_test_tonearest): Likewise.
7400         (exp_towardzero_test_data): Likewise.
7401         (exp_test_towardzero): Likewise.
7402         (exp_downward_test_data): Likewise.
7403         (exp_test_downward): Likewise.
7404         (exp_upward_test_data): Likewise.
7405         (exp_test_upward): Likewise.
7406         (exp10_test_data): Update call to AUTO_TESTS_f_f.
7407         (exp10_test): Use ALL_RM_TEST.
7408         (exp10_tonearest_test_data): Remove.
7409         (exp10_test_tonearest): Likewise.
7410         (exp10_towardzero_test_data): Likewise.
7411         (exp10_test_towardzero): Likewise.
7412         (exp10_downward_test_data): Likewise.
7413         (exp10_test_downward): Likewise.
7414         (exp10_upward_test_data): Likewise.
7415         (exp10_test_upward): Likewise.
7416         (exp2_test_data): Update call to AUTO_TESTS_f_f.
7417         (expm1_test_data): Likewise.
7418         (expm1_test): Use ALL_RM_TEST.
7419         (expm1_tonearest_test_data): Remove.
7420         (expm1_test_tonearest): Likewise.
7421         (expm1_towardzero_test_data): Likewise.
7422         (expm1_test_towardzero): Likewise.
7423         (expm1_downward_test_data): Likewise.
7424         (expm1_test_downward): Likewise.
7425         (expm1_upward_test_data): Likewise.
7426         (expm1_test_upward): Likewise.
7427         (fma_test_data): Update call to AUTO_TESTS_fff_f.
7428         (fma_test): Use ALL_RM_TEST.
7429         (fma_towardzero_test_data): Remove.
7430         (fma_test_towardzero): Likewise.
7431         (fma_downward_test_data): Likewise.
7432         (fma_test_downward): Likewise.
7433         (fma_upward_test_data): Likewise.
7434         (fma_test_upward): Likewise.
7435         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7436         (j0_test_data): Update call to AUTO_TESTS_f_f.
7437         (j1_test_data): Likewise.
7438         (jn_test_data): Update call to AUTO_TESTS_if_f.
7439         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7440         (log_test_data): Update call to AUTO_TESTS_f_f.
7441         (log10_test_data): Likewise.
7442         (log1p_test_data): Likewise.
7443         (log2_test_data): Likewise.
7444         (pow_test_data): Update call to AUTO_TESTS_ff_f.
7445         (pow_tonearest_test_data): Likewise.
7446         (sin_test_data): Update call to AUTO_TESTS_f_f.
7447         (sin_test): Use ALL_RM_TEST.
7448         (sin_tonearest_test_data): Remove.
7449         (sin_test_tonearest): Likewise.
7450         (sin_towardzero_test_data): Likewise.
7451         (sin_test_towardzero): Likewise.
7452         (sin_downward_test_data): Likewise.
7453         (sin_test_downward): Likewise.
7454         (sin_upward_test_data): Likewise.
7455         (sin_test_upward): Likewise.
7456         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7457         (sinh_test_data): Update call to AUTO_TESTS_f_f.
7458         (sinh_test): Use ALL_RM_TEST.
7459         (sinh_tonearest_test_data): Remove.
7460         (sinh_test_tonearest): Likewise.
7461         (sinh_towardzero_test_data): Likewise.
7462         (sinh_test_towardzero): Likewise.
7463         (sinh_downward_test_data): Likewise.
7464         (sinh_test_downward): Likewise.
7465         (sinh_upward_test_data): Likewise.
7466         (sinh_test_upward): Likewise.
7467         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7468         (sqrt_test): Use ALL_RM_TEST.
7469         (sqrt_tonearest_test_data): Remove.
7470         (sqrt_test_tonearest): Likewise.
7471         (sqrt_towardzero_test_data): Likewise.
7472         (sqrt_test_towardzero): Likewise.
7473         (sqrt_downward_test_data): Likewise.
7474         (sqrt_test_downward): Likewise.
7475         (sqrt_upward_test_data): Likewise.
7476         (sqrt_test_upward): Likewise.
7477         (tan_test_data): Update call to AUTO_TESTS_f_f.
7478         (tan_test): Use ALL_RM_TEST.
7479         (tan_tonearest_test_data): Remove.
7480         (tan_test_tonearest): Likewise.
7481         (tan_towardzero_test_data): Likewise.
7482         (tan_test_towardzero): Likewise.
7483         (tan_downward_test_data): Likewise.
7484         (tan_test_downward): Likewise.
7485         (tan_upward_test_data): Likewise.
7486         (tan_test_upward): Likewise.
7487         (tanh_test_data): Update call to AUTO_TESTS_f_f.
7488         (tgamma_test_data): Likewise.
7489         (y0_test_data): Likewise.
7490         (y1_test_data): Likewise.
7491         (yn_test_data): Update call to AUTO_TESTS_if_f.
7492         (main): Do not call removed functions.
7493
7494 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
7495
7496         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7497         (ldexp_test_data): Remove.
7498         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
7499         scalbn_test_data.
7500         (scalb_test): Use ALL_RM_TEST.
7501
7502 2014-03-19  Andreas Schwab  <schwab@suse.de>
7503
7504         * nscd/nscd.service: Also invalidate netgroup cache on reload.
7505
7506 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
7507
7508         [BZ #16649]
7509         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7510         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7511         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7512         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7513         (__ASSUME_PREADV): Undefine.
7514         (__ASSUME_PWRITEV): Likewise.
7515
7516 2014-03-18  Roland McGrath  <roland@hack.frob.com>
7517
7518         * bits/mman-linux.h: Add comment about non-Linux use.
7519         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7520         bits/mman-linux.h resting place.
7521
7522         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7523         * bits/mman-linux.h: ... here.
7524
7525 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7526
7527         * conform/conformtest.pl: Add standard definition when calling C
7528         preprocessor on data files.
7529         (checknamespace): Remove unused variable.
7530
7531 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
7532
7533         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7534         minus_oflow, plus_uflow and minus_uflow in expected results.
7535         * math/libm-test.inc (scalbn_test_data): Add more tests of
7536         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
7537         minus_uflow.
7538         (scalbn_test): Use ALL_RM_TEST.
7539         (scalbln_test_data): Add more tests of negative arguments.  Use
7540         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7541         (scalbln_test): Use ALL_RM_TEST.
7542
7543 2014-03-18  Roland McGrath  <roland@hack.frob.com>
7544
7545         * scripts/abilist.awk: Ignore symbols marked with .hidden.
7546
7547 2014-03-18  Will Newton  <will.newton@linaro.org>
7548
7549         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7550         inaccurate comment.
7551
7552 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
7553
7554         * Makerules [!subdir] (check-abi): Exit with error status if a
7555         test failed.
7556
7557 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
7558
7559         * math/libm-test.inc (nearbyint_test_data): Include all tests used
7560         for rint.  Include results for all rounding modes.
7561         (nearbyint_test): Use ALL_RM_TEST.
7562         (rint_test_data): Include all tests used for nearbyint.
7563
7564 2014-03-17  Will Newton  <will.newton@linaro.org>
7565
7566         * nptl/sysdeps/pthread/pthread.h: Revert previous
7567         change.
7568
7569         * sysdeps/generic/ldsodefs.h: Revert previous
7570         change.
7571
7572         * libio/genops.c: Revert previous change.
7573         * libio/libioP.h: Likewise.
7574         * stdio-common/vfprintf.c: Likewise.
7575
7576         * sysdeps/generic/math_private.h: Revert previous
7577         change.
7578
7579         * sysdeps/generic/math_private.h: Check whether
7580         HAVE_RM_CTX is defined with #ifdef rather
7581         than #if.
7582
7583         * argp/argp-fmtstream.h: Check whether
7584         __STRICT_ANSI__ is defined with #ifdef rather
7585         than #if.
7586         * argp/argp.h: Likewise.
7587
7588         * libio/genops.c: Check whether
7589         _IO_JUMPS_OFFSET is defined with #ifdef rather
7590         than #if.
7591         * libio/libioP.h: Likewise.
7592         * stdio-common/vfprintf.c: Likewise.
7593
7594         * sysdeps/generic/ldsodefs.h: Check whether
7595         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7596         than #if.
7597
7598         * nptl/sysdeps/pthread/pthread.h: Check
7599         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7600         its value.
7601
7602 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7603
7604         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7605         setting O_APPEND.
7606         * libio/tst-ftell-active-handler.c (do_append_test): Add a
7607         test case.
7608
7609         [BZ #16680]
7610         * libio/fileops.c (_IO_file_open): Seek to end of file but
7611         don't cache the offset.
7612         (get_file_offset): Remove function.
7613         (do_ftell): Use cached offset when available.
7614         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7615         don't cache the offset.
7616         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7617         case.
7618         (do_one_test): Call it.
7619         (do_ftell_test): Fix up expected old offset for a+ mode.
7620         * libio/wfileops.c (do_ftell_wide): Used cached offset when
7621         available.
7622
7623         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7624         up test status with function return status.
7625         (do_write_test): Likewise.
7626         (do_append_test): Likewise.
7627
7628         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7629         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7630         Remove.
7631
7632 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
7633
7634         * math/gen-libm-test.pl (parse_args): Handle results specified for
7635         each rounding mode separately.
7636         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7637         tests and results from lrint_tonearest_test_data,
7638         lrint_towardzero_test_data, lrint_downward_test_data and
7639         lrint_upward_test_data.
7640         (lrint_test): Use ALL_RM_TEST.
7641         (lrint_tonearest_test_data): Remove.
7642         (lrint_test_tonearest): Likewise.
7643         (lrint_towardzero_test_data): Likewise.
7644         (lrint_test_towardzero): Likewise.
7645         (lrint_downward_test_data): Likewise.
7646         (lrint_test_downward): Likewise.
7647         (lrint_upward_test_data): Likewise.
7648         (lrint_test_upward): Likewise.
7649         (llrint_test_data): Merge in per-rounding-mode tests and results
7650         from llrint_tonearest_test_data, llrint_towardzero_test_data,
7651         llrint_downward_test_data and llrint_upward_test_data.
7652         (llrint_test): Use ALL_RM_TEST.
7653         (llrint_tonearest_test_data): Remove.
7654         (llrint_test_tonearest): Likewise.
7655         (llrint_towardzero_test_data): Likewise.
7656         (llrint_test_towardzero): Likewise.
7657         (llrint_downward_test_data): Likewise.
7658         (llrint_test_downward): Likewise.
7659         (llrint_upward_test_data): Likewise.
7660         (llrint_test_upward): Likewise.
7661         (rint_test_data): Merge in per-rounding-mode tests and results
7662         from rint_tonearest_test_data, rint_towardzero_test_data,
7663         rint_downward_test_data and rint_upward_test_data.  Add
7664         per-rounding-mode results for tests not in those arrays.
7665         (rint_test): Use ALL_RM_TEST.
7666         (rint_tonearest_test_data): Remove.
7667         (rint_test_tonearest): Likewise.
7668         (rint_towardzero_test_data): Likewise.
7669         (rint_test_towardzero): Likewise.
7670         (rint_downward_test_data): Likewise.
7671         (rint_test_downward): Likewise.
7672         (rint_upward_test_data): Likewise.
7673         (rint_test_upward): Likewise.
7674         (main): Don't call removed functions.
7675
7676 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7677
7678         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7679         "Compiled on ..." crapola.  It is anti-useful.
7680
7681 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
7682
7683         * scripts/evaluate-test.sh: Handle fourth argument to determine
7684         whether test run should stop on failure.
7685         * Makeconfig (stop-on-test-failure): New variable.
7686         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7687         $(stop-on-test-failure).
7688         * Makefile (tests): Give a summary of results from testing and
7689         exit with failure status if they include an ERROR or FAIL.
7690         (xtests): Likewise.
7691         * manual/install.texi (Configuring and compiling): Mention
7692         stop-on-test-failure=y.
7693         * INSTALL: Regenerated.
7694
7695 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7696
7697         * scripts/versionlist.awk: New file.
7698         * Makerules [$(build-shared) = yes]
7699         (postclean-generated): Add Versions.def, not Versions.def.v and
7700         Versions.def.v.i.
7701         ($(common-objpfx)Versions.def.v.i): Target removed.
7702         ($(common-objpfx)Versions.def): New target.
7703         ($(common-objpfx)Versions.all): Depend on that rather that
7704         $(common-objpfx)Versions.def.v.
7705         * Versions.def: File removed.
7706
7707         * Makeconfig (+gccwarn): Add -Wundef.
7708         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7709         a dl-sysdep.h breaking its contract.
7710         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7711         * include/stackinfo.h: New file.
7712         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7713         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7714         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7715         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7716         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7717         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7718         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7719         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7720         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7721         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7722         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7723         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7724         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7725         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7726         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7727
7728 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7729
7730         [BZ #16707]
7731         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7732         implementation.
7733         * math/libm-test.inc (round_test_data): Add more tests.
7734
7735         [BZ #16706]
7736         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7737         implementation.
7738         * math/libm-test.inc (nearbyint_test_data): Add more tests.
7739
7740         [BZ #16701]
7741         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7742         implementation.
7743         * math/libm-test.inc (ceil_test_data): Add more tests.
7744
7745         * math/libm-test.inc (trunc_test_data): Add more tests related to
7746         BZ#16414.
7747
7748 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7749
7750         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7751         with #if rather than #ifdef.
7752         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7753
7754 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
7755
7756         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7757         first.  Disable AVX-512 GCC support if assembler doesn't support
7758         it.
7759         * sysdeps/x86_64/configure: Regenerated.
7760
7761 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
7762
7763         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7764         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7765         (__old_pthread_attr_setstack): Likewise.
7766         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7767         [!_STACK_GROWS_DOWN]: Likewise.
7768
7769 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
7770
7771         * config.make.in (have-bash2): Delete.
7772         * configure.ac (libc_cv_have_bash2): Delete.
7773         * configure: Regenerate.
7774         * elf/Makefile (common-ldd-rewrite): Rename to ...
7775         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
7776         (sh-ldd-rewrite): Delete.
7777         (bash-ldd-rewrite): Delete.
7778         (have-bash2): Delete checks.
7779         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7780         ldd-rewrite.
7781
7782         * config.make.in (have-ksh): Delete.
7783         (KSH): Delete.
7784         * configure.ac (libc_cv_have_ksh): Delete.
7785         * configure: Regenerate.
7786
7787         * elf/Makefile: Delete $(have-ksh) check.
7788         ($(objpfx)sotruss): Change KSH to BASH.
7789         * elf/sotruss.ksh: Rename to ...
7790         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
7791         function style to match POSIX.  Drop ksh vim mode setting.
7792
7793         * manual/time.texi (Specifying the Time Zone with TZ): Change
7794         Tuesday to Thursday.
7795
7796         * debug/tst-longjmp_chk2.c: Update header comment.
7797         (stackoverflow_handler): Add comment.  Call assert on pass value.
7798
7799 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
7800
7801         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7802         (HAVE_AVX512_ASM_SUPPORT): Likewise.
7803         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7804         (La_x86_64_vector): Add zmm.
7805         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7806         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7807         ($(objpfx)tst-audit10): New target.
7808         ($(objpfx)tst-audit10.out): Likewise.
7809         (tst-audit10-ENV): New.
7810         (AVX512-CFLAGS): Likewise.
7811         (CFLAGS-tst-audit10.c): Likewise.
7812         (CFLAGS-tst-auditmod10a.c): Likewise.
7813         (CFLAGS-tst-auditmod10b.c): Likewise.
7814         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7815         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7816         * sysdeps/x86_64/configure: Regenerated.
7817         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7818         AVX-512 zmm register support.
7819         (_dl_x86_64_save_sse): Likewise.
7820         (_dl_x86_64_restore_sse): Likewise.
7821         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7822         size vector registers.
7823         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7824         (ZMM_SIZE): Likewise.
7825         * sysdeps/x86_64/tst-audit10.c: New file.
7826         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7827         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7828
7829 2014-03-13  Roland McGrath  <roland@hack.frob.com>
7830
7831         * configure.ac (HAVE_EHDR_START): New check.
7832         * configure: Regenerated.
7833         * config.h.in (HAVE_EHDR_START): New #undef.
7834         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7835         assuming the lowest-addressed segment maps the start of the file.
7836
7837 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
7838
7839         * INSTALL: Regenerated.
7840
7841 2014-03-13  Will Newton  <will.newton@linaro.org>
7842
7843         * manual/setjmp.texi (System V contexts): Improve
7844         clarity and grammar of documentation.
7845
7846 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
7847
7848         [BZ #16381]
7849         * elf/Makefile (tests): Add tst-pie2.
7850         (tests-pie): Add tst-pie2.
7851         * elf/tst-pie2.c: New file.
7852         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7853         for ET_EXEC.
7854         * elf/rtld.c (map_doit): Load executable as lt_executable.
7855         (dl_main): Likewise.
7856
7857 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
7858
7859         [BZ #16642]
7860         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7861         (__ASSUME_PSELECT): Undefine.
7862
7863 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7864
7865         [BZ #16689]
7866         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7867         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7868         static build.
7869         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7870         selector for static builds.
7871
7872 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7873
7874         [BZ #16695]
7875         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7876         key in the buffer.
7877
7878 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7879
7880         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7881         IFUNC selector for static builds.
7882
7883 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
7884
7885         * sysdeps/mips/math_private.h [__mips_hard_float]
7886         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7887         libc_feresetround_mips_ctx.
7888         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7889         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7890         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7891
7892         [BZ #16677]
7893         * math/s_nextafter.c (__nextafter): Do not return value from
7894         overflowing computation.
7895         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7896         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7897         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7898         Likewise.
7899         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7900         Likewise.
7901         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7902         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7903
7904 2014-03-11  Roland McGrath  <roland@hack.frob.com>
7905
7906         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7907         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7908         Move sfi_sp use from the load-multiple (that no longer sets sp) to
7909         the new mov targetting sp.
7910
7911 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7912
7913         [BZ #16683]
7914         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7915         Define it for static builds as well.
7916         (NO_BZERO_IMPL): Likewise.
7917
7918 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7919
7920         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7921         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7922         multiarch strspn for PPC64.
7923         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7924         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7925         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7926         (__libc_ifunc_impl_list): Likewise.
7927         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7928         multiarch optimizations
7929         * string/strspn.c (strspn): Using macro to redefine symbol name.
7930
7931 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7932             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7933
7934         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7935         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7936         multiarch strncat for PPC64.
7937         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7938         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7939         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7940         (__libc_ifunc_impl_list): Likewise.
7941         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7942         multiarch optimizations
7943
7944 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7945
7946         [BZ #16639]
7947         * nscd/nscd.service: Make service type forking.
7948
7949 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7950
7951         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7952         sign in non default rounding modes.
7953         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7954
7955 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
7956
7957         * math/libm-test.inc (ALL_RM_TEST): New macro.
7958         (ceil_test): Use ALL_RM_TEST.
7959         (cimag_test): Likewise.
7960         (conj_test): Likewise.
7961         (copysign_test): Likewise.
7962         (cproj_test): Likewise.
7963         (creal_test): Likewise.
7964         (fabs_test): Likewise.
7965         (floor_test): Likewise.
7966         (fmax_test): Likewise.
7967         (fmin_test): Likewise.
7968         (fmod_test): Likewise.
7969         (fpclassify_test): Likewise.
7970         (frexp_test): Likewise.
7971         (ilogb_test): Likewise.
7972         (isfinite_test): Likewise.
7973         (finite_test): Likewise.
7974         (isgreater_test): Likewise.
7975         (isgreaterequal_test): Likewise.
7976         (isinf_test): Likewise.
7977         (isless_test): Likewise.
7978         (islessequal_test): Likewise.
7979         (islessgreater_test): Likewise.
7980         (isnan_test): Likewise.
7981         (isnormal_test): Likewise.
7982         (issignaling_test): Likewise.
7983         (isunordered_test): Likewise.
7984         (logb_test): Likewise.
7985         (logb_downward_test_data): Remove.
7986         (logb_test_downward): Likewise.
7987         (lround_test): Use ALL_RM_TEST.
7988         (llround_test): Likewise.
7989         (modf_test): Likewise.
7990         (nexttoward_test): Likewise.
7991         (remainder_test): Likewise.
7992         (drem_test): Likewise.
7993         (remainder_tonearest_test_data): Likewise.
7994         (remainder_test_tonearest): Likewise.
7995         (drem_test_tonearest): Likewise.
7996         (remainder_towardzero_test_data): Likewise.
7997         (remainder_test_towardzero): Likewise.
7998         (drem_test_towardzero): Likewise.
7999         (remainder_downward_test_data): Likewise.
8000         (remainder_test_downward): Likewise.
8001         (drem_test_downward): Likewise.
8002         (remainder_upward_test_data): Likewise.
8003         (remainder_test_upward): Likewise.
8004         (drem_test_upward): Likewise.
8005         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
8006         (round_test): Use ALL_RM_TEST.
8007         (signbit_test): Likewise.
8008         (trunc_test): Likewise.
8009         (significand_test): Likewise.
8010         (main): Don't call removed functions.
8011
8012 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8013
8014         [BZ #16674]
8015         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8016         || __USE_XOPEN2K8].
8017         (ILL_ILLOPN): Likewise.
8018         (ILL_ILLADR): Likewise.
8019         (ILL_ILLTRP): Likewise.
8020         (ILL_PRVOPC): Likewise.
8021         (ILL_PRVREG): Likewise.
8022         (ILL_COPROC): Likewise.
8023         (ILL_BADSTK): Likewise.
8024         (FPE_INTDIV): Likewise.
8025         (FPE_INTOVF): Likewise.
8026         (FPE_FLTDIV): Likewise.
8027         (FPE_FLTOVF): Likewise.
8028         (FPE_FLTUND): Likewise.
8029         (FPE_FLTRES): Likewise.
8030         (FPE_FLTINV): Likewise.
8031         (FPE_FLTSUB): Likewise.
8032         (SEGV_MAPERR): Likewise.
8033         (SEGV_ACCERR): Likewise.
8034         (BUS_ADRALN): Likewise.
8035         (BUS_ADRERR): Likewise.
8036         (BUS_OBJERR): Likewise.
8037         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8038         (TRAP_TRACE): Likewise.
8039         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8040         __USE_XOPEN2K8].
8041         (CLD_KILLED): Likewise.
8042         (CLD_DUMPED): Likewise.
8043         (CLD_TRAPPED): Likewise.
8044         (CLD_STOPPED): Likewise.
8045         (CLD_CONTINUED): Likewise.
8046         (POLL_IN): Likewise.
8047         (POLL_OUT): Likewise.
8048         (POLL_MSG): Likewise.
8049         (POLL_ERR): Likewise.
8050         (POLL_PRI): Likewise.
8051         (POLL_HUP): Likewise.
8052         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8053         Likewise.
8054         (ILL_ILLOPN): Likewise.
8055         (ILL_ILLADR): Likewise.
8056         (ILL_ILLTRP): Likewise.
8057         (ILL_PRVOPC): Likewise.
8058         (ILL_PRVREG): Likewise.
8059         (ILL_COPROC): Likewise.
8060         (ILL_BADSTK): Likewise.
8061         (FPE_INTDIV): Likewise.
8062         (FPE_INTOVF): Likewise.
8063         (FPE_FLTDIV): Likewise.
8064         (FPE_FLTOVF): Likewise.
8065         (FPE_FLTUND): Likewise.
8066         (FPE_FLTRES): Likewise.
8067         (FPE_FLTINV): Likewise.
8068         (FPE_FLTSUB): Likewise.
8069         (SEGV_MAPERR): Likewise.
8070         (SEGV_ACCERR): Likewise.
8071         (BUS_ADRALN): Likewise.
8072         (BUS_ADRERR): Likewise.
8073         (BUS_OBJERR): Likewise.
8074         (BUS_MCEERR_AR): Likewise.
8075         (BUS_MCEERR_AO): Likewise.
8076         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8077         (TRAP_TRACE): Likewise.
8078         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8079         __USE_XOPEN2K8].
8080         (CLD_KILLED): Likewise.
8081         (CLD_DUMPED): Likewise.
8082         (CLD_TRAPPED): Likewise.
8083         (CLD_STOPPED): Likewise.
8084         (CLD_CONTINUED): Likewise.
8085         (POLL_IN): Likewise.
8086         (POLL_OUT): Likewise.
8087         (POLL_MSG): Likewise.
8088         (POLL_ERR): Likewise.
8089         (POLL_PRI): Likewise.
8090         (POLL_HUP): Likewise.
8091         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8092         (ILL_ILLOPN): Likewise.
8093         (ILL_ILLADR): Likewise.
8094         (ILL_ILLTRP): Likewise.
8095         (ILL_PRVOPC): Likewise.
8096         (ILL_PRVREG): Likewise.
8097         (ILL_COPROC): Likewise.
8098         (ILL_BADSTK): 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         (SEGV_MAPERR): Likewise.
8108         (SEGV_ACCERR): Likewise.
8109         (BUS_ADRALN): Likewise.
8110         (BUS_ADRERR): Likewise.
8111         (BUS_OBJERR): Likewise.
8112         (BUS_MCEERR_AR): Likewise.
8113         (BUS_MCEERR_AO): Likewise.
8114         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8115         (TRAP_TRACE): Likewise.
8116         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8117         __USE_XOPEN2K8].
8118         (CLD_KILLED): Likewise.
8119         (CLD_DUMPED): Likewise.
8120         (CLD_TRAPPED): Likewise.
8121         (CLD_STOPPED): Likewise.
8122         (CLD_CONTINUED): Likewise.
8123         (POLL_IN): Likewise.
8124         (POLL_OUT): Likewise.
8125         (POLL_MSG): Likewise.
8126         (POLL_ERR): Likewise.
8127         (POLL_PRI): Likewise.
8128         (POLL_HUP): Likewise.
8129         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8130         Likewise.
8131         (ILL_ILLOPN): Likewise.
8132         (ILL_ILLADR): Likewise.
8133         (ILL_ILLTRP): Likewise.
8134         (ILL_PRVOPC): Likewise.
8135         (ILL_PRVREG): Likewise.
8136         (ILL_COPROC): Likewise.
8137         (ILL_BADSTK): Likewise.
8138         (ILL_BADIADDR): Likewise.
8139         (ILL_BREAK): Likewise.
8140         (FPE_INTDIV): Likewise.
8141         (FPE_INTOVF): Likewise.
8142         (FPE_FLTDIV): Likewise.
8143         (FPE_FLTOVF): Likewise.
8144         (FPE_FLTUND): Likewise.
8145         (FPE_FLTRES): Likewise.
8146         (FPE_FLTINV): Likewise.
8147         (FPE_FLTSUB): Likewise.
8148         (FPE_DECOVF): Likewise.
8149         (FPE_DECDIV): Likewise.
8150         (FPE_DECERR): Likewise.
8151         (FPE_INVASC): Likewise.
8152         (FPE_INVDEC): Likewise.
8153         (SEGV_MAPERR): Likewise.
8154         (SEGV_ACCERR): Likewise.
8155         (SEGV_PSTKOVF): Likewise.
8156         (BUS_ADRALN): Likewise.
8157         (BUS_ADRERR): Likewise.
8158         (BUS_OBJERR): Likewise.
8159         (BUS_MCEERR_AR): Likewise.
8160         (BUS_MCEERR_AO): Likewise.
8161         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8162         (TRAP_TRACE): Likewise.
8163         (TRAP_BRANCH): Likewise.
8164         (TRAP_HWBKPT): Likewise.
8165         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8166         __USE_XOPEN2K8].
8167         (CLD_KILLED): Likewise.
8168         (CLD_DUMPED): Likewise.
8169         (CLD_TRAPPED): Likewise.
8170         (CLD_STOPPED): Likewise.
8171         (CLD_CONTINUED): Likewise.
8172         (POLL_IN): Likewise.
8173         (POLL_OUT): Likewise.
8174         (POLL_MSG): Likewise.
8175         (POLL_ERR): Likewise.
8176         (POLL_PRI): Likewise.
8177         (POLL_HUP): Likewise.
8178         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8179         (ILL_ILLOPN): Likewise.
8180         (ILL_ILLADR): Likewise.
8181         (ILL_ILLTRP): Likewise.
8182         (ILL_PRVOPC): Likewise.
8183         (ILL_PRVREG): Likewise.
8184         (ILL_COPROC): Likewise.
8185         (ILL_BADSTK): Likewise.
8186         (FPE_INTDIV): Likewise.
8187         (FPE_INTOVF): Likewise.
8188         (FPE_FLTDIV): Likewise.
8189         (FPE_FLTOVF): Likewise.
8190         (FPE_FLTUND): Likewise.
8191         (FPE_FLTRES): Likewise.
8192         (FPE_FLTINV): Likewise.
8193         (FPE_FLTSUB): Likewise.
8194         (SEGV_MAPERR): Likewise.
8195         (SEGV_ACCERR): Likewise.
8196         (BUS_ADRALN): Likewise.
8197         (BUS_ADRERR): Likewise.
8198         (BUS_OBJERR): Likewise.
8199         (BUS_MCEERR_AR): Likewise.
8200         (BUS_MCEERR_AO): Likewise.
8201         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8202         (TRAP_TRACE): Likewise.
8203         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8204         __USE_XOPEN2K8].
8205         (CLD_KILLED): Likewise.
8206         (CLD_DUMPED): Likewise.
8207         (CLD_TRAPPED): Likewise.
8208         (CLD_STOPPED): Likewise.
8209         (CLD_CONTINUED): Likewise.
8210         (POLL_IN): Likewise.
8211         (POLL_OUT): Likewise.
8212         (POLL_MSG): Likewise.
8213         (POLL_ERR): Likewise.
8214         (POLL_PRI): Likewise.
8215         (POLL_HUP): Likewise.
8216         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8217         (ILL_ILLOPN): Likewise.
8218         (ILL_ILLADR): Likewise.
8219         (ILL_ILLTRP): Likewise.
8220         (ILL_PRVOPC): Likewise.
8221         (ILL_PRVREG): Likewise.
8222         (ILL_COPROC): Likewise.
8223         (ILL_BADSTK): Likewise.
8224         (FPE_INTDIV): Likewise.
8225         (FPE_INTOVF): Likewise.
8226         (FPE_FLTDIV): Likewise.
8227         (FPE_FLTOVF): Likewise.
8228         (FPE_FLTUND): Likewise.
8229         (FPE_FLTRES): Likewise.
8230         (FPE_FLTINV): Likewise.
8231         (FPE_FLTSUB): Likewise.
8232         (SEGV_MAPERR): Likewise.
8233         (SEGV_ACCERR): Likewise.
8234         (BUS_ADRALN): Likewise.
8235         (BUS_ADRERR): Likewise.
8236         (BUS_OBJERR): Likewise.
8237         (BUS_MCEERR_AR): Likewise.
8238         (BUS_MCEERR_AO): Likewise.
8239         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8240         (TRAP_TRACE): Likewise.
8241         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8242         __USE_XOPEN2K8].
8243         (CLD_KILLED): Likewise.
8244         (CLD_DUMPED): Likewise.
8245         (CLD_TRAPPED): Likewise.
8246         (CLD_STOPPED): Likewise.
8247         (CLD_CONTINUED): Likewise.
8248         (POLL_IN): Likewise.
8249         (POLL_OUT): Likewise.
8250         (POLL_MSG): Likewise.
8251         (POLL_ERR): Likewise.
8252         (POLL_PRI): Likewise.
8253         (POLL_HUP): Likewise.
8254         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8255         (ILL_ILLOPN): Likewise.
8256         (ILL_ILLADR): Likewise.
8257         (ILL_ILLTRP): Likewise.
8258         (ILL_PRVOPC): Likewise.
8259         (ILL_PRVREG): Likewise.
8260         (ILL_COPROC): Likewise.
8261         (ILL_BADSTK): Likewise.
8262         (FPE_INTDIV): Likewise.
8263         (FPE_INTOVF): Likewise.
8264         (FPE_FLTDIV): Likewise.
8265         (FPE_FLTOVF): Likewise.
8266         (FPE_FLTUND): Likewise.
8267         (FPE_FLTRES): Likewise.
8268         (FPE_FLTINV): Likewise.
8269         (FPE_FLTSUB): Likewise.
8270         (SEGV_MAPERR): Likewise.
8271         (SEGV_ACCERR): Likewise.
8272         (BUS_ADRALN): Likewise.
8273         (BUS_ADRERR): Likewise.
8274         (BUS_OBJERR): Likewise.
8275         (BUS_MCEERR_AR): Likewise.
8276         (BUS_MCEERR_AO): Likewise.
8277         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8278         (TRAP_TRACE): Likewise.
8279         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8280         __USE_XOPEN2K8].
8281         (CLD_KILLED): Likewise.
8282         (CLD_DUMPED): Likewise.
8283         (CLD_TRAPPED): Likewise.
8284         (CLD_STOPPED): Likewise.
8285         (CLD_CONTINUED): Likewise.
8286         (POLL_IN): Likewise.
8287         (POLL_OUT): Likewise.
8288         (POLL_MSG): Likewise.
8289         (POLL_ERR): Likewise.
8290         (POLL_PRI): Likewise.
8291         (POLL_HUP): Likewise.
8292         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8293         (ILL_ILLOPN): Likewise.
8294         (ILL_ILLADR): Likewise.
8295         (ILL_ILLTRP): Likewise.
8296         (ILL_PRVOPC): Likewise.
8297         (ILL_PRVREG): Likewise.
8298         (ILL_COPROC): Likewise.
8299         (ILL_BADSTK): Likewise.
8300         (ILL_DBLFLT): Likewise.
8301         (ILL_HARDWALL): Likewise.
8302         (FPE_INTDIV): Likewise.
8303         (FPE_INTOVF): Likewise.
8304         (FPE_FLTDIV): Likewise.
8305         (FPE_FLTOVF): Likewise.
8306         (FPE_FLTUND): Likewise.
8307         (FPE_FLTRES): Likewise.
8308         (FPE_FLTINV): Likewise.
8309         (FPE_FLTSUB): Likewise.
8310         (SEGV_MAPERR): Likewise.
8311         (SEGV_ACCERR): Likewise.
8312         (BUS_ADRALN): Likewise.
8313         (BUS_ADRERR): Likewise.
8314         (BUS_OBJERR): Likewise.
8315         (BUS_MCEERR_AR): Likewise.
8316         (BUS_MCEERR_AO): Likewise.
8317         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8318         (TRAP_TRACE): Likewise.
8319         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8320         __USE_XOPEN2K8].
8321         (CLD_KILLED): Likewise.
8322         (CLD_DUMPED): Likewise.
8323         (CLD_TRAPPED): Likewise.
8324         (CLD_STOPPED): Likewise.
8325         (CLD_CONTINUED): Likewise.
8326         (POLL_IN): Likewise.
8327         (POLL_OUT): Likewise.
8328         (POLL_MSG): Likewise.
8329         (POLL_ERR): Likewise.
8330         (POLL_PRI): Likewise.
8331         (POLL_HUP): Likewise.
8332         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8333         (ILL_ILLOPN): Likewise.
8334         (ILL_ILLADR): Likewise.
8335         (ILL_ILLTRP): Likewise.
8336         (ILL_PRVOPC): Likewise.
8337         (ILL_PRVREG): Likewise.
8338         (ILL_COPROC): Likewise.
8339         (ILL_BADSTK): Likewise.
8340         (FPE_INTDIV): Likewise.
8341         (FPE_INTOVF): Likewise.
8342         (FPE_FLTDIV): Likewise.
8343         (FPE_FLTOVF): Likewise.
8344         (FPE_FLTUND): Likewise.
8345         (FPE_FLTRES): Likewise.
8346         (FPE_FLTINV): Likewise.
8347         (FPE_FLTSUB): Likewise.
8348         (SEGV_MAPERR): Likewise.
8349         (SEGV_ACCERR): Likewise.
8350         (BUS_ADRALN): Likewise.
8351         (BUS_ADRERR): Likewise.
8352         (BUS_OBJERR): Likewise.
8353         (BUS_MCEERR_AR): Likewise.
8354         (BUS_MCEERR_AO): Likewise.
8355         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8356         (TRAP_TRACE): Likewise.
8357         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8358         __USE_XOPEN2K8].
8359         (CLD_KILLED): Likewise.
8360         (CLD_DUMPED): Likewise.
8361         (CLD_TRAPPED): Likewise.
8362         (CLD_STOPPED): Likewise.
8363         (CLD_CONTINUED): Likewise.
8364         (POLL_IN): Likewise.
8365         (POLL_OUT): Likewise.
8366         (POLL_MSG): Likewise.
8367         (POLL_ERR): Likewise.
8368         (POLL_PRI): Likewise.
8369         (POLL_HUP): Likewise.
8370         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8371         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8372
8373         [BZ #16670]
8374         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8375         before #include of <time.h>.
8376         [!__USE_XOPEN2K] (__need_timespec): Likewise.
8377         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8378         (test-xfail-UNIX98/sched.h/conform): Likewise.
8379
8380 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8381
8382         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8383         error absence of trapping exception support.
8384         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8385
8386 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8387
8388         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8389         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8390         * timezone/Makefile (testdata): Move definition above include of
8391         Rules.
8392         (test-zones): New variable.
8393         (tests-special): Add zone files.
8394         (build-testdata): Use $(evaluate-test).
8395
8396         * elf/Makefile (tests-special): Rename tests to end with .out.
8397         ($(objpfx)noload-mem): Likewise.
8398         ($(objpfx)tst-leaks1-mem): Likewise.
8399         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8400         * iconv/Makefile (xtests-special): Change test-iconvconfig to
8401         $(objpfx)test-iconvconfig.out.
8402         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
8403         set -e inside subshell and redirect output to file.
8404         * iconvdata/Makefile (generated): Rename tests to end with .out.
8405         Correct type.
8406         (tests-special): Rename tests to end with .out.
8407         ($(objpfx)mtrace-tst-loading): Likewise.
8408         * intl/Makefile (generated): Likewise.
8409         (tests-special): Likewise.
8410         ($(objpfx)mtrace-tst-gettext): Likewise.
8411         * misc/Makefile (generated): Likewise.
8412         (tests-special): Likewise.
8413         ($(objpfx)tst-error1-mem): Likewise.
8414         * nptl/Makefile (tests-special): Likewise.
8415         ($(objpfx)tst-stack3-mem): Likewise.
8416         (generated): Likewise.
8417         * posix/Makefile (generated): Likewise.
8418         (tests-special): Likewise.
8419         (xtests-special): Likewise.
8420         ($(objpfx)tst-fnmatch-mem): Likewise.
8421         ($(objpfx)bug-regex2-mem): Likewise.
8422         ($(objpfx)bug-regex14-mem): Likewise.
8423         ($(objpfx)bug-regex21-mem): Likewise.
8424         ($(objpfx)bug-regex31-mem): Likewise.
8425         ($(objpfx)tst-vfork3-mem): Likewise.
8426         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8427         ($(objpfx)tst-pcre-mem): Likewise.
8428         ($(objpfx)tst-boost-mem): Likewise.
8429         ($(objpfx)bug-ga2-mem): Likewise.
8430         ($(objpfx)bug-glob2-mem): Likewise.
8431         * resolv/Makefile (generate): Likewise.
8432         (tests-special): Likewise.
8433         (xtests-special): Likewise.
8434         (generated): Likewise.
8435         ($(objpfx)mtrace-tst-leaks): Likewise.
8436         ($(objpfx)mtrace-tst-leaks2): Likewise.
8437
8438         * scripts/merge-test-results.sh: New file.
8439         * Makefile (tests-special-notdir): New variable.
8440         (tests): Run merge-test-results.sh.
8441         (xtests): Likewise.
8442         * Rules (tests-special-notdir): New variable.
8443         (xtests-special-notdir): Likewise.
8444         (tests): Run merge-test-results.sh
8445         (xtests): Likewise.
8446
8447         * Makeconfig (test-xfail-name): New variable.
8448         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8449         compute variable name for expected failures.
8450         * conform/Makefile (conformtest-headers-data): New variable.
8451         (conformtest-standards): Likewise.
8452         (conformtest-headers-ISO): Likewise.
8453         (conformtest-headers-ISO99): Likewise.
8454         (conformtest-headers-ISO11): Likewise.
8455         (conformtest-headers-POSIX): Likewise.
8456         (conformtest-headers-XPG3): Likewise.
8457         (conformtest-headers-XPG4): Likewise.
8458         (conformtest-headers-UNIX98): Likewise.
8459         (conformtest-headers-XOPEN2K): Likewise.
8460         (conformtest-headers-POSIX2008): Likewise.
8461         (conformtest-headers-XOPEN2K8): Likewise.
8462         (conformtest-header-list-base): Likewise.
8463         (conformtest-header-list-tests): Likewise.
8464         (conformtest-header-base): Likewise.
8465         (conformtest-header-tests): Likewise.
8466         (tests-special): Add $(conformtest-header-list-tests).  If
8467         [$(fast-check) && !$(cross-compiling)], add
8468         $(conformtest-header-tests) instead of
8469         $(objpfx)run-conformtest.out.
8470         (generated): Add $(conformtest-header-list-base).  If
8471         [$(fast-check) && !$(cross-compiling)], add
8472         $(conformtest-header-base).  Remove previous setting.
8473         ($(conformtest-header-list-tests)): New target.
8474         (test-xfail-run-conformtest): Remove variable.
8475         ($(objpfx)run-conformtest.out): Remove target.
8476         (test-xfail-ISO11/complex.h/conform): New variable.
8477         (test-xfail-ISO11/stdalign.h/conform): Likewise.
8478         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8479         (test-xfail-XPG3/varargs.h/conform): Likewise.
8480         (test-xfail-XPG4/varargs.h/conform): Likewise.
8481         (test-xfail-UNIX98/varargs.h/conform): Likewise.
8482         (test-xfail-XPG4/ndbm.h/conform): Likewise.
8483         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8484         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8485         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8486         (test-xfail-XPG3/fcntl.h/conform): Likewise.
8487         (test-xfail-XPG3/ftw.h/conform): Likewise.
8488         (test-xfail-XPG3/grp.h/conform): Likewise.
8489         (test-xfail-XPG3/langinfo.h/conform): Likewise.
8490         (test-xfail-XPG3/limits.h/conform): Likewise.
8491         (test-xfail-XPG3/pwd.h/conform): Likewise.
8492         (test-xfail-XPG3/search.h/conform): Likewise.
8493         (test-xfail-XPG3/signal.h/conform): Likewise.
8494         (test-xfail-XPG3/stdio.h/conform): Likewise.
8495         (test-xfail-XPG3/stdlib.h/conform): Likewise.
8496         (test-xfail-XPG3/string.h/conform): Likewise.
8497         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8498         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8499         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8500         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8501         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8502         (test-xfail-XPG3/sys/types.h/conform): Likewise.
8503         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8504         (test-xfail-XPG3/termios.h/conform): Likewise.
8505         (test-xfail-XPG3/time.h/conform): Likewise.
8506         (test-xfail-XPG3/unistd.h/conform): Likewise.
8507         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8508         (test-xfail-XPG4/fcntl.h/conform): Likewise.
8509         (test-xfail-XPG4/langinfo.h/conform): Likewise.
8510         (test-xfail-XPG4/netdb.h/conform): Likewise.
8511         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8512         (test-xfail-XPG4/signal.h/conform): Likewise.
8513         (test-xfail-XPG4/stdio.h/conform): Likewise.
8514         (test-xfail-XPG4/stdlib.h/conform): Likewise.
8515         (test-xfail-XPG4/stropts.h/conform): Likewise.
8516         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8517         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8518         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8519         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8520         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8521         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8522         (test-xfail-XPG4/sys/time.h/conform): Likewise.
8523         (test-xfail-XPG4/sys/types.h/conform): Likewise.
8524         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8525         (test-xfail-XPG4/termios.h/conform): Likewise.
8526         (test-xfail-XPG4/ucontext.h/conform): Likewise.
8527         (test-xfail-XPG4/unistd.h/conform): Likewise.
8528         (test-xfail-XPG4/utmpx.h/conform): Likewise.
8529         (test-xfail-POSIX/sched.h/conform): Likewise.
8530         (test-xfail-POSIX/signal.h/conform): Likewise.
8531         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8532         (test-xfail-POSIX/tar.h/conform): Likewise.
8533         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8534         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8535         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8536         (test-xfail-UNIX98/netdb.h/conform): Likewise.
8537         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8538         (test-xfail-UNIX98/sched.h/conform): Likewise.
8539         (test-xfail-UNIX98/signal.h/conform): Likewise.
8540         (test-xfail-UNIX98/stdio.h/conform): Likewise.
8541         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8542         (test-xfail-UNIX98/stropts.h/conform): Likewise.
8543         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8544         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8545         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8546         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8547         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8548         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8549         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8550         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8551         (test-xfail-UNIX98/unistd.h/conform): Likewise.
8552         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8553         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8554         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8555         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8556         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8557         (test-xfail-XOPEN2K/math.h/conform): Likewise.
8558         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8559         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8560         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8561         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8562         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8563         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8564         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8565         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8566         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8567         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8568         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8569         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8570         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8571         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8572         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8573         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8574         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8575         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8576         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8577         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8578         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8579         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8580         (test-xfail-POSIX2008/signal.h/conform): Likewise.
8581         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8582         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8583         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8584         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8585         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8586         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8587         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8588         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8589         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8590         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8591         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8592         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8593         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8594         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8595         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8596         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8597         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8598         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8599         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8600         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8601         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8602         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8603         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8604         (conformtest-cc-flags): Likewise.
8605         ($(conformtest-header-tests): New target.
8606         * conform/check-header-lists.sh: New file.
8607         * conform/run-conformtest.sh: Remove.
8608
8609         * conform/conformtest.pl: Allow ' and \ in values given for
8610         constants.
8611         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8612         inclusion.
8613         [POSIX] (sys/types.h): Likewise.
8614         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8615         inclusion.
8616         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8617         inclusion.
8618         * conform/data/signal.h-data (SIGIO): Remove expectation.
8619         [XPG3] (SIGBUS): Do not expect.
8620         [POSIX || XPG3] (SIGPOLL): Likewise.
8621         [POSIX || XPG3] (SIGPROF): Likewise.
8622         [POSIX || XPG3] (SIGSYS): Likewise.
8623         [XPG3] (SIGTRAP): Likewise.
8624         [POSIX || XPG3] (SIGURG): Likewise.
8625         [POSIX || XPG3] (SIGVTALRM): Likewise.
8626         [POSIX || XPG3] (SIGXCPU): Likewise.
8627         [POSIX || XPG3] (SIGXFSZ): Likewise.
8628         [POSIX] (SA_SIGINFO): Expect.
8629         [XPG3] (siginfo_t): Do not expect type or contents.
8630         [POSIX] (si_pid): Do not expect element.
8631         [POSIX] (si_uid): Likewise.
8632         [POSIX] (si_addr): Likewise.
8633         [POSIX] (si_status): Likewise.
8634         [POSIX] (si_band): Likewise.
8635         [XPG4] (si_value): Likewise.
8636         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8637         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8638         [POSIX || XPG3] (ILL_ILLADR): Likewise.
8639         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8640         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8641         [POSIX || XPG3] (ILL_PRVREG): Likewise.
8642         [POSIX || XPG3] (ILL_COPROC): Likewise.
8643         [POSIX || XPG3] (ILL_BADSTK): Likewise.
8644         [POSIX || XPG3] (FPE_INTDIV): Likewise.
8645         [POSIX || XPG3] (FPE_INTOVF): Likewise.
8646         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8647         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8648         [POSIX || XPG3] (FPE_FLTUND): Likewise.
8649         [POSIX || XPG3] (FPE_FLTRES): Likewise.
8650         [POSIX || XPG3] (FPE_FLTINV): Likewise.
8651         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8652         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8653         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8654         [POSIX || XPG3] (BUS_ADRALN): Likewise.
8655         [POSIX || XPG3] (BUS_ADRERR): Likewise.
8656         [POSIX || XPG3] (BUS_OBJERR): Likewise.
8657         [POSIX || XPG3] (CLD_EXITED): Likewise.
8658         [POSIX || XPG3] (CLD_KILLED): Likewise.
8659         [POSIX || XPG3] (CLD_DUMPED): Likewise.
8660         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8661         [POSIX || XPG3] (CLD_STOPPED): Likewise.
8662         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8663         [POSIX || XPG3] (POLL_IN): Likewise.
8664         [POSIX || XPG3] (POLL_OUT): Likewise.
8665         [POSIX || XPG3] (POLL_MSG): Likewise.
8666         [POSIX || XPG3] (POLL_ERR): Likewise.
8667         [POSIX || XPG3] (POLL_PRI): Likewise.
8668         [POSIX || XPG3] (POLL_HUP): Likewise.
8669         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8670         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8671         (SIG*): Do not allow.
8672         [XPG3] (si_*): Likewise.
8673         [XPG3] (SI_*): Likewise.
8674         [XPG3 || XPG4] (sigev_*): Likewise.
8675         [XPG3 || XPG4] (SIGEV_*): Likewise.
8676         [XPG3 || XPG4] (sival_*): Likewise.
8677         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8678         [POSIX || XPG3] (BUS_*): Likewise.
8679         [POSIX || XPG3] (CLD_*): Likewise.
8680         [POSIX || XPG3] (FPE_*): Likewise.
8681         [POSIX || XPG3] (ILL_*): Likewise.
8682         [POSIX || XPG3] (POLL_*): Likewise.
8683         [POSIX || XPG3] (SEGV_*): Likewise.
8684         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8685         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8686         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8687         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8688         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8689         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8690         Specify type and value.
8691         (TVERSLEN): Likewise.
8692         (REGTYPE): Likewise.
8693         (AREGTYPE): Likewise.
8694         (LNKTYPE): Likewise.
8695         (SYMTYPE): Likewise.
8696         (CHRTYPE): Likewise.
8697         (BLKTYPE): Likewise.
8698         (DIRTYPE): Likewise.
8699         (FIFOTYPE): Likewise.
8700         (CONTTYPE): Likewise.
8701         (TSUID): Likewise.
8702         (TSGID): Likewise.
8703         (TSVTX): Likewise.
8704         (TUREAD): Likewise.
8705         (TUWRITE): Likewise.
8706         (TUEXEC): Likewise.
8707         (TGREAD): Likewise.
8708         (TGWRITE): Likewise.
8709         (TGEXEC): Likewise.
8710         (TOREAD): Likewise.
8711         (TOWRITE): Likewise.
8712         (TOEXEC): Likewise.
8713         [POSIX] (TSVTX): Expect constant.
8714
8715 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
8716
8717         * Makefile (tests): Change dependencies to ....
8718         (tests-special): ... additions to this variable.
8719         (tests): Depend on $(tests-special).
8720         * Makerules (check-abi-list): New variable.
8721         (check-abi): Depend on $(check-abi-list).
8722         [$(subdir) = elf] (tests-special): Add
8723         $(objpfx)check-abi-libc.out.
8724         [$(build-shared) = yes && subdir] (tests-special): Add
8725         $(check-abi-list).
8726         [$(build-shared) = yes && subdir] (tests): Do not depend on
8727         check-abi.
8728         * Rules (tests): Depend on $(tests-special).
8729         (xtests): Depend on $(xtests-special).
8730         * catgets/Makefile (tests): Change dependencies to ....
8731         (tests-special): ... additions to this variable.
8732         * conform/Makefile (tests): Change dependencies to ....
8733         (tests-special): ... additions to this variable.
8734         * elf/Makefile (tests): Change dependencies to ....
8735         (tests-special): ... additions to this variable.
8736         * grp/Makefile (tests): Change dependencies to ....
8737         (tests-special): ... additions to this variable.
8738         * iconv/Makefile (xtests): Change dependencies to ....
8739         (xtests-special): ... additions to this variable.
8740         * iconvdata/Makefile (tests): Change dependencies to ....
8741         (tests-special): ... additions to this variable.
8742         * intl/Makefile (tests): Change dependencies to ....
8743         (tests-special): ... additions to this variable.  Also add
8744         $(objpfx)tst-gettext.out.
8745         * io/Makefile (tests): Change dependencies to ....
8746         (tests-special): ... additions to this variable.
8747         * libio/Makefile (tests): Change dependencies to ....
8748         (tests-special): ... additions to this variable.
8749         * malloc/Makefile (tests): Change dependencies to ....
8750         (tests-special): ... additions to this variable.
8751         * misc/Makefile (tests): Change dependencies to ....
8752         (tests-special): ... additions to this variable.
8753         * nptl/Makefile (tests): Change dependencies to ....
8754         (tests-special): ... additions to this variable.
8755         * nptl_db/Makefile (tests): Change dependencies to ....
8756         (tests-special): ... additions to this variable.
8757         * posix/Makefile (tests): Change dependencies to ....
8758         (tests-special): ... additions to this variable.
8759         (xtests): Change dependencies to ....
8760         (xtests-special): ... additions to this variable.
8761         * resolv/Makefile (tests): Change dependencies to ....
8762         (tests-special): ... additions to this variable.
8763         (xtests): Change dependencies to ....
8764         (xtests-special): ... additions to this variable.
8765         * stdio-common/Makefile (tests): Change dependencies to ....
8766         (tests-special): ... additions to this variable.
8767         (do-tst-unbputc): Remove target.
8768         (do-tst-printf): Likewise.
8769         * stdlib/Makefile (tests): Change dependencies to ....
8770         (tests-special): ... additions to this variable.
8771         * string/Makefile (tests): Change dependencies to ....
8772         (tests-special): ... additions to this variable.
8773         * sysdeps/x86/Makefile (tests): Change dependencies to ....
8774         (tests-special): ... additions to this variable.
8775
8776         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8777         whole file.
8778         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8779         whole file.
8780         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8781         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8782
8783         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8784         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8785         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8786         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8787         * conform/data/libgen.h-data [XPG3]: Likewise.
8788         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8789         * conform/data/ndbm.h-data [XPG3]: Likewise.
8790         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8791         * conform/data/netdb.h-data [XPG3]: Likewise.
8792         * conform/data/netinet/in.h-data [XPG3]: Likewise.
8793         * conform/data/poll.h-data [XPG3]: Likewise.
8794         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8795         * conform/data/strings.h-data [XPG3]: Likewise.
8796         * conform/data/stropts.h-data [XPG3]: Likewise.
8797         * conform/data/sys/mman.h-data [XPG3]: Likewise.
8798         * conform/data/sys/resource.h-data [XPG3]: Likewise.
8799         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8800         Likewise.
8801         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8802         * conform/data/sys/time.h-data [XPG3]: Likewise.
8803         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8804         * conform/data/sys/uio.h-data [XPG3]: Likewise.
8805         * conform/data/sys/un.h-data [XPG3]: Likewise.
8806         * conform/data/syslog.h-data [XPG3]: Likewise.
8807         * conform/data/ucontext.h-data [XPG3]: Likewise.
8808         * conform/data/utmpx.h-data [XPG3]: Likewise.
8809         * conform/data/varargs.h-data [UNIX98]: Enable file.
8810
8811         * manual/Makefile (INSTALL_INFO): Remove variable setting.
8812
8813         * math/libm-test.inc (struct test_f_f_data): Move expected results
8814         into structure for each rounding mode.
8815         (struct test_ff_f_data): Likewise.
8816         (struct test_ff_f_data_nexttoward): Likewise.
8817         (struct test_fi_f_data): Likewise.
8818         (struct test_fl_f_data): Likewise.
8819         (struct test_if_f_data): Likewise.
8820         (struct test_fff_f_data): Likewise.
8821         (struct test_c_f_data): Likewise.
8822         (struct test_f_f1_data): Likewise.
8823         (struct test_fF_f1_data): Likewise.
8824         (struct test_ffI_f1_data): Likewise.
8825         (struct test_c_c_data): Likewise.
8826         (struct test_cc_c_data): Likewise.
8827         (struct test_f_i_data): Likewise.
8828         (struct test_ff_i_data): Likewise.
8829         (struct test_f_l_data): Likewise.
8830         (struct test_f_L_data): Likewise.
8831         (struct test_fFF_11_data): Likewise.
8832         (RM_): New macro.
8833         (RM_FE_DOWNWARD): Likewise.
8834         (RM_FE_TONEAREST): Likewise.
8835         (RM_FE_TOWARDZERO): Likewise.
8836         (RM_FE_UPWARD): Likewise.
8837         (RUN_TEST_LOOP_f_f): Update references to expected results.
8838         (RUN_TEST_LOOP_2_f): Likewise.
8839         (RUN_TEST_LOOP_fff_f): Likewise.
8840         (RUN_TEST_LOOP_c_f): Likewise.
8841         (RUN_TEST_LOOP_f_f1): Likewise.
8842         (RUN_TEST_LOOP_fF_f1): Likewise.
8843         (RUN_TEST_LOOP_fI_f1): Likewise.
8844         (RUN_TEST_LOOP_ffI_f1): Likewise.
8845         (RUN_TEST_LOOP_c_c): Likewise.
8846         (RUN_TEST_LOOP_cc_c): Likewise.
8847         (RUN_TEST_LOOP_f_i): Likewise.
8848         (RUN_TEST_LOOP_f_i_tg): Likewise.
8849         (RUN_TEST_LOOP_ff_i_tg): Likewise.
8850         (RUN_TEST_LOOP_f_b): Likewise.
8851         (RUN_TEST_LOOP_f_b_tg): Likewise.
8852         (RUN_TEST_LOOP_f_l): Likewise.
8853         (RUN_TEST_LOOP_f_L): Likewise.
8854         (RUN_TEST_LOOP_fFF_11): Likewise.
8855         * math/gen-libm-test.pl (parse_args): Output four copies of
8856         expected results for each test.
8857
8858         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8859         (__ASSUME_UTIMES): Remove.
8860         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8861         (__ASSUME_UTIMES): Likewise.
8862
8863         * math/gen-auto-libm-tests.c: Update comment on output format.
8864         (output_for_one_input_case): Generate before-rounding and
8865         after-rounding information as conditions on output flags not
8866         floating-point format.
8867         * math/auto-libm-test-out: Regenerated.
8868         * math/gen-libm-test.pl (cond_value): New function.
8869         (or_cond_value): Use cond_value.
8870         (generate_testfile): Handle conditional exceptions.
8871
8872 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
8873
8874         * math/libm-test.inc (max_valid_error): New variable.
8875         (init_max_error): Take new argument specifying whether function
8876         results are exactly determined.  Set max_valid_error and bound
8877         other variables for errors based on this argument.
8878         (set_max_error): Do not record results above max_valid_error.
8879         (check_float_internal): Only accept errors of up to 0.5ulps if
8880         also at most max_valid_error.
8881         (START): Take new argument EXACT and pass it to init_max_error.
8882         (acos_test): Update call to START.
8883         (acos_test_tonearest): Likewise.
8884         (acos_test_towardzero): Likewise.
8885         (acos_test_downward): Likewise.
8886         (acos_test_upward): Likewise.
8887         (acosh_test): Likewise.
8888         (asin_test): Likewise.
8889         (asin_test_tonearest): Likewise.
8890         (asin_test_towardzero): Likewise.
8891         (asin_test_downward): Likewise.
8892         (asin_test_upward): Likewise.
8893         (asinh_test): Likewise.
8894         (atan_test): Likewise.
8895         (atanh_test): Likewise.
8896         (atan2_test): Likewise.
8897         (cabs_test): Likewise.
8898         (cacos_test): Likewise.
8899         (cacosh_test): Likewise.
8900         (carg_test): Likewise.
8901         (casin_test): Likewise.
8902         (casinh_test): Likewise.
8903         (catan_test): Likewise.
8904         (catanh_test): Likewise.
8905         (cbrt_test): Likewise.
8906         (ccos_test): Likewise.
8907         (ccosh_test): Likewise.
8908         (ceil_test): Likewise.
8909         (cexp_test): Likewise.
8910         (cimag_test): Likewise.
8911         (clog_test): Likewise.
8912         (clog10_test): Likewise.
8913         (conj_test): Likewise.
8914         (copysign_test): Likewise.
8915         (cos_test): Likewise.
8916         (cos_test_tonearest): Likewise.
8917         (cos_test_towardzero): Likewise.
8918         (cos_test_downward): Likewise.
8919         (cos_test_upward): Likewise.
8920         (cosh_test): Likewise.
8921         (cosh_test_tonearest): Likewise.
8922         (cosh_test_towardzero): Likewise.
8923         (cosh_test_downward): Likewise.
8924         (cosh_test_upward): Likewise.
8925         (cpow_test): Likewise.
8926         (cproj_test): Likewise.
8927         (creal_test): Likewise.
8928         (csin_test): Likewise.
8929         (csinh_test): Likewise.
8930         (csqrt_test): Likewise.
8931         (ctan_test): Likewise.
8932         (ctan_test_tonearest): Likewise.
8933         (ctan_test_towardzero): Likewise.
8934         (ctan_test_downward): Likewise.
8935         (ctan_test_upward): Likewise.
8936         (ctanh_test): Likewise.
8937         (ctanh_test_tonearest): Likewise.
8938         (ctanh_test_towardzero): Likewise.
8939         (ctanh_test_downward): Likewise.
8940         (ctanh_test_upward): Likewise.
8941         (erf_test): Likewise.
8942         (erfc_test): Likewise.
8943         (exp_test): Likewise.
8944         (exp_test_tonearest): Likewise.
8945         (exp_test_towardzero): Likewise.
8946         (exp_test_downward): Likewise.
8947         (exp_test_upward): Likewise.
8948         (exp10_test): Likewise.
8949         (exp10_test_tonearest): Likewise.
8950         (exp10_test_towardzero): Likewise.
8951         (exp10_test_downward): Likewise.
8952         (exp10_test_upward): Likewise.
8953         (pow10_test): Likewise.
8954         (exp2_test): Likewise.
8955         (expm1_test): Likewise.
8956         (expm1_test_tonearest): Likewise.
8957         (expm1_test_towardzero): Likewise.
8958         (expm1_test_downward): Likewise.
8959         (expm1_test_upward): Likewise.
8960         (fabs_test): Likewise.
8961         (fdim_test): Likewise.
8962         (floor_test): Likewise.
8963         (fma_test): Likewise.
8964         (fma_test_towardzero): Likewise.
8965         (fma_test_downward): Likewise.
8966         (fma_test_upward): Likewise.
8967         (fmax_test): Likewise.
8968         (fmin_test): Likewise.
8969         (fmod_test): Likewise.
8970         (fpclassify_test): Likewise.
8971         (frexp_test): Likewise.
8972         (hypot_test): Likewise.
8973         (ilogb_test): Likewise.
8974         (isfinite_test): Likewise.
8975         (finite_test): Likewise.
8976         (isgreater_test): Likewise.
8977         (isgreaterequal_test): Likewise.
8978         (isinf_test): Likewise.
8979         (isless_test): Likewise.
8980         (islessequal_test): Likewise.
8981         (islessgreater_test): Likewise.
8982         (isnan_test): Likewise.
8983         (isnormal_test): Likewise.
8984         (issignaling_test): Likewise.
8985         (isunordered_test): Likewise.
8986         (j0_test): Likewise.
8987         (j1_test): Likewise.
8988         (jn_test): Likewise.
8989         (ldexp_test): Likewise.
8990         (lgamma_test): Likewise.
8991         (gamma_test): Likewise.
8992         (lrint_test): Likewise.
8993         (lrint_test_tonearest): Likewise.
8994         (lrint_test_towardzero): Likewise.
8995         (lrint_test_downward): Likewise.
8996         (lrint_test_upward): Likewise.
8997         (llrint_test): Likewise.
8998         (llrint_test_tonearest): Likewise.
8999         (llrint_test_towardzero): Likewise.
9000         (llrint_test_downward): Likewise.
9001         (llrint_test_upward): Likewise.
9002         (log_test): Likewise.
9003         (log10_test): Likewise.
9004         (log1p_test): Likewise.
9005         (log2_test): Likewise.
9006         (logb_test): Likewise.
9007         (logb_test_downward): Likewise.
9008         (lround_test): Likewise.
9009         (llround_test): Likewise.
9010         (modf_test): Likewise.
9011         (nearbyint_test): Likewise.
9012         (nextafter_test): Likewise.
9013         (nexttoward_test): Likewise.
9014         (pow_test): Likewise.
9015         (pow_test_tonearest): Likewise.
9016         (pow_test_towardzero): Likewise.
9017         (pow_test_downward): Likewise.
9018         (pow_test_upward): Likewise.
9019         (remainder_test): Likewise.
9020         (drem_test): Likewise.
9021         (remainder_test_tonearest): Likewise.
9022         (drem_test_tonearest): Likewise.
9023         (remainder_test_towardzero): Likewise.
9024         (drem_test_towardzero): Likewise.
9025         (remainder_test_downward): Likewise.
9026         (drem_test_downward): Likewise.
9027         (remainder_test_upward): Likewise.
9028         (drem_test_upward): Likewise.
9029         (remquo_test): Likewise.
9030         (rint_test): Likewise.
9031         (rint_test_tonearest): Likewise.
9032         (rint_test_towardzero): Likewise.
9033         (rint_test_downward): Likewise.
9034         (rint_test_upward): Likewise.
9035         (round_test): Likewise.
9036         (scalb_test): Likewise.
9037         (scalbn_test): Likewise.
9038         (scalbln_test): Likewise.
9039         (signbit_test): Likewise.
9040         (sin_test): Likewise.
9041         (sin_test_tonearest): Likewise.
9042         (sin_test_towardzero): Likewise.
9043         (sin_test_downward): Likewise.
9044         (sin_test_upward): Likewise.
9045         (sincos_test): Likewise.
9046         (sinh_test): Likewise.
9047         (sinh_test_tonearest): Likewise.
9048         (sinh_test_towardzero): Likewise.
9049         (sinh_test_downward): Likewise.
9050         (sinh_test_upward): Likewise.
9051         (sqrt_test): Likewise.
9052         (sqrt_test_tonearest): Likewise.
9053         (sqrt_test_towardzero): Likewise.
9054         (sqrt_test_downward): Likewise.
9055         (sqrt_test_upward): Likewise.
9056         (tan_test): Likewise.
9057         (tan_test_tonearest): Likewise.
9058         (tan_test_towardzero): Likewise.
9059         (tan_test_downward): Likewise.
9060         (tan_test_upward): Likewise.
9061         (tanh_test): Likewise.
9062         (tgamma_test): Likewise.
9063         (trunc_test): Likewise.
9064         (y0_test): Likewise.
9065         (y1_test): Likewise.
9066         (yn_test): Likewise.
9067         (significand_test): Likewise.
9068
9069         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9070         individual tests in comment.
9071         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9072         (prev_max_error): New variable.
9073         (prev_real_max_error): Likewise.
9074         (prev_imag_max_error): Likewise.
9075         (compare_ulp_data): Don't refer to test names in comment.
9076         (find_test_ulps): Remove function.
9077         (find_function_ulps): Likewise.
9078         (find_complex_function_ulps): Likewise.
9079         (init_max_error): Take function name as argument.  Look up ulps
9080         for that function.
9081         (print_ulps): Remove function.
9082         (print_max_error): Use prev_max_error instead of calling
9083         find_function_ulps.
9084         (print_complex_max_error): Use prev_real_max_error and
9085         prev_imag_max_error instead of calling find_complex_function_ulps.
9086         (check_float_internal): Take max_ulp parameter instead of calling
9087         find_test_ulps.  Don't call print_ulps.
9088         (check_float): Update call to check_float_internal.
9089         (check_complex): Update calls to check_float_internal.
9090         (START): Pass argument to init_max_error.
9091         * math/gen-libm-test.pl (%results): Don't include "kind"
9092         information.
9093         (parse_ulps): Don't handle ulps of individual tests.
9094         (print_ulps_file): Likewise.
9095         (output_ulps): Likewise.
9096         * math/README.libm-test: Update.
9097         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9098         individual tests.
9099         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9100         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9101         * sysdeps/arm/libm-test-ulps: Likewise.
9102         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9103         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9104         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9105         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9106         * sysdeps/microblaze/libm-test-ulps: Likewise.
9107         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9108         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9109         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9110         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9111         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9112         * sysdeps/sh/libm-test-ulps: Likewise.
9113         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9114         * sysdeps/tile/libm-test-ulps: Likewise.
9115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9116
9117 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
9118
9119         * math/libm-test.inc (print_complex_max_error): Check separately
9120         whether real and imaginary errors are within allowed range and
9121         pass 0 to print_complex_function_ulps instead of value within
9122         allowed range.
9123
9124 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9125
9126         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9127         formatting.
9128         (get_handles_fopen): Likewise.
9129         (do_write_test): Likewise.
9130
9131         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9132
9133         * libio/fileops.c (do_ftell): Use cached offset when
9134         available.
9135         * libio/iofwide.c (do_ftell_wide): Likewise.
9136         * libio/iofdopen.c (_IO_new_fdopen): Don't use
9137         _IO_file_attach.
9138         * libio/wfileops.c (_IO_fwide): Don't cache offset.
9139
9140         [BZ #16532]
9141         * libio/libioP.h (get_file_offset): New function.
9142         * libio/fileops.c (get_file_offset): Likewise.
9143         (do_ftell): Likewise.
9144         (_IO_new_file_seekoff): Split out ftell logic.
9145         * libio/wfileops.c (do_ftell_wide): Likewise.
9146         (_IO_wfile_seekoff): Split out ftell logic.
9147         * libio/tst-ftell-active-handler.c: New test case.
9148         * libio/Makefile (tests): Add it.
9149
9150 2014-03-03  Roland McGrath  <roland@hack.frob.com>
9151
9152         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9153         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9154
9155 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9156
9157         [BZ #16639]
9158         * nscd/connections.c (nscd_init): Call do_exit.
9159         (start_threads): Call do_exit and notify_parent.
9160         (begin_drop_privileges): Call do_exit.
9161         (finish_drop_privileges): Likewise.
9162         * nscd/selinux.c (preserve_capabilities): Likewise.
9163         (install_real_capabilities): Likewise.
9164         (nscd_selinux_enabled): Likewise.
9165         (avc_create_thread): Likewise.
9166         (avc_alloc_lock): Likewise.
9167         (nscd_avc_init): Likewise.
9168         * nscd/nscd.c (parent_fd): New static variable.
9169         (main): Create a pipe between parent and child processes.
9170         Skip closing parent_fd.
9171         (monitor_child): New function.
9172         (do_exit): Likewise.
9173         (notify_parent): Likewise.
9174         * nscd/nscd.h (notify_parent): Likewise.
9175         (do_exit): Likewise.
9176
9177 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
9178
9179         * malloc/malloc.c (__libc_calloc): Revert last change.
9180
9181 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9182
9183         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9184
9185 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9186
9187         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9188         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9189         implementation.
9190         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9191         (__libc_ifunc_impl_list): Likewise.
9192         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9193         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9194         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9195         * string/strrchr.c: Define STRRCHR.
9196
9197 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
9198
9199         * benchtest/bench-strtok.c (simple_strtok): Delete.
9200         (strtok_string): Use as benchmark.
9201         * string/strtok (STRTOK): New macro.
9202
9203 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
9204
9205         * manual/threads.texi: Add header and standard comments to all
9206         functions.
9207
9208         * elf/dl-lookup.c (check_match): New function.
9209         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9210         (do_lookup_x): Remove nested function check_match. Use non-nested
9211         function check_match.
9212
9213 2014-02-28  Roland McGrath  <roland@hack.frob.com>
9214
9215         * csu/Makefile (generated, before-compile): Use += rather than =.
9216         * catgets/Makefile (generated, generated-dirs): Likewise.
9217         * debug/Makefile (generated): Likewise.
9218         * dlfcn/Makefile (generated): Likewise.
9219         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9220         * iconvdata/Makefile (before-compile, generated): Likewise.
9221         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9222         * libio/Makefile (generated): Likewise.
9223         * malloc/Makefile (generated): Likewise.
9224         * manual/Makefile (generated, generated-dirs): Likewise.
9225         * misc/Makefile (generated): Likewise.
9226         * posix/Makefile (generated): Likewise.
9227         * resolv/Makefile (generated): Likewise.
9228         * sunrpc/Makefile (generated, generated-dirs): Likewise.
9229         * timezone/Makefile (generated, generated-dirs): Likewise.
9230
9231         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9232
9233 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9234
9235         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9236         power8 implementation.
9237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9238         file: POWER8 llround ifunc implementation.
9239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9240         (__lllround): Add POWER8 implementation.
9241         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9242         POWER8 llround implementation.
9243
9244         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9245         power8 implementation.
9246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9247         file: POWER8 llrint ifunc implementation.
9248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9249         Add POWER8 implementation.
9250         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9251         POWER8 llrint implementation.
9252
9253         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9254         power8 implementation.
9255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9256         file: POWER8 finite ifunc implementation.
9257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9258         Add POWER8 implementation.
9259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9260         Likewise.
9261         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9262         POWER8 finite implementation.
9263         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9264
9265         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9266         power8 implementation.
9267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9268         file: POWER8 isinf ifunc implementation.
9269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9270         POWER8 implementation.
9271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9272         Likewise.
9273         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9274         isinf implementation.
9275         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9276
9277         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9278         (INIT_ARCH): Add hwcap2 initialization.
9279         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9280         power8 implementation.
9281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9282         file: POWER8 isnan ifunc implementation.
9283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9284         POWER8 implementation.
9285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9286         Likewise.
9287         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9288         isnan implementation.
9289         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9290
9291 2014-02-27  Joey Ye  <joey.ye@arm.com>
9292
9293         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9294         (_FP_NANFRAC_Q): Set to zero.
9295
9296 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9297
9298         [BZ #16623]
9299         * math/auto-libm-test-in: New test inputs.
9300         * math/auto-libm-test-out: Regenerate.
9301         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9302         and DA.
9303         (__cos): Likewise.
9304         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9305
9306 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
9307
9308         * scripts/evaluate-test.sh: Take new argument indicating whether
9309         failure is expected.
9310         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9311         indicating whether failure is expected.
9312         * conform/Makefile (test-xfail-run-conformtest): New variable.
9313         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9314         level.
9315         * posix/Makefile (test-xfail-annexc): New variable.
9316         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9317
9318 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
9319
9320         * argp/Makefile: Include Makeconfig immediately after defining
9321         subdir.
9322         * assert/Makefile: Likewise.
9323         * benchtests/Makefile: Likewise.
9324         * catgets/Makefile: Likewise.
9325         * conform/Makefile: Likewise.
9326         * crypt/Makefile: Likewise.
9327         * csu/Makefile: Likewise.
9328         (all): Remove target.
9329         * ctype/Makefile: Include Makeconfig immediately after defining
9330         subdir.
9331         * debug/Makefile: Likewise.
9332         * dirent/Makefile: Likewise.
9333         * dlfcn/Makefile: Likewise.
9334         * gmon/Makefile: Likewise.
9335         * gnulib/Makefile: Likewise.
9336         * grp/Makefile: Likewise.
9337         * gshadow/Makefile: Likewise.
9338         * hesiod/Makefile: Likewise.
9339         * hurd/Makefile: Likewise.
9340         (all): Remove target.
9341         * iconvdata/Makefile: Include Makeconfig immediately after
9342         defining subdir.
9343         * inet/Makefile: Likewise.
9344         * intl/Makefile: Likewise.
9345         * io/Makefile: Likewise.
9346         * libio/Makefile: Likewise.
9347         (all): Remove target.
9348         * locale/Makefile: Include Makeconfig immediately after defining
9349         subdir.
9350         * login/Makefile: Likewise.
9351         * mach/Makefile: Likewise.
9352         (all): Remove target.
9353         * malloc/Makefile: Include Makeconfig immediately after defining
9354         subdir.
9355         (all): Remove target.
9356         * manual/Makefile: Include Makeconfig immediately after defining
9357         subdir.
9358         * math/Makefile: Likewise.
9359         * misc/Makefile: Likewise.
9360         * nis/Makefile: Likewise.
9361         * nss/Makefile: Likewise.
9362         * po/Makefile: Likewise.
9363         (all): Remove target.
9364         * posix/Makefile: Include Makeconfig immediately after defining
9365         subdir.
9366         * pwd/Makefile: Likewise.
9367         * resolv/Makefile: Likewise.
9368         * resource/Makefile: Likewise.
9369         * rt/Makefile: Likewise.
9370         * setjmp/Makefile: Likewise.
9371         * shadow/Makefile: Likewise.
9372         * signal/Makefile: Likewise.
9373         * socket/Makefile: Likewise.
9374         * soft-fp/Makefile: Likewise.
9375         * stdio-common/Makefile: Likewise.
9376         * stdlib/Makefile: Likewise.
9377         * streams/Makefile: Likewise.
9378         * string/Makefile: Likewise.
9379         * sunrpc/Makefile: Likewise.
9380         (all): Remove target.
9381         * sysvipc/Makefile: Include Makeconfig immediately after defining
9382         subdir.
9383         * termios/Makefile: Likewise.
9384         * time/Makefile: Likewise.
9385         * timezone/Makefile: Likewise.
9386         (all): Remove target.
9387         * wcsmbs/Makefile: Include Makeconfig immediately after defining
9388         subdir.
9389         * wctype/Makefile: Likewise.
9390
9391 2014-02-26  Steve Ellcey  <sellcey@mips.com>
9392
9393         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9394         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9395         (libc_feholdexcept_setround_mips): Ditto.
9396         (libc_feholdsetround): New.
9397         (libc_feholdsetroundf): New.
9398         (libc_feholdsetroundl): New.
9399         (libc_feupdateenv_test_mips): New.
9400         (libc_feupdateenv_test): New.
9401         (libc_feupdateenv_testf): New.
9402         (libc_feupdateenv_testl): New.
9403         (libc_feresetround): New.
9404         (libc_feresetroundf): New.
9405         (libc_feresetroundl): New.
9406         (libc_fetestexcept_mips): New.
9407         (libc_fetestexcept): New.
9408         (libc_fetestexceptf): New.
9409         (libc_fetestexceptl): New.
9410         (HAVE_RM_CTX): New.
9411         (libc_feholdexcept_setround_mips_ctx): New.
9412         (libc_feholdexcept_setround_ctx): New.
9413         (libc_feholdexcept_setroundf_ctx): New.
9414         (libc_feholdexcept_setroundl_ctx): New.
9415         (libc_fesetenv_mips_ctx): New.
9416         (libc_fesetenv_ctx): New.
9417         (libc_fesetenv_ctxf): New.
9418         (libc_fesetenv_ctxl): New.
9419         (libc_feupdateenv_mips_ctx): New.
9420         (libc_feupdateenv_ctx): New.
9421         (libc_feupdateenvf_ctx): New.
9422         (libc_feupdateenvl_ctx): New.
9423         (libc_feholdsetround_mips_ctx): New.
9424         (libc_feholdsetround_ctx): New.
9425         (libc_feholdsetroundf_ctx): New.
9426         (libc_feholdsetroundl_ctx): New.
9427         (libc_feresetround_mips_ctx): New.
9428         (libc_feresetround_ctx): New.
9429         (libc_feresetroundf_ctx): New.
9430         (libc_feresetroundl_ctx): New.
9431
9432 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
9433
9434         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9435
9436         * manual/ipc.texi: New file.
9437         * manual/Makefile (chapters): Add ipc.
9438         * manual/job.texi: Add "Inter-Process Communication" to next.
9439         * manual/process.texi: Add "Inter-Process Communication" to prev.
9440
9441 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9442
9443         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9444
9445 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
9446
9447         * malloc/malloc.c (__libc_calloc): Simplify implementation.
9448
9449         * manual/arith.texi: Fix spaces after sentences.
9450         * manual/charset.texi: Likewise.
9451         * manual/errno.texi: Likewise.
9452         * manual/install.texi: Likewise.
9453         * manual/llio.texi: Likewise.
9454         * manual/locale.texi: Likewise.
9455         * manual/maint.texi: Likewise.
9456         * manual/math.texi: Likewise.
9457         * manual/memory.texi: Likewise.
9458         * manual/message.texi: Likewise.
9459         * manual/probes.texi: Likewise.
9460         * manual/resource.texi: Likewise.
9461         * manual/signal.texi: Likewise.
9462         * manual/socket.texi: Likewise.
9463         * manual/stdio.texi: Likewise.
9464         * manual/string.texi: Likewise.
9465         * manual/time.texi: Likewise.
9466         * manual/users.texi: Likewise.
9467
9468 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
9469
9470         [BZ #16632]
9471         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9472         _DEFAULT_SOURCE is defined.
9473
9474 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
9475             Carlos O'Donell  <carlos@redhat.com>
9476
9477         [BZ #16613]
9478         * elf/dl-tls.c (_dl_count_modids): New function.
9479         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9480         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9481         audit library and increment generation counter.
9482         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9483         * elf/tst-audit9.c: New file.
9484         * elf/tst-auditmod9a.c: New file.
9485         * elf/tst-auditmod9b.c: New file.
9486         * elf/Makefile: Add rules to build and run tst-audit9.
9487
9488 2014-02-25  Florian Weimer  <fweimer@redhat.com>
9489
9490         [BZ #15347]
9491         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9492
9493 2014-02-25  Will Newton  <will.newton@linaro.org>
9494
9495         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9496         (__longjmp): Restore sp and lr before restoring callee
9497         saved registers.  Add longjmp and longjmp_target
9498         SystemTap probe point.
9499         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9500         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9501         Define to zero to match jmpbuf layout.
9502         * sysdeps/arm/setjmp.S: Include stap-probe.h.
9503         (__sigsetjmp): Save sp and lr before saving callee
9504         saved registers.  Add setjmp SystemTap probe point.
9505
9506 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
9507
9508         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9509
9510 2014-02-24  Andreas Schwab  <schwab@suse.de>
9511
9512         [BZ #15804]
9513         * elf/pldd.c (wait_for_ptrace_stop): New function.
9514         (main): Call it after attaching.
9515
9516 2014-02-22  Roland McGrath  <roland@hack.frob.com>
9517
9518         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9519         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9520         Versions files is now verboten.
9521         * hurd/Versions (libc: GLIBC_2.0):
9522         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9523         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9524         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9525         * mach/Versions: Likewise.
9526
9527         * csu/Versions: Remove unused %include.
9528         * resolv/Versions: Likewise.
9529
9530 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
9531
9532         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9533         ($(objpfx)check-local-headers.out): Likewise.
9534         ($(objpfx)begin-end-check.out): Likewise.
9535         * Makerules (check-abi-%.out): Likewise.
9536         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9537         ($(objpfx)test2.cat): Likewise.
9538         ($(objpfx)de/libc.cat): Likewise.
9539         ($(objpfx)test-gencat.out): Likewise.
9540         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9541         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9542         ($(objpfx)noload-mem): Likewise.
9543         ($(objpfx)tst-pathopt.out): Likewise.
9544         ($(objpfx)tst-rtld-load-self.out): Likewise.
9545         ($(objpfx)tst-array1-cmp.out): Likewise.
9546         ($(objpfx)tst-array1-static-cmp.out): Likewise.
9547         ($(objpfx)tst-array2-cmp.out): Likewise.
9548         ($(objpfx)tst-array3-cmp.out): Likewise.
9549         ($(objpfx)tst-array4-cmp.out): Likewise.
9550         ($(objpfx)tst-array5-cmp.out): Likewise.
9551         ($(objpfx)tst-array5-static-cmp.out): Likewise.
9552         ($(objpfx)check-textrel.out): Likewise.
9553         ($(objpfx)check-execstack.out): Likewise.
9554         ($(objpfx)check-localplt.out): Likewise.
9555         ($(objpfx)order2-cmp.out): Likewise.
9556         ($(objpfx)tst-leaks1-mem): Likewise.
9557         ($(objpfx)tst-leaks1-static-mem): Likewise.
9558         ($(objpfx)tst-initorder-cmp.out): Likewise.
9559         ($(objpfx)tst-initorder2-cmp.out): Likewise.
9560         ($(objpfx)tst-unused-dep.out): Likewise.
9561         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9562         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9563         * iconv/Makefile (test-iconvconfig): Likewise.
9564         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9565         ($(objpfx)iconv-test.out): Likewise.
9566         ($(objpfx)tst-tables.out): Likewise.
9567         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9568         ($(objpfx)tst-gettext.out): Likewise.
9569         ($(objpfx)tst-translit.out): Likewise.
9570         ($(objpfx)tst-gettext2.out): Likewise.
9571         ($(objpfx)tst-gettext4.out): Likewise.
9572         ($(objpfx)tst-gettext6.out): Likewise.
9573         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9574         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9575         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9576         ($(objpfx)tst-fopenloc-mem.out): Likewise.
9577         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9578         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9579         * posix/Makefile ($(objpfx)globtest.out): Likewise.
9580         ($(objpfx)wordexp-tst.out): Likewise.
9581         ($(objpfx)annexc.out): Likewise.
9582         ($(objpfx)tst-fnmatch-mem): Likewise.
9583         ($(objpfx)bug-regex2-mem): Likewise.
9584         ($(objpfx)bug-regex14-mem): Likewise.
9585         ($(objpfx)bug-regex21-mem): Likewise.
9586         ($(objpfx)bug-regex31-mem): Likewise.
9587         ($(objpfx)tst-vfork3-mem): Likewise.
9588         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9589         ($(objpfx)tst-pcre-mem): Likewise.
9590         ($(objpfx)tst-boost-mem): Likewise.
9591         ($(objpfx)tst-getconf.out): Likewise.
9592         ($(objpfx)bug-ga2-mem): Likewise.
9593         ($(objpfx)bug-glob2-mem): Likewise.
9594         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9595         ($(objpfx)mtrace-tst-leaks2): Likewise.
9596         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9597         ($(objpfx)tst-printf.out): Likewise.
9598         ($(objpfx)tst-setvbuf1.out): Likewise.
9599         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9600         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9601         ($(objpfx)tst-fmtmsg.out): Likewise.
9602         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9603         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9604
9605         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9606         * bits/sigaction.h [__USE_MISC]: Likewise.
9607         * bits/waitstatus.h: Update #endif comments.
9608         * ctype/ctype.h: Likewise.
9609         * dirent/dirent.h: Likewise.
9610         [__USE_MISC]: Remove redundant conditionals.
9611         * grp/grp.h: Update #endif comments.
9612         [__USE_GNU]: Remove redundant conditionals.
9613         [__USE_MISC]: Likewise.
9614         * inet/netinet/in.h [__USE_GNU]: Likewise.
9615         * io/sys/stat.h [__USE_MISC]: Likewise.
9616         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9617         * libio/bits/stdio.h: Update #endif comments.
9618         [__USE_MISC]: Remove redundant conditionals.
9619         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9620         * libio/stdio.h: Update #endif comments.
9621         [__USE_MISC]: Remove redundant conditionals.
9622         * math/bits/math-finite.h [__USE_MISC]: Likewise.
9623         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9624         * math/math.h: Update #else and #endif comments.
9625         [__USE_MISC]: Remove redundant conditionals.
9626         * misc/sys/uio.h: Update #endif comments.
9627         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9628         * posix/glob.h [__USE_MISC]: Likewise.
9629         * posix/sys/types.h: Update #endif comments.
9630         [__USE_MISC]: Remove redundant conditionals.
9631         * posix/sys/wait.h: Update #endif comments.
9632         [__USE_MISC]: Remove redundant conditionals.
9633         * posix/unistd.h: Update #endif comments.
9634         [__USE_MISC]: Remove redundant conditionals.
9635         * pwd/pwd.h [__USE_GNU]: Likewise.
9636         [__USE_MISC]: Likewise.
9637         * resolv/netdb.h [__USE_GNU]: Likewise.
9638         * signal/signal.h: Update #endif comments.
9639         [__USE_MISC]: Remove redundant conditionals.
9640         * stdlib/stdlib.h: Update #else and #endif comments.
9641         [__USE_MISC]: Remove redundant conditionals.
9642         [__USE_GNU]: Likewise.
9643         * string/bits/string2.h [__USE_MISC]: Likewise.
9644         * string/string.h: Update #endif comments.
9645         [__USE_MISC]: Remove redundant conditionals.
9646         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9647         Likewise.
9648         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9649         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9650         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9651         Likewise.
9652         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9653         Likewise.
9654         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9655         comments.
9656         [__USE_MISC]: Remove redundant conditionals.
9657         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9658         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9659         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9660         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9661         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9662         Likewise.
9663         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9664         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9665         Likewise.
9666         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9667         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9668         Likewise.
9669         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9670         Likewise.
9671         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9672         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9673         Likewise.
9674         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9675         Likewise.
9676         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9677         * sysdeps/x86/bits/string.h: Update #endif comments.
9678         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9679         conditionals.
9680         * time/sys/time.h: Update #endif comments.
9681         * time/time.h: Likewise.
9682         [__USE_MISC]: Remove redundant conditionals.
9683
9684 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
9685
9686         [BZ #16600]
9687         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9688
9689 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
9690
9691         * Versions.def (librt): Add GLIBC_2.17.
9692
9693 2014-02-21  Adam Conrad  <adconrad@0c3.net>
9694
9695         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9696         synonym for _SYS_AUXV_H to allow direct inclusion.
9697         * sysdeps/sparc/bits/hwcap.h: Likewise.
9698         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9699         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9700         * sysdeps/sparc/sysdep.h: Likewise.
9701
9702 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9703
9704         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9705
9706 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9707
9708         * benchtests/bench-strrchr.c: Print length instead of position.
9709
9710 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
9711
9712         [BZ #16611]
9713         * sysdeps/unix/sysv/linux/kernel-features.h
9714         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9715         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9716         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9717         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9718         Likewise.
9719         [__i386__ || __powerpc__ || __sh__ || __sparc__]
9720         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9721         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9722         (__ASSUME_SENDMMSG): Define instead of using previous
9723         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9724         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9725         (__ASSUME_SENDMMSG_SYSCALL): Define.
9726         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9727         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9728         Likewise.
9729         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9730         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9731         Likewise.
9732         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9733         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9734         Likewise.
9735         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9736         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9737         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9738         [__ASSUME_SENDMMSG]: Change conditionals to
9739         [__ASSUME_SENDMMSG_SOCKETCALL].
9740         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9741         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9742         Define.
9743         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9744         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9745         Likewise.
9746         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9747         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9748         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9749         [!__ASSUME_SENDMMSG]: Change conditional to
9750         [!__ASSUME_SENDMMSG_SOCKETCALL].
9751         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9752         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9753         Define.
9754
9755         [BZ #16610]
9756         * sysdeps/unix/sysv/linux/kernel-features.h
9757         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9758         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9759         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9760         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9761         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9762         [__i386__ || __sparc__]
9763         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9764         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9765         (__ASSUME_RECVMMSG): Define instead of using previous
9766         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9767         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9768         (__ASSUME_RECVMMSG_SYSCALL): Define.
9769         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9770         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9771         Likewise.
9772         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9773         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9774         Likewise.
9775         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9776         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9777         Likewise.
9778         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9779         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9780         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9781         [__ASSUME_RECVMMSG]: Change condition to
9782         [__ASSUME_RECVMMSG_SOCKETCALL].
9783         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9784         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9785         Define.
9786         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9787         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9788         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9789         Likewise.
9790         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9791         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9792         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9793         [!__ASSUME_RECVMMSG]: Change condition to
9794         [!__ASSUME_RECVMMSG_SOCKETCALL].
9795         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9796         (__ASSUME_RECVMMSG_SYSCALL): Define.
9797
9798         [BZ #16609]
9799         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9800         __powerpc__ || __s390__ || __sh__ || __sparc__]
9801         (__ASSUME_SOCKETCALL): Define.
9802         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9803         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9804         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9805         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9806         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9807         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9808         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9809         (__ASSUME_ACCEPT4): Define instead of using previous
9810         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9811         __powerpc__ || __sparc__ || __s390__)] condition.
9812         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9813         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9814         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9815         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9816         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9817         [!__ASSUME_ACCEPT4]: Change condition to
9818         [!__ASSUME_ACCEPT4_SOCKETCALL].
9819         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9820         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
9821         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9822         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9823         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9824         __ASSUME_ACCEPT4_SYSCALL.
9825         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9826         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9827         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9828         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9829         __ASSUME_ACCEPT4_SYSCALL.
9830         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9831         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9832         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9833         [__ASSUME_ACCEPT4]: Change condition to
9834         [__ASSUME_ACCEPT4_SOCKETCALL].
9835         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9836         (__ASSUME_SOCKETCALL): Define.
9837         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9838         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9839         (__ASSUME_SOCKETCALL): Define.
9840         (__ASSUME_ACCEPT4): Remove.
9841         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9842         Define.
9843         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9844         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9845         Likewise.
9846         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9847         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9848
9849         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9850         macro.
9851         (HWCAP_ARM_LPAE): Likewise.
9852         (HWCAP_ARM_EVTSTRM): Likewise.
9853         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9854         Add vpfd32, lpae and evtstrm.
9855         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9856         Increase to 22.
9857
9858 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
9859
9860         * math/auto-libm-test-in: Add tests of clog10.
9861         * math/auto-libm-test-out: Regenerated.
9862         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9863         * sysdeps/i386/fpu/libm-test-ulps: Update.
9864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9865
9866 2014-02-18  Andreas Schwab  <schwab@suse.de>
9867
9868         [BZ #16574]
9869         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9870         Store non-zero if the second buffer was newly allocated.
9871         (send_dg): Likewise.
9872         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9873         to send_vc and send_dg.
9874         (res_nsend): Pass NULL for ansp2_malloced.
9875         * resolv/res_query.c (__libc_res_nquery): Add parameter
9876         answerp2_malloced and pass it down to __libc_res_nsend.
9877         (res_nquery): Pass additional NULL to __libc_res_nquery.
9878         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9879         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
9880         second answer buffer if answerp2_malloced was set.
9881         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9882         (__libc_res_nquerydomain): Add parameter
9883         answerp2_malloced and pass it down to __libc_res_nquery.
9884         (res_nquerydomain): Pass additional NULL to
9885         __libc_res_nquerydomain.
9886         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9887         additional NULL to __libc_res_nsend and __libc_res_nquery.
9888         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9889         additional NULL to __libc_res_nsearch.
9890         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
9891         parameter of __libc_res_nsearch to check for separately allocated
9892         second buffer.
9893         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9894         __libc_res_nquery.
9895         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9896         additional NULL to __libc_res_nquery.
9897         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9898         __libc_res_nsearch.
9899         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9900         * include/resolv.h: Update prototypes of __libc_res_nquery,
9901         __libc_res_nsearch, __libc_res_nsend.
9902
9903 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
9904
9905         * math/auto-libm-test-in: Add tests of fma.
9906         * math/auto-libm-test-out: Regenerated.
9907         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9908         (fma_towardzero_test_data): Likewise.
9909         (fma_downward_test_data): Likewise.
9910         (fma_upward_test_data): Likewise.
9911         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9912         mpc_mode.
9913         (rounding_modes): Add values for new field.
9914         (func_calc_method): Add value mpfr_fff_f.
9915         (func_calc_desc): Add mpfr_fff_f union field.
9916         (test_function): Add field exact_args.
9917         (FUNC): Add macro argument EXACT_ARGS.
9918         (FUNC_mpfr_f_f): Update call to FUNC.
9919         (FUNC_mpfr_f_f): Likewise.
9920         (FUNC_mpfr_ff_f): Likewise.
9921         (FUNC_mpfr_if_f): Likewise.
9922         (FUNC_mpc_c_f): Likewise.
9923         (FUNC_mpc_c_c): Likewise.
9924         (test_functions): Add fma.  Update calls to FUNC.
9925         (handle_input_arg): Add argument exact_args.
9926         (add_test): Update call to handle_input_arg.
9927         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
9928         (output_for_one_input_case): Update call to calc_generic_results.
9929         Recalculate exact zero results in each rounding mode.
9930
9931         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9932         non-negative before setting low bit.
9933         * math/auto-libm-test-in: Mark one asin test possibly having
9934         spurious underflow.
9935         * math/auto-libm-test-out: Regenerated.
9936         * sysdeps/i386/fpu/libm-test-ulps: Update.
9937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9938
9939 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
9940
9941         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9942         * sysdeps/unix/sysv/linux/microblaze: Move directory from
9943         ports/sysdeps/unix/sysv/linux/microblaze.
9944         * README: Add missing listing for microblaze*-*-linux-gnu.
9945
9946 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
9947
9948         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
9949         duplicate code
9950
9951 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
9952
9953         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9954         * sysdeps/unix/sysv/linux/ia64: Move directory from
9955         ports/sysdeps/unix/sysv/linux/ia64.
9956         * README: Update listing for ia64-*-linux-gnu.
9957
9958 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
9959             Joseph Myers  <joseph@codesourcery.com>
9960
9961         * Makeconfig (test-name): New variable.
9962         (evaluate-test): Likewise.
9963         * Makerules (do-test-clean): Remove .test-result files.
9964         (common-mostlyclean): Likewise.
9965         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9966         * scripts/evaluate-test.sh: New file.
9967
9968 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
9969
9970         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9971         separate $(objpfx)tst-fopenloc-cmp.out and
9972         $(objpfx)tst-fopenloc-mem.out targets.
9973         (tests): Update dependencies.
9974         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9975         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9976         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9977         (tst-rxspencer-no-utf8-ARGS): New variable.
9978         (tst-rxspencer-no-utf8-ENV): Likewise.
9979         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9980         instead of $(objpfx)tst-rxspencer-mem.
9981         ($(objpfx)tst-rxspencer-mem): Change target to
9982         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
9983         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9984         * posix/tst-rxspencer-no-utf8.c: New file.
9985
9986         * elf/Makefile ($(objpfx)order.out): Remove rule.
9987         [$(run-built-tests) = yes] (tests): Depend on
9988         $(objpfx)order-cmp.out.
9989         ($(objpfx)order-cmp.out): New rule.
9990         [$(run-built-tests) = yes] (tests): Depend on
9991         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9992         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9993         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9994         $(objpfx)tst-array5-static-cmp.out.
9995         ($(objpfx)tst-array1.out): Remove rule.
9996         ($(objpfx)tst-array1-cmp.out): New rule.
9997         ($(objpfx)tst-array1-static.out): Remove rule.
9998         ($(objpfx)tst-array1-static-cmp.out): New rule.
9999         ($(objpfx)tst-array2.out): Remove rule.
10000         ($(objpfx)tst-array2-cmp.out): New rule.
10001         ($(objpfx)tst-array3.out): Remove rule.
10002         ($(objpfx)tst-array3-cmp.out): New rule.
10003         ($(objpfx)tst-array4.out): Remove rule.
10004         ($(objpfx)tst-array4-cmp.out): New rule.
10005         ($(objpfx)tst-array5.out): Remove rule.
10006         ($(objpfx)tst-array5-cmp.out): New rule.
10007         ($(objpfx)tst-array5-static.out): Remove rule.
10008         ($(objpfx)tst-array5-static-cmp.out): New rule.
10009         [$(run-built-tests) = yes] (tests): Depend on
10010         $(objpfx)order2-cmp.out.
10011         ($(objpfx)order2.out): Remove rule.
10012         ($(objpfx)order2-cmp.out): New rule.
10013         ($(objpfx)tst-initorder.out): Remove rule.
10014         [$(run-built-tests) = yes] (tests): Depend on
10015         $(objpfx)tst-initorder-cmp.out.
10016         ($(objpfx)tst-initorder-cmp.out): New rule.
10017         ($(objpfx)tst-initorder2.out): Remove rule.
10018         [$(run-built-tests) = yes] (tests): Depend on
10019         $(objpfx)tst-initorder2-cmp.out.
10020         ($(objpfx)tst-initorder2-cmp.out): New rule.
10021         [$(run-built-tests) = yes] (tests): Depend on
10022         $(objpfx)tst-unused-dep-cmp.out.
10023         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10024         ($(objpfx)tst-unused-dep-cmp.out): New rule.
10025         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10026         on $(objpfx)tst-setvbuf1-cmp.out.
10027         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10028         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10029         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10030         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10031         ($(objpfx)tst-svc.out): Remove rule.
10032         ($(objpfx)tst-svc-cmp.out): New rule.
10033
10034 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
10035
10036         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10037         * ctype/ctype.h [__USE_MISC]: Likewise.
10038         * dirent/dirent.h [__USE_MISC]: Likewise.
10039         * grp/grp.h [__USE_MISC]: Likewise.
10040         * io/fcntl.h [__USE_MISC]: Likewise.
10041         * io/sys/stat.h [__USE_MISC]: Likewise.
10042         * libio/stdio.h [__USE_MISC]: Likewise.
10043         * posix/unistd.h [__USE_MISC]: Likewise.
10044         * pwd/pwd.h [__USE_MISC]: Likewise.
10045         * stdlib.h [__USE_MISC]: Likewise.
10046         * string/bits/string2.h [__USE_MISC]: Likewise.
10047         * string/string.h [__USE_MISC]: Likewise.
10048         * time/time.h [__USE_MISC]: Likewise.
10049
10050 2014-02-13  Andreas Schwab  <schwab@suse.de>
10051
10052         [BZ #16574]
10053         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10054         second answer buffer if it was separately allocated.
10055
10056 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
10057
10058         * sysdeps/mips/math-tests.h: Include <features.h>.
10059         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10060         (ROUNDING_TESTS_long_double): Do not define.
10061         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10062         (EXCEPTION_TESTS_long_double): Likewise.
10063         * sysdeps/mips/mips64/libm-test-ulps: Update.
10064
10065         * include/features.h (__USE_BSD): Remove macro definitions.
10066         (__USE_SVID): Likewise.
10067         (_BSD_SOURCE): Likewise.
10068         (_SVID_SOURCE): Likewise.
10069         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10070         from definition of _DEFAULT_SOURCE.
10071         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10072         [_DEFAULT_SOURCE].
10073         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10074         * bits/mman.h [__USE_BSD]: Likewise.
10075         * bits/termios.h [__USE_BSD]: Likewise.
10076         * bits/waitstatus.h [__USE_BSD]: Likewise.
10077         * ctype/ctype.h [__USE_SVID]: Likewise.
10078         * dirent/dirent.h [__USE_BSD]: Likewise.
10079         * grp/grp.h [__USE_SVID]: Likewise.
10080         [__USE_BSD]: Likewise.
10081         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10082         * io/fcntl.h [__USE_BSD]: Likewise.
10083         * io/ftw.h [__USE_BSD]: Likewise.
10084         * io/sys/stat.h [__USE_BSD]: Likewise.
10085         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10086         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10087         * libio/stdio.h [__USE_SVID]: Likewise.
10088         [__USE_BSD]: Likewise.
10089         * math/math.h [__USE_SVID]: Likewise.
10090         [__USE_BSD]: Likewise.
10091         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10092         * misc/bits/syslog.h [__USE_BSD]: Likewise.
10093         * misc/search.h [__USE_SVID]: Likewise.
10094         * misc/sys/mman.h [__USE_BSD]: Likewise.
10095         * misc/sys/syslog.h [__USE_BSD]: Likewise.
10096         * misc/sys/uio.h [__USE_BSD]: Likewise.
10097         * posix/bits/unistd.h [__USE_BSD]: Likewise.
10098         * posix/glob.h [__USE_BSD]: Likewise.
10099         * posix/regex.h [__USE_BSD]: Likewise.
10100         * posix/sys/types.h [__USE_BSD]: Likewise.
10101         [__USE_SVID]: Likewise.
10102         * posix/sys/utsname.h [__USE_SVID]: Likewise.
10103         * posix/sys/wait.h [__USE_BSD]: Likewise.
10104         [__USE_SVID]: Likewise.
10105         * posix/unistd.h [__USE_BSD]: Likewise.
10106         [__USE_SVID]: Likewise.
10107         * pwd/pwd.h [__USE_SVID]: Likewise.
10108         * resolv/netdb.h [__USE_BSD]: Likewise.
10109         * setjmp/setjmp.h [__USE_BSD]: Likewise.
10110         * signal/signal.h [__USE_BSD]: Likewise.
10111         [__USE_SVID]: Likewise.
10112         * socket/sys/socket.h [__USE_BSD]: Likewise.
10113         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10114         * stdlib/stdlib.h [__USE_BSD]: Likewise.
10115         [__USE_SVID]: Likewise.
10116         * string/bits/string2.h [__USE_BSD]: Likewise.
10117         [__USE_SVID]: Likewise.
10118         * string/bits/string3.h [__USE_BSD]: Likewise.
10119         * string/endian.h [__USE_BSD]: Likewise.
10120         * string/string.h [__USE_SVID]: Likewise.
10121         [__USE_BSD]: Likewise.
10122         * string/strings.h [__USE_BSD]: Likewise.
10123         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10124         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10125         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10126         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10127         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10128         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10129         Likewise.
10130         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10131         Likewise.
10132         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10133         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10134         Likewise.
10135         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10136         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10137         Likewise.
10138         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10139         Likewise.
10140         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10141         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10142         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10143         Likewise.
10144         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10145         Likewise.
10146         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10147         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10148         * termios/termios.h [__USE_BSD]: Likewise.
10149         * time/sys/time.h [__USE_BSD]: Likewise.
10150         * time/time.h [__USE_BSD]: Likewise.
10151         [__USE_SVID]: Likewise.
10152
10153         * Makefile (subdir_targets): Remove subdir_lint.out.
10154
10155         * stdio-common/Makefile (do-tst-unbputc): Remove target.
10156         (do-tst-printf): Likewise.
10157         (tests): Depend directly on $(objpfx)tst-unbputc.out and
10158         $(objpfx)tst-printf.out.
10159
10160         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10161
10162         * Makerules (check-abi-%): Change target to
10163         $(objpfx)check-abi-%.out.
10164         (check-abi target): Update dependencies.
10165         (check-abi-pattern variable): Redirect output of diff to $@.
10166         (check-abi variable): Likewise.
10167         * elf/Makefile (check-abi): Update dependencies.
10168
10169         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10170         unused.
10171         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10172         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10173         subnormal range.
10174         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10175         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10176         value has largest subnormal exponent.
10177         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10178         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10179         * sysdeps/aarch64/soft-fp/sfp-machine.h
10180         (_FP_TININESS_AFTER_ROUNDING): New macro.
10181         * sysdeps/alpha/soft-fp/sfp-machine.h
10182         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10183         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10184         Likewise.
10185         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10186         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10187         * sysdeps/mips/soft-fp/sfp-machine.h
10188         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10189         * sysdeps/powerpc/soft-fp/sfp-machine.h
10190         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10191         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10192         Likewise.
10193         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10194         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10195         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10196         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10197         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10198         Likewise.
10199
10200 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
10201
10202         [BZ #16545]
10203         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10204         model 1.
10205
10206 2014-02-12  Richard Henderson  <rth@redhat.com>
10207
10208         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10209         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10210         * sysdeps/unix/sysv/linux/alpha: Move directory from
10211         ports/sysdeps/unix/sysv/linux/alpha.
10212         * README: Update listing for alpha-*-linux-gnu.
10213
10214 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
10215
10216         * include/features.h: Update comment documenting feature test
10217         macros.
10218         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
10219         _DEFAULT_SOURCE.
10220         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10221         (_SVID_SOURCE): Likewise.
10222         (_DEFAULT_SOURCE): Update description of default features.
10223         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10224         with _GNU_SOURCE.
10225         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10226         (S_ISVTX): Likewise.
10227         * manual/math.texi (Mathematical Constants): Likewise.
10228         * manual/signal.texi (Interrupted Primitives): Likewise.
10229         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10230         * math/test-matherr.c (_SVID_SOURCE): Do not define.
10231         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10232         Don't refer to _SVID_SOURCE in warning text.
10233
10234         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10235
10236         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10237         already defined.
10238         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10239         * sysdeps/mips/dl-lookup.c: Remove.
10240         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10241
10242 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10243
10244         [BZ #16447]
10245         * math/auto-libm-test-in: Add testcase for expl.
10246         * math/auto-libm-test-out: Regenerate.
10247         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10248         calculation of unsafe.
10249         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10250
10251 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10252
10253         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10254         * sysdeps/unix/sysv/linux/aarch64: Move directory from
10255         ports/sysdeps/unix/sysv/linux/aarch64.
10256         * README: Update listing for aarch64*-*-linux-gnu.
10257
10258 2014-02-11  Will Newton  <will.newton@linaro.org>
10259
10260         * manual/probes.texi (Mathematical Function Probes): Use
10261         "triggered" instead of "hit".
10262
10263         * manual/probes.texi (Internal Probes): Add documentation
10264         of setjmp, longjmp and longjmp_target probes.
10265
10266         * include/stap-probe.h: Add comment about probe argument
10267         format.
10268
10269         * malloc/mtrace.c (attribute_hidden): Remove unused macro
10270         definition.  (tr_where, tr_freehook, tr_mallochook,
10271         tr_reallochook, tr_memalignhook): Use ANSI protoype.
10272
10273 2014-02-11  David S. Miller  <davem@davemloft.net>
10274
10275         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10276         processing int_tests.
10277
10278 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
10279
10280         * sysdeps/mips: Move directory from ports/sysdeps/mips.
10281         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10282         * sysdeps/unix/sysv/linux/mips: Move directory from
10283         ports/sysdeps/unix/sysv/linux/mips.
10284         * README: Update listing for mips-*-linux-gnu and
10285         mips64-*-linux-gnu.
10286
10287 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
10288
10289         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10290         * sysdeps/unix/sysv/linux/m68k: Move directory from
10291         ports/sysdeps/unix/sysv/linux/m68k.
10292         * README: Update listing for m68k-*-linux-gnu.
10293
10294 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
10295
10296         * sysdeps/tile: Move directory from ports/sysdeps/tile.
10297         * sysdeps/unix/sysv/linux/generic: Move directory from
10298         ports/sysdeps/unix/sysv/linux/generic.
10299         * sysdeps/unix/sysv/linux/tile: Move directory from
10300         ports/sysdeps/unix/sysv/linux/tile.
10301         * README: Update listing for tile*-*-linux-gnu.
10302
10303 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
10304
10305         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10306         __builtin_expect.
10307         * benchtests/bench-memmem.c (simple_memmem): Likewise.
10308         * catgets/open_catalog.c (__open_catalog): Likewise.
10309         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10310         * debug/confstr_chk.c: Likewise.
10311         * debug/fread_chk.c (__fread_chk): Likewise.
10312         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10313         * debug/getgroups_chk.c: Likewise.
10314         * debug/mbsnrtowcs_chk.c: Likewise.
10315         * debug/mbsrtowcs_chk.c: Likewise.
10316         * debug/mbstowcs_chk.c: Likewise.
10317         * debug/memcpy_chk.c: Likewise.
10318         * debug/memmove_chk.c: Likewise.
10319         * debug/mempcpy_chk.c: Likewise.
10320         * debug/memset_chk.c: Likewise.
10321         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10322         * debug/strcat_chk.c (__strcat_chk): Likewise.
10323         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10324         * debug/strncat_chk.c (__strncat_chk): Likewise.
10325         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10326         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10327         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10328         * debug/wcpncpy_chk.c: Likewise.
10329         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10330         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10331         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10332         * debug/wcsncpy_chk.c: Likewise.
10333         * debug/wcsnrtombs_chk.c: Likewise.
10334         * debug/wcsrtombs_chk.c: Likewise.
10335         * debug/wcstombs_chk.c: Likewise.
10336         * debug/wmemcpy_chk.c: Likewise.
10337         * debug/wmemmove_chk.c: Likewise.
10338         * debug/wmempcpy_chk.c: Likewise.
10339         * debug/wmemset_chk.c: Likewise.
10340         * dirent/scandirat.c (SCANDIRAT): Likewise.
10341         * dlfcn/dladdr1.c (dladdr1): Likewise.
10342         * dlfcn/dladdr.c (dladdr): Likewise.
10343         * dlfcn/dlclose.c (dlclose_doit): Likewise.
10344         * dlfcn/dlerror.c (__dlerror): Likewise.
10345         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10346         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10347         * dlfcn/dlopen.c (dlopen_doit): Likewise.
10348         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10349         * dlfcn/dlsym.c (dlsym_doit): Likewise.
10350         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10351         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10352         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10353         Likewise.
10354         * elf/dl-conflict.c: Likewise.
10355         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10356         * elf/dl-dst.h: Likewise.
10357         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10358         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10359         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10360         * elf/dl-init.c (call_init, _dl_init): Likewise.
10361         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10362         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10363         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10364         Likewise.
10365         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10366         Likewise.
10367         * elf/dl-minimal.c (__libc_memalign): Likewise.
10368         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10369         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10370         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10371         * elf/dl-sym.c (do_sym): Likewise.
10372         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10373         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10374         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10375         * elf/dl-writev.h (_dl_writev): Likewise.
10376         * elf/ldconfig.c (search_dir): Likewise.
10377         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10378         (dl_main): Likewise.
10379         * elf/setup-vdso.h (setup_vdso): Likewise.
10380         * grp/compat-initgroups.c (compat_call): Likewise.
10381         * grp/fgetgrent.c (fgetgrent): Likewise.
10382         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10383         * grp/putgrent.c (putgrent): Likewise.
10384         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10385         Likewise.
10386         * hurd/hurdinit.c: Likewise.
10387         * iconvdata/8bit-gap.c (struct): Likewise.
10388         * iconvdata/ansi_x3.110.c : Likewise.
10389         * iconvdata/big5.c : Likewise.
10390         * iconvdata/big5hkscs.c : Likewise.
10391         * iconvdata/cp1255.c: Likewise.
10392         * iconvdata/cp1258.c : Likewise.
10393         * iconvdata/cp932.c : Likewise.
10394         * iconvdata/euc-cn.c: Likewise.
10395         * iconvdata/euc-jisx0213.c : Likewise.
10396         * iconvdata/euc-jp.c: Likewise.
10397         * iconvdata/euc-jp-ms.c : Likewise.
10398         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10399         * iconvdata/gb18030.c : Likewise.
10400         * iconvdata/gbbig5.c (const): Likewise.
10401         * iconvdata/gbgbk.c: Likewise.
10402         * iconvdata/gbk.c : Likewise.
10403         * iconvdata/ibm1364.c : Likewise.
10404         * iconvdata/ibm930.c : Likewise.
10405         * iconvdata/ibm932.c: Likewise.
10406         * iconvdata/ibm933.c : Likewise.
10407         * iconvdata/ibm935.c : Likewise.
10408         * iconvdata/ibm937.c : Likewise.
10409         * iconvdata/ibm939.c : Likewise.
10410         * iconvdata/ibm943.c: Likewise.
10411         * iconvdata/iso_11548-1.c: Likewise.
10412         * iconvdata/iso-2022-cn.c : Likewise.
10413         * iconvdata/iso-2022-cn-ext.c : Likewise.
10414         * iconvdata/iso-2022-jp-3.c: Likewise.
10415         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10416         * iconvdata/iso-2022-kr.c : Likewise.
10417         * iconvdata/iso646.c (gconv_end): Likewise.
10418         * iconvdata/iso_6937-2.c : Likewise.
10419         * iconvdata/iso_6937.c : Likewise.
10420         * iconvdata/iso8859-1.c: Likewise.
10421         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10422         * iconvdata/shift_jisx0213.c : Likewise.
10423         * iconvdata/sjis.c : Likewise.
10424         * iconvdata/t.61.c : Likewise.
10425         * iconvdata/tcvn5712-1.c : Likewise.
10426         * iconvdata/tscii.c: Likewise.
10427         * iconvdata/uhc.c : Likewise.
10428         * iconvdata/unicode.c (gconv_end): Likewise.
10429         * iconvdata/utf-16.c (gconv_end): Likewise.
10430         * iconvdata/utf-32.c (gconv_end): Likewise.
10431         * iconvdata/utf-7.c (base64): Likewise.
10432         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10433         * iconv/gconv_close.c (__gconv_close): Likewise.
10434         * iconv/gconv_open.c (__gconv_open): Likewise.
10435         * iconv/gconv_simple.c (internal_ucs4_loop_single)
10436         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10437         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10438         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10439         (ucs4le_internal_loop_single): Likewise.
10440         * iconv/iconv.c (iconv): Likewise.
10441         * iconv/iconv_close.c: Likewise.
10442         * iconv/loop.c (SINGLE): Likewise.
10443         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10444         * include/atomic.h: Likewise.
10445         * inet/inet6_option.c (option_alloc): Likewise.
10446         * intl/bindtextdom.c (set_binding_values): Likewise.
10447         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10448         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10449         * intl/localealias.c (read_alias_file): Likewise.
10450         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10451         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10452         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10453         * libio/fmemopen.c (fmemopen): Likewise.
10454         * libio/iofgets.c (_IO_fgets): Likewise.
10455         * libio/iofgets_u.c (fgets_unlocked): Likewise.
10456         * libio/iofgetws.c (fgetws): Likewise.
10457         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10458         * libio/iogetdelim.c (_IO_getdelim): Likewise.
10459         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10460         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10461         * locale/findlocale.c (_nl_find_locale): Likewise.
10462         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10463         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10464         Likewise.
10465         * locale/setlocale.c (setlocale): Likewise.
10466         * login/programs/pt_chown.c (main): Likewise.
10467         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10468         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10469         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10470         (mmap, mmap64, mremap, munmap): Likewise.
10471         * math/e_exp2l.c: Likewise.
10472         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10473         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10474         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10475         * math/s_catan.c (__catan): Likewise.
10476         * math/s_catanf.c (__catanf): Likewise.
10477         * math/s_catanh.c (__catanh): Likewise.
10478         * math/s_catanhf.c (__catanhf): Likewise.
10479         * math/s_catanhl.c (__catanhl): Likewise.
10480         * math/s_catanl.c (__catanl): Likewise.
10481         * math/s_ccosh.c (__ccosh): Likewise.
10482         * math/s_ccoshf.c (__ccoshf): Likewise.
10483         * math/s_ccoshl.c (__ccoshl): Likewise.
10484         * math/s_cexp.c (__cexp): Likewise.
10485         * math/s_cexpf.c (__cexpf): Likewise.
10486         * math/s_cexpl.c (__cexpl): Likewise.
10487         * math/s_clog10.c (__clog10): Likewise.
10488         * math/s_clog10f.c (__clog10f): Likewise.
10489         * math/s_clog10l.c (__clog10l): Likewise.
10490         * math/s_clog.c (__clog): Likewise.
10491         * math/s_clogf.c (__clogf): Likewise.
10492         * math/s_clogl.c (__clogl): Likewise.
10493         * math/s_csin.c (__csin): Likewise.
10494         * math/s_csinf.c (__csinf): Likewise.
10495         * math/s_csinh.c (__csinh): Likewise.
10496         * math/s_csinhf.c (__csinhf): Likewise.
10497         * math/s_csinhl.c (__csinhl): Likewise.
10498         * math/s_csinl.c (__csinl): Likewise.
10499         * math/s_csqrt.c (__csqrt): Likewise.
10500         * math/s_csqrtf.c (__csqrtf): Likewise.
10501         * math/s_csqrtl.c (__csqrtl): Likewise.
10502         * math/s_ctan.c (__ctan): Likewise.
10503         * math/s_ctanf.c (__ctanf): Likewise.
10504         * math/s_ctanh.c (__ctanh): Likewise.
10505         * math/s_ctanhf.c (__ctanhf): Likewise.
10506         * math/s_ctanhl.c (__ctanhl): Likewise.
10507         * math/s_ctanl.c (__ctanl): Likewise.
10508         * math/w_pow.c: Likewise.
10509         * math/w_powf.c: Likewise.
10510         * math/w_powl.c: Likewise.
10511         * math/w_scalb.c (sysv_scalb): Likewise.
10512         * math/w_scalbf.c (sysv_scalbf): Likewise.
10513         * math/w_scalbl.c (sysv_scalbl): Likewise.
10514         * misc/error.c (error_tail): Likewise.
10515         * misc/pselect.c (__pselect): Likewise.
10516         * nis/nis_callback.c (__nis_create_callback): Likewise.
10517         * nis/nis_call.c (__nisfind_server): Likewise.
10518         * nis/nis_creategroup.c (nis_creategroup): Likewise.
10519         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10520         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10521         * nis/nis_getservlist.c (nis_getservlist): Likewise.
10522         * nis/nis_lookup.c (nis_lookup): Likewise.
10523         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10524         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10525         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10526         * nis/nis_xdr.c (xdr_endpoint): Likewise.
10527         * nis/nss_compat/compat-grp.c (getgrent_next_file)
10528         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10529         * nis/nss_compat/compat-initgroups.c (add_group)
10530         (internal_getgrent_r): Likewise.
10531         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10532         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10533         * nis/nss_compat/compat-spwd.c (getspent_next_file)
10534         (internal_getspnam_r): Likewise.
10535         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10536         (_nss_nis_getaliasbyname_r): Likewise.
10537         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10538         (_nss_nis_getntohost_r): Likewise.
10539         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10540         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10541         (_nss_nis_getgrgid_r): Likewise.
10542         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10543         (internal_nis_gethostent_r, internal_gethostbyname2_r)
10544         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10545         (_nss_nis_gethostbyname4_r): Likewise.
10546         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10547         (initgroups_netid): Likewise.
10548         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10549         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10550         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10551         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10552         (_nss_nis_getprotobynumber_r): Likewise.
10553         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10554         (_nss_nis_getsecretkey): Likewise.
10555         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10556         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10557         (_nss_nis_getpwuid_r): Likewise.
10558         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10559         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10560         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10561         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10562         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10563         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10564         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10565         Likewise.
10566         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10567         (_nss_nisplus_getntohost_r): Likewise.
10568         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10569         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10570         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10571         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10572         Likewise.
10573         * nis/nss_nisplus/nisplus-initgroups.c
10574         (_nss_nisplus_initgroups_dyn): Likewise.
10575         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10576         (_nss_nisplus_getnetbyaddr_r): Likewise.
10577         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10578         (_nss_nisplus_getprotobynumber_r): Likewise.
10579         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10580         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10581         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10582         Likewise.
10583         * nis/nss_nisplus/nisplus-service.c
10584         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10585         (_nss_nisplus_getservbyport_r): Likewise.
10586         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10587         (_nss_nisplus_getspnam_r): Likewise.
10588         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10589         Likewise.
10590         * nscd/aicache.c (addhstaiX): Likewise.
10591         * nscd/cache.c (cache_search, prune_cache): Likewise.
10592         * nscd/connections.c (register_traced_file, send_ro_fd)
10593         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10594         (main_loop_epoll): Likewise.
10595         * nscd/grpcache.c (addgrbyX): Likewise.
10596         * nscd/hstcache.c (addhstbyX): Likewise.
10597         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10598         * nscd/mem.c (gc, mempool_alloc): Likewise.
10599         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10600         (addinnetgrX): Likewise.
10601         * nscd/nscd-client.h (__nscd_acquire_maplock)
10602         (__nscd_drop_map_ref): Likewise.
10603         * nscd/nscd_getai.c (__nscd_getai): Likewise.
10604         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10605         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10606         Likewise.
10607         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10608         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10609         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10610         (__nscd_get_map_ref): Likewise.
10611         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10612         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10613         Likewise.
10614         * nscd/pwdcache.c (addpwbyX): Likewise.
10615         * nscd/selinux.c (preserve_capabilities): Likewise.
10616         * nscd/servicescache.c (addservbyX): Likewise.
10617         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10618         * posix/fnmatch.c (fnmatch): Likewise.
10619         * posix/getopt.c (_getopt_internal_r): Likewise.
10620         * posix/glob.c (glob, glob_in_dir): Likewise.
10621         * posix/wordexp.c (exec_comm_child): Likewise.
10622         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10623         (getanswer_r, gaih_getanswer_slice): Likewise.
10624         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10625         * resolv/res_init.c: Likewise.
10626         * resolv/res_mkquery.c (res_nmkquery): Likewise.
10627         * resolv/res_query.c (__libc_res_nquery): Likewise.
10628         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10629         Likewise.
10630         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10631         * stdio-common/perror.c (perror): Likewise.
10632         * stdio-common/printf_fp.c (___printf_fp): Likewise.
10633         * stdio-common/tmpnam.c (tmpnam): Likewise.
10634         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10635         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10636         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10637         Likewise.
10638         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10639         * stdlib/putenv.c (putenv): Likewise.
10640         * stdlib/setenv.c (__add_to_environ): Likewise.
10641         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10642         * stdlib/strtol_l.c (INTERNAL): Likewise.
10643         * string/memmem.c (memmem): Likewise.
10644         * string/strerror.c (strerror): Likewise.
10645         * string/strnlen.c (__strnlen): Likewise.
10646         * string/test-memmem.c (simple_memmem): Likewise.
10647         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10648         * sunrpc/pm_getport.c (__get_socket): Likewise.
10649         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10650         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10651         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10652         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10653         Likewise.
10654         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10655         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10656         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10657         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10658         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10659         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10660         Likewise.
10661         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10662         Likewise.
10663         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10664         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10665         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10666         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10667         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10668         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10669         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10670         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10671         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10672         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10673         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10674         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10675         Likewise.
10676         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10677         Likewise.
10678         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10679         Likewise.
10680         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10681         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10682         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10683         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10684         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10685         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10686         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10687         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10688         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10689         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10690         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10691         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10692         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10693         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10694         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10695         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10696         Likewise.
10697         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10698         Likewise.
10699         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10700         Likewise.
10701         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10702         Likewise.
10703         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10704         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10705         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10706         Likewise.
10707         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10708         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10709         * sysdeps/posix/opendir.c (__opendirat): Likewise.
10710         * sysdeps/posix/sleep.c: Likewise.
10711         * sysdeps/posix/tempname.c: Likewise.
10712         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10713         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10714         Likewise.
10715         * sysdeps/powerpc/powerpc32/dl-machine.h
10716         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10717         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10718         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10719         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10720         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10721         Likewise.
10722         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10723         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10724         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10725         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10726         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10727         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10728         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10729         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10730         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10731         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10732         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10733         (elf_machine_lazy_rel): Likewise.
10734         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10735         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10736         (elf_machine_lazy_rel): Likewise.
10737         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10738         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10739         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10740         * sysdeps/unix/grantpt.c (grantpt): Likewise.
10741         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10742         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10743         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10744         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10745         Likewise.
10746         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10747         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10748         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10749         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10750         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10751         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10752         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10753         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10754         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10755         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10756         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10757         Likewise.
10758         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10759         (__posix_fallocate64_l64): Likewise.
10760         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10761         (posix_fallocate): Likewise.
10762         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10763         Likewise.
10764         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10765         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10766         (getifaddrs_internal): Likewise.
10767         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10768         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10769         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10770         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10771         * sysdeps/unix/sysv/linux/posix_fallocate64.c
10772         (__posix_fallocate64_l64): Likewise.
10773         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10774         Likewise.
10775         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10776         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10777         (__get_clockfreq): Likewise.
10778         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10779         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10780         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10781         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10782         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10783         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10784         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10785         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10786         Likewise.
10787         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10788         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10789         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10790         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10791         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10792         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10793         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10794         Likewise.
10795         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10796         (posix_fallocate): Likewise.
10797         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10798         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10799         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
10800         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10801         (elf_machine_rela, elf_machine_rela_relative)
10802         (elf_machine_lazy_rel): Likewise.
10803         * time/asctime.c (asctime_internal): Likewise.
10804         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10805         * time/tzset.c (__tzset_parse_tz): Likewise.
10806         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10807         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10808         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10809         * wcsmbs/wcsmbsload.h: Likewise.
10810
10811         [BZ #15894]
10812         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10813
10814         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10815         (arena_get2): Remove THREAD_STATS conditionals.
10816         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10817         (__malloc_stats, int): Likewise.
10818
10819 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
10820
10821         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10822         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
10823
10824         * manual/setjmp.texi: Fix typos/grammar errors.
10825
10826         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10827         Only return early when n is <= 0.  Delete unused return statement.
10828
10829         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10830         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10831         * debug/tst-longjmp_chk3.c: New file.
10832
10833         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10834         (test_main): Replace code with set_fortify_handler call.
10835         * debug/test-strcpy_chk.c: Likewise.
10836         * debug/tst-chk1.c: Likewise.
10837         * debug/tst-longjmp_chk.c: Likewise.
10838         * test-skeleton.c: Include fcntl.h & paths.h
10839         (set_fortify_handler): Define.
10840
10841         * debug/tst-longjmp_chk.c: Add header comment and include
10842         ../test-skeleton.c.
10843         (do_test): Mark static.
10844         (TEST_FUNCTION): Define.
10845
10846         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10847         (IP_PMTUDISC_INTERFACE): Likewise.
10848         (IP_MULTICAST_IF): Likewise.
10849         (IP_MULTICAST_TTL): Likewise.
10850         (IP_MULTICAST_LOOP): Likewise.
10851         (IP_ADD_MEMBERSHIP): Likewise.
10852         (IP_DROP_MEMBERSHIP): Likewise.
10853         (IP_UNBLOCK_SOURCE): Likewise.
10854         (IP_BLOCK_SOURCE): Likewise.
10855         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10856         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10857         (IP_MSFILTER): Likewise.
10858         (MCAST_JOIN_GROUP): Likewise.
10859         (MCAST_BLOCK_SOURCE): Likewise.
10860         (MCAST_UNBLOCK_SOURCE): Likewise.
10861         (MCAST_LEAVE_GROUP): Likewise.
10862         (MCAST_JOIN_SOURCE_GROUP): Likewise.
10863         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10864         (MCAST_MSFILTER): Likewise.
10865         (IP_MULTICAST_ALL): Likewise.
10866         (IP_UNICAST_IF): Likewise.
10867
10868         * timezone/Makefile: Delete $(have-ksh) check.
10869         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10870         * timezone/tzselect.ksh: Add +x mode bits.
10871
10872         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10873         (ANON_INODE_FS_MAGIC): Likewise.
10874         (BDEVFS_MAGIC): Likewise.
10875         (BINFMTFS_MAGIC): Likewise.
10876         (BTRFS_TEST_MAGIC): Likewise.
10877         (CRAMFS_MAGIC_WEND): Likewise.
10878         (DEBUGFS_MAGIC): Likewise.
10879         (ECRYPTFS_SUPER_MAGIC): Likewise.
10880         (EXT3_SUPER_MAGIC): Likewise.
10881         (EXT4_SUPER_MAGIC): Likewise.
10882         (FUTEXFS_SUPER_MAGIC): Likewise.
10883         (HOSTFS_SUPER_MAGIC): Likewise.
10884         (HUGETLBFS_MAGIC): Likewise.
10885         (MINIX3_SUPER_MAGIC): Likewise.
10886         (MTD_INODE_FS_MAGIC): Likewise.
10887         (NILFS_SUPER_MAGIC): Likewise.
10888         (OPENPROM_SUPER_MAGIC): Likewise.
10889         (PIPEFS_MAGIC): Likewise.
10890         (PSTOREFS_MAGIC): Likewise.
10891         (QNX6_SUPER_MAGIC): Likewise.
10892         (RAMFS_MAGIC): Likewise.
10893         (REISERFS_SUPER_MAGIC_STRING): Likewise.
10894         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10895         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10896         (SECURITYFS_MAGIC): Likewise.
10897         (SELINUX_MAGIC): Likewise.
10898         (SMACK_MAGIC): Likewise.
10899         (SOCKFS_MAGIC): Likewise.
10900         (SQUASHFS_MAGIC): Likewise.
10901         (STACK_END_MAGIC): Likewise.
10902         (TMPFS_MAGIC): Likewise.
10903         (USBDEVICE_SUPER_MAGIC): Likewise.
10904         (V9FS_MAGIC): Likewise.
10905         (XENFS_SUPER_MAGIC): Likewise.
10906         (CRAMFS_MAGIC): Fix typo in comment.
10907         (EXT2_SUPER_MAGIC): Update comment.
10908         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10909
10910 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
10911
10912         * sysdeps/arm: Move directory from ports/sysdeps/arm.
10913         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10914         * sysdeps/unix/sysv/linux/arm: Move directory from
10915         ports/sysdeps/unix/sysv/linux/arm.
10916         * README: Update listing for arm-*-linux-gnueabi.
10917
10918         * README: Remove mention of am33.
10919
10920 2014-02-07  Roland McGrath  <roland@hack.frob.com>
10921
10922         * bits/sigset.h (__sigemptyset): Use a statement expression rather
10923         than the comma operator, to avoid "rhs of comma has no effect"
10924         compiler warnings.
10925         (__sigfillset, __sigandset, __sigorset): Likewise.
10926         * include/signal.h (__sigemptyset): Likewise.
10927         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10928
10929 2014-02-07  Allan McRae  <allan@archlinux.org>
10930
10931         * version.h (RELEASE): Set to "development".
10932         (VERSION): Set to "2.19.90"
10933         * NEWS: Add 2.20 section.
10934
10935 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
10936
10937         [BZ #16529]
10938         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10939
10940 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10941
10942         * manual/contrib.texi: Update entry for Carlos O'Donell,
10943         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10944
10945 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
10946
10947         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10948
10949         * sysdeps/unix/sysv/linux/kernel-features.h
10950         [__LINUX_KERNEL_VERSION >= 0x020621]
10951         (__ASSUME_PROC_PID_TASK_COMM): Define.
10952
10953 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10954
10955         [BZ #16398]
10956         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10957         conversion when destination buffer does not have enough space.
10958         * libio/tst-ftell-partial-wide.c: New test case.
10959         * libio/Makefile (tests): Add tst-ftell-partial-wide.
10960
10961         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10962         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
10963         Leonard and Allan McRae.
10964
10965 2014-02-04  David S. Miller  <davem@davemloft.net>
10966
10967         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10968         32-bit.
10969
10970 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10971
10972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10973         New file
10974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10975         New file
10976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10977         New file.
10978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10979         New file.
10980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10981         New file.
10982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10983         New file.
10984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10985         New file.
10986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10987         New file.
10988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10989         New file.
10990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10991         New file.
10992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10993         New file.
10994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10995         New file.
10996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10997         New file.
10998
10999 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11000
11001         * nptl/shlib-versions: Change powerpc*le start to 2.17.
11002         * shlib-versions: Likewise.
11003
11004 2014-02-04  Roland McGrath  <roland@hack.frob.com>
11005             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11006
11007         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11008         (abilist-pattern): New variable, set to %-le.abilist.
11009
11010         * Makerules (abilist-pattern): New variable.
11011         (vpath): Use $(abilist-pattern) in place of %.abilist.
11012         (check-abi-% pattern rule): Likewise.
11013         (check-abi, update-abi): Likewise.
11014
11015 2014-02-04  Eric Wong  <normalperson@yhbt.net>
11016
11017         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11018
11019 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
11020
11021         * manual/startup.texi: Add next, previous, and top entries for
11022         the `Program Arguments' and `Environment Variables' nodes.
11023
11024 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
11025
11026         * manual/macros.texi: Add comments before MTASC-safety macros.
11027
11028         * manual/users.texi: Document MTASC-safety properties.
11029
11030         * manual/threads.texi (pthread_key_create, pthread_key_delete)
11031         (pthread_getspecific, pthread_setspecific): Format with
11032         @deftypefun, and add @safety note.
11033         * manual/signal.texi: Move comments that analyze the above
11034         functions to their home place.
11035
11036 2014-02-03  Allan McRae  <allan@archlinux.org>
11037
11038         * po/sl.po: Update Slovenian translation from translation project.
11039
11040 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
11041
11042         * manual/time.texi (timegm): Add missing blank after @c.
11043         Reported by Joseph Myers <joseph@codesourcery.com>.
11044
11045 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
11046
11047         * manual/check-safety.sh: New.
11048         * manual/Makefile ($(objpfx)stamp-summary): Run it.
11049
11050         * manual/terminal.texi: Document MTASC-safety properties.
11051
11052         * manual/filesys.texi: Document MTASC-safety properties.
11053
11054         * manual/errno.texi: Document MTASC-safety properties.
11055
11056         * manual/intro.texi: Document safety identifiers and
11057         conditionals.
11058
11059         * manual/string.texi (wcstok): Fix prototype.
11060         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11061
11062         * manual/time.texi: Document MTASC-safety properties.
11063
11064         * manual/string.texi: Document MTASC-safety properties.
11065
11066         * manual/threads.texi: Document MTASC-safety properties.
11067
11068         * manual/stdio.texi: Document MTASC-safety properties.
11069
11070         * manual/syslog.texi: Document MTASC-safety properties.
11071
11072         * manual/sysinfo.texi: Document MTASC-safety properties.
11073
11074         * manual/startup.texi: Document MTASC-safety properties.
11075
11076         * manual/socket.texi: Document MTASC-safety properties.
11077
11078         * manual/signal.texi: Document MTASC-safety properties.
11079
11080 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
11081
11082         * manual/setjmp.texi: Document MTASC-safety properties.
11083
11084         * manual/search.texi: Document MTASC-safety properties.
11085
11086         * manual/resource.texi: Document MTASC-safety properties.
11087
11088         * manual/process.texi: Document MTASC-safety properties.
11089
11090         * manual/platform.texi: Document MTASC-safety properties.
11091
11092         * manual/pipe.texi: Document MTASC-safety properties.
11093
11094         * manual/pattern.texi: Document MTASC-safety properties.
11095
11096         * manual/message.texi: Document MTASC-safety properties.
11097
11098         [BZ #12751]
11099         * manual/memory.texi: Document MTASC-safety properties.
11100
11101         * manual/math.texi: Document MTASC-safety properties.
11102
11103         * manual/locale.texi: Document MTASC-safety properties.
11104
11105         * manual/llio.texi: Document MTASC-safety properties.
11106
11107         * manual/libdl.texi: New.
11108
11109         * manual/lang.texi: Document MTASC-safety properties.
11110
11111         * manual/job.texi: Document MTASC-safety properties.
11112
11113         * manual/getopt.texi: Document MTASC-safety properties.
11114
11115         * manual/ctype.texi: Document MTASC-safety properties.
11116
11117 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
11118
11119         [BZ #16046]
11120         * csu/libc-tls.c (static_map): Remove variable.
11121         (__libc_setup_tls): Use main executable's link map for TLS data.
11122         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11123         casing for LM_ID_BASE and GL(dl_nns).
11124         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11125         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
11126         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11127         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11128         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11129         member.
11130         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11131         l_phnum members.
11132
11133 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
11134
11135         * manual/debug.texi: Document MTASC-safety properties.
11136
11137 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
11138
11139         [BZ #16510]
11140         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11141         of __x86_64__ when disabling x87 inline functions.
11142
11143 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
11144
11145         * manual/charset.texi: Document MTASC-safety properties.
11146
11147         * manual/crypt.texi: Document MTASC-safety properties.
11148
11149         * manual/conf.texi: Document MTASC-safety properties.
11150
11151         * manual/arith.texi: Document MTASC-safety properties.
11152
11153         * manual/argp.texi: Document MTASC-safety properties.
11154
11155         * manual/macros.texi: Introduce macros to document multi
11156         thread, asynchronous signal and asynchronous cancellation
11157         safety properties.
11158         * manual/intro.texi: Introduce the properties themselves.
11159
11160 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11161
11162         * sysdeps/sh/sh4/Makefile: New file.
11163
11164 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
11165
11166         * math/gen-libm-test.pl ($srcdir): New variable.
11167         ($auto_input): Use it.
11168
11169 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11170
11171         [BZ #16506]
11172         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11173         access beyond array bounds when parsing netgroups file.
11174
11175         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11176         the old buffer before realloc.
11177
11178 2014-01-27  Allan McRae  <allan@archlinux.org>
11179
11180         * po/fr.po: Update French translation from translation project.
11181
11182 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11183
11184         * sysdeps/sh/libm-test-ulps: Regenerate.
11185
11186 2014-01-24  David S. Miller  <davem@davemloft.net>
11187
11188         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11189
11190 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11191
11192         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11193         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11194
11195 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11196
11197         [BZ #16474]
11198         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11199         string pointers after reallocation.
11200
11201 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11202
11203         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11204         __SH4A__ instead of __SH_FPU_ANY__.
11205
11206 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11207
11208         * sysdeps/sh/fpu_control.h: New file.
11209         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11210         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11211         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11212         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11213         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11214         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11215         * sysdeps/sh/sys/ucontext.h: Remove.
11216         * sysdeps/sh/sys: Remove directory.
11217
11218 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11219
11220         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11221         s390/sys/ucontext.h.
11222         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11223         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11224
11225 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
11226
11227         [BZ #15605]
11228         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11229
11230 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11231
11232         [BZ#16431]
11233         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11234         Adjust the vDSO correctly for internal calls.
11235         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11236
11237 2014-01-20  Allan McRae  <allan@archlinux.org>
11238
11239         * po/ca.po: Update Catalan translation from translation project.
11240
11241 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
11242
11243         * sysdeps/s390/sotruss-lib.c: New file.
11244
11245 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11246
11247         [BZ#16430]
11248         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11249         (__GI___gettimeofday): Alias for a different internal symbol to avoid
11250         local calls issues by not having a PLT stub required for IFUNC calls.
11251         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11252
11253 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
11254
11255         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11256         * math/test-fpucw-static.c: Likewise.
11257
11258 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11259
11260         [BZ #16453]
11261         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11262
11263 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11264
11265         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11266         implementation for powerpc.
11267
11268 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
11269
11270         [BZ #14782]
11271         * sysdeps/posix/system.c (__libc_system): Do not enable
11272         asynchronous cancellation.
11273
11274 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11275
11276         [BZ #16427]
11277         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11278         handling only for numbers special also in the IEEE case.
11279
11280 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11281
11282         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11283
11284 2014-01-11  Allan McRae  <allan@archlinux.org>
11285
11286         * po/bg.po: Update Bulgarian translation from translation project.
11287
11288         * po/de.po: Update German translation from translation project.
11289
11290 2014-01-10  Roland McGrath  <roland@hack.frob.com>
11291
11292         * sysdeps/generic/gcc-compat.h: New file.
11293
11294 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11295
11296         * benchtests/asin-inputs: Correct slow inputs.
11297         * benchtests/acos-inputs: Likewise.
11298
11299 2014-01-10  Allan McRae  <allan@archlinux.org>
11300
11301         * po:sv.po: Update Swedish translation from translation project.
11302
11303         * po/vi.po: Update Vietnamese translation from translation project.
11304
11305         * po/eo.po: Update Esperanto translation from translation project.
11306
11307         * po/cs.po: Update Czech translation from translation project.
11308
11309         * po/nl.po: Update Dutch translation from translation project.
11310
11311         * po/pl.po: Update Polish translation from translation project.
11312
11313         * po/ru.po: Update Russian translation from translation project.
11314
11315         * po/uk.po: Update Ukrainian translation from translation project.
11316
11317 2014-01-08  Brooks Moses  <bmoses@google.com>
11318
11319         * elf/dl-load.c: Fix comment typo.
11320
11321 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
11322
11323         * po/header.pot: Rename to...
11324         * po/pot.header: ... this.
11325         * po/Makefile: Use pot.header.
11326
11327 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
11328             Maxim Kuvyrkov  <maxim@kugelworks.com>
11329
11330         [BZ #16394]
11331         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11332         SRC and DEST against LEN.
11333
11334 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11335
11336         [BZ #16414]
11337         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11338         implementation.
11339         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11340
11341 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11342
11343         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11344
11345 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
11346
11347         [BZ #16408]
11348         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11349         for large positive arguments.
11350
11351 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
11352
11353         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11354
11355         * math/auto-libm-test-in: Mark various tests with
11356         xfail-rounding:ldbl-128ibm.
11357         * math/auto-libm-test-out: Regenerated.
11358
11359         [BZ #16407]
11360         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11361         Increase overflow threshold.
11362
11363 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
11364
11365         [BZ #14286]
11366         * stdio-common/vfprintf.c: Check for integer overflow.
11367
11368 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11369
11370         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11371         the first argument and return value of __tls_get_addr_internal.
11372
11373 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11374
11375         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11376         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11377
11378 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11379
11380         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11381         * sysdeps/s390/rtld-global-offsets.sym: New file.
11382         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11383         GLIBC_2.19 symbol.
11384         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11385         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11386         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11387         ... this.
11388         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11389         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11390         ... this.
11391         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11392         Regenerate.
11393         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11394         Regenerate.
11395         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11396         halfs of GPRs for high_gprs contexts.
11397         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11398         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
11399         field.
11400         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11401         uc_flags field.
11402         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11403         64 bit versions:
11404         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11405         for high GPRs (uc_high_gprs) and for future extensions
11406         (__reserved).
11407         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11408         for future extensions (__reserved).
11409         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11410         64 bit versions:
11411         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11412         SC_HIGHGPRS offset definition.
11413         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11414         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11415
11416         * Versions.def: Add GLIBC_2.19 for libpthread.
11417         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11418         siglongjmp for libpthread with GLIBC_2.19 symver.
11419         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11420         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11421         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11422         * sysdeps/s390/__longjmp.c: New file.
11423         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11424         * sysdeps/s390/longjmp.c: New file.
11425         * sysdeps/s390/setjmp.S: New file.
11426         * sysdeps/s390/sigjmp.S: New file.
11427         * sysdeps/s390/v1-longjmp.c: New file.
11428         * sysdeps/s390/v1-setjmp.h: New file.
11429         * sysdeps/s390/v1-sigjmp.c: New file.
11430         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11431         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11432         GLIBC_2.19 version.
11433         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11434         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11435         versioned symbols for ____longjmp_chk.
11436         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11437         Likewise.
11438         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11439         Regenerate.
11440         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11441         Regenerate.
11442         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11443         Regenerate.
11444         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11445         Regenerate.
11446         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11447         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11448         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11449         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11450         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11451         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11452         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11453         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11454         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11455         * sysdeps/s390/rtld-__longjmp.c: New file.
11456         * sysdeps/s390/rtld-setjmp.S: New file.
11457
11458 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
11459
11460         [BZ #16400]
11461         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11462         Return -__logl (x) for small positive arguments without evaluating
11463         a polynomial.
11464
11465 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
11466
11467         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11468         Rename to ...
11469         (__ptrace_peeksiginfo_args): ... this.
11470         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11471         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11472         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11473
11474 2014-01-06  Allan McRae  <allan@archlinux.org>
11475
11476         * inet/netinet/in.h: Fix typo in comment.
11477
11478 2014-01-05  Andreas Jaeger  <aj@suse.de>
11479
11480         * sysdeps/i386/fpu/libm-test-ulps: Update.
11481
11482 2014-01-05  Allan McRae  <allan@archlinux.org>
11483
11484         * po/libc.pot: Regenerated.
11485
11486         * malloc/memusagestat.c: Fix gettext call formatting.
11487
11488 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
11489
11490         * nscd/nscd.c: Improve usage() output.
11491
11492 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
11493
11494         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11495         * sysdeps/unix/sysv/linux/configure: Regenerated.
11496         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11497         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11498
11499 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
11500
11501         [BZ #16390]
11502         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11503         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11504
11505 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11506
11507         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11508         extra tokens at end of #undef directive.
11509         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11510         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11511         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11512
11513 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
11514
11515         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11516
11517         * math/auto-libm-test-in: Mark various tests with
11518         xfail-rounding:ldbl-128ibm.
11519         * math/auto-libm-test-out: Regenerated.
11520
11521 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
11522
11523         [BZ #16386]
11524         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11525         numbers with subnormal high part when calculating exponent.
11526
11527         [BZ #16385]
11528         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11529         fabs.
11530
11531         [BZ #16384]
11532         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11533         M_LN2l.
11534         (__ieee754_acoshl): Use __log1pl not __log1p.
11535
11536 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
11537
11538         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11539         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11540         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11541         (grow_heap, heap_trim, _int_new_arena, get_free_list)
11542         (reused_arena, arena_get2): Convert to GNU style.
11543         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11544         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11545         (memalign_check, __malloc_set_state): Likewise.
11546         * malloc/mallocbug.c (main): Likewise.
11547         * malloc/malloc.c (__malloc_assert, malloc_init_state)
11548         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11549         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11550         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11551         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11552         (__posix_memalign, malloc_info): Likewise.
11553         * malloc/malloc.h: Likewise.
11554         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11555         (mallochook, memalignhook, reallochook, mabort): Likewise.
11556         * malloc/mcheck.h: Likewise.
11557         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11558         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11559         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11560         * malloc/morecore.c (__default_morecore): Likewise.
11561         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11562         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11563         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11564         (print_and_abort): Likewise.
11565         * malloc/obstack.h: Likewise.
11566         * malloc/set-freeres.c (__libc_freeres): Likewise.
11567         * malloc/tst-mallocstate.c (main): Likewise.
11568         * malloc/tst-mtrace.c (main): Likewise.
11569         * malloc/tst-realloc.c (do_test): Likewise.
11570
11571 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11572
11573         [BZ #16366]
11574         * nscd/netgroupcache.c (do_notfound): New function.
11575         (addgetnetgrentX): Use it.
11576
11577         [BZ # 16365]
11578         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11579         NSS_STATUS_NOTFOUND.
11580
11581 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
11582
11583         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11585
11586 2014-01-01  Allan McRae  <allan@archlinux.org>
11587
11588         * scripts/update-copyrights: Update configure input file suffix.
11589
11590         * NEWS: Update copyright year.
11591         * catgets/gencat.c: Likewise.
11592         * csu/version.c: Likewise.
11593         * debug/catchsegv.sh: Likewise.
11594         * debug/pcprofiledump.c: Likewise.
11595         * debug/xtrace.sh: Likewise.
11596         * elf/ldconfig.c: Likewise.
11597         * elf/ldd.bash.in: Likewise.
11598         * elf/pldd.c: Likewise.
11599         * elf/sotruss.ksh: Likewise.
11600         * elf/sprof.c: Likewise.
11601         * iconv/iconv_prog.c: Likewise.
11602         * iconv/iconvconfig.c: Likewise.
11603         * locale/programs/locale.c: Likewise.
11604         * locale/programs/localedef.c: Likewise.
11605         * login/programs/pt_chown.c: Likewise.
11606         * malloc/memusage.sh: Likewise.
11607         * malloc/memusagestat.c: Likewise.
11608         * malloc/mtrace.pl: Likewise.
11609         * manual/libc.texinfo: Likewise.
11610         * nscd/nscd.c: Likewise.
11611         * nss/getent.c: Likewise.
11612         * nss/makedb.c: Likewise.
11613         * posix/getconf.c: Likewise.
11614         * scripts/test-installation.pl: Likewise.
11615
11616         * All files with FSF copyright notices: Update copyright dates
11617         using scripts/update-copyrights.
11618         * intl/plural.c: Regenerated.
11619         * locale/programs/charmap-kw.h: Likewise.
11620         * locale/programs/locfile-kw.h: Likewise.
11621
11622 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
11623
11624         * sysdeps/unix/sysv/linux/configure: Regenerated.
11625         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11626         the linux/fanotify.h header.
11627         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11628         HAVE_LINUX_FANOTIFY_H is defined.
11629
11630 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11631
11632         * benchtests/cos-inputs: New inputs.
11633         * benchtests/sin-inputs: Likewise.
11634
11635         * benchtests/atan-inputs: New inputs. Fix name of multiple
11636         precision fallback inputs.
11637
11638         * benchtests/atanh-inputs: New inputs.
11639         * benchtests/tanh-inputs: Likewise.
11640
11641         * benchtests/acosh-inputs: New inputs.
11642         * benchtests/asinh-inputs: Likewise.
11643
11644         * benchtests/cosh-inputs: New inputs.
11645         * benchtests/sinh-inputs: Likewise.
11646
11647         * benchtests/acos-inputs: Add more inputs.
11648         * benchtests/asin-inputs: Likewise.
11649
11650 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
11651
11652         [BZ #16375]
11653         * manual/arith.texi: Fix spelling.
11654         * manual/charset.texi: Likewise.
11655         * manual/errno.texi: Likewise.
11656         * manual/filesys.texi: Likewise.
11657         * manual/lang.texi: Likewise.
11658         * manual/llio.texi: Likewise.
11659         * manual/locale.texi: Likewise.
11660         * manual/message.texi: Likewise.
11661         * manual/resource.texi: Likewise.
11662         * manual/search.texi: Likewise.
11663         * manual/setjmp.texi: Likewise.
11664         * manual/stdio.texi: Likewise.
11665         * manual/string.texi: Likewise.
11666         * manual/sysinfo.texi: Likewise.
11667         * manual/time.texi: Likewise.
11668
11669 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
11670
11671         * po/sl.po: New file.
11672
11673 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
11674
11675         * .gitignore: Add core/.gdbinit/.gdb_history.
11676
11677 2013-12-27  Allan McRae  <allan@archlinux.org>
11678
11679         [BZ #16369]
11680         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11681         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11682
11683 2013-12-24  Brooks Moses  <bmoses@google.com>
11684
11685         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11686         all compilers that claim C++98 compliance, not just GCC.
11687         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11688         Likewise.
11689
11690 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
11691
11692         * NEWS: Restore accidentally deleted bug-fix entries.
11693
11694 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
11695             Ondřej Bílka  <neleai@seznam.cz>
11696
11697         [BZ #15073]
11698         * malloc/malloc.c (_int_free): Perform sanity check only if we
11699         have_lock.
11700
11701 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
11702
11703         [BZ #12986]
11704         * manual/stdio.texi (String Input Conversions): Clarify that character
11705         classes are not supported.
11706
11707 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11708
11709         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11710
11711 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
11712
11713         [BZ #16337]
11714         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11715         Calculate results for small negative arguments directly rather
11716         than using reflection formula with special underflow handling.
11717
11718         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11719         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11720         sysdeps/unix/bsd/bsd4.4/syscalls.list.
11721         (fchflags): Likewise.
11722         (revoke): Likewise.
11723         (setlogin): Likewise.
11724         (sigaltstack): Likewise.
11725         (wait4): Likewise.
11726         (sigblock): Remove.
11727         (sigsetmask): Likewise.
11728         (wait3): Likewise.
11729         (waitpid): Likewise.
11730         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11731         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11732         file.
11733         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11734         * sysdeps/unix/bsd/Makefile: ... here.
11735         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11736         * sysdeps/unix/bsd/Versions: ... here.
11737         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11738         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11739         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11740         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11741         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11742         * sysdeps/unix/bsd/sigblock.c: ... here.
11743         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11744         * sysdeps/unix/bsd/sigsetmask.c: ... here.
11745         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11746         * sysdeps/unix/bsd/sigvec.c: ... here.
11747         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11748         * sysdeps/unix/bsd/tcdrain.c: ... here.
11749         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11750         * sysdeps/unix/bsd/tcgetattr.c: ... here.
11751         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11752         * sysdeps/unix/bsd/tcsetattr.c: ... here.
11753         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11754         * sysdeps/unix/bsd/wait.c: ... here.
11755         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11756         * sysdeps/unix/bsd/wait3.c: ... here.
11757         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11758         * sysdeps/unix/bsd/waitpid.c: ... here.
11759
11760 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
11761
11762         [BZ #16356]
11763         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11764         round-to-nearest for [!USE_AS_EXPM1L].
11765         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11766         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
11767         more tests of exp and exp10.  Expect some exp10 tests to miss
11768         exceptions or fail in directed rounding modes.
11769         * math/auto-libm-test-out: Regenerated.
11770         * math/libm-test.inc (exp10_tonearest_test_data): New array.
11771         (exp10_test_tonearest): New function.
11772         (exp10_towardzero_test_data): New array.
11773         (exp10_test_towardzero): New function.
11774         (exp10_downward_test_data): New array.
11775         (exp10_test_downward): New function.
11776         (exp10_upward_test_data): New array.
11777         (exp10_test_upward): New function.
11778         (main): Call the new functions.
11779         * sysdeps/i386/fpu/libm-test-ulps: Update.
11780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11781
11782 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
11783
11784         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11785         asinh, atan, atan2, atanh, cbrt, cos and cosh.
11786         * math/auto-libm-test-out: Regenerated.
11787         * math/libm-test.inc (acosh_test_data): Add more tests.
11788         (atanh_test_data): Likewise.
11789         (ceil_test_data): Likewise.
11790         (copysign_test_data): Likewise.
11791         * sysdeps/i386/fpu/libm-test-ulps: Update.
11792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11793
11794         * timezone/checktab.awk: Update from tzcode 2013i.
11795         * timezone/private.h: Likewise.
11796         * timezone/scheck.c: Likewise.
11797         * timezone/tzfile.h: Likewise.
11798         * timezone/tzselect.ksh: Likewise.
11799         * timezone/zdump.c: Likewise.
11800         * timezone/zic.c: Likewise.
11801
11802         * math/auto-libm-test-in: Add tests of cpow.
11803         * math/auto-libm-test-out: Regenerated.
11804         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
11805         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11806         mpc_cc_c.
11807         (func_calc_desc): Add mpc_cc_c union field.
11808         (test_functions): Add cpow.
11809         (special_fill_2pi): New function.
11810         (special_real_inputs): Add 2pi.
11811         (calc_generic_results): Handle mpc_cc_c.
11812         * sysdeps/i386/fpu/libm-test-ulps: Update.
11813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11814
11815         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11816         csqrt, ctan and ctanh.
11817         * math/auto-libm-test-out: Regenerated.
11818         * math/libm-test.inc (TEST_COND_x86_64): New macro.
11819         (TEST_COND_x86): Likewise.
11820         (ccos_test_data): Use AUTO_TESTS_c_c.
11821         (ccosh_test_data): Likewise.
11822         (cexp_test_data): Likewise.
11823         (clog_test_data): Likewise.
11824         (csqrt_test_data): Likewise.
11825         (ctan_test_data): Likewise.
11826         (ctan_tonearest_test_data): Likewise.
11827         (ctan_towardzero_test_data): Likewise.
11828         (ctan_downward_test_data): Likewise.
11829         (ctan_upward_test_data): Likewise.
11830         (ctanh_test_data): Likewise.
11831         (ctanh_tonearest_test_data): Likewise.
11832         (ctanh_towardzero_test_data): Likewise.
11833         (ctanh_downward_test_data): Likewise.
11834         (ctanh_upward_test_data): Likewise.
11835         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11836         mpc_c_c.
11837         (func_calc_desc): Add mpc_c_c union field.
11838         (FUNC_mpc_c_c): New macro.
11839         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11840         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11841         ctanh.
11842         (special_fill_min_subnorm_p120): New function.
11843         (special_real_inputs): Add min_subnorm_p120.
11844         (calc_generic_results): Handle mpc_c_c.
11845         * sysdeps/i386/fpu/libm-test-ulps: Update.
11846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11847
11848 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11849
11850         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11851         (do_sin_slow): New functions.
11852         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11853         (cslow2, csloww1, csloww2): Use the new functions.
11854
11855         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11856         Use M to change sign of result instead of X.  Assume X is
11857         positive.
11858         (csloww1): Likewise.
11859         (__sin): Adjust.
11860         (__cos): Adjust.
11861
11862         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11863         arguments A and DA.
11864         (__sin): Adjust.
11865         (__cos): Likewise.
11866
11867         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11868         (__cos): Likewise.
11869         (sloww1): Don't adjust sign of DX.
11870         (csloww1): Likewise.
11871         (sloww2): Use X directly and don't adjust sign of DX.
11872         (csloww2): Likewise.
11873
11874 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11875
11876         * math/auto-libm-test-in: Add tests of cabs and carg.
11877         * math/auto-libm-test-out: Regenerated.
11878         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11879         (carg_test_data): Likewise.
11880         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11881         mpc_c_f.
11882         (func_calc_desc): Add mpc_c_f union field.
11883         (test_functions): Add cabs and carg.
11884         (calc_generic_results): Handle mpc_c_f.
11885
11886         * sysdeps/powerpc/powerpc32/libgcc-compat.S
11887         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11888         as a macro and a compat symbol.
11889         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11890         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11891         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11892         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11893         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11894         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11895         not use .hidden.
11896         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11897         Likewise.
11898         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11899         Likewise.
11900         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11901         Likewise.
11902         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11903         Likewise.
11904         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11905         Likewise.
11906         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11907         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11908         from GLIBC_2.3.2.
11909
11910 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11911
11912         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11913
11914 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11915
11916         * manual/texinfo.tex: Update to version 2013-11-26.10 with
11917         trailing whitespace removed.
11918         * scripts/config.guess: Update to version 2013-11-29.
11919         * scripts/config.sub: Update to version 2013-10-01.
11920
11921         * math/auto-libm-test-in: Add tests of sincos.
11922         * math/auto-libm-test-out: Regenerated.
11923         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11924         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11925         mpfr_f_11.
11926         (func_calc_desc): Add mpfr_f_11 union field.
11927         (test_functions): Add sincos.
11928         (calc_generic_results): Handle mpfr_f_11.
11929         * sysdeps/i386/fpu/libm-test-ulps: Update.
11930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11931
11932 2013-12-19  Andreas Schwab  <schwab@suse.de>
11933
11934         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11935         CALL_MCOUNT.
11936         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11937         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11938         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11939
11940 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11941
11942         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11943         * sysdeps/i386/fpu/libm-test-ulps: Update.
11944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11945
11946         [BZ #16293]
11947         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11948         round-to-nearest mode when using frndint.
11949         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11950         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11951         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11952         Likewise.
11953         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
11954         sinh test to fail.
11955         * math/auto-libm-test-out: Regenerated.
11956         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11957         (TEST_COND_x86): Likewise.
11958         (expm1_tonearest_test_data): New array.
11959         (expm1_test_tonearest): New function.
11960         (expm1_towardzero_test_data): New array.
11961         (expm1_test_towardzero): New function.
11962         (expm1_downward_test_data): New array.
11963         (expm1_test_downward): New function.
11964         (expm1_upward_test_data): New array.
11965         (expm1_test_upward): New function.
11966         (main): Run the new test functions.
11967         * sysdeps/i386/fpu/libm-test-ulps: Update.
11968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11969
11970         * include/features.h: Update comment documenting feature test
11971         macros.  Mention _DEFAULT_SOURCE in comment.
11972         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11973         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11974         _BSD_SOURCE and _SVID_SOURCE.
11975         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11976         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11977         !_SVID_SOURCE]: Likewise.
11978         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11979         (__USE_POSIX_IMPLICITLY): Define.
11980         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11981         (_POSIX_SOURCE): Undefine and redefine.
11982         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11983         (_POSIX_C_SOURCE): Likewise.
11984         * manual/creature.texi (_DEFAULT_SOURCE): Document.
11985         (Feature Test Macros): Update documentation of default features.
11986
11987 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11988
11989         * benchtests/Makefile: Add bench-strtok.
11990         * benchtests/bench-strtok.c: New file: strtok benchtest.
11991
11992 2013-12-19  Allan McRae  <allan@archlinux.org>
11993
11994         * manual/install.texi: Suppress menu for plain text output.
11995         * INSTALL: Regenerated.
11996
11997 2013-12-18  Brooks Moses  <bmoses@google.com>
11998
11999         [BZ #15846]
12000         * misc/getauxval.c: Include errno.h.
12001         (__getauxval): Set errno to ENOENT if the requested type is not
12002         found.
12003         * misc/sys/auxv.h (getauxval): Document that it may set errno;
12004         don't declare with __attribute_const__.
12005         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12006         * manual/startup.texi: Document that getauxval sets errno.
12007
12008 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12009
12010         * math/auto-libm-test-in: Add tests of jn and yn.
12011         * math/auto-libm-test-out: Regenerated.
12012         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12013         (yn_test_data): Likewise.
12014         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12015         mpfr_if_f.
12016         (func_calc_desc): Add mpfr_if_f union field.
12017         (FUNC_mpfr_if_f): New macro.
12018         (test_functions): Add jn and yn.
12019         (calc_generic_results): Assert type of second input for
12020         mpfr_ff_f.  Handle mpfr_if_f.
12021         (output_for_one_input_case): Disable all checking for arguments
12022         fitting floating-point types in case of an integer argument.
12023         * sysdeps/i386/fpu/libm-test-ulps: Update.
12024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12025
12026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12027         Don't expect fegetround reference in libm.so.
12028
12029 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12030
12031         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12032         $(config-cflags-nofma).
12033
12034 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12035
12036         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12037         * math/auto-libm-test-out: Regenerated.
12038
12039         [BZ #16338]
12040         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12041         to determine exponent and adjust argument to have exponent of -1.
12042         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12043         log2.
12044         * math/auto-libm-test-out: Regenerated.
12045         * sysdeps/i386/fpu/libm-test-ulps: Update.
12046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12047
12048 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
12049
12050         * manual/probes.texi: Remove cases when per-thread arenas are
12051         disabled.
12052
12053 2013-12-18  Andreas Schwab  <schwab@suse.de>
12054
12055         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12056         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12057         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12058         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12059         * sysdeps/i386/i686/multiarch/Makefile: Update.
12060         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12061
12062 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12063
12064         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12065         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12066
12067 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
12068
12069         [BZ #15968]
12070         Support TZ transition times < 00:00:00.
12071         This is needed for version-3 tz-format files; it supports time
12072         stamps past 2037 for America/Godthab (the only entry in the tz
12073         database for which this change is relevant).
12074         * manual/time.texi (TZ Variable): Document transition times
12075         from -167:59:59 through -00:00:01.
12076         * time/tzset.c (tz_rule): Time of day is now signed.
12077         (__tzset_parse_tz): Parse negative time of day.
12078
12079         Document TZ transition times >= 25:00:00.
12080         * manual/time.texi (TZ Variable): Document transition times from
12081         25:00:00 through 167:59:59.  These are already supported, and this
12082         support will help with version-3 tz-format files.
12083
12084         * manual/time.texi (TZ Variable): Modernize North America example
12085         to reflect current (i.e., 2007-and-later) daylight saving rules.
12086
12087         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12088
12089 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12090
12091         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12092         * sysdeps/unix/bsd/bits/stat.h: Likewise.
12093         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12094         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12095         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12096         * sysdeps/unix/bsd/bsdstat.h: Likewise.
12097         * sysdeps/unix/bsd/clock.c: Likewise.
12098         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12099         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12100         * sysdeps/unix/bsd/init-posix.c: Likewise.
12101         * sysdeps/unix/bsd/poll.c: Likewise.
12102         * sysdeps/unix/bsd/ptsname.c: Likewise.
12103         * sysdeps/unix/bsd/seekdir.c: Likewise.
12104         * sysdeps/unix/bsd/setegid.c: Likewise.
12105         * sysdeps/unix/bsd/seteuid.c: Likewise.
12106         * sysdeps/unix/bsd/setgid.c: Likewise.
12107         * sysdeps/unix/bsd/setrgid.c: Likewise.
12108         * sysdeps/unix/bsd/setruid.c: Likewise.
12109         * sysdeps/unix/bsd/setsid.c: Likewise.
12110         * sysdeps/unix/bsd/setuid.c: Likewise.
12111         * sysdeps/unix/bsd/sigaction.c: Likewise.
12112         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12113         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12114         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12115         * sysdeps/unix/bsd/telldir.c: Likewise.
12116         * sysdeps/unix/bsd/times.c: Likewise.
12117         * sysdeps/unix/bsd/usleep.c: Likewise.
12118
12119         * misc/Makefile (install-lib): Remove libbsd-compat.a.
12120         ($(objpfx)libbsd-compat.a): Remove rule.
12121
12122         * include/features.h (__FAVOR_BSD): Do not define.
12123         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12124         features conflicting with POSIX.
12125         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12126         (_BSD_SOURCE): Remove description of not being a subset of other
12127         feature test macros.
12128         * manual/job.texi (getpgrp): Do not document BSD version.
12129         (getpgid): Do not document by reference to BSD getpgrp.
12130         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12131         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12132         * signal/signal.h [__FAVOR_BSD]: Likewise.
12133         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12134         instead of making contents conditional on [__FAVOR_BSD].
12135         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12136
12137 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12138
12139         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12140
12141 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12142
12143         [BZ #16314]
12144         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12145         values below 2**-450, not 2**-500.
12146         * math/auto-libm-test-in: Don't allow spurious underflow from
12147         hypot.
12148         * math/auto-libm-test-out: Regenerated.
12149
12150         [BZ #16316]
12151         [BZ #16330]
12152         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12153         values of ha and hb and sort them after adjusting subnormal
12154         arguments.
12155         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12156         Likewise.
12157         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12158         values of ea and eb and sort them after adjusting subnormal
12159         arguments.
12160         * math/auto-libm-test-in: Do not expect some hypot tests of
12161         subnormals to fail.  Add more hypot tests.
12162         * math/auto-libm-test-out: Regenerated.
12163
12164 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12165
12166         [BZ #13304]
12167         * sysdeps/sh/s_fma.c: New file.
12168         * sysdeps/sh/s_fmaf.c: New file.
12169         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
12170         version.
12171         * sysdeps/sh/Implies: Add sh/soft-fp.
12172
12173 2013-12-16  Roland McGrath  <roland@hack.frob.com>
12174
12175         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
12176         level of indirection to members `objname', `errstring', `malloced'.
12177         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12178         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
12179         it as the __longjmp argument (just pass 1 instead).
12180         (_dl_catch_error): Initialize C with argument pointers and address of
12181         volatile local ERRCODE rather than copying values out of C at return.
12182
12183 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
12184
12185         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12186         * math/auto-libm-test-out: Regenerated.
12187         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12188         (hypot_test_data): Likewise.
12189         (pow_test_data): Likewise.
12190         (pow_tonearest_test_data): Likewise.
12191         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12192         mpfr_ff_f.
12193         (func_calc_desc): Add mpfr_ff_f union field.
12194         (FUNC_mpfr_ff_f): New macro.
12195         (test_functions): Add atan2, hypot and pow.
12196         (special_fill_min): New function.
12197         (special_fill_minus_min): Likewise.
12198         (special_fill_min_subnorm): Likewise.
12199         (special_fill_minus_min_subnorm): Likewise.
12200         (special_real_inputs): Add min, -min, min_subnorm and
12201         -min_subnorm.
12202         (calc_generic_results): Handle mpfr_ff_f.
12203         * sysdeps/i386/fpu/libm-test-ulps: Update.
12204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12205
12206 2013-12-16  Will Newton  <will.newton@linaro.org>
12207
12208         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12209         (Aligned Memory Blocks): Add documentation for aligned_alloc
12210         and suggest it as an alternative to posix_memalign.
12211         (Hooks for Malloc): Document __memalign_hook is also called
12212         for aligned_alloc.  (Summary of Malloc): Add summary for
12213         aligned alloc.  Document __memalign_hook is also called
12214         for aligned_alloc.
12215
12216 2013-12-16  Will Newton  <will.newton@linaro.org>
12217
12218         * manual/memory.texi (Malloc Examples): Clarify default
12219         alignment documentation.  Suggest posix_memalign rather
12220         than memalign or valloc.
12221         (Aligned Memory Blocks): Remove suggestion to use memalign
12222         or valloc.  Remove obsolete comment about BSD.
12223         Document memalign errno values and mark the function obsolete.
12224         Document posix_memalign returned error codes.  Mark valloc
12225         as obsolete.  (Hooks for Malloc): __memalign_hook is also
12226         called for posix_memalign and valloc.
12227         (Summary of Malloc): Add posix_memalign to function summary.
12228         __memalign_hook is also called for posix_memalign and valloc.
12229
12230 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12231
12232         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12233         TAYLOR_SIN.
12234         (__sin): Adjust.
12235         (__cos): Likewise.
12236         (sloww): Use mynumber union.  Expand ternary operator into
12237         if-else statements.
12238         (cslow): use mynumber union.
12239
12240 2013-12-16  Allan McRae  <allan@archlinux.org>
12241
12242         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12243         * configure: Regenerated.
12244
12245         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12246
12247         [BZ #14120]
12248         * configure.ac: Added --enable-maintainer-mode. Check for
12249         autoconf when enabled.
12250         * configure: Regenerated.
12251
12252         * nscd/nscd.service: New file.
12253         * nscd/nscd.tmpfiles: New file.
12254
12255 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
12256
12257         [BZ #12100]
12258         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12259         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12260         * sysdeps/x86_64/multiarch/strstr.c: ... here.
12261         (strstr): Add __strstr_sse2_unaligned ifunc.
12262         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12263         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12264         (strcasestr): Remove __strcasestr_sse42 ifunc.
12265         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12266         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12267         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12268
12269 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12270
12271         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12272         * sysdeps/sh/bits/fenv.h: ... here.
12273         * sysdeps/sh/sh4/fpu/bits: Remove directory.
12274
12275 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12276
12277         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12278
12279         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12280         hypotf multiarch implementations.
12281         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12282         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12283         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12284         multiarch hypot for PPC64.
12285         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12286         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12287         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12288         multiarch hypotf for PPC64.
12289
12290         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12291         modff multiarch implementations.
12292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12295         multiarch modf for PPC64.
12296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12299         multiarch modff for PPC64.
12300
12301         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12302         and logl multiarch implementations.
12303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12306         multiarch logb for PPC64.
12307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12310         multiarch logb for PPC64.
12311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12314         multiarch logb for PPC64.
12315
12316         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12317         isinff multiarch implementation.
12318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12319         file.
12320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12322         multiarch isinf for PPC64.
12323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12324         file.
12325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12326         multiarch isinff for PPC64.
12327
12328         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12329         finitef multiarch implementation.
12330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12331         file.
12332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12334         multiarch finite for PPC64.
12335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12336         file.
12337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12338         multiarch finitef for PPC64.
12339
12340         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12341         lrint multiarch implementation.
12342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12343         file.
12344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12346         multiarch llrint for PPC64.
12347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12348         multiarch lrint for PPC64.
12349
12350         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12351         copysignf multiarch implementation.
12352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12353         file.
12354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12355         file.
12356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12357         multiarch copysign for PPC64.
12358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12359         multiarch copysignf for PPC64.
12360
12361         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12362         multiarch implementation.
12363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12364         file.
12365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12366         file.
12367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12368         file.
12369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12370         file.
12371         multiarch llround for PPC64.
12372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12373         multiarch trunc for PPC64.
12374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12375         multiarch truncf for PPC64.
12376
12377         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12378         multiarch implementation.
12379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12380         file.
12381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12382         file.
12383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12384         file.
12385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12386         file.
12387         multiarch llround for PPC64.
12388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12389         multiarch round for PPC64.
12390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12391         multiarch roundf for PPC64.
12392
12393         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12394         multiarch implementation.
12395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12396         file.
12397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12398         file.
12399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12400         file.
12401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12402         file.
12403         multiarch llround for PPC64.
12404         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12405         multiarch floor for PPC64.
12406         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12407         multiarch floorf for PPC64.
12408
12409         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12410         multiarch implementation.
12411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12412         file.
12413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12414         file.
12415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12416         file.
12417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12418         file.
12419         multiarch llround for PPC64.
12420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12421         multiarch ceil for PPC64.
12422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12423         multiarch ceilf for PPC64.
12424
12425         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12426         multiarch implementation.
12427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12428         file.
12429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12430         file.
12431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12432         file.
12433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12434         multiarch llround for PPC64.
12435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12436         multiarch lround for PPC64.
12437
12438         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12439         multiarch implementation.
12440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12443         file.
12444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12447         multiarch isnan for PPC64.
12448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12449         multiarch isnanf for PPC64.
12450
12451         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12452         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12453         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12454         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12455         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12457
12458         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12459         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12460         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12461         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12462
12463         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12464         multiarch implementations.
12465         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12466         (__libc_ifunc_impl_list): Likewise.
12467         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12468         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12469         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12470         multiarch stpcpy for PPC64.
12471
12472         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12473         multiarch implementations.
12474         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12475         (__libc_ifunc_impl_list): Likewise.
12476         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12477         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12478         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12479         multiarch strcpy for PPC64.
12480
12481         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12482         redefine function name.
12483         (_wordcopy_fwd_dest_aligned): Likewise.
12484         (_wordcopy_bwd_aligned): Likewise.
12485         (_wordcopy_bwd_dest_aligned): Likewise.
12486         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12487         multiarch implementations.
12488         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12489         (__libc_ifunc_impl_list): Likewise.
12490         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12491         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12492         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12493         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12494         multiarch wcscpy for PPC64.
12495
12496         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12497         multiarch implementations.
12498         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12499         (__libc_ifunc_impl_list): Likewise.
12500         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12501         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12502         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12503         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12504         multiarch wcscpy for PPC64.
12505
12506         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12507         multiarch implementations.
12508         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12509         (__libc_ifunc_impl_list): Likewise.
12510         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12511         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12512         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12513         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12514         multiarch wcsrchr for PPC64.
12515
12516         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12517         multiarch implementations.
12518         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12519         (__libc_ifunc_impl_list): Likewise.
12520         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12521         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12522         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12523         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12524         multiarch wcschr for PPC64.
12525
12526         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12527         multiarch implementations.
12528         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12529         (__libc_ifunc_impl_list): Likewise.
12530         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12531         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12532         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12533         multiarch strchrnul for PPC64.
12534
12535         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12536         implementations.
12537         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12538         (__libc_ifunc_impl_list): Likewise.
12539         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12540         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12541         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12542         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12543         strchr for PPC64.
12544
12545         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12546         implementations.
12547         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12548         (__libc_ifunc_impl_list): Likewise.
12549         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12550         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12551         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12552         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12553         strncmp for PPC64.
12554
12555         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12556         multiarch implementations.
12557         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12558         (__libc_ifunc_impl_list): Likewise.
12559         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12560         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12561         strncasecmp for PPC64.
12562         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12563         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12564         multiarch strncasecmp_l for PPC64.
12565
12566         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12567         multiarch implementations.
12568         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12569         (__libc_ifunc_impl_list): Likewise.
12570         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12571         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12572         multiarch strcasecmp for PPC64.
12573         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12574         file.
12575         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12576         multiarch strcasecmp_l for PPC64.
12577
12578         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12579         implementations.
12580         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12581         (__libc_ifunc_impl_list): Likewise.
12582         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12583         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12584         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12585         strnlen for PPC64.
12586
12587         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12588         implementations.
12589         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12590         (__libc_ifunc_impl_list): Likewise.
12591         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12592         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12593         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12594         strlen for PPC64.
12595
12596         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12597         implementations.
12598         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12599         (__libc_ifunc_impl_list): Likewise.
12600         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12601         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12602         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12603         rawmemrchr for PPC64.
12604
12605         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12606         implementation.
12607         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12608         (__libc_ifunc_impl_list): Likewise.
12609         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12610         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12611         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12612         memrchr for PPC64.
12613
12614         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12615         implementation.
12616         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12617         (__libc_ifunc_impl_list): Likewise.
12618         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12619         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12620         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12621         memchr for PPC64.
12622
12623         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12624         implementation.
12625         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12626         (__libc_ifunc_impl_list): Likewise.
12627         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12628         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12629         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12630         mempcpy for PPC64.
12631
12632         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12633         avoid cretion of __bzero symbol.
12634         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12635         Likewise.
12636         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12637         Likewise.
12638         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12639         Likewise.
12640         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12641         multiarch implementations.
12642         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12643         (__libc_ifunc_impl_list): Likewise.
12644         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12645         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12646         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12647         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12648         bzero for PPC32.
12649         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12650         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12651         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12652         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12653         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12654         memset for PPC64.
12655         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12656
12657         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12658         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12659         implementations.
12660         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12661         (__libc_ifunc_impl_list): Likewise.
12662         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12663         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12664         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12665         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12666         memcmp for PPC64.
12667
12668         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12669         multiarch for POWER/PPC64.
12670         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12671         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12672         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12673         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12674         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12675         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12676         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12677         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12678         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12679         memcpy for PPC64.
12680
12681         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12682         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12683         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12684         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12685         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12686         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12687         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12688         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12689         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12690         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12691         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12692         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12693         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12694         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12695         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12703
12704 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12705
12706         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12707
12708 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12709
12710         * benchtests/Makefile (bench): Add exp2 and log2.
12711         (LDLIBS-bench-exp2): Add -lm.
12712         (LDLIBS-bench-log2): Likewise.
12713         * benchtests/exp2-inputs: New inputs file.
12714         * benchtests/log2-inputs: New inputs file.
12715         * benchtests/log-inputs: Add new inputs.
12716         * benchtests/tan-inputs: Likewise.
12717
12718 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12719
12720         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12721         definition...
12722         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12723         (csloww2): ... from here.
12724
12725         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12726         instead of structures.
12727         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12728         (POLYNOMIAL): Likewise.
12729         (TAYLOR_SLOW): Likewise.
12730         (__sin): Likewise.
12731         (__cos): Likewise.
12732         (slow1): Likewise.
12733         (slow2): Likewise.
12734         (sloww): Likewise.
12735         (sloww1); Likewise.
12736         (sloww2): Likewise.
12737         (bsloww1): Likewise.
12738         (bsloww2): Likewise.
12739         (cslow2): Likewise.
12740         (csloww): Likewise.
12741         (csloww1): Likewise.
12742         (csloww2): Likewise.
12743
12744 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
12745
12746         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12747         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12748         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12749         * malloc/hooks.c (realloc_check): Likewise.
12750
12751         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12752         * malloc/arena.c: Remove PER_THREAD conditional.
12753         [!PER_THREAD]: Remove code.
12754         (ptmalloc_unlock_all2): Likewise.
12755         (ptmalloc_init): Likewise.
12756         (_int_new_arena): Likewise.
12757         (arena_get2): Likewise.
12758         * malloc/hooks.c (__malloc_get_state): Likewise.
12759         (__malloc_set_state): Likewise.
12760         * malloc/malloc.c: Likewise.
12761         (struct malloc_state): Likewise.
12762         (struct malloc_par): Likewise.
12763         (__libc_realloc): Likewise.
12764         (__libc_mallopt): Likewise.
12765
12766 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12767
12768         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12769
12770 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
12771
12772         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12773         macro to a function.  Check for zero perturb_byte.
12774         (_int_malloc, _int_free): Remove zero perturb_byte checks.
12775
12776         * malloc/malloc.c: (force_reg): Remove.
12777         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12778         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12779         force_reg by atomic_forced_read.
12780         * malloc/arena.c (ptmalloc_init): Likewise.
12781         * malloc/hooks.c (top_check): Likewise.
12782
12783 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12784
12785         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12786
12787 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
12788
12789         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12790
12791 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
12792
12793         * math/auto-libm-test-in: Add tests of lgamma.
12794         * math/auto-libm-test-out: Regenerated.
12795         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12796         (M_LOG_2_SQRT_PIl): Likewise.
12797         (lgamma_test_data): Use AUTO_TESTS_f_f1.
12798         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12799         mpfr_f_f1.
12800         (func_calc_desc): Add mpfr_f_f1 union field.
12801         (ARGS1): New macro.
12802         (ARGS2): Likewise.
12803         (ARGS3): Likewise.
12804         (ARGS4): Likewise.
12805         (RET1): Likewise.
12806         (RET2): Likewise.
12807         (CALC): Likewise.
12808         (FUNC): Likewise.
12809         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12810         (test_functions): Add lgamma.
12811         (calc_generic_results): Handle mpfr_f_f1.
12812         * sysdeps/i386/fpu/libm-test-ulps: Update.
12813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12814
12815 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12816
12817         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12818         __mpn_add_n for PowerPC64/POWER7.
12819         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12820         __mpn_sub_n for PowerPC64/POWER7.
12821
12822         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12823         __mpn_addmul_1 for PowerPC64.
12824         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12825         __mpn_submul_1 for PowerPC64.
12826         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12827         for PowerPC64.
12828         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12829         for PowerPC64.
12830
12831 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
12832
12833         [BZ #15089]
12834         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12835
12836 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12837
12838         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12839
12840         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12841         add multiarch folders.
12842         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12843         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12844         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12845         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12846         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12847         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12848         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12849         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12850         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12851         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12852         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12859
12860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12861         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12863         New file.
12864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12865         New file.
12866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12867         multiarch __ieee754_hypot for PowerPC32.
12868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12869         New file.
12870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12871         New file.
12872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12873         multiarch __ieee754_hypotf for PowerPC32.
12874
12875         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12876         long_double_symbol only if __logbl is defined.
12877         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12878         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12879         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12880         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12881         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12882         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12883         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12884         path for implementation.
12885         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12886         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12888         logb, and logbl multiarch implementations for PowerPC32.
12889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12890         file.
12891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12892         file.
12893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12894         multiarch logb for PowerPC32.
12895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12896         file.
12897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12898         file.
12899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12900         multiarch logbf for PowerPC32.
12901         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12903         file.
12904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12905         multiarch logbl implementation for PowerPC32.
12906
12907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12908         and modff multiarch implementations.
12909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12910         New file.
12911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12912         New file.
12913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12914         multiarch modf for PowerPC32.
12915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12916         New file.
12917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12918         New file.
12919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12920         multiarch modff for PowerPC32.
12921
12922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12923         and lrintf multiarch implementations.
12924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12925         New file.
12926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12927         New file.
12928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12929         multiarch lrint for PowerPC32.
12930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12931         file: multiarch lrintf for PowerPC32.
12932
12933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12934         and lroundf multiarch implementations.
12935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12936         New file.
12937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12938         New file.
12939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12940         New file.
12941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12942         multiarch lround for PowerPC32.
12943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12944         file: multiarch lroundf for PowerPC32.
12945
12946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12947         copysign and copysignf multiarch implementations.
12948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12949         New file.
12950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12951         New file.
12952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12953         file: multiarch copysign for PowerPC32.
12954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12955         file: multiarch copysignf for PowerPC32.
12956
12957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12958         and truncf multiarch implementations.
12959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12960         New file.
12961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12962         file.
12963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12964         multiarch trunc for PowerPC32.
12965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12966         New file.
12967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12968         New file.
12969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12970         multiarch truncf for PowerPC32.
12971
12972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12973         and roundf multiarch implementations.
12974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12975         New file.
12976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12977         file.
12978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12979         multiarch round for PowerPC32.
12980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12981         New file.
12982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12983         New file.
12984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12985         multiarch roundf for PowerPC32.
12986
12987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12988         and floorf multiarch implementations.
12989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12990         New file.
12991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12992         file.
12993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12994         multiarch floor for PowerPC32.
12995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12996         New file.
12997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12998         New file.
12999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13000         multiarch floorf for PowerPC32.
13001
13002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13003         and ceilf multiarch implementations.
13004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13005         New file.
13006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13007         file.
13008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13009         multiarch ceil for PowerPC32.
13010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13011         New file.
13012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13013         file.
13014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13015         multiarch ceilf for PowerPC32.
13016
13017         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13018         is defined.
13019         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13020         FINITEF is defined.
13021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13022         and finitef multiarch implementations.
13023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13024         New file.
13025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13026         file.
13027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13028         multiarch finite for PowerPC32.
13029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13030         New file.
13031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13032         file: multiarch finitef for PowerPC32.
13033
13034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13035         and isinff multiarch implementations.
13036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13037         file.
13038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13039         file.
13040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13041         multiarch isinf for PowerPC32.
13042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13043         New file.
13044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13045         multiarch isinff for PowerPC32.
13046
13047         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13048         alias when __isnan is defined.
13049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13050         and isnanf multiarch implementations.
13051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13052         file.
13053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13054         file.
13055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13056         file.
13057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13058         file.
13059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13060         multiarch isnan for PowerPC32.
13061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13062         New file.
13063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13064         New file.
13065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13066         multiarch isnanf for PowerPC32.
13067
13068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13069         and sqrtf multiarch implementations.
13070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13071         file.
13072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13073         file.
13074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13075         multiarch sqrt for PowerPC32.
13076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13077         file.
13078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13079         file.
13080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13081         multiarch sqrtf for PowerPC32.
13082
13083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13084         and llroundf multiarch implementations.
13085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13086         New file.
13087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13088         New file.
13089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13090         New file.
13091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13092         file: multiarch llround for PowerPC32.
13093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13094         file: multiarch llroundf for PowerPC32.
13095
13096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13097         multiarch PowerPC32 fpu implementations.
13098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13099         New file.
13100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13101         New file.
13102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13103         multiarch llrint for PowerPC32.
13104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13105         New file.
13106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13107         New file.
13108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13109         file.
13110
13111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13112
13113         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13114         file.
13115         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13116         file.
13117         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13118         file.
13119         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13120         multiarch wordcopy for PPC32.
13121         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13122         wordcopy objects.
13123         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13124         (__libc_ifunc_impl_list): Likewise.
13125         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13126         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13127         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13128         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13129         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13130         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13131
13132         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13133         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13134         file.
13135         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13136         file.
13137         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13138         file.
13139         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13140         multiarch wcscpy for PPC32.
13141         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13142         multiarch objects.
13143         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13144         (__libc_ifunc_impl_list): Likewise.
13145         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13146         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13147         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13148         sysdeps/powerpc/power6/wcscpy.c.
13149
13150         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13151         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13152         file.
13153         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13154         file.
13155         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13156         file.
13157         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13158         multiarch wcsrchr for PPC32.
13159         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13160         multiarch objects.
13161         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13162         (__libc_ifunc_impl_list): Likewise.
13163         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13164         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13165         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13166         sysdeps/powerpc/power6/wcsrchr.c.
13167
13168         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13169         file.
13170         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13171         file.
13172         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13173         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13174         multiarch wcschr for PPc32.
13175         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13176         multiarch objects.
13177         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13178         (__libc_ifunc_impl_list): Likewise.
13179         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13180         * sysdeps/powerpc/power6/wcschr.c: ... to here.
13181         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13182         sysdeps/powerpc/power6/wcschr.c.
13183
13184         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13185         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13186         file.
13187         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13188         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13189         file: multiarch strchr for PPC32.
13190         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13191         multiarch objects.
13192         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13193         (__libc_ifunc_impl_list): Likewise.
13194
13195         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13196         name.
13197         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13198         file.
13199         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13200         file.
13201         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13202         multiarch strchrnul for PPC32.
13203         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13204         multiarch objects.
13205         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13206         (__libc_ifunc_impl_list): Likewise.
13207
13208         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13209         file.
13210         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13211         multiarch strncasecmp for PPC32.
13212         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13213         file.
13214         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13215         multiarch strncasecmp_l for PPC32.
13216         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13217         strncasecmp multiarch objects.
13218         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13219         (__libc_ifunc_impl_list): Likewise.
13220
13221         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13222         file.
13223         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13224         multiarch strncasecmp for PPC32.
13225         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13226         New file.
13227         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13228         multiarch strcasecmp_l for PPC32.
13229         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13230         multiarch objects.
13231         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13232         (__libc_ifunc_impl_list): Likewise.
13233
13234         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13235         file.
13236         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13237         file.
13238         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13239         multiarch strncmp for PPC32.
13240         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13241         multiarch objects.
13242         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13243         (__libc_ifunc_impl_list): Likewise.
13244
13245         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13246         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13247         file.
13248         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13249         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13250         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13251         multiarch objects.
13252         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13253         (__libc_ifunc_impl_list): Likewise.
13254
13255         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13256         file.
13257         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13258         file.
13259         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13260         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13261         multiarch objects.
13262         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13263         (__libc_ifunc_impl_list): Likewise.
13264
13265         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13266         file.
13267         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13268         file.
13269         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13270         multiarch rawmemchr for PPC32.
13271         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13272         multiarch objects.
13273         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13274         (__libc_ifunc_impl_list): Likewise.
13275
13276         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13277         file.
13278         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13279         file.
13280         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13281         file: memrchr multiarch for PPC32.
13282         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13283         multiarch objects.
13284         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13285         (__libc_ifunc_impl_list): Likewise.
13286
13287         * string/memchr.c (__memchr): Using macro to redefine symbol name.
13288         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13289         file.
13290         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13291         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13292         multiarch memchr for PPC32.
13293         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13294         multiarch objects.
13295         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13296         (__libc_ifunc_impl_list): Likewise.
13297
13298         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13299         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13300         file.
13301         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13302         file.
13303         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13304         file: multiarch mempcpy for PPC32.
13305         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13306         multiarch objects.
13307         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13308         (__libc_ifunc_impl_list): Likewise.
13309
13310         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13311         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13312         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13313         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13314         multiarch bzero for PPC32.
13315         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13316         file.
13317         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13318         file.
13319         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13320         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13321         file: multiarch memset for PPC32.
13322         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13323         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13324         memset multiarch objects.
13325         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13326         (__libc_ifunc_impl_list): Likewise.
13327
13328         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13329         file.
13330         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13331         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13332         memcmp for PPC32.
13333         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13334         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13335         multiarch objects.
13336         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13337         (__libc_ifunc_impl_list): Likewise.
13338
13339         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13340         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13341         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13342         file.
13343         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13344         file.
13345         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13346         file.
13347         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13348         multiarch memcpy for PPC32.
13349         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13350         multiarch objects.
13351         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13352         (__libc_ifunc_impl_list): Likewise.
13353
13354         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13355         support multiarch for POWER/PPC32.
13356         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13357         Likewise.
13358         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13360         Implies file to make multiarch folder appers before the fpu and
13361         default folder for power4 configuration.
13362
13363 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
13364
13365         * scripts/bench.pl: Append volatile keyword to type.
13366
13367 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13368
13369         * sysdeps/sh/sotruss-lib.c: New file.
13370         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13371
13372 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13373
13374         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13375
13376 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
13377
13378         [BZ #6810]
13379         * math/w_tgamma.c: Include <errno.h>.
13380         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
13381         * math/w_tgammaf.c: Include <errno.h>.
13382         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
13383         * math/w_tgammal.c: Include <errno.h>.
13384         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
13385         * math/auto-libm-test-in: Do not allow missing errno on tgamma
13386         underflow.  Add more tgamma tests.
13387         * math/auto-libm-test-out: Regenerated.
13388         * sysdeps/i386/fpu/libm-test-ulps: Update.
13389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13390
13391         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13392         sin, sinh, tan, tanh, tgamma, y0 and y1.
13393         * math/auto-libm-test-out: Regenerated.
13394         * math/libm-test.inc (TEST_COND_x86_64): New macro.
13395         (TEST_COND_x86): Likewise.
13396         (M_E2l): Remove macro.
13397         (M_E3l): Likewise.
13398         (M_2_SQRT_PIl): Likewise.
13399         (M_SQRT_PIl): Likewise.
13400         (M_1_DIV_El): Likewise.
13401         (log_test_data): Use AUTO_TESTS_f_f.
13402         (log10_test_data): Likewise.
13403         (log1p_test_data): Likewise.
13404         (log2_test_data): Likewise.
13405         (sin_test_data): Likewise.
13406         (sin_tonearest_test_data): Likewise.
13407         (sin_towardzero_test_data): Likewise.
13408         (sin_downward_test_data): Likewise.
13409         (sin_upward_test_data): Likewise.
13410         (sinh_test_data): Likewise.
13411         (sinh_tonearest_test_data): Likewise.
13412         (sinh_towardzero_test_data): Likewise.
13413         (sinh_downward_test_data): Likewise.
13414         (sinh_upward_test_data): Likewise.
13415         (tan_test_data): Likewise.
13416         (tan_tonearest_test_data): Likewise.
13417         (tan_towardzero_test_data): Likewise.
13418         (tan_downward_test_data): Likewise.
13419         (tan_upward_test_data): Likewise.
13420         (tanh_test_data): Likewise.
13421         (tgamma_test_data): Likewise.
13422         (y0_test_data): Likewise.
13423         (y1_test_data): Likewise.
13424         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13425         (special_real_inputs): Add pi/4.
13426         * sysdeps/i386/fpu/libm-test-ulps: Update.
13427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13428
13429 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13430
13431         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13432         "longjmp_target" static probes.
13433         (__longjmp): Rename to __longjmp_symbol.
13434         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13435         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13436         on which longjmp to generate.
13437         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13438         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13439         probe.
13440         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13441         (__sigjmp_save): Rename to __sigjmp_save_symbol.
13442         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13443         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13444         and __sigjmp_save_symbol based on which sigsetjmp to generated.
13445         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13447         __longjmp_symbol based on which __longjmp to generate.
13448         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13449         probe.
13450         (setjmp): Rename to setjmp_symbol.
13451         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13452         (_setjmp): Rename to _setjmp_symbol.
13453         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13454         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13455         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13456         which setjmp to generate.
13457         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13458         "longjmp_target" static probes.
13459
13460 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13461
13462         * benchtests/README: Add note about output arguments.
13463         * benchtests/bench-sincos.c: Remove file.
13464         * benchtests/sincos-inputs: New file.
13465         * scripts/bench.pl: Identify output arguments and define
13466         static variables for them.
13467
13468         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13469
13470         [BZ #15941]
13471         * Makefile (INSTALL): Add install-plain.texi as the primary
13472         dependency.
13473         * manual/install-plain.texi: New file.
13474         * manual/install.texi: Include node directive only for
13475         non-plaintext output.
13476
13477 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
13478
13479         * stdlib/longlong.h: Update from GCC.
13480
13481         [BZ #6807]
13482         [BZ #15901]
13483         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13484         * math/w_j0f.c (y0f): Likewise.
13485         * math/w_j0l.c (__y0l): Likewise.
13486         * math/w_j1.c (y1): Likewise.
13487         * math/w_j1f.c (y1f): Likewise.
13488         * math/w_j1l.c (__y1l): Likewise
13489         * math/w_jn.c (yn): Likewise.
13490         * math/w_jnf.c (ynf): Likewise.
13491         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13492         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
13493         value for Bessel function domain errors outside _SVID_ mode.
13494         Adjust sign of return value for yn (negative integer, 0).
13495         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13496         by zero in return for negative x and set sign appropriately for
13497         negative n.
13498         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13499         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13500         * math/libm-test.inc (y0_test_data): Add more tests and adjust
13501         expectations in error cases.
13502         (y1_test_data): Likewise.
13503         (yn_test_data): Likewise.
13504         * sysdeps/i386/fpu/libm-test-ulps: Update.
13505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13506
13507 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13508
13509         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13510         "64" to "64-v1".  Add "64-v2".
13511         (abi-64-options): Rename to ...
13512         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
13513         (abi-64-condition): Rename to ...
13514         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
13515         (abi-64-ld-soname): Rename to ...
13516         (abi-64-v1-ld-soname): ... this.
13517         (abi-64-v2-options): Define.
13518         (abi-64-v2-condition): Likewise.
13519         (abi-64-v2-ld-soname): Likewise.
13520         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13521         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13525
13526 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13527             Alan Modra  <amodra@gmail.com>
13528
13529         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13530         New versions for use with the ELFv2 ABI.
13531         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13532         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13533         declaration.
13534         (struct La_ppc64v2_retval): Likewise.
13535         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13536         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13537         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13538         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13539         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13540         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13541         Do not save or restore CR.
13542         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13543         (_dl_profile_resolve): Do no save or restore CR.  Support extended
13544         return values for ELFv2 ABI.  Fix location of FPR return registers.
13545         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13546         updated values for _CALL_ELF == 2.
13547         (La_regs, La_retval, int_retval): Likewise.
13548
13549 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13550
13551         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13552         (FRAME_MIN_SIZE_PARM): Likewise.
13553         (FRAME_BACKCHAIN): Likewise.
13554         (FRAME_CR_SAVE): Likewise.
13555         (FRAME_LR_SAVE): Likewise.
13556         (FRAME_TOC_SAVE): Likewise.
13557         (FRAME_PARM_SAVE): Likewise.
13558         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13559         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13560         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13561         (call_mcount_parm_offset): New macro.
13562         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13563         (PROF): Use symbolic stack frame offsets.
13564         (TAIL_CALL_SYSCALL_ERROR): Likewise.
13565         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13566         Redefine in terms of FRAME_MIN_SIZE.
13567         (_dl_runtime_resolve): Use symbolic stack frame offsets.
13568         (_dl_profile_resolve): Likewise.  Update comment.
13569         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13570         symbols stack frame offsets.
13571         (__sigsetjmp): Likewise.
13572         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13573         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13574         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13575         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13576
13577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13578         (FRAME_BACKCHAIN): Remove.
13579         (FRAME_CR_SAVE): Likewise.
13580         (FRAME_LR_SAVE): Likewise.
13581         (FRAME_COMPILER_DW): Likewise.
13582         (FRAME_LINKER_DW): Likewise.
13583         (FRAME_TOC_SAVE): Likewise.
13584         (FRAME_PARM_SAVE): Likewise.
13585         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13586         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13587         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13589         (CHECK_SP): Use symbolic stack frame offsets.
13590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13591         zone" instead of caller's parameter save area for temp storage.
13592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13593         Likewise.  Also, use symbolic stack frame offsets.
13594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13595         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13596         our own stack frame instead of the caller's.
13597         (__socket): Use symbolic stack frame offsets.
13598
13599 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13600             Alan Modra  <amodra@gmail.com>
13601
13602         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13603         Define.
13604         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13605         (PPC64_LOCAL_ENTRY_OFFSET): Define.
13606         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13607         New function.
13608         (elf_machine_fixup_plt): Call it.
13609         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
13610         reloc arguments.
13611         (elf_machine_rela): Update call to elf_machine_plt_conflict.
13612         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13613         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13614         r2 before calling target.
13615
13616 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13617             Alan Modra  <amodra@gmail.com>
13618
13619         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13620         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13621         versions of macros to support ELFv2 ABI.
13622         (LOCALENTRY): New macro.
13623         (ENTRY, EALIGN): Use it.
13624         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13625         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13626         fall through into ENTRY entry point.
13627         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13628         Only define if _CALL_ELF != 2.
13629
13630         (elf_machine_matches_host): Verify ABI version matches.
13631         (RTLD_START): Use LOCALENTRY.
13632         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13633         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13634         (PLT_ENTRY_WORDS): New macro.
13635         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13636         (elf_machine_runtime_setup): Support ELFv2 ABI.
13637         (elf_machine_fixup_plt): Likewise.
13638         (elf_machine_plt_conflict): Likewise.
13639         (resolve_ifunc): Likewise.
13640         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13641         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13642         Likewise.
13643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13644         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13646         (makecontext): Support ELFv2 ABI.
13647         * elf/elf.h (EF_PPC64_ABI): Define.
13648
13649 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13650
13651         * sysdeps/powerpc/powerpc64/sysdep.h
13652         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13653         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13654         (ENTRY) [ASSEMBLER]: ... but instead here ...
13655         (EALIGN) [ASSEMBLER]: ... and here.
13656         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13657         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13658         (ENTRY_2) [!ASSEMBLER]: Use it.
13659         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13660         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
13661         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13662         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13663         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13665         Use PPC64_LOAD_FUNCPTR.
13666
13667         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13668
13669 2013-12-04  Alan Modra  <amodra@gmail.com>
13670
13671         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13672         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13673         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13674         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13675
13676         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13677         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13678         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13679         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13680         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13681         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13682
13683 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13684
13685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13686         (__makecontext): Fix incorrect CFI when backtracing out of
13687         context created via makecontext.
13688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13689         (__setcontext): Fix incorrect CFI during switch to new context.
13690         (__novec_setcontext): Likewise.
13691
13692 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
13693
13694         [BZ #4772]
13695         * time/strptime_l.c (__strptime_internal): Allow modifiers
13696         in strptime.
13697         * time/tst-strptime.c (day_tests): Add testcase.
13698
13699 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13700
13701         * scripts/bench.pl: Skip over blank lines.
13702
13703 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
13704
13705         [BZ #926]
13706         * manual/time.texi (Calendar Time): Clarify what timezone functions
13707         use.
13708
13709 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13710
13711         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13712
13713 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
13714
13715         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13716         implementation.
13717         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13718         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13719         * debug/memset_chk.c (__memset_chk): Likewise.
13720         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13721         * debug/strncpy_chk.c: Likewise.
13722
13723 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
13724
13725         [BZ #15268]
13726         [BZ #15425]
13727         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13728         (__ieee754_exp): For possibly underflowing results, check size of
13729         result and force underflow exception if required.
13730         * math/auto-libm-test-in: Add more tests of exp.
13731         * math/auto-libm-test-out: Regenerated.
13732         * sysdeps/i386/fpu/libm-test-ulps: Update.
13733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13734
13735         [BZ #16283]
13736         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13737         * math/w_exp2f.c (__exp2f): Likewise.
13738         * math/w_exp2l.c (__exp2l): Likewise.
13739         * math/auto-libm-test-in: Do not allow missing errno on exp2
13740         underflow.
13741         * math/auto-libm-test-out: Regenerated.
13742
13743 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
13744
13745         [BZ #16274]
13746         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13747         handle filename validation.
13748         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13749         (do_open): Delete.
13750
13751 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
13752
13753         [BZ #6786]
13754         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13755         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13756         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13757         <float.h>.
13758         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13759         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13760         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13761         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13762         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13763         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13764         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13765         * math/auto-libm-test-in: Don't allow missing errno from erfc.
13766         Add more erfc tests.
13767         * math/auto-libm-test-out: Regenerated.
13768         * sysdeps/i386/fpu/libm-test-ulps: Update.
13769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13770
13771         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13772         exp2, expm1, j0 and j1.
13773         * math/auto-libm-test-out: Regenerated.
13774         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13775         (erfc_test_data): Likewise.
13776         (exp_test_data): Likewise.
13777         (exp_tonearest_test_data): Likewise.
13778         (exp_towardzero_test_data): Likewise.
13779         (exp_downward_test_data): Likewise.
13780         (exp_upward_test_data): Likewise.
13781         (exp10_test_data): Likewise.
13782         (exp2_test_data): Likewise.
13783         (expm1_test_data): Likewise.
13784         (j0_test_data): Likewise.
13785         (j1_test_data): Likewise.
13786         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13787         (input_flag_type): Add flag_xfail_rounding.
13788         (input_flags): Add xfail-rounding.
13789         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13790         (output_for_one_input_case): Handle flag_xfail_rounding.
13791         * sysdeps/i386/fpu/libm-test-ulps: Update.
13792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13793
13794 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
13795
13796         [BZ #16289]
13797         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13798         division by 0.
13799
13800 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
13801
13802         [BZ #16195]
13803         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13804         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13805         (STAP_PROBE0): New macro.
13806         (STAP_PROBE1): Likewise.
13807         (STAP_PROBE2): Likewise.
13808         (STAP_PROBE3): Likewise.
13809         (STAP_PROBE4): Likewise.
13810
13811 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
13812
13813         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13814
13815 2013-12-02  Steve Ellcey  <sellcey@mips.com>
13816
13817         * benchtests/Makefile (bench): Add sqrt.
13818         (LDLIBS-bench-sqrt): New.
13819         * benchtests/sqrt-input: New.
13820
13821 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
13822
13823         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13824         (GAIH_EAI): Likewise.
13825         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13826         (gaih_inet): Likewise.
13827         (getaddrinfo): Don't use GAIH_EAI.
13828
13829         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13830         (struct gaih): Remove definition.
13831
13832 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13833
13834         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13835         Use HERRNOP directly.
13836
13837 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13838
13839         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13840
13841 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
13842
13843         * math/gen-auto-libm-tests.c (test_functions): Add more
13844         single-argument functions.
13845         (special_fill_pi_2): New function.
13846         (special_fill_minus_pi_2): Likewise.
13847         (special_fill_pi_6): Likewise.
13848         (special_fill_minus_pi_6): Likewise.
13849         (special_fill_pi_3): Likewise.
13850         (special_fill_2pi_3): Likewise.
13851         (special_fill_e): Likewise.
13852         (special_fill_1_e): Likewise.
13853         (special_fill_e_minus_1): Likewise.
13854         (special_real_inputs): Add more special inputs.
13855         (output_for_one_input_case): Do not require ERANGE on underflow to
13856         zero if round-to-nearest result does not underflow to zero, unless
13857         exact results required.
13858         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13859         atan, atanh, cbrt, cos and cosh.
13860         * math/auto-libm-test-out: Regenerated.
13861         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13862         (acos_tonearest_test_data): Likewise.
13863         (acos_towardzero_test_data): Likewise.
13864         (acos_downward_test_data): Likewise.
13865         (acos_upward_test_data): Likewise.
13866         (acosh_test_data): Likewise.
13867         (asin_test_data): Likewise.
13868         (asin_tonearest_test_data): Likewise.
13869         (asin_towardzero_test_data): Likewise.
13870         (asin_upward_test_data): Likewise.
13871         (asinh_test_data): Likewise.
13872         (atan_test_data): Likewise.
13873         (atanh_test_data): Likewise.
13874         (cbrt_test_data): Likewise.
13875         (cos_test_data): Likewise.
13876         (cos_tonearest_test_data): Likewise.
13877         (cos_towardzero_test_data): Likewise.
13878         (cos_downward_test_data): Likewise.
13879         (cos_upward_test_data): Likewise.
13880         (cosh_test_data): Likewise.
13881         (cosh_tonearest_test_data): Likewise.
13882         (cosh_towardzero_test_data): Likewise.
13883         (cosh_downward_test_data): Likewise.
13884         (cosh_upward_test_data): Likewise.
13885         * sysdeps/i386/fpu/libm-test-ulps: Update.
13886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13887
13888 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
13889
13890         [BZ #6787]
13891         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13892         * math/w_exp10f.c (__exp10f): Likewise.
13893         * math/w_exp10l.c (__exp10l): Likewise.
13894         * math/libm-test.inc (exp10_test_data): Add more tests and expect
13895         errno settings in existing tests.
13896
13897         [BZ #14032]
13898         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13899         precision control set to double precision.
13900         * sysdeps/i386/fpu/w_sqrt.c: New file.
13901         * math/auto-libm-test-in: Add more tests.
13902         * math/auto-libm-test-out: Update.
13903
13904         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13905         (sqrt_test_tonearest): New function.
13906         (sqrt_towardzero_test_data): New variable.
13907         (sqrt_test_towardzero): New function.
13908         (sqrt_downward_test_data): New variable.
13909         (sqrt_test_downward): New function.
13910         (sqrt_upward_test_data): New variable.
13911         (sqrt_test_upward): New function.
13912         (main): Call the new functions.
13913
13914         * math/gen-auto-libm-tests.c: New file.
13915         * math/auto-libm-test-in: Likewise.
13916         * math/auto-libm-test-out: New generated file.
13917         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13918         variables.
13919         (%beautify): Add generated representations of zero.
13920         (top level): Set $auto_input and call parse_auto_input.
13921         (beautify): Remove trailing "f" from hex float constants.
13922         (parse_args): Handle XFAIL_TEST.
13923         (convert_condition): New function.
13924         (or_value): Likewise.
13925         (or_cond_value): Likewise.
13926         (generate_testfile): Handle AUTO_TESTS_* lines.
13927         (parse_auto_input): New function.
13928         * math/libm-test.inc (XFAIL_TEST): New macro.
13929         (ERRNO_UNCHANGED): Update value.
13930         (ERRNO_EDOM): Likewise.
13931         (ERRNO_ERANGE): Likewise.
13932         (IGNORE_RESULT): Likewise.
13933         (TEST_COND_flt_32): New macro.
13934         (TEST_COND_dbl_64): Likewise.
13935         (TEST_COND_ldbl_96_intel): Likewise.
13936         (TEST_COND_ldbl_96_m68k): Likewise.
13937         (TEST_COND_ldbl_128): Likewise.
13938         (TEST_COND_ldbl_128ibm): Likewise.
13939         (TEST_COND_long32): Likewise.
13940         (TEST_COND_long64): Likewise.
13941         (TEST_COND_before_rounding): Likewise.
13942         (TEST_COND_after_rounding): Likewise.
13943         (enable_test): Handle XFAIL_TEST flag.
13944         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13945         with finite results.
13946         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13947         auto-libm-test-out.
13948
13949 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13950             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13951
13952         [BZ #16214]
13953         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13954         __tls_get_addr_internal instead of __tls_get_offset in order to
13955         avoid GOT pointer dependency.  Make rtld export
13956         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13957         __tls_get_addr since we are a __tls_get_offset platform.
13958         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13959         GOT pointer being set up before.
13960         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13961
13962 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
13963
13964         * manual/math.texi (Errors in Math Functions): Document accuracy
13965         goals.
13966
13967         [BZ #15004]
13968         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13969         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13970         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13971         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13972         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13973         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13974         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13975         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13976         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13977         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13978         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13979         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13980         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13981         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13982         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13983         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13984
13985         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13986         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13987         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13988         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13989         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13990         Likewise.
13991         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13992         Likewise.
13993         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13994         Likewise.
13995         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13996         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13997         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13998         atomic-feupdateenv and flt-rounds.
13999         * sysdeps/powerpc/nofpu/Versions (libc): Add
14000         __atomic_feholdexcept, __atomic_feclearexcept,
14001         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14002         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14003         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14004         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14005         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14006         here.
14007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14008         Update.
14009
14010         * manual/arith.texi (FP Exceptions): Document that exceptions may
14011         not be raised when matherr is used.
14012         (Math Error Reporting): Document overflow in directed rounding
14013         modes.  Document that errno may not be set when finite values are
14014         returned on overflow.  Document intent to set errno on underflow
14015         only for underflow to zero.
14016
14017         [BZ #16271]
14018         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14019         round-to-nearest then adjust result for other rounding modes.
14020         * include/fenv.h (fegetround): Use libm_hidden_proto.
14021         * math/fegetround.c (fegetround): Use libm_hidden_def.
14022         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14023         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14024         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14025         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14026         Likewise.
14027         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14028         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14029         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14030         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14031
14032 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14033
14034         [BZ #16077]
14035         * nss/Versions (libnss_files): Add
14036         _nss_files_gethostbyname3_r.
14037         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14038         New function.
14039         (HOST_DB_LOOKUP): Remove macro.
14040         (_nss_files_gethostbyname_r): Implement function without the
14041         HOST_DB_LOOKUP macro.
14042         (_nss_files_gethostbyname2_r): Likewise.
14043
14044 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
14045
14046         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14047
14048 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
14049
14050         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14051         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14052         warning.
14053
14054 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14055
14056         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14057         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14058         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14059         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14060         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14061         __fe_nomask_env_priv and attribute_hidden.
14062         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14063         (libc_feupdateenv_test_ppc): Likewise.
14064         (libc_feresetround_ppc): Likewise.
14065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14066         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14067         compat_symbol macro.
14068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14069         (__fe_nomask_env): Likewise.
14070         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14071
14072 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14073
14074         * string/Makefile: Remove ifunc tests.
14075         * string/test-string.h: Define TEST_IFUNC.
14076         * string/test-bcopy-ifunc.c: Remove.
14077         * string/test-bzero-ifunc.c: Likewise.
14078         * string/test-memccpy-ifunc.c: Likewise.
14079         * string/test-memchr-ifunc.c: Likewise.
14080         * string/test-memcmp-ifunc.c: Likewise.
14081         * string/test-memcpy-ifunc.c: Likewise.
14082         * string/test-memmem-ifunc.c: Likewise.
14083         * string/test-memmove-ifunc.c: Likewise.
14084         * string/test-mempcpy-ifunc.c: Likewise.
14085         * string/test-memrchr-ifunc.c: Likewise.
14086         * string/test-memset-ifunc.c: Likewise.
14087         * string/test-rawmemchr-ifunc.c: Likewise.
14088         * string/test-stpcpy-ifunc.c: Likewise.
14089         * string/test-stpncpy-ifunc.c: Likewise.
14090         * string/test-strcasecmp-ifunc.c: Likewise.
14091         * string/test-strcasestr-ifunc.c: Likewise.
14092         * string/test-strcat-ifunc.c: Likewise.
14093         * string/test-strchr-ifunc.c: Likewise.
14094         * string/test-strchrnul-ifunc.c: Likewise.
14095         * string/test-strcmp-ifunc.c: Likewise.
14096         * string/test-strcpy-ifunc.c: Likewise.
14097         * string/test-strcspn-ifunc.c: Likewise.
14098         * string/test-strlen-ifunc.c: Likewise.
14099         * string/test-strncasecmp-ifunc.c: Likewise.
14100         * string/test-strncat-ifunc.c: Likewise.
14101         * string/test-strncmp-ifunc.c: Likewise.
14102         * string/test-strncpy-ifunc.c: Likewise.
14103         * string/test-strnlen-ifunc.c: Likewise.
14104         * string/test-strpbrk-ifunc.c: Likewise.
14105         * string/test-strrchr-ifunc.c: Likewise.
14106         * string/test-strspn-ifunc.c: Likewise.
14107         * string/test-strstr-ifunc.c: Likewise.
14108
14109 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14110
14111         * benchtests/Makefile: Remove ifunc tests.
14112         * benchtests/bench-string.h: Define TEST_IFUNC.
14113         * benchtests/bench-bcopy-ifunc.c: Remove.
14114         * benchtests/bench-bzero-ifunc.c: Likewise.
14115         * benchtests/bench-memccpy-ifunc.c: Likewise.
14116         * benchtests/bench-memchr-ifunc.c: Likewise.
14117         * benchtests/bench-memcmp-ifunc.c: Likewise.
14118         * benchtests/bench-memcpy-ifunc.c: Likewise.
14119         * benchtests/bench-memmem-ifunc.c: Likewise.
14120         * benchtests/bench-memmove-ifunc.c: Likewise.
14121         * benchtests/bench-mempcpy-ifunc.c: Likewise.
14122         * benchtests/bench-memrchr-ifunc.c: Likewise.
14123         * benchtests/bench-memset-ifunc.c: Likewise.
14124         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14125         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14126         * benchtests/bench-stpcpy-ifunc.c: Likewise.
14127         * benchtests/bench-stpncpy-ifunc.c: Likewise.
14128         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14129         * benchtests/bench-strcasestr-ifunc.c: Likewise.
14130         * benchtests/bench-strcat-ifunc.c: Likewise.
14131         * benchtests/bench-strchr-ifunc.c: Likewise.
14132         * benchtests/bench-strchrnul-ifunc.c: Likewise.
14133         * benchtests/bench-strcmp-ifunc.c: Likewise.
14134         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14135         * benchtests/bench-strcpy-ifunc.c: Likewise.
14136         * benchtests/bench-strcspn-ifunc.c: Likewise.
14137         * benchtests/bench-strlen-ifunc.c: Likewise.
14138         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14139         * benchtests/bench-strncat-ifunc.c: Likewise.
14140         * benchtests/bench-strncmp-ifunc.c: Likewise.
14141         * benchtests/bench-strncpy-ifunc.c: Likewise.
14142         * benchtests/bench-strnlen-ifunc.c: Likewise.
14143         * benchtests/bench-strpbrk-ifunc.c: Likewise.
14144         * benchtests/bench-strrchr-ifunc.c: Likewise.
14145         * benchtests/bench-strsep-ifunc.c: Likewise.
14146         * benchtests/bench-strspn-ifunc.c: Likewise.
14147         * benchtests/bench-strstr-ifunc.c: Likewise.
14148
14149 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14150
14151         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14152
14153 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14154
14155         * resolv/netdb.h: Use __glibc_reserved instead __unused.
14156         * rt/aio.h: Likewise.
14157         * sysdeps/gnu/bits/utmp.h: Likewise.
14158         * sysdeps/gnu/bits/utmpx.h: Likewise.
14159         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14160         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14161         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14162         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14163         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14164         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14165         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14166         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14167         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14168         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14169         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14170         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14171         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14173         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14174         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14175         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14176         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14177         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14178         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14179         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14180         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14181         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14182         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14183         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14184         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14185         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14186         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14187         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14188         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14189         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14190         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14191         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14192         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14193         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14194         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14195         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14196         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14197         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14198         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14199         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14200         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14201
14202 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
14203
14204         [BZ #16245]
14205         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14206         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14207
14208 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
14209
14210         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14211         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14212         Likewise.
14213
14214 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14215
14216         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14217         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14218         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14219         (__fesetround): Remove define.
14220         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14221         rounding and exceptions handling.
14222         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14223         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14224         (__fe_nomask_env): Likewise.
14225         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14226         __fegetround instead of fegetround.
14227         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14228         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14229
14230 2013-11-21  Roland McGrath  <roland@hack.frob.com>
14231
14232         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14233         it's there.
14234
14235         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14236
14237 2013-11-21  Meador Inge  <meadori@codesourcery.com>
14238
14239         [BZ #11157]
14240         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14241         (encrypt_r): Likewise.
14242         * malloc/obstack.h (obstack_free): Likewise.
14243         * posix/unistd.h (encrypt): Likewise.
14244
14245 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
14246
14247         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14248         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14249         DL_CALL_DT_FINI() that call the functions directly.
14250         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14251         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14252         * elf/dl-fini.c: Likewise.
14253
14254 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
14255
14256         * malloc/hooks.c (memalign_check): Add alignment rounding.
14257         * malloc/malloc.c (_mid_memalign): New function.
14258         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14259         Implement by calling _mid_memalign.
14260         * manual/probes.texi (Memory Allocation Probes): Remove
14261         memory_valloc_retry and memory_pvalloc_retry.
14262
14263 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14264
14265         * locale/programs/locarchive.c (open_archive): Add const
14266         qualifier to ARCHIVEFNAME and copy default fname to
14267         DEFAULT_FNAME.
14268
14269         [BZ #15601]
14270         * libio/tst-widetext.input: Rename Oriya to Odia.
14271         * locale/iso-639.def: Likewise.
14272
14273         * manual/probes.texi (Mathematical Function Probes): Add
14274         documentation for sin, cos, asin and acos probes.
14275         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14276         (__sin32): Add slowasin probe.
14277         (__cos32): Add slowacos probe.
14278         (__mpsin): Add slowsin probe.
14279         (__mpcos): Add slowcos probe.
14280
14281 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
14282
14283         [BZ #15483]
14284         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14285         thread-local __sim_exceptions_thread and global
14286         __sim_exceptions_global.
14287         (__sim_disabled_exceptions): Change to thread-local
14288         __sim_disabled_exceptions_thread and global
14289         __sim_disabled_exceptions_global.
14290         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14291         and global __sim_round_mode_global.
14292         (__simulate_exceptions): Use thread-local floating-point state and
14293         set global state from it as needed.
14294         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14295         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14296         __sim_round_mode_thread.
14297         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14298         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14299         and global __sim_exceptions_global.
14300         (__sim_disabled_exceptions): Change to thread-local
14301         __sim_disabled_exceptions_thread and global
14302         __sim_disabled_exceptions_global.
14303         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14304         and global __sim_round_mode_global.
14305         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14306         (SIM_SET_GLOBAL): Likewise.
14307         * sysdeps/powerpc/soft-fp/sfp-machine.h
14308         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14309         __sim_round_mode_thread.
14310         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14311         __sim_disabled_exceptions_thread.
14312         (__sim_exceptions): Change to __sim_exceptions_thread.
14313         (__sim_disabled_exceptions): Change to
14314         __sim_disabled_exceptions_thread.
14315         (__sim_round_mode): Change to __sim_round_mode_thread.
14316         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14317         thread-local floating-point state and set global state from it as
14318         needed.
14319         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14320         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14321         (__sim_disabled_exceptions): Remove extern declaration.
14322         (feenableexcept): Use thread-local floating-point state and set
14323         global state from it as needed.
14324         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14325         extern declaration.
14326         (__sim_disabled_exceptions): Likewise.
14327         (__sim_round_mode): Likewise.
14328         (__fegetenv): Use thread-local floating-point state.
14329         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14330         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14331         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14332         floating-point state and set global state from it as needed.
14333         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14334         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14335         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14336         Likewise.
14337         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14338         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14339         Likewise.
14340         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14341         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14342         Use __sim_round_mode_thread.
14343         * math/test-fenv-tls.c: New file.
14344         * math/Makefile (tests): Add test-fenv-tls.
14345         ($(objpfx)test-fenv-tls): Depend on
14346         $(common-objpfx)nptl/libpthread.so.
14347
14348 2013-11-19  Andreas Schwab  <schwab@suse.de>
14349
14350         * locale/programs/locale.c (show_info): Decode wordarray elements.
14351         * locale/categories.def (LC_MONETARY): Add element for
14352         _NL_MONETARY_CRNCYSTR.
14353         * locale/C-monetary.c (conversion_rate): New variable.
14354         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14355         element.
14356
14357 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
14358
14359         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14360         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14361
14362 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
14363
14364         * elf/Makefile (tst-auxv): New test.
14365         * elf/tst-auxv.c: New
14366         * elf/rtld.c (dl_main): Adjust AT_EXECFN
14367
14368 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
14369
14370         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14371         (hidden_proto): Caller changed.
14372         (hidden_tls_proto): New macro.
14373         (libc_hidden_tls_proto): Likewise.
14374         (rtld_hidden_tls_proto): Likewise.
14375         (libm_hidden_tls_proto): Likewise.
14376         (libresolv_hidden_tls_proto): Likewise.
14377         (librt_hidden_tls_proto): Likewise.
14378         (libdl_hidden_tls_proto): Likewise.
14379         (libnss_files_hidden_tls_proto): Likewise.
14380         (libnsl_hidden_tls_proto): Likewise.
14381         (libnss_nisplus_hidden_tls_proto): Likewise.
14382         (libutil_hidden_tls_proto): Likewise.
14383
14384 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
14385
14386         [BZ #10253]
14387         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14388         (decompose_rpath): Defer expansion to fillin_rpath.
14389         (_dl_init_paths): Pass linkmap to fillin_rpath.
14390
14391 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14392
14393         * benchtests/Makefile: Add strsep.
14394         * benchtests/bench-strsep.c: New file: strsep benchtest.
14395         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14396
14397 2013-11-18  Andreas Schwab  <schwab@suse.de>
14398
14399         * locale/programs/locale.c (show_info) [case byte]: Check for
14400         '\377' instead of '\177'.
14401         * locale/C-monetary.c (not_available): Always use "\377".
14402         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14403         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
14404         detect unavailable sign_posn locale elements.
14405         * locale/localeconv.c (__localeconv): For grouping and
14406         mon_grouping handle "\177" and "\377" like no grouping.
14407         (INT_ELEM): New macro.  Use it to set all numeric members.
14408         * locale/programs/ld-monetary.c (monetary_read)
14409         <tok_mon_grouping>: Normalize single -1 to the empty string.
14410         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14411         Likewise.
14412
14413 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14414
14415         [BZ #16055]
14416         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14417         when we match (nil).
14418         * stdio-common/tst-sscanf.c (struct test): Add testcase.
14419
14420 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
14421
14422         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14423         (NO_TEST_INLINE): Update value.
14424         (ERRNO_UNCHANGED): Likewise.
14425         (ERRNO_EDOM): Likewise.
14426         (ERRNO_ERANGE): Likewise.
14427         (IGNORE_RESULT): Likewise.
14428         (check_float_internal): Check signs of NaN results if
14429         TEST_NAN_SIGN used.
14430         (check_complex): Pass TEST_NAN_SIGN flag through to second
14431         check_float_internal call.
14432         (copysign_test_data): Add tests with quiet NaNs as second
14433         argument.  Use TEST_NAN_SIGN.
14434         (fabs_test_data): Add test of negative quiet NaN argument.  Use
14435         TEST_NAN_SIGN.
14436         (signbit_test_data): Add tests of quiet NaN argument.
14437         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14438
14439         * math/gen-libm-test.pl (show_exceptions): Take extra argument
14440         $ignore_result.
14441         (parse_args): Handle function results specified as IGNORE.
14442         * math/libm-test.inc (IGNORE_RESULT): New macro.
14443         (check_float_internal): Do not check numerical result if flag
14444         IGNORE_RESULT set.
14445         (check_complex): Pass through IGNORE_RESULT to second
14446         check_float_internal call.
14447         (check_int): Do not check numerical result if flag IGNORE_RESULT
14448         set.
14449         (check_long): Likewise.
14450         (check_bool): Likewise.
14451         (check_longlong): Likewise.
14452         (lrint_test_data): Add tests of infinite and NaN arguments.
14453         (lrint_tonearest_test_data): Likewise.
14454         (lrint_towardzero_test_data): Likewise.
14455         (lrint_downward_test_data): Likewise.
14456         (lrint_upward_test_data): Likewise.
14457         (llrint_test_data): Likewise.
14458         (llrint_tonearest_test_data): Likewise.
14459         (llrint_towardzero_test_data): Likewise.
14460         (llrint_downward_test_data): Likewise.
14461         (llrint_upward_test_data): Likewise.
14462         (lround_test_data): Likewise.
14463         (llround_test_data): Likewise.
14464
14465         * math/libm-test.inc (NO_TEST_INLINE): New macro.
14466         (ERRNO_UNCHANGED): Update value.
14467         (ERRNO_EDOM): Likewise.
14468         (ERRNO_ERANGE): Likewise.
14469         (NO_TEST_INLINE_FLOAT): New macro.
14470         (NO_TEST_INLINE_DOUBLE): Likewise.
14471         (enable_test): New function.
14472         (RUN_TEST_f_f): Check enable_test before running test.
14473         (RUN_TEST_2_f): Likewise.
14474         (RUN_TEST_fff_f): Likewise.
14475         (RUN_TEST_c_f): Likewise.
14476         (RUN_TEST_f_f1): Likewise.
14477         (RUN_TEST_fF_f1): Likewise.
14478         (RUN_TEST_fI_f1): Likewise.
14479         (RUN_TEST_ffI_f1): Likewise.
14480         (RUN_TEST_c_c): Likewise.
14481         (RUN_TEST_cc_c): Likewise.
14482         (RUN_TEST_f_i): Likewise.
14483         (RUN_TEST_f_i_tg): Likewise.
14484         (RUN_TEST_ff_i_tg): Likewise.
14485         (RUN_TEST_f_b): Likewise.
14486         (RUN_TEST_f_b_tg): Likewise.
14487         (RUN_TEST_f_l): Likewise.
14488         (RUN_TEST_f_L): Likewise.
14489         (RUN_TEST_fFF_11): Likewise.
14490         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14491         conditionals.
14492         (cosh_test_data): Likewise.
14493         (exp_test_data): Likewise.
14494         (expm1_test_data): Likewise.
14495         (hypot_test_data): Likewise.
14496         (pow_test_data): Likewise.
14497         (sinh_test_data): Likewise.
14498         (tanh_test_data): Likewise.
14499         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14500         flags argument.
14501
14502         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14503         tests with quiet NaN input and output.
14504         (acosh_test_data): Likewise.
14505         (asin_test_data): Likewise.
14506         (asinh_test_data): Likewise.
14507         (atan_test_data): Likewise.
14508         (atanh_test_data): Likewise.
14509         (atan2_test_data): Likewise.
14510         (cbrt_test_data): Likewise.
14511         (cos_test_data): Likewise.
14512         (cosh_test_data): Likewise.
14513         (erf_test_data): Likewise.
14514         (erfc_test_data): Likewise.
14515         (exp_test_data): Likewise.
14516         (exp10_test_data): Likewise.
14517         (exp2_test_data): Likewise.
14518         (expm1_test_data): Likewise.
14519         (hypot_test_data): Likewise.
14520         (j0_test_data): Likewise.
14521         (j1_test_data): Likewise.
14522         (jn_test_data): Likewise.
14523         (lgamma_test_data): Likewise.
14524         (log_test_data): Likewise.
14525         (log10_test_data): Likewise.
14526         (log1p_test_data): Likewise.
14527         (log2_test_data): Likewise.
14528         (pow_test_data): Likewise.
14529         (scalb_test_data): Likewise.
14530         (sin_test_data): Likewise.
14531         (sincos_test_data): Likewise.
14532         (sinh_test_data): Likewise.
14533         (tan_test_data): Likewise.
14534         (tanh_test_data): Likewise.
14535         (tgamma_test_data): Likewise.
14536         (y0_test_data): Likewise.
14537         (y1_test_data): Likewise.
14538         (yn_test_data): Likewise.
14539
14540         [BZ #16167]
14541         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14542         argument being NaN and avoid computations with second argument in
14543         that case.
14544         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14545         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14546         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14547
14548 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
14549
14550         * locale/iso-639.def: Add Chitwani Tharu (the).
14551
14552 2013-11-14  Andreas Schwab  <schwab@suse.de>
14553
14554         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14555         word instead of empty string.
14556
14557 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14558
14559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14560         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14562         (__fe_nomask_env): Likewise.
14563
14564 2013-11-13  Steve Ellcey  <sellcey@mips.com>
14565
14566         * benchtests/bench-timing.h: Include time.h.
14567
14568 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
14569
14570         [BZ #15997]
14571         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14572         to 3.4.0 for x32.
14573         * sysdeps/unix/sysv/linux/configure: Regenerated.
14574
14575 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
14576
14577         [BZ #16151]
14578         * stdlib/strtod_l.c (round_and_return): Do not consider
14579         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14580         exponent one less than half the least subnormal exponent.
14581         * stdlib/test-strtod-round-data: Add more tests.
14582         * stdlib/tst-strtod-round.c (tests): Regenerated.
14583
14584 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14585
14586         [BZ #14143]
14587         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14588         (__fe_mask_env): Likewise.
14589         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14590         libm_hidden_proto and add function prototype.
14591         (__fe_mask_env): Add function prototype.
14592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14593         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14595         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14597         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14598
14599 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14600
14601         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14602         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14603
14604 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14605
14606         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14607         of htab_find_slot().
14608
14609 2013-11-11  David S. Miller  <davem@davemloft.net>
14610
14611         [BZ #16150]
14612         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14613         symbol in the non-vis3 case in static builds.
14614         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14615         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14616         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14617         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14618
14619 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
14620
14621         [BZ #387]
14622         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14623         it is empty.
14624
14625 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14626
14627         * benchtests/Makefile: Add bench-strtod.
14628         * benchtests/bench-strtod.c: New file: strtod benchtest
14629
14630 2013-11-11  Andreas Schwab  <schwab@suse.de>
14631
14632         [BZ #16153]
14633         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14634         terminating NUL in key length.
14635
14636 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14637
14638         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14639         Add artificial ODP entry for vDSO symbol for PPC64.
14640         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14641         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14642
14643 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14644
14645         [BZ #15374]
14646         * nss/getent.c (services_keys): Recognize services starting with digit.
14647
14648 2013-11-06  David S. Miller  <davem@davemloft.net>
14649
14650         [BZ #15985]
14651         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14652         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14653
14654 2013-11-06  Will Newton  <will.newton@linaro.org>
14655
14656         * manual/memory.texi (Malloc Examples): Remove register
14657         keyword from examples.
14658
14659 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
14660
14661         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14662
14663 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
14664
14665         [BZ #6981]
14666         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14667         depending on [__GCC_IEC_559 > 0].
14668         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14669         depending on [__GCC_IEC_559_COMPLEX > 0].
14670
14671 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
14672
14673         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14674         to iso-639.def.
14675
14676 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
14677
14678         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14679
14680 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
14681
14682         [BZ #16112]
14683         * malloc/malloc (malloc_info): Do not handle first bin as
14684         special case.
14685
14686 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
14687
14688         * locale/iso-639.def: Add Central Nahuatl (nhn).
14689
14690 2013-11-01  Bruno Haible  <bruno@clisp.org>
14691
14692         [BZ #7003]
14693         * manual/math.texi (BSD Random): Specify range upper bound as
14694         in POSIX.
14695
14696 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
14697
14698         * locale/iso-639.def: Add Meadow Mari (mhr).
14699
14700 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
14701
14702         [BZ #14752], [BZ #15763]
14703         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14704         Validate name.
14705         * rt/tst_shm.c: Add test for escaping directory.
14706
14707 2013-10-31  Andreas Schwab  <schwab@suse.de>
14708
14709         [BZ #15917]
14710         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14711         followed by 'x' as part of digit sequence.
14712         * stdio-common/tst-sscanf.c (double_tests2): New tests.
14713
14714 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14715
14716         [BZ #16037]
14717         * configure.ac: allow GNU Make 4.0 and greater.
14718         * configure: Regenerated.
14719
14720 2013-10-30  Will Newton  <will.newton@linaro.org>
14721
14722         [BZ #16038]
14723         * malloc/hooks.c (memalign_check): Limit alignment to the
14724         maximum representable power of two.
14725         * malloc/malloc.c (__libc_memalign): Likewise.
14726         * malloc/tst-memalign.c (do_test): Add test for very
14727         large alignment values.
14728         * malloc/tst-posix_memalign.c (do_test): Likewise.
14729
14730 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
14731
14732         [BZ #11087]
14733         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14734         (munmap_chunk): Likewise.
14735         (mremap_chunk): Likewise.
14736
14737 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
14738
14739         [BZ #15799]
14740         * stdlib/div.c (div): Remove obsolete code.
14741         * stdlib/ldiv.c (ldiv): Likewise.
14742         * stdlib/lldiv.c (lldiv): Likewise.
14743
14744 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14745
14746         [BZ #16071]
14747         * nss/nss_files/files-XXX.c (get_contents_ret): New
14748         enumerator.
14749         (get_contents): New function.
14750         (internal_getent): Use it.  Expand size of LINEBUFLEN.
14751
14752 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
14753
14754         * configure.in: Moved to ...
14755         * configure.ac: ... here. Change reference to configure.in
14756         to configure.ac.
14757         * sysdeps/arm/preconfigure.ac: ... here.
14758         configure.in to configure.ac.
14759         * sysdeps/gnu/configure.in: Moved to ...
14760         * sysdeps/gnu/configure.ac: ... here.
14761         * sysdeps/i386/configure.in: Moved to ...
14762         * sysdeps/i386/configure.ac: ... here.
14763         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14764         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14765         * sysdeps/mach/configure.in: Moved to ...
14766         * sysdeps/mach/configure.ac: ... here.
14767         * sysdeps/mach/hurd/configure.in: Moved to ...
14768         * sysdeps/mach/hurd/configure.ac: ... here.
14769         * sysdeps/powerpc/configure.in: Moved to ...
14770         * sysdeps/powerpc/configure.ac: ... here.
14771         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14772         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14773         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14774         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14775         * sysdeps/s390/s390-32/configure.in: Moved to ...
14776         * sysdeps/s390/s390-32/configure.ac: ... here.
14777         * sysdeps/s390/s390-64/configure.in: Moved to ...
14778         * sysdeps/s390/s390-64/configure.ac: ... here.
14779         * sysdeps/sh/configure.in: Moved to ...
14780         * sysdeps/sh/configure.ac: ... here.
14781         * sysdeps/sparc/configure.in: Moved to ...
14782         * sysdeps/sparc/configure.ac: ... here.
14783         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14784         * sysdeps/unix/sysv/linux/configure.ac: ... here.
14785         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14786         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14787         * sysdeps/x86_64/configure.in: Moved to ...
14788         * sysdeps/x86_64/configure.ac: ... here.
14789         * sysdeps/x86_64/preconfigure.in: Moved to ...
14790         * sysdeps/x86_64/preconfigure.ac: ... here.
14791         * aclocal.m4: Change reference to configure.in to configure.ac.
14792         * config.h.in: Likewise.
14793         * manual/install.texi: Likewise.
14794         * manual/maint.texi: Likewise.
14795         * Makefile: Likewise.
14796         * malloc/Makefile: Likewise.
14797         * nscd/Makefile: Likewise.
14798         * Makeconfig: Change reference to configure.in and
14799         preconfigure.in to configure.ac and preconfigure.ac
14800         respectively.
14801         * INSTALL: Regenerated.
14802         * configure: Likewise.
14803         * sysdeps/gnu/configure: Likewise.
14804         * sysdeps/i386/configure: Likewise.
14805         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14806         * sysdeps/mach/configure: Likewise.
14807         * sysdeps/mach/hurd/configure: Likewise.
14808         * sysdeps/powerpc/configure: Likewise.
14809         * sysdeps/powerpc/powerpc32/configure: Likewise.
14810         * sysdeps/powerpc/powerpc64/configure: Likewise.
14811         * sysdeps/s390/s390-32/configure: Likewise.
14812         * sysdeps/s390/s390-64/configure: Likewise.
14813         * sysdeps/sh/configure: Likewise.
14814         * sysdeps/sparc/configure: Likewise.
14815         * sysdeps/unix/sysv/linux/configure: Likewise.
14816         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14817         * sysdeps/x86_64/configure: Likewise.
14818         * sysdeps/x86_64/preconfigure: Likewise.
14819
14820 2013-10-29  Andreas Schwab  <schwab@suse.de>
14821
14822         * stdio-common/Makefile (tst-swscanf-ENV): Define.
14823
14824 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14825
14826         * benchtests/pow-inputs: Add new inputs.
14827
14828         * benchtests/exp-inputs: Add new inputs.
14829
14830         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14831         conditional check for return value.
14832         (__cos32): Likewise.
14833
14834 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14835
14836         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14837         to provide a boost for large inputs with word alignment.
14838         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14839         implementation based on optimized PPC64 strcpy.
14840         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14841         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14842         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14843         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14844
14845 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
14846
14847         [BZ #2801]
14848         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14849
14850 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
14851
14852         [BZ #14876]
14853         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14854         * time/tst-strptime.c (day_tests): Add testcase.
14855
14856 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
14857
14858         [BZ #14029]
14859         * manual/pattern.texi: Acknowledge that fnmatch can fail.
14860
14861 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
14862
14863         [BZ #16074]
14864         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14865         MAP_FAILED on error.
14866
14867 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14868
14869         [BZ #16072]
14870         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14871         heap for large requests.
14872
14873 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
14874
14875         [BZ #9954]
14876         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14877         result if the result has no associated interface.
14878         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14879         interface for all 127.X.Y.Z addresses.
14880
14881 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
14882
14883         * locale/iso-639.def: Add Ligurian (lij)
14884
14885 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
14886
14887         [BZ #15825]
14888         * sunrpc/rpc_main.c: Document rpcgen -5.
14889
14890 2013-10-19  Michael Stahl  <mstahl@redhat.com>
14891
14892         * elf/rtld.c (do_preload): Print the reason why preloading failed.
14893
14894 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
14895
14896         [BZ #10278]
14897         * posix/glob.c: Match only directories when trailing slash is present.
14898         * posix/tst-gnuglob.c (my_opendir): Do not open files.
14899         (main): Add testcase.
14900
14901 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
14902
14903         [BZ #15670]
14904         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14905
14906 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
14907
14908         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14909         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14910         AUTH_DES and cindex for FIPS 140-2.
14911         (DES Encryption): Add cindex FIPS 46-3.
14912
14913         * locale/locarchive.h (struct locarhandle): Add fname.
14914         * locale/programs/localedef.c (main): Pass ARGV[remaining]
14915         if an optional argument was specified to --list-archive,
14916         otherwise NULL.
14917         * locale/programs/locarchive.c (show_archive_content): Take new
14918         argument fname and pass it via ah.fname to open_archive.
14919         * locale/programs/localedef.h: Update decl.
14920         (open_archive): If AH->fname is non-null, open that file
14921         rather than the default file name, and don't ignore ENOENT.
14922         (create_archive): Set AH.fname to NULL.
14923         (delete_locales_from_archive): Likewise.
14924         (add_locales_to_archive): Likewise.
14925         * locale/programs/locfile.c (write_all_categories): Likewise.
14926
14927 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
14928             Aldy Hernandez  <aldyh@redhat.com>
14929
14930         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14931         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14932         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14933         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14934         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14935         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14936         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14937         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14938         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14939         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14940         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14941         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14942         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14943         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14944         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14945         Likewise.
14946         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14947         Likewise.
14948         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14949         Likewise.
14950         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14951         Likewise.
14952         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14953         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14954         Likewise.
14955         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14956         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14957         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14958         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14959         Likewise.
14960         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14961         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14962         * sysdeps/powerpc/preconfigure: Likewise.
14963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14964         Likewise.
14965         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14966         Replace contents of file by #include of <fenv_libc.h>.
14967         * sysdeps/powerpc/soft-fp/sfp-machine.h
14968         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14969         and <sys/prctl.h>.
14970         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14971         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14972         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14973         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14974         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14975         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14976         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14977         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14978         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14979         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14980         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14981         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14983         Allow copysignl PLT reference to be missing.
14984
14985 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
14986             Joseph Myers  <joseph@codesourcery.com
14987
14988         [BZ #15948]
14989         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14990         single character.
14991         (add_to_tablewc): Assert sequence of wide characters is nonempty.
14992
14993 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14994
14995         * elf/tst-tls-dlinfo.c: Don't include tls.h.
14996         * elf/tst-tls1.c: Likewise.
14997         * elf/tst-tls10.h: Likewise.
14998         * elf/tst-tls14.c: Likewise.
14999         * elf/tst-tls2.c: Likewise.
15000         * elf/tst-tls3.c: Likewise.
15001         * elf/tst-tls4.c: Likewise.
15002         * elf/tst-tls5.c: Likewise.
15003         * elf/tst-tls6.c: Likewise.
15004         * elf/tst-tls7.c: Likewise.
15005         * elf/tst-tls8.c: Likewise.
15006         * elf/tst-tls9.c: Likewise.
15007         * elf/tst-tlsmod1.c: Likewise.
15008         * elf/tst-tlsmod13.c: Likewise.
15009         * elf/tst-tlsmod13a.c: Likewise.
15010         * elf/tst-tlsmod14a.c: Likewise.
15011         * elf/tst-tlsmod16a.c: Likewise.
15012         * elf/tst-tlsmod16b.c: Likewise.
15013         * elf/tst-tlsmod2.c: Likewise.
15014         * elf/tst-tlsmod3.c: Likewise.
15015         * elf/tst-tlsmod4.c: Likewise.
15016         * elf/tst-tlsmod5.c: Likewise.
15017         * elf/tst-tlsmod6.c: Likewise.
15018
15019 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
15020
15021         [BZ #12486]
15022         * malloc/malloc.c: remove checks for statistics.
15023
15024 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15025
15026         [BZ #15277]
15027         * inet/inet_net.c (inet_network): Detect additional invalid strings.
15028         * inet/tst-network.c: Add testcase.
15029
15030 2013-10-17  Andreas Schwab  <schwab@suse.de>
15031
15032         [BZ #15218]
15033         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15034         to determine canonical name.
15035
15036 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15037
15038         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15039         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15040         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15041         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15042         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15043         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15044         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15045         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15046         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15047         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15048         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15049         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15050         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15051         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15052         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15053         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15054         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15055         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15056         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15057         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15058         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15059         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15060         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15061         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15062         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15063         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15064         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15065         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15066         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15067         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15068         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15069         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15070         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15071         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15072         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15073         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15074         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15075         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15076         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15077         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15078         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15079         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15080         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15081         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15082         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15083         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15084         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15085         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15086         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15087         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15088         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15089         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15090         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15091         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15092         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15093         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15094         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15095         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15096
15097 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
15098
15099         [BZ #16041]
15100         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15101         make result into a quiet NaN.
15102
15103 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
15104
15105         * soft-fp/adddf3.c: Fix horizontal whitespace.
15106         * soft-fp/addsf3.c: Likewise.
15107         * soft-fp/addtf3.c: Likewise.
15108         * soft-fp/divdf3.c: Likewise.
15109         * soft-fp/divsf3.c: Likewise.
15110         * soft-fp/divtf3.c: Likewise.
15111         * soft-fp/double.h: Likewise.
15112         * soft-fp/eqdf2.c: Likewise.
15113         * soft-fp/eqsf2.c: Likewise.
15114         * soft-fp/eqtf2.c: Likewise.
15115         * soft-fp/extenddftf2.c: Likewise.
15116         * soft-fp/extended.h: Likewise.
15117         * soft-fp/extendsfdf2.c: Likewise.
15118         * soft-fp/extendsftf2.c: Likewise.
15119         * soft-fp/extendxftf2.c: Likewise.
15120         * soft-fp/fixdfdi.c: Likewise.
15121         * soft-fp/fixdfsi.c: Likewise.
15122         * soft-fp/fixdfti.c: Likewise.
15123         * soft-fp/fixsfdi.c: Likewise.
15124         * soft-fp/fixsfsi.c: Likewise.
15125         * soft-fp/fixsfti.c: Likewise.
15126         * soft-fp/fixtfdi.c: Likewise.
15127         * soft-fp/fixtfsi.c: Likewise.
15128         * soft-fp/fixtfti.c: Likewise.
15129         * soft-fp/fixunsdfdi.c: Likewise.
15130         * soft-fp/fixunsdfsi.c: Likewise.
15131         * soft-fp/fixunsdfti.c: Likewise.
15132         * soft-fp/fixunssfdi.c: Likewise.
15133         * soft-fp/fixunssfsi.c: Likewise.
15134         * soft-fp/fixunssfti.c: Likewise.
15135         * soft-fp/fixunstfdi.c: Likewise.
15136         * soft-fp/fixunstfsi.c: Likewise.
15137         * soft-fp/fixunstfti.c: Likewise.
15138         * soft-fp/floatdidf.c: Likewise.
15139         * soft-fp/floatdisf.c: Likewise.
15140         * soft-fp/floatditf.c: Likewise.
15141         * soft-fp/floatsidf.c: Likewise.
15142         * soft-fp/floatsisf.c: Likewise.
15143         * soft-fp/floatsitf.c: Likewise.
15144         * soft-fp/floattidf.c: Likewise.
15145         * soft-fp/floattisf.c: Likewise.
15146         * soft-fp/floattitf.c: Likewise.
15147         * soft-fp/floatundidf.c: Likewise.
15148         * soft-fp/floatundisf.c: Likewise.
15149         * soft-fp/floatunditf.c: Likewise.
15150         * soft-fp/floatunsidf.c: Likewise.
15151         * soft-fp/floatunsisf.c: Likewise.
15152         * soft-fp/floatunsitf.c: Likewise.
15153         * soft-fp/floatuntidf.c: Likewise.
15154         * soft-fp/floatuntisf.c: Likewise.
15155         * soft-fp/floatuntitf.c: Likewise.
15156         * soft-fp/fmadf4.c: Likewise.
15157         * soft-fp/fmasf4.c: Likewise.
15158         * soft-fp/fmatf4.c: Likewise.
15159         * soft-fp/gedf2.c: Likewise.
15160         * soft-fp/gesf2.c: Likewise.
15161         * soft-fp/getf2.c: Likewise.
15162         * soft-fp/ledf2.c: Likewise.
15163         * soft-fp/lesf2.c: Likewise.
15164         * soft-fp/letf2.c: Likewise.
15165         * soft-fp/muldf3.c: Likewise.
15166         * soft-fp/mulsf3.c: Likewise.
15167         * soft-fp/multf3.c: Likewise.
15168         * soft-fp/negdf2.c: Likewise.
15169         * soft-fp/negsf2.c: Likewise.
15170         * soft-fp/negtf2.c: Likewise.
15171         * soft-fp/op-1.h: Likewise.
15172         * soft-fp/op-2.h: Likewise.
15173         * soft-fp/op-4.h: Likewise.
15174         * soft-fp/op-8.h: Likewise.
15175         * soft-fp/op-common.h: Likewise.
15176         * soft-fp/quad.h: Likewise.
15177         * soft-fp/single.h: Likewise.
15178         * soft-fp/soft-fp.h: Likewise.
15179         * soft-fp/sqrtdf2.c: Likewise.
15180         * soft-fp/sqrtsf2.c: Likewise.
15181         * soft-fp/sqrttf2.c: Likewise.
15182         * soft-fp/subdf3.c: Likewise.
15183         * soft-fp/subsf3.c: Likewise.
15184         * soft-fp/subtf3.c: Likewise.
15185         * soft-fp/truncdfsf2.c: Likewise.
15186         * soft-fp/trunctfdf2.c: Likewise.
15187         * soft-fp/trunctfsf2.c: Likewise.
15188         * soft-fp/trunctfxf2.c: Likewise.
15189         * soft-fp/unorddf2.c: Likewise.
15190         * soft-fp/unordsf2.c: Likewise.
15191         * soft-fp/unordtf2.c: Likewise.
15192
15193 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
15194
15195         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15196         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15197
15198 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
15199
15200         * elf/dl-libc.c: Clear initfini list after freeing.
15201
15202 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
15203
15204         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15205         * soft-fp/addsf3.c: Likewise.
15206         * soft-fp/addtf3.c: Likewise.
15207         * soft-fp/divdf3.c: Likewise.
15208         * soft-fp/divsf3.c: Likewise.
15209         * soft-fp/divtf3.c: Likewise.
15210         * soft-fp/double.h: Likewise.
15211         * soft-fp/eqdf2.c: Likewise.
15212         * soft-fp/eqsf2.c: Likewise.
15213         * soft-fp/eqtf2.c: Likewise.
15214         * soft-fp/extenddftf2.c: Likewise.
15215         * soft-fp/extended.h: Likewise.
15216         * soft-fp/extendsfdf2.c: Likewise.
15217         * soft-fp/extendsftf2.c: Likewise.
15218         * soft-fp/extendxftf2.c: Likewise.
15219         * soft-fp/fixdfdi.c: Likewise.
15220         * soft-fp/fixdfsi.c: Likewise.
15221         * soft-fp/fixdfti.c: Likewise.
15222         * soft-fp/fixsfdi.c: Likewise.
15223         * soft-fp/fixsfsi.c: Likewise.
15224         * soft-fp/fixsfti.c: Likewise.
15225         * soft-fp/fixtfdi.c: Likewise.
15226         * soft-fp/fixtfsi.c: Likewise.
15227         * soft-fp/fixtfti.c: Likewise.
15228         * soft-fp/fixunsdfdi.c: Likewise.
15229         * soft-fp/fixunsdfsi.c: Likewise.
15230         * soft-fp/fixunsdfti.c: Likewise.
15231         * soft-fp/fixunssfdi.c: Likewise.
15232         * soft-fp/fixunssfsi.c: Likewise.
15233         * soft-fp/fixunssfti.c: Likewise.
15234         * soft-fp/fixunstfdi.c: Likewise.
15235         * soft-fp/fixunstfsi.c: Likewise.
15236         * soft-fp/fixunstfti.c: Likewise.
15237         * soft-fp/floatdidf.c: Likewise.
15238         * soft-fp/floatdisf.c: Likewise.
15239         * soft-fp/floatditf.c: Likewise.
15240         * soft-fp/floatsidf.c: Likewise.
15241         * soft-fp/floatsisf.c: Likewise.
15242         * soft-fp/floatsitf.c: Likewise.
15243         * soft-fp/floattidf.c: Likewise.
15244         * soft-fp/floattisf.c: Likewise.
15245         * soft-fp/floattitf.c: Likewise.
15246         * soft-fp/floatundidf.c: Likewise.
15247         * soft-fp/floatundisf.c: Likewise.
15248         * soft-fp/floatunsidf.c: Likewise.
15249         * soft-fp/floatunsisf.c: Likewise.
15250         * soft-fp/floatuntidf.c: Likewise.
15251         * soft-fp/floatuntisf.c: Likewise.
15252         * soft-fp/floatuntitf.c: Likewise.
15253         * soft-fp/fmadf4.c: Likewise.
15254         * soft-fp/fmasf4.c: Likewise.
15255         * soft-fp/fmatf4.c: Likewise.
15256         * soft-fp/gedf2.c: Likewise.
15257         * soft-fp/gesf2.c: Likewise.
15258         * soft-fp/getf2.c: Likewise.
15259         * soft-fp/ledf2.c: Likewise.
15260         * soft-fp/lesf2.c: Likewise.
15261         * soft-fp/letf2.c: Likewise.
15262         * soft-fp/muldf3.c: Likewise.
15263         * soft-fp/mulsf3.c: Likewise.
15264         * soft-fp/multf3.c: Likewise.
15265         * soft-fp/negdf2.c: Likewise.
15266         * soft-fp/negsf2.c: Likewise.
15267         * soft-fp/negtf2.c: Likewise.
15268         * soft-fp/op-1.h: Likewise.
15269         * soft-fp/op-2.h: Likewise.
15270         * soft-fp/op-4.h: Likewise.
15271         * soft-fp/op-8.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.
15276         * soft-fp/sqrtdf2.c: Likewise.
15277         * soft-fp/sqrtsf2.c: Likewise.
15278         * soft-fp/sqrttf2.c: Likewise.
15279         * soft-fp/subdf3.c: Likewise.
15280         * soft-fp/subsf3.c: Likewise.
15281         * soft-fp/subtf3.c: Likewise.
15282         * soft-fp/truncdfsf2.c: Likewise.
15283         * soft-fp/trunctfdf2.c: Likewise.
15284         * soft-fp/trunctfsf2.c: Likewise.
15285         * soft-fp/trunctfxf2.c: Likewise.
15286         * soft-fp/unorddf2.c: Likewise.
15287         * soft-fp/unordsf2.c: Likewise.
15288         * soft-fp/unordtf2.c: Likewise.
15289
15290 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
15291
15292         [BZ #15672]
15293         * misc/error.c (error_tail): Fix possible buffer overflow.
15294
15295 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
15296
15297         [BZ #13028]
15298         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15299         address.
15300
15301 2013-10-14  P. J. McDermott  <pj@pehjota.net>
15302
15303         [BZ #832]
15304         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
15305         testing pipefail option.
15306
15307 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15308
15309         * soft-fp/double.h: Indent preprocessor directives inside #if.
15310         * soft-fp/extended.h: Likewise.
15311         * soft-fp/op-2.h: Likewise.
15312         * soft-fp/op-4.h: Likewise.
15313         * soft-fp/op-common.h: Likewise.
15314         * soft-fp/quad.h: Likewise.
15315         * soft-fp/single.h: Likewise.
15316         * soft-fp/soft-fp.h: Likewise.
15317
15318 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
15319
15320         * iconv/iconv_prog.c: Fix typos.
15321         * stdio-common/psiginfo-data.h: Likewise.
15322
15323 2013-10-12   Reuben Thomas <rrt@sc3d.org>
15324
15325         [BZ #15764]
15326         * locale/setlocale.c: Fix typo.
15327
15328 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15329
15330         [BZ #16036]
15331         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15332         signaling NaN arguments.
15333         * soft-fp/unordsf2.c (__unordsf2): Likewise.
15334         * soft-fp/unordtf2.c (__unordtf2): Likewise.
15335
15336         [BZ #14910]
15337         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15338         unordered operands.
15339         * soft-fp/gesf2.c (__gesf2): Likewise.
15340         * soft-fp/getf2.c (__getf2): Likewise.
15341         * soft-fp/ledf2.c (__ledf2): Likewise.
15342         * soft-fp/lesf2.c (__lesf2): Likewise.
15343         * soft-fp/letf2.c (__letf2): Likewise.
15344
15345         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15346         * soft-fp/eqsf2.c (__eqsf2): Likewise.
15347         * soft-fp/eqtf2.c (__eqtf2): Likewise.
15348         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15349         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15350         * soft-fp/fixdfti.c (__fixdfti): Likewise.
15351         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15352         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15353         * soft-fp/fixsfti.c (__fixsfti): Likewise.
15354         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15355         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15356         * soft-fp/fixtfti.c (__fixtfti): Likewise.
15357         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15358         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15359         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15360         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15361         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15362         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15363         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15364         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15365         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15366         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15367         * soft-fp/floatdisf.c (__floatdisf): Likewise.
15368         * soft-fp/floatsisf.c (__floatsisf): Likewise.
15369         * soft-fp/floattidf.c (__floattidf): Likewise.
15370         * soft-fp/floattisf.c (__floattisf): Likewise.
15371         * soft-fp/floattitf.c (__floattitf): Likewise.
15372         * soft-fp/floatundidf.c (__floatundidf): Likewise.
15373         * soft-fp/floatundisf.c (__floatundisf): Likewise.
15374         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15375         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15376         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15377         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15378         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15379         * soft-fp/gesf2.c (__gesf2): Likewise.
15380         * soft-fp/getf2.c (__getf2): Likewise.
15381         * soft-fp/ledf2.c (__ledf2): Likewise.
15382         * soft-fp/lesf2.c (__lesf2): Likewise.
15383         * soft-fp/letf2.c (__letf2): Likewise.
15384
15385         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15386         Undefine and redefine.
15387         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15388         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15389         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15390         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15391         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15392         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15393         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15394         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15395         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15396         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15397         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15398         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15399         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15400         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15401         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15402
15403         [BZ #16032]
15404         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15405         without decrementing exponent if mantissa >= that for the
15406         denominator, not >.
15407         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15408         denominator, not >.  Decrement exponent in < case instead of
15409         incrementing in >= case.
15410         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15411         without decrementing exponent if mantissa >= that for the
15412         denominator, not >.
15413
15414         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15415         computing saturated result for unsigned overflow.
15416
15417 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15418             Jeff Law  <law@redhat.com>
15419
15420         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15421         (atan2Mp): Add systemtap probe marker.
15422         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15423         (__ieee754_log): Add systemtap probe marker.
15424         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15425         (atanMp): Add systemtap probe marker.
15426         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15427         (tanMp): Add systemtap probe marker.
15428         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15429         (__slowexp): Add systemtap probe marker.
15430         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15431         (__slowpow): Add systemtap probe marker.
15432         * manual/probes.texi: Document probes.
15433
15434 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
15435
15436         [BZ #15362]
15437         * libio/fileops.c (_IO_new_file_write): Return count of bytes
15438         written.
15439         (_IO_new_file_xsputn): Don't return EOF if nothing has been
15440         written.
15441         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15442         written to buffer but not flushed.
15443         * libio/iofwrite_u.c:  Likewise.
15444         * libio/iopadn.c:  Return bytes returned even if EOF was
15445         encountered.
15446         * libio/iowpadn.c:  Likewise.
15447         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15448         if _IO_padn does not write the whole buffer.
15449         [!COMPILE_WPRINTF] (PAD): Likewise.
15450
15451 2013-10-10  David S. Miller  <davem@davemloft.net>
15452
15453         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15454         directory block.
15455
15456 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
15457
15458         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
15459         instead of FSF address.
15460         * soft-fp/fixdfti.c: Likewise.
15461         * soft-fp/fixsfti.c: Likewise.
15462         * soft-fp/fixtfti.c: Likewise.
15463         * soft-fp/fixunsdfti.c: Likewise.
15464         * soft-fp/fixunssfti.c: Likewise.
15465         * soft-fp/fixunstfti.c: Likewise.
15466         * soft-fp/floattidf.c: Likewise.
15467         * soft-fp/floattisf.c: Likewise.
15468         * soft-fp/floattitf.c: Likewise.
15469         * soft-fp/floatuntidf.c: Likewise.
15470         * soft-fp/floatuntisf.c: Likewise.
15471         * soft-fp/floatuntitf.c: Likewise.
15472         * soft-fp/trunctfxf2.c: Likewise.
15473
15474         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
15475         * soft-fp/fixdfti.c: Likewise.
15476         * soft-fp/fixsfti.c: Likewise.
15477         * soft-fp/fixtfti.c: Likewise.
15478         * soft-fp/fixunsdfti.c: Likewise.
15479         * soft-fp/fixunssfti.c: Likewise.
15480         * soft-fp/fixunstfti.c: Likewise.
15481         * soft-fp/floattidf.c: Likewise.
15482         * soft-fp/floattisf.c: Likewise.
15483         * soft-fp/floattitf.c: Likewise.
15484         * soft-fp/floatuntidf.c: Likewise.
15485         * soft-fp/floatuntisf.c: Likewise.
15486         * soft-fp/floatuntitf.c: Likewise.
15487         * soft-fp/trunctfxf2.c: Likewise.
15488
15489 2013-10-10  David S. Miller  <davem@davemloft.net>
15490
15491         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15492
15493 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
15494
15495         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15496         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15497         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15498         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15499         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15500         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15501         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15502
15503         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15504         for NaNs before doing comparisons on argument.
15505         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15506         Likewise.
15507
15508 2013-10-10  Will Newton  <will.newton@linaro.org>
15509
15510         * malloc/hooks.c (memalign_check): Ensure the value of bytes
15511         passed to _int_memalign does not overflow.
15512
15513 2013-10-10  Torvald Riegel  <triegel@redhat.com>
15514
15515         * scripts/bench.pl: Add include-sources directive.
15516         * benchtests/README: Update documentation.
15517
15518 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
15519
15520         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15521         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15522         instead of FP_INIT_ROUNDMODE.
15523         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15524         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15525
15526         [BZ #16034]
15527         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
15528         copy class of input value.
15529         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
15530         not handle exceptions.
15531         * soft-fp/negsf2.c (__negsf2): Likewise.
15532         * soft-fp/negtf2.c (__negtf2): Likewise.
15533         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15534
15535 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
15536
15537         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15538         semicolon.  From Linux kernel.
15539
15540 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
15541
15542         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15543
15544 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
15545
15546         [BZ #156]
15547         * manual/socket.texi: Added statement about buffer
15548         for gethostbyname2_r.
15549
15550 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
15551
15552         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15553         Use .p2align directive instead, throughout.
15554         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15555         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15556         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15557         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15558         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15559         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15560         * sysdeps/x86_64/strchr.S: Likewise.
15561         * sysdeps/x86_64/strrchr.S: Likewise.
15562
15563 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15564
15565         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15566
15567         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15568
15569         * sysdeps/generic/math_private.h (__mpsin1): Remove
15570         declaration.
15571         (__mpcos1): Likewise.
15572         (__mpsin): New argument __range_reduce.
15573         (__mpcos): Likewise.
15574         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15575         (slow): Use __mpsin and __mpcos.
15576         (slow1): Likewise.
15577         (slow2): Likewise.
15578         (sloww): Likewise.
15579         (sloww1): Likewise.
15580         (sloww2): Likewise.
15581         (bsloww): Likewise.
15582         (bsloww1): Likewise.
15583         (bsloww2): Likewise.
15584         (cslow2): Likewise.
15585         (csloww): Likewise.
15586         (csloww1): Likewise.
15587         (csloww2): Likewise.
15588         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15589         range_reduce.  Merge in __mpsin1.
15590         (__mpcos): Likewise.
15591         (__mpsin1): Remove.
15592         (__mpcos1): Likewise.
15593
15594 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
15595
15596         * locale/loadlocale.c (_nl_intern_locale_data): Use
15597         LOCFILE_ALIGNED_P.
15598         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15599         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15600         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15601         obstack data is appropriately aligned.
15602         (obstack_int32_grow_fast): Likewise.
15603         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15604         * locale/programs/locfile.c (add_locale_uint32): Likewise.
15605         (add_locale_uint32_array): Likewise.
15606
15607 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
15608
15609         * benchtests/Makefile: Remove ARGLIST and RET variables.
15610         ($(objpfx)bench-%.c): Pass only function name to the script.
15611         * benchtests/README: Update documentation.
15612         * benchtests/acos-inputs: Add new directives.
15613         * benchtests/acosh-inputs: Likewise.
15614         * benchtests/asin-inputs: Likewise.
15615         * benchtests/asinh-inputs: Likewise.
15616         * benchtests/atan-inputs: Likewise.
15617         * benchtests/atanh-inputs: Likewise.
15618         * benchtests/cos-inputs: Likewise.
15619         * benchtests/cosh-inputs: Likewise.
15620         * benchtests/exp-inputs: Likewise.
15621         * benchtests/log-inputs: Likewise.
15622         * benchtests/pow-inputs: Likewise.
15623         * benchtests/rint-inputs: Likewise.
15624         * benchtests/sin-inputs: Likewise.
15625         * benchtests/sinh-inputs: Likewise.
15626         * benchtests/tan-inputs: Likewise.
15627         * benchtests/tanh-inputs: Likewise.
15628         * scripts/bench.pl: Add support for new directives.
15629
15630 2013-10-07  Alan Modra  <amodra@gmail.com>
15631
15632         * README: Fix careless merge.
15633
15634 2013-10-05  Alan Modra  <amodra@gmail.com>
15635
15636         * NEWS: Mention powerpc64le support and bugs fixed.
15637         * README: Both big-endian and little-endian powerpc64 supported.
15638
15639 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15640
15641         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15642         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15643         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15644         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15645
15646 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
15647
15648         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15649         match prototype.
15650
15651 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
15652
15653         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15654         Move -mhard-float appending from
15655         ports/sysdeps/powerpc/powerpc32/Makefile.
15656         [$(with-fp) = yes] (ASFLAGS): Likewise.
15657         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15658         * sysdeps/powerpc/nofpu: Move directory from
15659         ports/sysdeps/powerpc/nofpu.
15660         * sysdeps/powerpc/soft-fp: Move directory from
15661         ports/sysdeps/powerpc/soft-fp.
15662         * sysdeps/powerpc/powerpc32/405: Move directory from
15663         ports/sysdeps/powerpc/powerpc32/405.
15664         * sysdeps/powerpc/powerpc32/440: Move directory from
15665         ports/sysdeps/powerpc/powerpc32/440.
15666         * sysdeps/powerpc/powerpc32/464: Move directory from
15667         ports/sysdeps/powerpc/powerpc32/464.
15668         * sysdeps/powerpc/powerpc32/476: Move directory from
15669         ports/sysdeps/powerpc/powerpc32/476.
15670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15671         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15673         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15675         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15677         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15679         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15680         * README: Update for powerpc-*-linux-gnu software floating point
15681         support in libc.
15682
15683         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15684         case to powerpc/powerpc32*.
15685         * sysdeps/unix/sysv/linux/configure: Regenerated.
15686
15687         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15688         (_FPU_MASK_OM): Define as 0x04.
15689         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15690         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15691         0x00c10080.
15692         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15693         0x0000003c.
15694         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15695
15696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15697         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15698         getcontext_e500.
15699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15700         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15701         setcontext_e500.
15702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15703         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15704         and setcontext_e500.
15705
15706 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
15707
15708         * locale/iso-3166.def: Update iso-1366.def and related occurrences
15709
15710 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15711
15712         * manual/threads.texi (Default Thread Attributes): Fix typo.
15713
15714 2013-10-04  Will Newton  <will.newton@linaro.org>
15715
15716         * malloc/Makefile: Add tst-memalign.
15717         * malloc/tst-memalign.c: New file.
15718
15719         * malloc/tst-posix_memalign.c: Add comments.
15720         (do_test): Add comments and call free on all potentially
15721         allocated pointers. Add space after cast.
15722
15723         * malloc/tst-pvalloc.c: Add comments.
15724         (do_test): Add comments and call free on all potentially
15725         allocated pointers. Remove duplicate check for NULL pointer.
15726         Add space after cast.
15727
15728         * malloc/tst-valloc.c: Add comments.
15729         (do_test): Add comments and call free on all potentially
15730         allocated pointers. Remove duplicate check for NULL pointer.
15731         Add space after cast.
15732
15733 2013-10-04  Alan Modra  <amodra@gmail.com>
15734
15735         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15736         Use stdint types in rather than __attribute__((mode())).
15737         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15738
15739 2013-10-04  Alan Modra  <amodra@gmail.com>
15740
15741         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15742         Correct handling of unaligned relocs for little-endian.
15743         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15744
15745 2013-10-04  Alan Modra  <amodra@gmail.com>
15746
15747         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15748         * configure: Regenerate.
15749         * nptl/shlib-versions: Powerpc*le starts at 2.18.
15750         * shlib-versions: Likewise.
15751
15752 2013-10-04  Alan Modra  <amodra@gmail.com>
15753
15754         * string/tester.c (test_memrchr): Increment reported test cycle.
15755
15756 2013-10-04  Alan Modra  <amodra@gmail.com>
15757
15758         * string/test-memcpy.c (do_one_test): When reporting errors, print
15759         string address and don't overrun end of string.
15760
15761 2013-10-04  Alan Modra  <amodra@gmail.com>
15762
15763         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15764         insrdi.  Make better use of reg selection to speed exit slightly.
15765         Schedule entry path a little better.  Remove useless "are we done"
15766         checks on entry to main loop.  Handle wrapping around zero address.
15767         Correct main loop count.  Handle single left-over word from main
15768         loop inline rather than by using loop_small.  Remove extra word
15769         case in loop_small caused by wrong loop count.  Add little-endian
15770         support.
15771         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15772         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
15773         cache hint.
15774         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15775         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15776         support.  Avoid rlwimi.
15777         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15778
15779 2013-10-04  Alan Modra  <amodra@gmail.com>
15780
15781         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15782         insrdi.  Formatting.
15783         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15784         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15785         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15786         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15787         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15788         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15789
15790 2013-10-04  Alan Modra  <amodra@gmail.com>
15791
15792         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15793         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15794         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15795         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15796         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15797         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15798         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15799         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15800         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
15801         use of regs.  Use power7 mtocrf.  Tidy function tails.
15802
15803 2013-10-04  Alan Modra  <amodra@gmail.com>
15804
15805         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15806         Formatting.  Consistently use rXXX register defines or rN defines.
15807         Use early exit labels that avoid restoring unused non-volatile regs.
15808         Make cr field use more consistent with rWORDn compares.  Rename
15809         regs used as shift registers for unaligned loop, using rN defines
15810         for short lifetime/multiple use regs.
15811         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15812         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
15813         addi 1,1,64 to pop stack frame.  Simplify return value code.
15814         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15815
15816 2013-10-04  Alan Modra  <amodra@gmail.com>
15817
15818         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15819         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
15820         rather than rlwimi.
15821         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15822         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15823         little-endian support.  Correct typos.
15824         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
15825         rather than rlwimi.
15826         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
15827         in loop and entry code to keep "and." results.
15828         (strchr): Add little-endian support.  Comment.  Move cntlzd
15829         earlier in tail.
15830         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15831
15832 2013-10-04  Alan Modra  <amodra@gmail.com>
15833
15834         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15835         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15836         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15837         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15838
15839 2013-10-04  Alan Modra  <amodra@gmail.com>
15840
15841         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15842         (rTMP): Define as r11.
15843         (strcmp): Add little-endian support.  Optimise tail.
15844         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15845         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15846         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15847         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15848         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15849         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15850         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15851
15852 2013-10-04  Alan Modra  <amodra@gmail.com>
15853
15854         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15855         little-endian support.  Remove unnecessary "are we done" tests.
15856         Handle "s" wrapping around zero and extremely large "size".
15857         Correct main loop count.  Handle single left-over word from main
15858         loop inline rather than by using small_loop.  Correct comments.
15859         Delete "zero" tail, use "end_max" instead.
15860         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15861
15862 2013-10-04  Alan Modra  <amodra@gmail.com>
15863
15864         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15865         support.  Don't branch over align.
15866         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15867         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15868         support.  Rearrange tmp reg use to suit.  Comment.
15869         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15870
15871 2013-10-04  Alan Modra  <amodra@gmail.com>
15872
15873         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15874
15875 2013-10-04  Alan Modra  <amodra@gmail.com>
15876
15877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15878         conditional form of branch and link when obtaining pc.
15879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15880
15881 2013-10-04  Alan Modra  <amodra@gmail.com>
15882
15883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15884         HIWORD/LOWORD.
15885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15887
15888 2013-10-04  Alan Modra  <amodra@gmail.com>
15889
15890         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15891         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15892         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15893         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15894         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15895         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15896         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15897         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15898         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15899         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15900
15901 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15902             Alistair Popple <alistair@ozlabs.au.ibm.com>
15903             Alan Modra <amodra@gmail.com>
15904
15905         [BZ #15723]
15906         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15907         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15908         _dl_hwcap access for little-endian.
15909         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
15910         destroy vmx regs when saving unaligned.
15911         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15912         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
15913         destroy vmx regs when saving unaligned.
15914
15915 2013-10-04  Alan Modra  <amodra@gmail.com>
15916
15917         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15918         Don't use a union to pack hi/low value.
15919
15920 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15921
15922         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15923         for little-endian.
15924         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15925         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15926         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15927         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15928         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15929
15930 2013-10-04  Alan Modra  <amodra@gmail.com>
15931
15932         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15933         constants to usual value for .cst8 section, and remove redundant
15934         high address load.
15935         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15936         constant for 0x1p52.  Load little-endian words of double from
15937         correct stack offsets.
15938
15939 2013-10-04  Alan Modra  <amodra@gmail.com>
15940
15941         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15942         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15943         words of double from correct stack offsets.
15944         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15945         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15946         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15947         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15948         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15949         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15950         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15951         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15952         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15953         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15954         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15955         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15956         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15957         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15958         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15959         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15960         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15961
15962 2013-10-04  Alan Modra  <amodra@gmail.com>
15963
15964         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15965         64-bit int/double union.
15966         (_FPU_SETCW): Likewise.
15967         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15968         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15969
15970 2013-10-04  Alan Modra  <amodra@gmail.com>
15971
15972         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15973         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15974
15975 2013-10-04  Alan Modra  <amodra@gmail.com>
15976
15977         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15978         use vector int constants.
15979         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15980
15981 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15982
15983         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15984         array with long long.
15985         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15986         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15987         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15988         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15989         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15990         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15991         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15992         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15993         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15994         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15995         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15996         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15997         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15998
15999 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16000
16001         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16002         (__signbit): Likewise.  Correct for little-endian.
16003         (__signbitl): Call __signbit.
16004         (lrint): Correct for little-endian.
16005         (lrintf): Call lrint.
16006
16007 2013-10-04  Alan Modra  <amodra@gmail.com>
16008
16009         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16010         union 32-bit int array member with 64-bit int array.
16011         (t515, tm256): Double rather than long double.
16012         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16013
16014 2013-10-04  Alan Modra  <amodra@gmail.com>
16015
16016         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16017         Delete.
16018         (IEEE854_LONG_DOUBLE_BIAS): Delete.
16019         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16020         version of math_ldbl.h.
16021
16022 2013-10-04  Alan Modra  <amodra@gmail.com>
16023
16024         [BZ #15734], [BZ #15735]
16025         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16026         all uses of ieee875 long double macros and unions.  Simplify test
16027         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
16028         ldbl_extract_mantissa value for ix,iy exponents.  Properly
16029         normalize after ldbl_extract_mantissa, and don't add hidden bit
16030         already handled.  Don't treat low word of ieee854 mantissa like
16031         low word of IBM long double and mask off bit when testing for
16032         zero.
16033         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16034         all uses of ieee875 long double macros and unions.  Simplify tests
16035         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
16036         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
16037         two1022, instead use their values.  Recognise that tests for large
16038         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
16039         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16040         Rewrite all uses of ieee875 long double macros and unions.  Simplify
16041         test for 0.0L and nan.  Correct negation.
16042         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16043         ieee875 long double macros and unions.  Correct output for large
16044         magnitude x.  Correct absolute value calculation.
16045         (__erfcl): Likewise.
16046         * math/libm-test.inc: Add tests for errors discovered in IBM long
16047         double versions of fmodl, remainderl, erfl and erfcl.
16048
16049 2013-10-04  Alan Modra  <amodra@gmail.com>
16050
16051         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16052         all uses of ieee854 long double macros and unions.  Simplify tests
16053         for long doubles that are fully specified by the high double.
16054         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16055         Likewise.
16056         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16057         Remove dead code too.
16058         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16059         (__ieee754_ynl): Likewise.
16060         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16061         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16062         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16063         Remove dead code too.
16064         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16065         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16066         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16067         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16068         Simplify.
16069         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16070         Simplify.
16071         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16072         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16073         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16074         Comment on variable precision.
16075         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16076         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16077         Likewise.
16078         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16079         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16080         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16081         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16082         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16083
16084 2013-10-04  Alan Modra  <amodra@gmail.com>
16085
16086         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16087         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16088         all uses of ieee854 long double macros and unions.
16089         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16090         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16091         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16092         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16093         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16094         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16095         Likewise.
16096         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16097         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16098         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16099         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16100         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16101         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16102         Simplify sign and nan test too.
16103         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16104         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16105         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16106         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16107         Likewise.
16108         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16109         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16110         Likewise.
16111         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16112         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16113         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16114         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16115         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16116         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16117
16118 2013-10-04  Alan Modra  <amodra@gmail.com>
16119
16120         * stdio-common/printf_size.c (__printf_size): Don't use
16121         union ieee854_long_double in fpnum union.
16122         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
16123         signbit macro to retrieve sign from long double.
16124         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16125         retrieve sign from long double.
16126         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16127         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16128         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16129         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16130         * math/test-misc.c (main): Don't use union ieee854_long_double.
16131
16132 2013-10-04  Alan Modra  <amodra@gmail.com>
16133
16134         [BZ #15680]
16135         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16136         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16137         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16138         calculation.  Remove unnecessary test for denormal exponent.
16139         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16140         Correct handling of denormals.  Avoid undefined shift behaviour.
16141         Correct normalisation of low mantissa when low double is denormal.
16142         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16143         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
16144         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16145         Correct normalisation of low mantissa.  Test for overflow of high
16146         mantissa and normalise.
16147         (ldbl_nearbyint): Use more readable constant for two52.
16148         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16149         (__mpn_construct_long_double): Fix test for overflow of high
16150         mantissa and correct normalisation.  Avoid undefined shift.
16151
16152 2013-10-04  Alan Modra  <amodra@gmail.com>
16153
16154         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16155         (union ibm_extended_long_double): Define as an array of ieee754_double.
16156         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16157         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16158         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16159         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16160         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16161         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16162         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16163         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16164         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16165         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16166         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16167
16168 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
16169
16170         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16171         page size instead of calling getpagesize.
16172
16173         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16174         (LOCFILE_ALIGN_MASK): Likewise.
16175         (LOCFILE_ALIGN_UP): Likewise.
16176         (LOCFILE_ALIGNED_P): Likewise.
16177         * locale/programs/ld-collate.c (collate_output): Use the new
16178         macros instead of __alignof__ (int32_t).
16179         * locale/weight.h (findidx): Likewise.
16180
16181 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
16182
16183         [BZ #431]
16184         * manual/string.texi: Fix strncat and wcsncat.
16185
16186 2013-10-03  Brooks Moses  <bmoses@google.com>
16187
16188         [BZ #15915]
16189         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16190         * Makerules: ...here, and adjust associated comments.
16191
16192 2013-10-02  Will Newton  <will.newton@linaro.org>
16193
16194         * malloc/Makefile: Add tst-pvalloc.
16195         * malloc/tst-pvalloc.c: New file.
16196
16197 2013-10-02  Will Newton  <will.newton@linaro.org>
16198
16199         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16200         improve test coverage.
16201
16202 2013-10-02  Will Newton  <will.newton@linaro.org>
16203
16204         * malloc/Makefile: Add tst-posix_memalign.
16205         * malloc/tst-posix_memalign.c: New file.
16206
16207 2013-10-01  Eric Blake  <eblake@redhat.com>
16208
16209         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16210         Use __THROWNL rather than __THROW on static functions.
16211
16212 2013-09-30  Petr Machata  <pmachata@redhat.com>
16213
16214         * elf/elf.h (R_AARCH64_ABS16): New macro.
16215         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16216         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16217         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16218         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16219         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16220         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16221         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16222         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16223         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16224         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16225         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16226         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16227         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16228         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16229         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16230         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16231         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16232         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16233         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16234         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16235         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16236         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16237         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16238         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16239         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16240         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16241         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16242         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16243         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16244         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16245         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16246         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16247         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16248         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16249         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16250         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16251         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16252         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16253         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16254         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16255         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16256         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16257         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16258         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16259         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16260         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16261         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16262         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16263         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16264         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16265         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16266         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16267         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16268         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16269         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16270         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16271         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16272         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16273         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16274         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16275         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16276         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16277         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16278         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16279         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16280         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16281         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16282         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16283         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16284         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16285         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16286         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16287         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16288         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16289         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16290         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16291         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16292         (R_AARCH64_TLSDESC_LDR): Likewise.
16293         (R_AARCH64_TLSDESC_ADD): Likewise.
16294         (R_AARCH64_TLSDESC_CALL): Likewise.
16295
16296 2013-09-30  Andreas Schwab  <schwab@suse.de>
16297
16298         [BZ #15048]
16299         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16300         the nss database lookup.
16301         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16302         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16303
16304 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
16305
16306         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16307
16308 2013-09-28  P. J. McDermott  <pj@pehjota.net>
16309
16310         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16311         ${Bash-specific parameter/pattern/string} parameter expansion.
16312         * sysdeps/unix/make-syscalls.sh: Likewise.
16313
16314 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16315
16316         * sysdeps/sh/stackguard-macros.h: New file.
16317
16318 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
16319
16320         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16321         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16322         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16323         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16324         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16325         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16326
16327 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16328
16329         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16330         Fix thread ID register.
16331
16332 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
16333
16334         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16335         [POSIX || UNIX98]: Require rather than permitting all symbols from
16336         <time.h>.
16337         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16338         element of struct sched_param.
16339         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16340         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16341         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16342         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16343         constant.
16344
16345 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
16346
16347         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16348         argument calculation.
16349
16350 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16351
16352         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16353         Expect macro.
16354         [POSIX] (pthread_attr_t): Do not require type.
16355         [POSIX] (pthread_cond_t): Likewise.
16356         [POSIX] (pthread_condattr_t): Likewise.
16357         [POSIX] (pthread_key_t): Likewise.
16358         [POSIX] (pthread_mutex_t): Likewise.
16359         [POSIX] (pthread_mutexattr_t): Likewise.
16360         [POSIX] (pthread_once_t): Likewise.
16361         [POSIX] (pthread_t): Likewise.
16362         [POSIX-based standards] (pthread_atfork): Expect function.
16363
16364 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16365             Richard Sandiford  <richard@codesourcery.com>
16366
16367         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16368         (swap_endianness_p): New extern variable.
16369         (set_big_endian): New inline function.
16370         (maybe_swap_uint32): Likewise.
16371         (maybe_swap_uint32_array): Likewise.
16372         (maybe_swap_uint32_obstack): Likewise.
16373         * locale/programs/locfile.c: Include <stdbool.h>.
16374         (swap_endianness_p): New variable.
16375         (add_locale_uint32): Call maybe_swap_uint32.
16376         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16377         (write_locale_data): Call maybe_swap_uint32_array.
16378         * locale/programs/ld-collate.c (obstack_int32_grow): Call
16379         maybe_swap_uint32.
16380         (obstack_int32_grow_fast): Likewise.
16381         (output_weightwc): Call maybe_swap_uint32_obstack.
16382         (collate_output): Likewise.
16383         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16384         (OPT_LITTLE_ENDIAN): Likewise.
16385         (options): Add --little-endian and --big-endian options.
16386         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16387         * locale/programs/locarchive.c: Include "locfile.h".
16388         (GET): New macro.
16389         (SET): Likewise.
16390         (INC): Likewise.
16391         (create_archive): Use the new macros to access fields of
16392         structures directly mapped from or written to locale archives.
16393         (oldlocrecentcmp): Likewise.
16394         (enlarge_archive): Likewise.
16395         (insert_name): Likewise.
16396         (add_alias): Likewise.
16397         (add_locale): Likewise.
16398         (delete_locales_from_archive): Likewise.
16399         (show_archive_content): Likewise.
16400         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
16401         locale data.
16402
16403 2013-09-24  Roland McGrath  <roland@hack.frob.com>
16404
16405         * manual/freemanuals.texi: Updated from (newly) canonical copy at
16406         http://www.gnu.org/doc/freemanuals.texi.
16407         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16408
16409 2013-09-24  Will Newton  <will.newton@linaro.org>
16410
16411         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16412         macro.
16413
16414 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
16415
16416         * locale/hashval.h (compute_hashval): Interpret bytes of key as
16417         unsigned char.
16418
16419 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
16420
16421         * manual/threads.texi (POSIX Threads): Fix a typo.
16422
16423 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16424
16425         [BZ #14547]
16426         * string/tst-strcoll-overflow.c: New test case.
16427         * string/Makefile (xtests): Add tst-strcoll-overflow.
16428         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16429         cache if string sizes may cause integer overflow.
16430
16431         [BZ #14547]
16432         * string/strcoll_l.c (coll_seq): New members rule, idx,
16433         save_idx and back_us.
16434         (get_next_seq_nocache): New function.
16435         (do_compare_nocache): New function.
16436         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16437         when malloc fails.
16438
16439 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
16440
16441         [BZ #15754]
16442         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16443         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16444         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16445
16446         [BZ #15754]
16447         * elf/Makefile (tests): Add tst-ptrguard1.
16448         (tests-static): Add tst-ptrguard1-static.
16449         (tst-ptrguard1-ARGS): Define.
16450         (tst-ptrguard1-static-ARGS): Define.
16451         * elf/tst-ptrguard1.c: New file.
16452         * elf/tst-ptrguard1-static.c: New file.
16453         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16454         * sysdeps/i386/stackguard-macros.h: Likewise.
16455         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16456         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16457         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16458         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16459         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16460         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16461
16462 2013-09-23  Hector Marco  <hecmargi@upv.es>
16463             Ismael Ripoll  <iripoll@disca.upv.es>
16464             Carlos O'Donell  <carlos@redhat.com>
16465
16466         [BZ #15754]
16467         * sysdeps/generic/stackguard-macros.h: Define
16468         __pointer_chk_guard_local and POINTER_CHK_GUARD.
16469         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16470         Define __pointer_chk_guard_local.
16471         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16472         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16473
16474 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
16475
16476         [BZ #15859]
16477         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16478
16479 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
16480
16481         * include/string.h (__ffs): Declare as hidden.
16482         * string/ffs.c (__ffs): Define as hidden.
16483         * sysdeps/i386/ffs.c (__ffs): Likewise.
16484         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16485         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16486         * sysdeps/s390/ffs.c (__ffs): Likewise.
16487         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16488
16489 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
16490
16491         * NEWS: Mention malloc probes.
16492
16493         * malloc/arena.c (new_heap): New memory_heap_new probe.
16494         (grow_heap): New memory_heap_more probe.
16495         (shrink_heap): New memory_heap_less probe.
16496         (heap_trim): New memory_heap_free probe.
16497         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16498         (systrim): New memory_sbrk_less probe.
16499         * manual/probes.texi: Document them.
16500
16501         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16502         * manual/probes.texi: Document it.
16503
16504         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16505         (__libc_realloc): Add memory_realloc_retry probe.
16506         (__libc_memalign): Add memory_memalign_retry probe.
16507         (__libc_valloc): Add memory_valloc_retry probe.
16508         (__libc_pvalloc): Add memory_pvalloc_retry probe.
16509         (__libc_calloc): Add memory_calloc_retry probe.
16510         * manual/probes.texi: Document them.
16511
16512         * malloc/arena.c (get_free_list): Add probe
16513         memory_arena_reuse_free_list.
16514         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16515         and memory_arena_reuse.
16516         (arena_get2) [!PER_THREAD]: Likewise.
16517         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16518         memory_arena_reuse_realloc.
16519         * manual/probes.texi: Document them.
16520
16521         * malloc/malloc.c (__libc_free): Add
16522         memory_mallopt_free_dyn_thresholds probe.
16523         (__libc_mallopt): Add multiple memory_mallopt probes.
16524         * manual/probes.texi: Document them.
16525
16526         * malloc/malloc.c: Include stap-probe.h.
16527         (__libc_mallopt): Add memory_mallopt probe.
16528         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16529         * manual/probes.texi: New.
16530         * manual/Makefile (chapters): Add probes.
16531         * manual/threads.texi: Set next node.
16532
16533 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
16534
16535         [BZ #15963, #13985]
16536         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16537         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16538         Add `Chinese' to `nan' entry name.
16539
16540 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16541
16542         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16543         (POLYNOMIAL): Likewise.
16544         (TAYLOR_SINCOS): Likewise.
16545         (TAYLOR_SLOW): Likewise.
16546         (__sin): Use TAYLOR_SINCOS.
16547         (__cos): Likewise.
16548         (slow): Use TAYLOR_SLOW.
16549         (sloww): Likewise.
16550         (bsloww): Likewise.
16551         (csloww): Likewise.
16552
16553 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16554
16555         * stdlib/strtod_l.c: Fix buffer overrun.
16556
16557 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16558
16559         * benchtests/Makefile (bench): Add sincos.
16560         * benchtests/bench-sincos.c: New file.
16561
16562         * math/libm-test.inc (cos_test_data): New test inputs.
16563         (sin_test_data): Likewise.
16564
16565         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16566         macro.
16567         (__sin): Use it.
16568         (__cos): Likewise.
16569         (slow1): Likewise.
16570         (slow2): Likewise.
16571         (sloww1): Likewise.
16572         (sloww2): Likewise.
16573         (bsloww1): Likewise.
16574         (bsloww2): Likewise.
16575         (cslow2): Likewise.
16576         (csloww1): Likewise.
16577         (csloww2): Likewise.
16578
16579         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16580         function.
16581         (__sin): Use it.
16582         (__cos): Likewise.
16583
16584         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16585         gotos.
16586         (__cos): Likewise.
16587
16588 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
16589
16590         * config.h.in (HAVE_MIPS_NAN2008): New macro.
16591         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16592         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16593         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16594         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16595         * elf/cache.c (print_entry): Handle the new cache flags.
16596
16597 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
16598             Aldy Hernandez  <aldyh@redhat.com>
16599
16600         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16601         Change condition to [_SOFT_FLOAT].
16602         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16603         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16604         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16605         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16606         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16607         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16608         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16609         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16610         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16611         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16612         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16613         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16614         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16615         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16616         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16617         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16618         declaration.
16619
16620 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
16621
16622         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16623         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16624         (__longjmp): Use LOAD_GP to load saved GPRs.
16625         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16626         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16627         (__sigsetjmp): Use SAVE_GP to save GPRs.
16628
16629         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16630         Do not append -msoft-float.
16631         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16632
16633 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16634
16635         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16636
16637 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
16638
16639         [BZ #15966]
16640         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16641         (_FPU_GETCW): Use initial "__" on variable and field names but not
16642         on macro parameter name.
16643         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
16644         parentheses around reference to macro parameter.
16645
16646 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
16647
16648         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16649         prototype.
16650         (ctype_startup): Use uint32_t in cast and sizeof for
16651         ctype->charnames.
16652
16653 2013-09-11  Jia Liu  <proljc@gmail.com>
16654
16655         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16656         __daddr_t_defined.
16657         [__FreeBSD__]: Likewise.
16658
16659 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
16660
16661         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16662         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16663         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16664         (strchr): Remove __strchr_sse42 ifunc selection.
16665         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16666         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16667
16668 2013-09-11  Will Newton  <will.newton@linaro.org>
16669
16670         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16671         parameter to RES. Remove hardcoded 1000 value.
16672         * benchtests/bench-skeleton.c (main): Pass RES parameter
16673         to TIMING_INIT and multiply result by 1000.
16674
16675 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16676
16677         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16678
16679 2013-09-11  Andreas Schwab  <schwab@suse.de>
16680
16681         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16682         if not defined.
16683         (O_TMPFILE) [__USE_GNU]: Define.
16684         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16685         Define.
16686
16687 2013-09-11  Will Newton  <will.newton@linaro.org>
16688
16689         [BZ #15857]
16690         * malloc/malloc.c (__libc_memalign): Check the value of bytes
16691         does not overflow.
16692
16693 2013-09-11  Will Newton  <will.newton@linaro.org>
16694
16695         [BZ #15856]
16696         * malloc/malloc.c (__libc_valloc): Check the value of bytes
16697         does not overflow.
16698
16699 2013-09-11  Will Newton  <will.newton@linaro.org>
16700
16701         [BZ #15855]
16702         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16703         does not overflow.
16704
16705 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
16706
16707         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16708         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16709         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16710         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16711         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16712
16713 2013-09-10  Allan McRae  <allan@archlinux.org>
16714
16715         [BZ #15748]
16716         * manual/arith.texi (Parsing of Floats): Clarify
16717         cross-reference.
16718
16719         [BZ #15849]
16720         * manual/install.texi (Running make install): Mention
16721         --enable-pt-chown.
16722         * INSTALL: Regenerated.
16723
16724 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
16725
16726         * csu/init-first.c (_init): Remove the !SHARED condition around
16727         FPU control word initialization.
16728         * elf/dl-support.c (_dl_fpu_control): New variable.
16729         (_dl_aux_init) <AT_FPUCW>: Initialize it.
16730         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16731         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16732         * math/test-fpucw-static.c: New file.
16733         * math/test-fpucw-ieee.c: New file.
16734         * math/test-fpucw-ieee-static.c: New file.
16735         * math/Makefile (tests): Add `test-fpucw-ieee' and
16736         `$(tests-static)'.
16737         (tests-static): New variable.
16738         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16739         dependency to...
16740         [($(build-shared),yes)]
16741         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16742         ... this.
16743         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16744         New dependency.
16745
16746 2013-09-09  Allan McRae  <allan@archlinux.org>
16747
16748         [BZ #15939]
16749         * manual/string.texi (Collation Functions): Fix typo in
16750         strcoll example.
16751         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16752
16753         [BZ #15893]
16754         * stdlib/isomac.c (get_null_defines): Fix memory leak.
16755
16756         [BZ #15892]
16757         * libio/memstream.c (open_memstream): Fix memory leak.
16758         * libio/wmemstream.c (open_wmemstream): Likewise.
16759
16760         [BZ #15895]
16761         * nscd/netgroupcache.c: Fix nesting of ifdefs.
16762
16763 2013-09-09  Will Newton  <will.newton@linaro.org>
16764
16765         * malloc/Makefile: Add tst-realloc to tests.
16766         * malloc/tst-realloc.c: New file.
16767
16768 2013-09-09  Allan McRae  <allan@archlinux.org>
16769
16770         [BZ #15844]
16771         * COPYING: Update from GNU website to fix FSF address.
16772         * COPYING.LIB: Likewise.
16773
16774 2013-09-06  David S. Miller  <davem@davemloft.net>
16775
16776         * po/zh_TW.po: Update Chinese (traditional) translation from
16777         translation project.
16778
16779 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
16780             Joseph Myers  <joseph@codesourcery.com>
16781
16782         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16783         "localeinfo.h".
16784         (obstack_chunk_alloc): New macro.
16785         (obstack_chunk_free): Likewise.
16786         (record_offset): New function.
16787         (init_locale_data): Likewise.
16788         (align_locale_data): Likewise.
16789         (add_locale_empty): Likewise.
16790         (add_locale_raw_data): Likewise.
16791         (add_locale_raw_obstack): Likewise.
16792         (add_locale_string): Likewise.
16793         (add_locale_wstring): Likewise.
16794         (add_locale_uint32): Likewise.
16795         (add_locale_uint32_array): Likewise.
16796         (add_locale_char): Likewise.
16797         (start_locale_structure): Likewise.
16798         (end_locale_structure): Likewise.
16799         (start_locale_prelude): Likewise.
16800         (end_locale_prelude): Likewise.
16801         (write_locale_data): Take locale_file structure rather than an
16802         iovec.
16803         * locale/programs/locfile.h: Include "obstack.h".
16804         (struct locale_file): Change to store locale file contents instead
16805         of header.
16806         (init_locale_data): New prototype.
16807         (align_locale_data): Likewise.
16808         (add_locale_empty): Likewise.
16809         (add_locale_raw_data): Likewise.
16810         (add_locale_raw_obstack): Likewise.
16811         (add_locale_string): Likewise.
16812         (add_locale_wstring): Likewise.
16813         (add_locale_uint32): Likewise.
16814         (add_locale_uint32_array): Likewise.
16815         (add_locale_char): Likewise.
16816         (start_locale_structure): Likewise.
16817         (end_locale_structure): Likewise.
16818         (start_locale_prelude): Likewise.
16819         (end_locale_prelude): Likewise.
16820         (write_locale_data): Update prototype.
16821         * locale/programs/3level.h (struct TABLE): Remove result field.
16822         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16823         Use new locale_file interface.
16824         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16825         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16826         * locale/programs/ld-address.c (address_output): Use new
16827         locale_file interface.
16828         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16829         NO_ADD_LOCALE.
16830         (collate_finish): Don't call collseq_table_finalize.
16831         (collate_output): Use new locale_file interface.
16832         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16833         in file.
16834         (NO_FINALIZE): Change to NO_ADD_LOCALE.
16835         (TABLE): Move defines earlier in file.
16836         (ELEMENT): Likewise.
16837         (DEFAULT): Likewise.
16838         (wctrans_table_add): Move macro and inline function earlier in
16839         file.
16840         (struct wctype_table): Move type earlier in file.
16841         (add_locale_wctype_table): New static prototype.
16842         (struct locale_ctype_t): Use logical types instead of struct iovec
16843         pointers for members.
16844         (ctype_output): Use new locale_file interface.
16845         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
16846         new locale_file interface.
16847         (allocate_arrays): Update for use of new locale_file interface.
16848         * locale/programs/ld-identification.c (identification_output): Use
16849         new locale_file interface.
16850         * locale/programs/ld-measurement.c (measurement_output): Likewise.
16851         * locale/programs/ld-messages.c (messages_output): Likewise.
16852         * locale/programs/ld-monetary.c (monetary_output): Likewise.
16853         * locale/programs/ld-name.c (name_output): Likewise.
16854         * locale/programs/ld-numeric.c (numeric_output): Likewise.
16855         * locale/programs/ld-paper.c (paper_output): Likewise.
16856         * locale/programs/ld-telephone.c (telephone_output): Likewise.
16857         * locale/programs/ld-time.c (time_output): Likewise.
16858
16859 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16860
16861         * benchtests/Makefile: Add memrchr benchmark.
16862         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16863         benchmark as memrchr.
16864         * benchtests/bench-memrchr-ifunc.c: New file.
16865         * benchtests/bench-memrchr.c: New file.
16866
16867 2013-09-06   Will Newton  <will.newton@linaro.org>
16868
16869         * benchtests/Makefile (string-bench): Add memcpy.
16870
16871 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
16872             Cong Wang  <amwang@redhat.com>
16873
16874         [BZ #15850]
16875         * sysdeps/unix/sysv/linux/bits/in.h
16876         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16877         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16878         before __USE_KERNEL_IPV6_DEFS uses.
16879         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16880         IPPROTO_BEETPH.
16881         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16882         sockaddr_in6, or ipv6_mreq.
16883
16884 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16885
16886         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16887         memory access for final bytes in some large inputs.
16888         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16889
16890 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16891
16892         * string/test-memrchr.c: New file.
16893         * string/test-memrchr-ifunc.c: New file.
16894         * string/Makefile: Add new memrchr testcase.
16895
16896 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
16897
16898         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16899         fanotify_init returns EPERM.
16900
16901 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
16902
16903         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16904         errors.
16905         (top level): Treat second token from macro or constant entries for
16906         allowed headers as allowed.
16907         * include/complex.h: Condition internal declarations on
16908         [!_ISOMAC].
16909         * include/fenv.h: Condition include of <stdbool.h> and internal
16910         declarations on [!_ISOMAC].
16911
16912 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
16913
16914         [BZ #15923]
16915         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16916
16917 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
16918
16919         * configure.in (--enable-versioning): Remove configure option.
16920         (libc_cv_asm_symver_directive): Remove configure test.
16921         (libc_cv_ld_version_script_option): Likewise.
16922         (VERSIONING): Remove variable and AC_SUBST.
16923         (DO_VERSIONING): Remove AC_DEFINE.
16924         * configure: Regenerated.
16925         * config.h.in (DO_VERSIONING): Remove macro.
16926         * Makerules [$(versioning) = yes]: Change conditionals to
16927         [$(build-shared) = yes].
16928         * config.make.in (versioning): Remove variable.
16929         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16930         [$(build-shared) = yes].
16931         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16932         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16933         * elf/Makefile [$(versioning) = yes]: Change conditionals to
16934         [$(build-shared) = yes].
16935         * extra-lib.mk [$(versioning) = yes]: Likewise.
16936         * hurd/Makefile [$(versioning) = yes]: Likewise.
16937         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16938         [SHARED].
16939         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16940         [SHARED].
16941         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16942         [SHARED && !NO_HIDDEN].
16943         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16944         [SHARED].
16945         [SHARED && DO_VERSIONING]: Likewise..
16946         * libio/Makefile [$(versioning) = yes]: Change conditionals to
16947         [$(build-shared) = yes].
16948         * manual/install.texi (--disable-versioning): Remove
16949         documentation.
16950         * INSTALL: Regenerated.
16951         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16952         to [SHARED].
16953         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16954         [$(build-shared) = yes].
16955         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16956         * sysdeps/i386/i686/multiarch/strstr-c.c
16957         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16958         [SHARED && !NO_HIDDEN].
16959         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16960         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16961         * sysdeps/powerpc/powerpc32/dl-machine.c
16962         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16963         * sysdeps/powerpc/powerpc32/sysdep.h
16964         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16965         to [SHARED && PIC && !NO_HIDDEN].
16966         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16967         conditional to [SHARED].
16968
16969 2013-09-04   Will Newton  <will.newton@linaro.org>
16970
16971         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16972         * benchtests/bench-string.h: Include bench-timing.h instead
16973         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16974         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16975         call to HP_TIMING_DIFF_INIT.
16976         * benchtests/bench-memccpy.c: Use bench-timing.h macros
16977         instead of hp-timing.h macros.
16978         * benchtests/bench-memchr.c: Likewise.
16979         * benchtests/bench-memcmp.c: Likewise.
16980         * benchtests/bench-memcpy.c: Likewise.
16981         * benchtests/bench-memmem.c: Likewise.
16982         * benchtests/bench-memmove.c: Likewise.
16983         * benchtests/bench-memset.c: Likewise.
16984         * benchtests/bench-rawmemchr.c: Likewise.
16985         * benchtests/bench-strcasecmp.c: Likewise.
16986         * benchtests/bench-strcasestr.c: Likewise.
16987         * benchtests/bench-strcat.c: Likewise.
16988         * benchtests/bench-strchr.c: Likewise.
16989         * benchtests/bench-strcmp.c: Likewise.
16990         * benchtests/bench-strcpy.c: Likewise.
16991         * benchtests/bench-strcpy_chk.c: Likewise.
16992         * benchtests/bench-strlen.c: Likewise.
16993         * benchtests/bench-strncasecmp.c: Likewise.
16994         * benchtests/bench-strncat.c: Likewise.
16995         * benchtests/bench-strncmp.c: Likewise.
16996         * benchtests/bench-strncpy.c: Likewise.
16997         * benchtests/bench-strnlen.c: Likewise.
16998         * benchtests/bench-strpbrk.c: Likewise.
16999         * benchtests/bench-strrchr.c: Likewise.
17000         * benchtests/bench-strspn.c: Likewise.
17001         * benchtests/bench-strstr.c: Likewise.
17002
17003 2013-09-04  Will Newton  <will.newton@linaro.org>
17004
17005         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17006
17007 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
17008
17009         [BZ #15427]
17010         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17011         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17012         * math/libm-test.inc (lgamma_test_data): Add more tests.
17013         * sysdeps/i386/fpu/libm-test-ulps: Update.
17014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17015
17016 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
17017
17018         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17019         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17020         Add ifunc.
17021         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17022         Add strcmp-sse2-unaligned
17023         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17024
17025 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17026
17027         * Versions.def (libc): Add GLIBC_2.19.
17028
17029 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17030
17031         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17032         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17033
17034 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
17035
17036         [BZ #14155]
17037         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17038         intermediate calculations in recurrence.
17039         (__ieee754_ynf): Likewise.
17040         * math/libm-test.inc (jn_test_data): Do not allow spurious
17041         underflow exception.  Add more tests.
17042         (yn_test_data): Add more tests.
17043         * sysdeps/i386/fpu/libm-test-ulps: Update.
17044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17045
17046 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
17047
17048         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17049
17050 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17051
17052         * csu/init-first.c: Fix then/than typos.
17053         * locale/programs/ld-collate.c: Likewise.
17054         * locale/programs/linereader.h: Likewise.
17055         * manual/charset.texi: Likewise.
17056         * manual/filesys.texi: Likewise.
17057         * manual/stdio.texi: Likewise.
17058         * manual/string.texi: Likewise.
17059         * stdlib/fmtmsg.c: Likewise.
17060         * sysdeps/i386/stpncpy.S: Likewise.
17061         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17062         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17063         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17064         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17065
17066 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17067
17068         * elf/dl-open.c: Fix typos.
17069         * iconvdata/gbbig5.c: Likewise.
17070         * iconvdata/iso-2022-jp.c: Likewise.
17071         * iconv/gconv_int.h: Likewise.
17072         * iconv/loop.c: Likewise.
17073         * nis/rpcsvc/nis.h: Likewise.
17074         * resolv/ns_name.c: Likewise.
17075         * stdio-common/vfscanf.c: Likewise.
17076         * streams/stropts.h: Likewise.
17077         * sunrpc/rpc_thread.c: Likewise.
17078         * sysdeps/i386/strpbrk.S: Likewise.
17079         * sysdeps/ieee754/k_standard.c: Likewise.
17080         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17081         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17082         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17083         * sysdeps/mach/hurd/profil.c: Likewise.
17084         * sysdeps/s390/dl-procinfo.h: Likewise.
17085         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17086         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17087         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17088         * sysdeps/x86_64/dl-trampoline.S: Likewise.
17089         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17090
17091 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
17092
17093         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17094         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17095
17096 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
17097
17098         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17099         aix specific files.
17100         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17101         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17102         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17103         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17104         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17105         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17106         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17107         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17108
17109 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17110             Roland McGrath  <roland@hack.frob.com>
17111
17112         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17113         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17114
17115 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17116
17117         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17118         __executable_start symbol instead of _start.
17119
17120 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17121
17122         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17123         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17124         Move macros to...
17125         * sysdeps/gnu/ldsodefs.h: ... this new file.
17126
17127         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17128         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17129         instead of ELFOSABI_LINUX.
17130
17131         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17132         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17133         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17134         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17135         Likewise.
17136         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17137         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17138         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17139         Likewise.
17140         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17141         (ibm_extended_long_double): Add ieee_nan member.
17142         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17143         (do_test): New function.
17144
17145         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17146         TEST_TRUNC.
17147         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17148         functions, renamed from truncdfsf_test, trunctfsf_test,
17149         trunctfdf_test.
17150         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17151         functions.
17152         (do_test): Run all these.
17153
17154 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
17155
17156         * argp/argp-help.c: Fix typos.
17157         * argp/argp-parse.c: Likewise.
17158         * debug/backtracesyms.c: Likewise.
17159         * elf/elf.h: Likewise.
17160         * malloc/malloc.c: Likewise.
17161         * nis/nis_print.c: Likewise.
17162         * resolv/res_comp.c: Likewise.
17163         * stdlib/stdlib.h: Likewise.
17164         * sunrpc/clnt_tcp.c: Likewise.
17165         * sunrpc/clnt_udp.c: Likewise.
17166         * sunrpc/clnt_unix.c: Likewise.
17167         * sysdeps/unix/bsd/ptsname.c: Likewise.
17168         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17169         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17171         Likewise.
17172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17173         Likewise.
17174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17175         Likewise.
17176         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17177
17178 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17179
17180         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17181         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17182
17183 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
17184
17185         [BZ #15897]
17186         * dlfcn/Makefile (tests): Add bug-dl-leaf.
17187         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17188         ($(objpfx)bug-dl-leaf): New rule.
17189         ($(objpfx)bug-dl-leaf.so): Likewise.
17190         ($(objpfx)bug-dl-leaf.out): Likewise.
17191         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17192         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17193         * dlfcn/bug-dl-leaf.c: New test.
17194         * dlfcn/bug-dl-leaf-lib.c: Likewise.
17195         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17196         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17197         (dlclose): Likewise.
17198         (dlmopen): Likewise.
17199
17200 2013-08-27  Roland McGrath  <roland@hack.frob.com>
17201
17202         * include/netdb.h [!_ISOMAC]:
17203         Don't include <tls.h>.
17204         (h_errno, __libc_h_errno): Move declaration and macros out of
17205         [_LIBC_REENTRANT].
17206
17207         * include/resolv.h [_RESOLV_H_]:
17208         Don't include <tls.h>.
17209         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17210         * resolv/res_libc.c: Don't include <tls.h>.
17211         (_res): Use __attribute__ ((nocommon)) in place of
17212         __attribute__ ((section (".bss"))).
17213
17214         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17215         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17216
17217         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17218
17219         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17220         only under [SIOCGIFCONF && SIOCGIFNETMASK].
17221
17222         * resolv/res_mkquery.c: Include <sys/time.h>.
17223
17224         * inet/ifreq.c: Moved to ...
17225         * sysdeps/unix/ifreq.c: ... here.
17226         * inet/ifreq.c: New file, true stub version.
17227
17228         * socket/sa_len.c: New file.
17229         * socket/Makefile (aux): Add it.
17230         * sysdeps/unix/sysv/linux/Makefile
17231         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17232         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17233         and #include <socket/sa_len.c>.
17234         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17235         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17236
17237         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17238         * bits/socket.h: ... here.
17239
17240         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17241         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17242         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17243
17244 2013-08-27  Andreas Schwab  <schwab@suse.de>
17245
17246         [BZ #15736]
17247         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17248         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17249         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17250         * string/test-strcasecmp.c (test_main): Run tests in several
17251         locales.
17252         * string/test-strncasecmp.c (test_main): Likewise.
17253
17254         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17255         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17256         to __strcasecmp_nonascii and __strncasecmp_nonascii.
17257         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17258         (__strncasecmp_ssse3) [PIC]: Likewise.
17259
17260 2013-08-26  Roland McGrath  <roland@hack.frob.com>
17261
17262         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17263
17264         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17265         instead of explicitly declaring xdecrypt.
17266         * nis/nss_nis/nis-publickey.c: Likewise.
17267
17268 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17269
17270         [BZ #15890]
17271         * nscd/aicache.c: Include res_hconf.h.
17272         (addhstaiX): Initialize res_hconf.
17273
17274 2013-08-26  Andreas Schwab  <schwab@suse.de>
17275
17276         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17277         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17278
17279 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17280
17281         * nscd/aicache.c (addhstaiX): Fix indentation.
17282
17283 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
17284
17285         * configure.ac: Quote $build_pt_chown test.
17286         * configure: Regenerated.
17287
17288 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
17289
17290         [BZ #15532]
17291         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17292         * math/s_cexpf.c (__cexpf): Likewise.
17293         * math/s_cexpl.c (__cexpl): Likewise.
17294         * math/libm-test.inc (cexp_test_data): Correct expected return
17295         value for NaN + i0.  Add another test.
17296
17297 2013-08-22  David S. Miller  <davem@davemloft.net>
17298
17299         * po/ca.po: Update Catalan translation from translation project.
17300         * po/uk.po: Add Ukrainian translations from translation project.
17301
17302 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
17303
17304         [BZ #15797]
17305         * math/s_fdim.c (__fdim): Check for infinite arguments if result
17306         is infinite, not alongside NaN test.
17307         * math/s_fdimf.c (__fdimf): Likewise.
17308         * math/s_fdiml.c (__fdiml): Likewise.
17309         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
17310         errno is unchanged.
17311
17312 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
17313
17314         * argp/argp-help.c: Fix typos.
17315         * crypt/speeds.c: Likewise.
17316         * csu/check_fds.c: Likewise.
17317         * elf/dl-load.c: Likewise.
17318         * elf/dl-open.c: Likewise.
17319         * elf/reldep3.c: Likewise.
17320         * elf/reldep.c: Likewise.
17321         * elf/sprof.c: Likewise.
17322         * iconv/iconv_charmap.c: Likewise.
17323         * iconv/skeleton.c: Likewise.
17324         * iconv/strtab.c: Likewise.
17325         * io/lockf64.c: Likewise.
17326         * libio/libioP.h: Likewise.
17327         * resolv/gai_notify.c: Likewise.
17328         * resolv/ns_name.c: Likewise.
17329         * resolv/ns_samedomain.c: Likewise.
17330         * resolv/res_send.c: Likewise.
17331         * stdlib/random.c: Likewise.
17332         * sunrpc/rpc/xdr.h: Likewise.
17333         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17334         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17335         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17336         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17337         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17338         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17339         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17340         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17341         * sysdeps/mach/hurd/check_fds.c: Likewise.
17342         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17343         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17344         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17345         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17346         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17347         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17348         * sysdeps/pthread/aio_notify.c: Likewise.
17349         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17350         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17351         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17352         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17353         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17354
17355 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17356
17357         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17358         version if bit_Slow_SSE4_2 is set.
17359         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17360         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17361
17362 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17363
17364         [BZ #15867]
17365         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17366         trampoline stack frame information.
17367         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17368         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17369         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17370         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17371         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17372         * sysdeps/unix/sysv/linux/powerpc/init-first.c
17373         (_libc_vdso_platform_setup): Initialize the signal trampolines.
17374         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17375         sa_flags value.
17376         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17377         interrupting a syscall and set with option SA_SIGINFO.
17378
17379 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17380
17381         [BZ #15531]
17382         * math/s_cproj.c (__cproj): Only return an infinity if one part of
17383         argument is infinite.
17384         * math/s_cprojf.c (__cprojf): Likewise.
17385         * math/s_cprojl.c (__cprojl): Likewise.
17386         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17387         * math/libm-test.inc (cproj_test_data): Add more tests.
17388
17389         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17390
17391         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17392         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17393         size.  Use __ffs to determine corresponding shift.
17394
17395 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17396             Roland McGrath  <roland@hack.frob.com>
17397
17398         * Makefile (INSTALL): Remove trailing blank lines from output of
17399         makeinfo.
17400
17401 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17402
17403         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17404         Align 32 bit compat elf_greg to 8 bytes.
17405
17406 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
17407
17408         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17409
17410 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17411
17412         * string/strcoll_l.c (coll_seq): New structure.
17413         (get_next_seq_cached): New function.
17414         (get_next_seq): New function.
17415         (do_compare): New function.
17416         (STRCOLL): Use GNU style definition.  Simplify implementation
17417         by using get_next_seq, get_next_seq_cached and do_compare.
17418
17419 2013-08-16  Florian Weimer  <fweimer@redhat.com>
17420
17421         [BZ #14699]
17422         CVE-2013-4237
17423         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17424         member.
17425         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17426         member.
17427         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17428         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17429         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
17430         conditional.
17431         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17432         GETDENTS_64BIT_ALIGNED.
17433         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17434         * manual/filesys.texi (Reading/Closing Directory): Document
17435         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
17436         strongly.
17437         * manual/conf.texi (Limits for Files): Add portability note to
17438         NAME_MAX, PATH_MAX.
17439         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17440
17441 2013-08-13  Andreas Schwab  <schwab@suse.de>
17442
17443         [BZ #15749]
17444         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17445         of fabs.
17446         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17447         LDBL_MAX_EXP >= 16384]: Add tests for it.
17448
17449 2013-08-12  David S. Miller  <davem@davemloft.net>
17450
17451         * version.h (RELEASE): Set to "development".
17452         (VERSION): Set to "2.18.90".
17453         * NEWS: Add 2.19 section.
17454
17455 2013-08-03  David S. Miller  <davem@davemloft.net>
17456
17457         * po/ko.po: Update Korean translation from translation project.
17458
17459 2013-08-01  David S. Miller  <davem@davemloft.net>
17460
17461         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
17462         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17463         Bilka.
17464
17465 2013-07-30  David S. Miller  <davem@davemloft.net>
17466
17467         * po/fr.po: Update French translation from translation project.
17468
17469 2013-07-28  David S. Miller  <davem@davemloft.net>
17470
17471         * po/cs.po: Update Czech translation from translation project.
17472
17473         * po/sv.po: Update Swedish translation from translation project.
17474
17475 2013-07-27  David S. Miller  <davem@davemloft.net>
17476
17477         * po/eo.po: Update Esperanto translation from translation project.
17478
17479         * po/vi.po: Update Vietnamese translation from translation project.
17480
17481         * po/de.po: Update German translation from translation project.
17482
17483 2013-07-26  David S. Miller  <davem@davemloft.net>
17484
17485         * po/bg.po: Update Bulgarian translation from translation project.
17486
17487         * po/nl.po: Update Dutch translation from translation project.
17488         * po/pl.po: Update Polish translation from translation project.
17489         * po/ru.po: Update Russian translation from translation project.
17490
17491 2013-07-24  David S. Miller  <davem@davemloft.net>
17492
17493         * po/libc.pot: Update.
17494
17495 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17496
17497         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17498         variable page size.
17499         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17500         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17501         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17502
17503 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17504
17505         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17506
17507 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17508             Andreas Schwab  <schwab@suse.de>
17509             Roland McGrath  <roland@hack.frob.com>
17510             Joseph Myers  <joseph@codesourcery.com>
17511             Carlos O'Donell  <carlos@redhat.com>
17512
17513         [BZ #15755]
17514         * config.h.in: Define HAVE_PT_CHOWN.
17515         * config.make.in (build-pt-chown): New variable.
17516         * configure.in (--enable-pt_chown): New configure option.
17517         * configure: Regenerate.
17518         * login/Makefile: Include Makeconfig.  Build pt_chown only if
17519         build-pt-chown is enabled.
17520         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17521         pt_chown to fix pty ownership.
17522         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17523         CLOSE_ALL_FDS.
17524         * manual/install.texi (Configuring and compiling): Mention
17525         --enable-pt_chown. Add @findex for grantpt.
17526         * INSTALL: Regenerate.
17527
17528 2013-07-20  David S. Miller  <davem@davemloft.net>
17529
17530         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17531         difference between 32-bit and 64-bit.
17532
17533 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
17534
17535         [BZ #15711]
17536         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17537         Avoid system header dependency with -ffreestanding.
17538         ($(objpfx)bits/syscall%d): Likewise.
17539
17540 2013-07-13  David S. Miller  <davem@davemloft.net>
17541
17542         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17543         underflows from atanl/atan2l due to bug 15319.
17544         (casinh_test_data): Likewise.
17545
17546 2013-07-07  David S. Miller  <davem@davemloft.net>
17547
17548         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17549
17550 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
17551
17552         * sysdeps/i386/fpu/libm-test-ulps: Update.
17553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17554
17555 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17556
17557         * configure.in (--enable-lock-elision): Fix message text.
17558         * INSTALL: Regenerate.
17559         * configure: Regenerate.
17560
17561 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17562
17563         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17564
17565 2013-07-03  Andreas Jaeger  <aj@suse.de>
17566
17567         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17568         define.
17569         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17570         (ptrace_peeksiginfo_args): Add.
17571         (__ptrace_peeksiginfo_flags): Add.
17572         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17573         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17574         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17575
17576 2013-07-03  Allan McRae  <allan@archlinux.org>
17577
17578         * sysdeps/i386/fpu/libm-test-ulps: Update.
17579
17580 2013-07-02  David S. Miller  <davem@davemloft.net>
17581
17582         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17583
17584 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
17585
17586         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17587
17588 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
17589
17590         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17592
17593 2013-07-02  Andi Kleen <ak@linux.intel.com>
17594
17595         * config.h.in (ENABLE_LOCK_ELISION): Add.
17596         * configure.in (--enable-lock-elision): Add option.
17597         * manual/install.texi: Document --enable lock elision.
17598         * configure: Regenerate
17599         * INSTALL: Regenerate.
17600
17601 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
17602
17603         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17604         SSE4.2 strcasecmp for libc.a.
17605         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17606
17607 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
17608
17609         [BZ #13304]
17610         * soft-fp/op-common.h (_FP_FMA): New macro.
17611         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17612         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
17613         (_FP_MUL_MEAT_1_imm): ... here.
17614         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
17615         (_FP_MUL_MEAT_1_wide): ... here.
17616         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
17617         (_FP_MUL_MEAT_1_hard): ... here.
17618         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17619         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
17620         (_FP_MUL_MEAT_2_wide): ... here.
17621         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
17622         (_FP_MUL_MEAT_2_wide_3mul): ... here.
17623         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
17624         (_FP_MUL_MEAT_2_gmp): ... here.
17625         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17626         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
17627         (_FP_MUL_MEAT_4_wide): ... here.
17628         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
17629         (_FP_MUL_MEAT_4_gmp): ... here.
17630         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17631         (_FP_WFRACBITS_DW_S): Likewise.
17632         (_FP_WFRACXBITS_DW_S): Likewise.
17633         (_FP_HIGHBIT_DW_S): Likewise.
17634         (FP_FMA_S): Likewise.
17635         (_FP_FRAC_HIGH_DW_S): Likewise.
17636         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17637         (_FP_WFRACBITS_DW_D): Likewise.
17638         (_FP_WFRACXBITS_DW_D): Likewise.
17639         (_FP_HIGHBIT_DW_D): Likewise.
17640         (FP_FMA_D): Likewise.
17641         (_FP_FRAC_HIGH_DW_D): Likewise.
17642         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17643         (_FP_WFRACBITS_DW_E): Likewise.
17644         (_FP_WFRACXBITS_DW_E): Likewise.
17645         (_FP_HIGHBIT_DW_E): Likewise.
17646         (FP_FMA_E): Likewise.
17647         (_FP_FRAC_HIGH_DW_E): Likewise.
17648         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17649         (_FP_WFRACBITS_DW_Q): Likewise.
17650         (_FP_WFRACXBITS_DW_Q): Likewise.
17651         (_FP_HIGHBIT_DW_Q): Likewise.
17652         (FP_FMA_Q): Likewise.
17653         (_FP_FRAC_HIGH_DW_Q): Likewise.
17654         * soft-fp/fmasf4.c: New file.
17655         * soft-fp/fmadf4.c: Likewise.
17656         * soft-fp/fmatf4.c: Likewise.
17657
17658 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17659
17660         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17661         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17662         Silvermont.
17663         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17664         macro.
17665         (index_Slow_SSE4_2): Likewise.
17666         (index_Prefer_PMINUB_for_stringop): Likewise.
17667         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17668         bit_Slow_SSE4_2 is set.
17669         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17670         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17671
17672 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17673
17674         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17675         rtld_global._dl_hwcap2.
17676         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17677         POWER8.
17678         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17679         POWER8 feature descriptions defined in _dl_hwcap2.
17680         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17681         string handling for POWER8 feature bits.
17682         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17683         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17684         _dl_powerpc_cap_flags.
17685         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17686         * sysdeps/powerpc/rtld-global-offsets.sym
17687         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17688         _dl_hwcap2 in the rtld_global_ro structure.
17689
17690 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17691
17692         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17693         hardware capabilities in support of AT_HWCAP2.
17694         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17695         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17696         GLRO(dl_hwcap2).
17697         (_dl_show_auxv): Add support for calling _dl_procinfo to display
17698         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
17699         explicitly the unknown a_type display mechanism is used.
17700         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17701         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17702         struct member.
17703         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17704         to macro prototype for AT_HWCAP2 support.
17705         * sysdeps/i386/dl-procinfo.h: Likewise.
17706         * sysdeps/s390/dl-procinfo.h: Likewise.
17707         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17708         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
17709         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
17710         return -1 for unknown a_type display fallback.
17711         * sysdeps/sparc/dl-procinfo.h: Likewise.
17712         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17713         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17714
17715 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
17716
17717         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17718         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17719
17720 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
17721
17722         [BZ #12492]
17723         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17724         mprotect making __stack_prot writable.
17725
17726 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
17727             Joseph Myers  <joseph@codesourcery.com>
17728
17729         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17730         as being properly aligned.
17731
17732 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
17733
17734         * dlfcn/modstatic5.c: New file.
17735         * dlfcn/tststatic5.c: New file.
17736         * dlfcn/Makefile (tests): Add tststatic5.
17737         (tests-static): Likewise.
17738         (modules-names): Add modstatic5.
17739         (tststatic5-ENV): New variable.
17740         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17741
17742         [BZ #15022]
17743         * elf/dl-support.c (_dl_main_map): New variable.
17744         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17745         (_dl_nns, _dl_load_adds): Set to 1.
17746         (_dl_initial_searchlist): Refer to _dl_main_map.
17747         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17748         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17749         call to _dl_get_origin.
17750         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17751         around call_map.
17752         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17753         * dlfcn/modstatic3.c: New file.
17754         * dlfcn/tststatic3.c: New file.
17755         * dlfcn/tststatic4.c: New file.
17756         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17757         (tests-static): Likewise.
17758         (modules-names): Add modstatic3.
17759         (tststatic3-ENV, tststatic4-ENV): New variables.
17760         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17761         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17762
17763 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
17764
17765         * configure.in (CC): Require GCC version 4.4 or later.
17766         * configure: Regenerated.
17767         * manual/install.texi (Tools for Compilation): Update GCC version
17768         requirement.
17769         * INSTALL: Regenerated.
17770
17771 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17772
17773         [BZ #15674]
17774         * string/test-memcmp.c (check2): New.
17775         (main): Call check2.
17776
17777         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17778
17779 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
17780
17781         [BZ #15022]
17782         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17783         over to...
17784         (dl_open_worker) [!SHARED]: ... here.
17785
17786 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17787
17788         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17789
17790 2013-06-25  Richard Henderson  <rth@redhat.com>
17791
17792         * locale/programs/locarchive.c: Include <libc-internal.h>
17793
17794 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
17795
17796         * manual/texinfo.tex: Update to version 2013-06-21.17, with
17797         trailing whitespace removed.
17798
17799 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
17800
17801         [BZ #10283]
17802         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17803         * locale/programs/locarchive.c: Include libc-mmap.h.
17804         (prepare_address_space): Take two new outputs (the mmap base and len).
17805         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
17806         values.
17807         (create_archive): Declare new mmap base and len values for
17808         prepare_address_space, and store the result in ah.
17809         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17810         (enlarge_archive): If ah->mmap_base is not NULL, use that and
17811         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17812         Declare new mmap base and len values for
17813         prepare_address_space, and store the result in new_ah.
17814         (open_archive): Declare new mmap base and len values for
17815         prepare_address_space, and store the result in ah.
17816         (close_archive): If ah->mmap_base is not NULL, use that and
17817         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17818         * sysdeps/generic/libc-mmap.h: New file.
17819
17820 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
17821
17822         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17823         (ALIGN_UP): Likewise.
17824         (PTR_ALIGN_DOWN): Likewise.
17825         (PTR_ALIGN_UP): Likewise.
17826
17827 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17828
17829         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17830         entry mapped to PPC_PLATFORM_POWER8.
17831         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17832         POWER8.
17833         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17834         (_dl_string_platform): Add case for exporting platform position for
17835         POWER8.
17836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17837         search path to sysdeps/powerpc/powerpc32/power8 directory.
17838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17839         search path to sysdeps/powerpc/powerpc64/power8 directory.
17840         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17841         power7 directories.
17842         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17843         power7 directories.
17844
17845 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17846
17847         * INSTALL: Regenerate.
17848
17849         * nscd/connections.c (nscd_init): Fix comment.
17850
17851 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
17852
17853         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17854
17855         [BZ #15667]
17856         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17857         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17858
17859 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
17860
17861         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17862         DL_DST_REQ_STATIC.
17863         (DL_DST_REQ_STATIC): Remove macro.
17864
17865 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
17866
17867         [BZ #7006]
17868         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17869         with a shift of 0 bits.
17870
17871 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
17872
17873         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17874         $(tststatic-ENV).
17875
17876 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17877
17878         [BZ #15655]
17879         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17880
17881 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17882
17883         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17884         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17885         accepts -fno-tree-loop-distribute-patterns.
17886         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17887         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17888         recursive call.
17889         * string/memset.c (memset): Likewise.
17890         * string/test-memmove.c (simple_memmove): Disable loop transformation
17891         to library calls.
17892         * string/test-memset.c (simple_memset): Likewise.
17893         * benchtests/bench-memmove.c (simple_memmove): Likewise.
17894         * benchtests/bench-memset.c (simple_memset): Likewise.
17895         * configure: Regenerated.
17896
17897 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
17898
17899         * math/test-misc.c (main): Ignore fesetround failure when failures
17900         of subsequent rounding tests would be ignored.
17901
17902         [BZ #15654]
17903         * math/fedisblxcpt.c (fedisableexcept): Return 0.
17904         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17905         * math/fegetenv.c (__fegetenv): Return 0.
17906         * math/fegetexcept.c (fegetexcept): Return 0.
17907         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17908         FE_TONEAREST.
17909         * math/feholdexcpt.c (feholdexcept): Return 0.
17910         * math/fesetenv.c (__fesetenv): Return 0.
17911         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17912         argument FE_TONEAREST.
17913         * math/feupdateenv.c (__feupdateenv): Return 0.
17914         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17915
17916 2013-06-18  Roland McGrath  <roland@hack.frob.com>
17917
17918         * elf/rtld-Rules (rtld-compile-command.S): New variable.
17919         (rtld-compile-command.s, rtld-compile-command.c): New variables.
17920         ($(objpfx)rtld-%.os rules): Use them.
17921
17922 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17923
17924         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17925         fields.
17926
17927 2013-06-17  Roland McGrath  <roland@hack.frob.com>
17928
17929         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17930         length of target pattern, then descending length of dependency pattern.
17931         * configure.in (AWK): Require gawk 3.1.2 or newer.
17932         * manual/install.texi (Tools for Compilation): Say that we do.
17933         * configure: Regenerated.
17934
17935         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17936         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17937         * scripts/sysd-rules.awk: ... this new script.
17938         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17939         than a glob-style pattern.
17940
17941 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
17942
17943         * math/test-misc.c (main): Do not treat incorrectly rounded
17944         conversions as failure unless ROUNDING_TESTS passes.
17945
17946 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
17947
17948         [BZ #15631]
17949         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17950         restore exception state around main square root computation, then
17951         check for inexactness explicitly.
17952
17953         * math/libm-test.inc (fma_test_data): Add another test.
17954
17955 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17956
17957         * manual/threads.texi (Non-POSIX Extensions): New document
17958         node.  Document pthread_getattr_default_np and
17959         pthread_setattr_default_np.
17960
17961         * Versions.def (libpthread): Add GLIBC_2.18.
17962         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17964         Likewise.
17965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17966         Likewise.
17967         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17968         Likewise.
17969         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17970         Likewise.
17971         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17972         Likewise.
17973         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17974         Likewise.
17975         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17976         Likewise.
17977         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17978         Likewise.
17979         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17980         Likewise.
17981
17982 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17983
17984         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17985         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17986
17987 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17988             H.J. Lu  <hjl.tools@gmail.com>
17989
17990         [BZ #15627]
17991         * sysdeps/x86_64/rtld-memset.c: Remove file.
17992         * sysdeps/x86_64/rtld-memset.S: New file.
17993
17994 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
17995
17996         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17997         (test_in_one_mode): Take arguments for whether the rounding mode
17998         is supported for each floating-point type.
17999         (do_test): Pass new arguments to test_in_one_mode using
18000         ROUNDING_TESTS.
18001
18002 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18003
18004         * posix/tst-waitid.c (do_test): Distinguish different instances of
18005         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
18006         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18007         before entering the kernel for waitpid.
18008
18009 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18010
18011         * NEWS: Fix note on clock function precision.  Text by Roland
18012         McGrath.
18013
18014 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18015
18016         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18017         it into place only when and if the sanity check passes.
18018
18019 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
18020
18021         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18022         output for whether conversion result is exact.  Take argument
18023         indicating whether type is IBM long double.
18024         (round_for_all): Change need_exact field to ibm_ld.
18025         * stdlib/tst-strtod-round.c (struct exactness): New type.
18026         (struct test): Change bool ld_ok field to struct exactness exact.
18027         (TEST): Update all definitions for change to field.
18028         (tests): Regenerate array contents.
18029         (test_in_one_mode): Take pointer to new field instead of old ld_ok
18030         field value.  Check for IBM long double here.
18031         (do_test): Update calls to test_in_one_mode.
18032
18033 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18034
18035         [BZ #12515]
18036         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18037         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18038
18039 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18040
18041         [BZ #15605]
18042         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18043         generated by the compiler on loop optimizations.
18044         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18045         general definitions.
18046
18047 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
18048
18049         * math/bug-nextafter.c: Include <math-tests.h>.
18050         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18051         the relevant type.
18052         * math/bug-nexttoward.c: Include <math-tests.h>.
18053         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18054         the relevant type.
18055         * math/test-misc.c: Include <math-tests.h>.
18056         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18057         the relevant type.
18058
18059 2013-06-12  Andreas Jaeger  <aj@suse.de>
18060
18061         * po/ia.po: Update Interlingua translation from translation
18062         project.
18063
18064 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18065
18066         * include/fenv.h: Include stdbool.h.
18067         (struct rm_ctx): New structure.
18068         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18069         Define macro.
18070         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18071         (SET_RESTORE_ROUNDF): Likewise.
18072         (SET_RESTORE_ROUNDL): Likewise.
18073         (SET_RESTORE_ROUND_NOEX): Likewise.
18074         (SET_RESTORE_ROUND_NOEXF): Likewise.
18075         (SET_RESTORE_ROUND_NOEXL): Likewise.
18076         (SET_RESTORE_ROUND_53BIT): Likewise.
18077         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18078         (libc_feresetround_noexf_ctx): Likewise.
18079         (libc_feresetround_noexl_ctx): Likewise.
18080         (libc_feholdsetround_53bit_ctx): Likewise.
18081         (libc_feresetround_53bit_ctx): Likewise.
18082         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18083         (libc_feholdexcept_setround_sse_ctx): New function.
18084         (libc_fesetenv_sse_ctx): Likewise.
18085         (libc_feupdateenv_sse_ctx): Likewise.
18086         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18087         (libc_feholdexcept_setround_387_ctx): Likewise.
18088         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18089         (libc_feholdsetround_387_prec_ctx): Likewise.
18090         (libc_feholdsetround_387_ctx): Likewise.
18091         (libc_feholdsetround_387_53bit_ctx): Likewise.
18092         (libc_feholdsetround_sse_ctx): Likewise.
18093         (libc_feresetround_sse_ctx): Likewise.
18094         (libc_feresetround_387_ctx): Likewise.
18095         (libc_feupdateenv_387_ctx): Likewise.
18096         (libc_feholdexcept_setroundf_ctx): Define macro.
18097         (libc_fesetenvf_ctx): Likewise.
18098         (libc_feupdateenvf_ctx): Likewise.
18099         (libc_feholdsetroundf_ctx): Likewise.
18100         (libc_feresetroundf_ctx): Likewise.
18101         (libc_feholdexcept_setround_ctx): Likewise.
18102         (libc_fesetenv_ctx): Likewise.
18103         (libc_feupdateenv_ctx): Likewise.
18104         (libc_feholdsetround_ctx): Likewise.
18105         (libc_feresetround_ctx): Likewise.
18106         (libc_feholdexcept_setroundl_ctx): Likewise.
18107         (libc_feupdateenvl_ctx): Likewise.
18108         (libc_feholdsetroundl_ctx): Likewise.
18109         (libc_feresetroundl_ctx): Likewise.
18110         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18111         (libc_feresetround_53bit_ctx): Likewise.
18112
18113 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18114
18115         * locale/iso-639.def: Convert to UTF-8.
18116
18117 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
18118
18119         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18120         (EXCEPTION_TESTS_double): Likewise.
18121         (EXCEPTION_TESTS_long_double): Likewise.
18122         (EXCEPTION_TESTS): Likewise.
18123         * math/libm-test.inc (test_exceptions): Only test exceptions if
18124         EXCEPTION_TESTS (FLOAT).
18125
18126 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18127
18128         * benchtests/Makefile (string-bench): Add strcpy_chk and
18129         stpcpy_chk.
18130         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18131         * benchtests/bench-stpcpy_chk.c: New file.
18132         * benchtests/bench-strcpy_chk-ifunc.c: New file.
18133         * benchtests/bench-strcpy_chk.c: New file.
18134         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18135         code.
18136         (do_test): Likewise.
18137
18138 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18139
18140         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18141         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18142         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18143         with tabs where appropriate.
18144         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18145         dl-procinfo.h.
18146         [PPC_PLATFORM_PPC440]: Likewise.
18147         [PPC_PLATFORM_PPC464]: Likewise.
18148         [PPC_PLATFORM_PPC476]: Likewise.
18149         (_dl_string_platform): Add support for detecting ppc405, ppc440,
18150         ppc464, and ppc476 platform strings merging from ports/
18151         dl-procinfo.h.
18152
18153 2013-06-11  Andreas Schwab  <schwab@suse.de>
18154
18155         [BZ #14991]
18156         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18157         (from_ucs4_idx): Regenerate.
18158         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18159         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18160         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18161         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18162         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18163         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18164         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18165         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18166         from FROM_LOOP and TO_LOOP specific macros.
18167         (BODY): Handle combining characters.
18168         * iconvdata/BIG5HKSCS.irreversible: Update.
18169         * iconvdata/BIG5HKSCS.precomposed: New file.
18170         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18171         characters.
18172         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18173
18174 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18175
18176         * include/sys/time.h: Fix indentation and add copyright header.
18177
18178         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18179         (do_test): Likewise.
18180         * string/test-memchr.c (do_one_test): Likewise.
18181         (do_test): Likewise.
18182         * string/test-memcmp.c (do_one_test): Likewise.
18183         (do_test): Likewise.
18184         * string/test-memcpy.c (do_one_test): Likewise.
18185         (do_test): Likewise.
18186         * string/test-memmem.c (do_one_test): Likewise.
18187         (do_test): Likewise.
18188         (do_random_tests): Likewise.
18189         * string/test-memmove.c (do_one_test): Likewise.
18190         (do_test): Likewise.
18191         * string/test-memset.c (do_one_test): Likewise.
18192         (do_test): Likewise.
18193         * string/test-rawmemchr.c (do_one_test): Likewise.
18194         (do_test): Likewise.
18195         * string/test-strcasecmp.c (do_one_test): Likewise.
18196         (do_test): Likewise.
18197         * string/test-strcasestr.c (do_one_test): Likewise.
18198         (do_test): Likewise.
18199         * string/test-strcat.c (do_one_test): Likewise.
18200         (do_test): Likewise.
18201         * string/test-strchr.c (do_one_test): Likewise.
18202         (do_test): Likewise.
18203         * string/test-strcmp.c (do_one_test): Likewise.
18204         (do_test): Likewise.
18205         * string/test-strcpy.c (do_one_test): Likewise.
18206         (do_test): Likewise.
18207         * string/test-string.h: Likewise.
18208         (test_init): Likewise.
18209         * string/test-strlen.c (do_one_test): Likewise.
18210         (do_test): Likewise.
18211         * string/test-strncasecmp.c (do_one_test): Likewise.
18212         (do_test): Likewise.
18213         * string/test-strncat.c (do_one_test): Likewise.
18214         (do_test): Likewise.
18215         * string/test-strncmp.c (do_one_test): Likewise.
18216         (do_test_limit): Likewise.
18217         (do_test): Likewise.
18218         * string/test-strncpy.c (do_one_test): Likewise.
18219         (do_test): Likewise.
18220         * string/test-strnlen.c (do_one_test): Likewise.
18221         (do_test): Likewise.
18222         * string/test-strpbrk.c (do_one_test): Likewise.
18223         (do_test): Likewise.
18224         * string/test-strrchr.c (do_one_test): Likewise.
18225         (do_test): Likewise.
18226         * string/test-strspn.c (do_one_test): Likewise.
18227         (do_test): Likewise.
18228         * string/test-strstr.c (do_one_test): Likewise.
18229         (do_test): Likewise.
18230
18231         * benchtests/Makefile (string-bench): Add string benchmarks.
18232         * benchtests/bench-bcopy-ifunc.c: New file.
18233         * benchtests/bench-bcopy.c: New file.
18234         * benchtests/bench-bzero-ifunc.c: New file.
18235         * benchtests/bench-bzero.c: New file.
18236         * benchtests/bench-memccpy-ifunc.c: New file.
18237         * benchtests/bench-memccpy.c: New file.
18238         * benchtests/bench-memchr-ifunc.c: New file.
18239         * benchtests/bench-memchr.c: New file.
18240         * benchtests/bench-memcmp-ifunc.c: New file.
18241         * benchtests/bench-memcmp.c: New file.
18242         * benchtests/bench-memmem-ifunc.c: New file.
18243         * benchtests/bench-memmem.c: New file.
18244         * benchtests/bench-memmove-ifunc.c: New file.
18245         * benchtests/bench-memmove.c: New file.
18246         * benchtests/bench-mempcpy-ifunc.c: New file.
18247         * benchtests/bench-mempcpy.c: New file.
18248         * benchtests/bench-memset-ifunc.c: New file.
18249         * benchtests/bench-memset.c: New file.
18250         * benchtests/bench-rawmemchr-ifunc.c: New file.
18251         * benchtests/bench-rawmemchr.c: New file.
18252         * benchtests/bench-stpcpy-ifunc.c: New file.
18253         * benchtests/bench-stpcpy.c: New file.
18254         * benchtests/bench-stpncpy-ifunc.c: New file.
18255         * benchtests/bench-stpncpy.c: New file.
18256         * benchtests/bench-strcasecmp-ifunc.c: New file.
18257         * benchtests/bench-strcasecmp.c: New file.
18258         * benchtests/bench-strcasestr-ifunc.c: New file.
18259         * benchtests/bench-strcasestr.c: New file.
18260         * benchtests/bench-strcat-ifunc.c: New file.
18261         * benchtests/bench-strcat.c: New file.
18262         * benchtests/bench-strchr-ifunc.c: New file.
18263         * benchtests/bench-strchr.c: New file.
18264         * benchtests/bench-strchrnul-ifunc.c: New file.
18265         * benchtests/bench-strchrnul.c: New file.
18266         * benchtests/bench-strcmp-ifunc.c: New file.
18267         * benchtests/bench-strcmp.c: New file.
18268         * benchtests/bench-strcpy-ifunc.c: New file.
18269         * benchtests/bench-strcpy.c: New file.
18270         * benchtests/bench-strcspn-ifunc.c: New file.
18271         * benchtests/bench-strcspn.c: New file.
18272         * benchtests/bench-strlen-ifunc.c: New file.
18273         * benchtests/bench-strlen.c: New file.
18274         * benchtests/bench-strncasecmp-ifunc.c: New file.
18275         * benchtests/bench-strncasecmp.c: New file.
18276         * benchtests/bench-strncat-ifunc.c: New file.
18277         * benchtests/bench-strncat.c: New file.
18278         * benchtests/bench-strncmp-ifunc.c: New file.
18279         * benchtests/bench-strncmp.c: New file.
18280         * benchtests/bench-strncpy-ifunc.c: New file.
18281         * benchtests/bench-strncpy.c: New file.
18282         * benchtests/bench-strnlen-ifunc.c: New file.
18283         * benchtests/bench-strnlen.c: New file.
18284         * benchtests/bench-strpbrk-ifunc.c: New file.
18285         * benchtests/bench-strpbrk.c: New file.
18286         * benchtests/bench-strrchr-ifunc.c: New file.
18287         * benchtests/bench-strrchr.c: New file.
18288         * benchtests/bench-strspn-ifunc.c: New file.
18289         * benchtests/bench-strspn.c: New file.
18290         * benchtests/bench-strstr-ifunc.c: New file.
18291         * benchtests/bench-strstr.c: New file.
18292
18293         * benchtests/Makefile: Disable parallel execution of targets.
18294         (string-bench): Add memcpy.
18295         (benchset): New variable to store a list of benchmark sets.
18296         (bench-func): Renamed from bench.
18297         (bench-set): New target.
18298         (bench): Depend on bench-func and bench-set.
18299         * benchtests/README: Add section on benchmark sets.
18300         * benchtests/bench-memcpy-ifunc.c: New file.
18301         * benchtests/bench-memcpy.c: New file.
18302         * benchtests/bench-string.h: New file.
18303
18304 2013-06-11  Andreas Schwab  <schwab@suse.de>
18305
18306         [BZ #15577]
18307         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18308         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18309         values in the triple.
18310         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18311         terminator in the group key.
18312
18313 2013-06-11  Andreas Jaeger  <aj@suse.de>
18314
18315         * po/zh_TW.po: Update Chinese (traditional) translation from
18316         translation project.
18317
18318 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18319
18320         * include/time.h (__clock_gettime): Add libc_hidden_proto.
18321         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18322         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
18323         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18324         (clock_getcpuclockid): Likewise.
18325         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18326         Add weak_alias and libc_hidden_def.
18327         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18328         * rt/clock_gettime.c (clock_gettime): Rename to
18329         __clock_gettime.  Add weak_alias and libc_hidden_def.
18330         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18331         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18332         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
18333         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18334         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18335         Likewise.
18336         * rt/clock_settime.c (clock_settime): Rename to
18337         __clock_settime.  Add weak_alias and libc_hidden_def.
18338         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18339
18340 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
18341
18342         * mach/err_boot.sub: Remove trailing whitespace.
18343         * mach/err_ipc.sub: Likewise.
18344         * mach/err_mach.sub: Likewise.
18345
18346         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18347         (ROUNDING_TESTS_double): Likewise.
18348         (ROUNDING_TESTS_long_double): Likewise.
18349         (ROUNDING_TESTS): Likewise.
18350         * math/libm-test.inc: Include <math-tests.h>.
18351         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18352         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18353         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18354         (IF_ROUND_INIT_FE_UPWARD): Likewise.
18355
18356 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18357
18358         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18359         of assigning.
18360
18361 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
18362
18363         * sysdeps/gnu/errlist.awk: Do not generate space at end of
18364         otherwise empty TRANS lines.
18365         * sysdeps/gnu/errlist.c: Regenerated.
18366
18367         * catgets/gencat.c (error_print): Use (void) in function
18368         definition.
18369         * crypt/crypt_util.c (__init_des): Likewise.
18370         * crypt/speeds.c (Stop): Likewise.
18371         (main): Likewise.
18372         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18373         * inet/ruserpass.c (token): Likewise.
18374         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18375         * intl/localealias.c (extend_alias_table): Likewise.
18376         * intl/plural-exp.c (init_germanic_plural): Likewise.
18377         * libio/fcloseall.c (__fcloseall): Likewise.
18378         * libio/genops.c (_IO_flush_all): Likewise.
18379         (_IO_flush_all_linebuffered): Likewise.
18380         (_IO_cleanup): Likewise.
18381         (_IO_iter_begin): Likewise.
18382         (_IO_iter_end): Likewise.
18383         (_IO_list_lock): Likewise.
18384         (_IO_list_unlock): Likewise.
18385         (_IO_list_resetlock): Likewise.
18386         * libio/getchar.c (getchar): Likewise.
18387         * libio/getchar_u.c (getchar_unlocked): Likewise.
18388         * libio/getwchar.c (getwchar): Likewise.
18389         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18390         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18391         * login/getpt.c (__getpt): Likewise.
18392         * login/tst-utmp.c (main): Likewise.
18393         * malloc/hooks.c (__malloc_check_init): Likewise.
18394         * malloc/malloc.c (__malloc_stats): Likewise.
18395         * malloc/mtrace.c (tr_break): Likewise.
18396         (mtrace): Likewise.
18397         (muntrace): Likewise.
18398         * misc/fstab.c (endfsent): Likewise.
18399         * misc/getclktck.c (__getclktck): Likewise.
18400         * misc/getdtsz.c (__getdtablesize): Likewise.
18401         * misc/gethostid.c (gethostid): Likewise.
18402         * misc/getpagesize.c (__getpagesize): Likewise.
18403         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18404         (__get_nprocs): Likewise.
18405         (__get_phys_pages): Likewise.
18406         (__get_avphys_pages): Likewise.
18407         * misc/getttyent.c (getttyent): Likewise.
18408         (setttyent): Likewise.
18409         (endttyent): Likewise.
18410         * misc/getusershell.c (getusershell): Likewise.
18411         (endusershell): Likewise.
18412         (setusershell): Likewise.
18413         (initshells): Likewise.
18414         * misc/hsearch.c (__hdestroy): Likewise.
18415         * misc/sync.c (sync): Likewise.
18416         * misc/syslog.c (closelog_internal): Likewise.
18417         (closelog): Likewise.
18418         * misc/ttyslot.c (ttyslot): Likewise.
18419         * misc/vhangup.c (vhangup): Likewise.
18420         * posix/fork.c (__fork): Likewise.
18421         * posix/getegid.c (__getegid): Likewise.
18422         * posix/geteuid.c (__geteuid): Likewise.
18423         * posix/getgid.c (__getgid): Likewise.
18424         * posix/getpid.c (__getpid): Likewise.
18425         * posix/getppid.c (__getppid): Likewise.
18426         * posix/getuid.c (__getuid): Likewise.
18427         * posix/pause.c (pause): Likewise.
18428         * posix/setpgrp.c (setpgrp): Likewise.
18429         * posix/setsid.c (__setsid): Likewise.
18430         * posix/test-vfork.c (noop): Likewise.
18431         * resolv/gethnamaddr.c (_endhtent): Likewise.
18432         (_gethtent): Likewise.
18433         (ht_endhostent): Likewise.
18434         (gethostent): Likewise.
18435         (dns_service): Likewise.
18436         * stdlib/drand48.c (drand48): Likewise.
18437         * stdlib/lrand48.c (lrand48): Likewise.
18438         * stdlib/mrand48.c (mrand48): Likewise.
18439         * stdlib/rand.c (rand): Likewise.
18440         * stdlib/random.c (__random): Likewise.
18441         * stdlib/setenv.c (clearenv): Likewise.
18442         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18443         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18444         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18445         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18446         (__get_nprocs): Likewise.
18447         (__get_phys_pages): Likewise.
18448         (__get_avphys_pages): Likewise.
18449         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18450         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18451         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18452         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18453         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18454         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18455         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18456         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18457         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18458         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18459         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18460         * sysdeps/mach/hurd/sync.c (sync): Likewise.
18461         * sysdeps/posix/clock.c (clock): Likewise.
18462         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18463         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18464         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18465         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18466         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18467         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18468         (__get_nprocs_conf): Likewise.
18469         (__get_phys_pages): Likewise.
18470         (__get_avphys_pages): Likewise.
18471         * time/clock.c (clock): Likewise.
18472         * time/tzset.c (__tzname_max): Likewise.
18473
18474 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
18475
18476         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18477         (__bswap_32): Do not use "register".
18478         * crypt/crypt.c (_ufc_doit_r): Likewise.
18479         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18480         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18481         * gmon/gmon.c (__monstartup): Likewise.
18482         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18483         * hurd/hurdmalloc.c (more_memory): Likewise.
18484         (malloc): Likewise.
18485         (free): Likewise.
18486         (realloc): Likewise.
18487         (malloc_fork_prepare): Likewise.
18488         (malloc_fork_parent): Likewise.
18489         (malloc_fork_child): Likewise.
18490         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18491         (_svcauth_des): Likewise.
18492         * inet/inet_lnaof.c (inet_lnaof): Likewise.
18493         * inet/inet_net.c (inet_network): Likewise.
18494         * inet/inet_netof.c (inet_netof): Likewise.
18495         * inet/rcmd.c (__validuser2_sa): Likewise.
18496         * io/fts.c (fts_open): Likewise.
18497         (fts_load): Likewise.
18498         (fts_close): Likewise.
18499         (fts_read): Likewise.
18500         (fts_children): Likewise.
18501         (fts_build): Likewise.
18502         (fts_stat): Likewise.
18503         (fts_sort): Likewise.
18504         (fts_alloc): Likewise.
18505         (fts_lfree): Likewise.
18506         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18507         (_IO_file_xsgetn): Likewise.
18508         (_IO_file_xsgetn_mmap): Likewise.
18509         * libio/iofopncook.c (_IO_cookie_read): Likewise.
18510         (_IO_cookie_write): Likewise.
18511         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18512         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18513         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18514         * malloc/obstack.c (_obstack_begin): Likewise.
18515         (_obstack_begin_1): Likewise.
18516         (_obstack_newchunk): Likewise.
18517         (_obstack_allocated_p): Likewise.
18518         (obstack_free): Likewise.
18519         (_obstack_memory_used): Likewise.
18520         * misc/getttyent.c (getttynam): Likewise.
18521         (getttyent): Likewise.
18522         (skip): Likewise.
18523         (value): Likewise.
18524         * misc/getusershell.c (initshells): Likewise.
18525         * misc/syslog.c (__vsyslog_chk): Likewise.
18526         * misc/ttyslot.c (ttyslot): Likewise.
18527         * nis/nis_hash.c (__nis_hash): Likewise.
18528         * posix/fnmatch_loop.c (FCT): Likewise.
18529         * posix/getconf.c (print_all): Likewise.
18530         (main): Likewise.
18531         * posix/getopt.c (exchange): Likewise.
18532         * posix/glob.c (globfree): Likewise.
18533         (prefix_array): Likewise.
18534         (__glob_pattern_type): Likewise.
18535         * resolv/arpa/nameser.h (NS_GET16): Likewise.
18536         (NS_GET32): Likewise.
18537         (NS_PUT16): Likewise.
18538         (NS_PUT32): Likewise.
18539         * resolv/gethnamaddr.c (getanswer): Likewise.
18540         (gethostbyname2): Likewise.
18541         (gethostbyaddr): Likewise.
18542         (_gethtent): Likewise.
18543         (_gethtbyname2): Likewise.
18544         (_gethtbyaddr): Likewise.
18545         * resolv/ns_print.c (dst_s_get_int16): Likewise.
18546         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18547         * resolv/res_init.c (__res_vinit): Likewise.
18548         (net_mask): Likewise.
18549         * resolv/res_mkquery.c (outchar): Likewise.
18550         (PRINT): Likewise.
18551         * stdio-common/printf_fp.c (outchar): Likewise.
18552         (PRINT): Likewise.
18553         * stdio-common/printf_fphex.c (outchar): Likewise.
18554         (PRINT): Likewise.
18555         * stdio-common/printf_size.c (outchar): Likewise.
18556         (PRINT): Likewise.
18557         * stdio-common/test_rdwr.c (main): Likewise.
18558         * stdio-common/tfformat.c (matches): Likewise.
18559         * stdio-common/vfprintf.c (outchar): Likewise.
18560         (printf_unknown): Likewise.
18561         (buffered_vfprintf): Likewise.
18562         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18563         * stdio-common/xbug.c (AppendToBuffer): Likewise.
18564         (ReadFile): Likewise.
18565         * stdlib/qsort.c (SWAP): Likewise.
18566         (_quicksort): Likewise.
18567         * stdlib/setenv.c (__add_to_environ): Likewise.
18568         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18569         * stdlib/strtol_l.c (__strtol_l): Likewise.
18570         * stdlib/tst-strtod.c (main): Likewise.
18571         * stdlib/tst-strtol.c (main): Likewise.
18572         * stdlib/tst-strtoll.c (main): Likewise.
18573         * string/bits/string2.h (__strcmp_cc): Likewise.
18574         (__strcmp_cg): Likewise.
18575         (__strcspn_c1): Likewise.
18576         (__strcspn_c2): Likewise.
18577         (__strcspn_c3): Likewise.
18578         (__strspn_c1): Likewise.
18579         (__strspn_c2): Likewise.
18580         (__strspn_c3): Likewise.
18581         (__strsep_1c): Likewise.
18582         (__strsep_2c): Likewise.
18583         (__strsep_3c): Likewise.
18584         * string/memccpy.c (__memccpy): Likewise.
18585         * string/stpcpy.c (__stpcpy): Likewise.
18586         * string/strcmp.c (strcmp): Likewise.
18587         * string/strrchr.c (strrchr): Likewise.
18588         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18589         Likewise.
18590         * sysdeps/mach/hurd/getcwd.c
18591         (_hurd_canonicalize_directory_name_internal): Likewise.
18592         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18593         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18594         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18595         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18596         Likewise, in both definitions.
18597         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18598         definitions.
18599         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18600         64] (__bswap_64): Likewise.
18601         * time/test_time.c (main): Likewise.
18602         * time/tzfile.c (__tzfile_read): Likewise.
18603         (__tzfile_compute): Likewise.
18604         * time/tzset.c (__tzset_parse_tz): Likewise.
18605         (tzset_internal): Likewise.
18606         (compute_change): Likewise.
18607         * wcsmbs/wcscat.c (__wcscat): Likewise.
18608         * wcsmbs/wcschr.c (wcschr): Likewise.
18609         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18610         * wcsmbs/wcscspn.c (wcscspn): Likewise.
18611         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18612         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18613         * wcsmbs/wcsspn.c (wcsspn): Likewise.
18614         * wcsmbs/wcsstr.c (wcsstr): Likewise.
18615         * wcsmbs/wmemchr.c (wmemchr): Likewise.
18616         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18617         * wcsmbs/wmemset.c (wmemset): Likewise.
18618
18619 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
18620
18621         * scripts/config.guess: Update to version 2013-05-16.
18622         * scripts/config.sub: Update to version 2013-04-24.
18623         * scripts/install-sh: Update to version 2011-11-20.07.
18624         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18625         * scripts/move-if-change: Update to version 2012-01-06 07:23.
18626
18627 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
18628
18629         * debug/fgetws_u_chk.c: Fix leading whitespaces.
18630         * elf/sln.c: Likewise.
18631         * hurd/hurd/ioctl.h: Likewise.
18632         * hurd/hurdmalloc.c: Likewise.
18633         * hurd/xattr.c: Likewise.
18634         * include/shlib-compat.h: Likewise.
18635         * inet/ruserpass.c: Likewise.
18636         * libio/iofgets_u.c: Likewise.
18637         * libio/iofgetws_u.c: Likewise.
18638         * locale/programs/ld-identification.c: Likewise.
18639         * locale/programs/ld-time.c: Likewise.
18640         * mach/msg-destroy.c: Likewise.
18641         * nss/nss_files/files-netgrp.c: Likewise.
18642         * resolv/res_data.c: Likewise.
18643         * soft-fp/op-1.h: Likewise.
18644         * soft-fp/op-2.h: Likewise.
18645         * soft-fp/op-4.h: Likewise.
18646         * soft-fp/op-common.h: Likewise.
18647         * stdio-common/printf_fphex.c: Likewise.
18648         * stdlib/strtod_l.c: Likewise.
18649         * sunrpc/rpc/clnt.h: Likewise.
18650         * sysdeps/generic/framestate.c: Likewise.
18651         * sysdeps/i386/bsd-_setjmp.S: Likewise.
18652         * sysdeps/i386/bsd-setjmp.S: Likewise.
18653         * sysdeps/i386/__longjmp.S: Likewise.
18654         * sysdeps/i386/setjmp.S: Likewise.
18655         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18656         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18657         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18658         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18659         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18660         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18661         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18662         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18663         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18664         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18665         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18666         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18667         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18668         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18669         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18670         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18671         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18672         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18673         * sysdeps/ieee754/support.c: Likewise.
18674         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18675         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18676         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18677         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18678         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18679         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18680         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18681         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18682         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18683         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18684         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18685         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18686         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18687         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18688         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18689         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18690         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18692
18693 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
18694
18695         * posix/transbug.c: Remove executable mode.
18696
18697 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
18698
18699         * crypt/speeds.c: Remove trailing whitespace.
18700         * dlfcn/default.c: Likewise.
18701         * elf/ifuncdep2.c: Likewise.
18702         * elf/ifuncmain1.c: Likewise.
18703         * elf/ifuncmain1vis.c: Likewise.
18704         * elf/testobj.h: Likewise.
18705         * elf/tst-stackguard1.c: Likewise.
18706         * gmon/sys/gmon.h: Likewise.
18707         * hurd/hurdmsg.c: Likewise.
18708         * hurd/new-fd.c: Likewise.
18709         * hurd/ports-get.c: Likewise.
18710         * iconvdata/ibm1008_420.c: Likewise.
18711         * inet/tst-getni1.c: Likewise.
18712         * inet/tst-getni2.c: Likewise.
18713         * libio/ioungetc.c: Likewise.
18714         * libio/wfiledoalloc.c: Likewise.
18715         * manual/libm-err-tab.pl: Likewise.
18716         * math/w_dremf.c: Likewise.
18717         * misc/ftruncate.c: Likewise.
18718         * posix/bug-glob2.c: Likewise.
18719         * posix/tst-pcre.c: Likewise.
18720         * posix/wait4.c: Likewise.
18721         * resolv/README: Likewise.
18722         * resolv/res_debug.h: Likewise.
18723         * resolv/tst-inet_ntop.c: Likewise.
18724         * setjmp/bug269-setjmp.c: Likewise.
18725         * soft-fp/extended.h: Likewise.
18726         * soft-fp/op-1.h: Likewise.
18727         * soft-fp/op-2.h: Likewise.
18728         * soft-fp/op-4.h: Likewise.
18729         * soft-fp/op-8.h: Likewise.
18730         * soft-fp/testit.c: Likewise.
18731         * stdio-common/bug16.c: Likewise.
18732         * stdlib/random.c: Likewise.
18733         * sunrpc/rpcsvc/rquota.x: Likewise.
18734         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18735         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18736         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18737         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18738         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18739         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18740         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18741         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18742         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18743         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18744         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18745         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18746         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18747         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18748         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18749         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18750         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18751         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18752         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18753         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18754         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18755         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18756         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18757         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18758         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18759         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18760         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18761         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18762         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18763         * sysdeps/ieee754/s_lib_version.c: Likewise.
18764         * sysdeps/mach/hurd/check_fds.c: Likewise.
18765         * sysdeps/mach/hurd/getsockname.c: Likewise.
18766         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18767         * sysdeps/mach/hurd/recvfrom.c: Likewise.
18768         * sysdeps/powerpc/bits/link.h: Likewise.
18769         * sysdeps/powerpc/dl-procinfo.c: Likewise.
18770         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18771         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18772         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18773         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18774         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18775         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18776         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18777         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18778         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18779         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18780         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18781         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18782         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18783         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18784         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18785         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18786         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18787         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18788         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18789         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18790         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18791         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18792         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18793         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18794         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18795         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18796         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18797         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18798         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18799         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18800         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18801         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18802         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18803         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18804         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18805         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18806         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18807         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18808         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18809         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18810         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18811         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18812         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18813         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18814         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18815         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18816         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18817         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18818         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18819         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18820         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18821         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18822         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18823         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18824         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18825         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18826         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18827         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18828         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18829         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18830         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18831         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18832         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18833         * sysdeps/powerpc/sysdep.h: Likewise.
18834         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18835         * sysdeps/s390/s390-64/sub_n.S: Likewise.
18836         * sysdeps/sh/dl-trampoline.S: Likewise.
18837         * sysdeps/sh/memset.S: Likewise.
18838         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18839         * sysdeps/sh/strlen.S: Likewise.
18840         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18841         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18842         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18843         * sysdeps/sparc/sparc32/rem.S: Likewise.
18844         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18845         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18846         * sysdeps/sparc/sparc32/strchr.S: Likewise.
18847         * sysdeps/sparc/sparc32/udiv.S: Likewise.
18848         * sysdeps/sparc/sparc32/urem.S: Likewise.
18849         * sysdeps/sparc/sparc64/add_n.S: Likewise.
18850         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18851         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18852         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18853         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18854         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18855         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18856         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18857         * sysdeps/unix/bsd/times.c: Likewise.
18858         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18859         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18863         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18864         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18865         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18866         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18867         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18868         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18869         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18870         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18871         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18872         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18873         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18874         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18875         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18876         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18877         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18878         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18879         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18880         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18881         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18882         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18883         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18884         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18885         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18886         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18887         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18888         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18889         * sysdeps/x86_64/strcspn.S: Likewise.
18890
18891 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18892
18893         * locale/C-translit.h: Revert #include <stdint.h> because this is a
18894         generated file.  Regenerate properly from gen-translit.pl.
18895         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
18896         locale/C-translit.h.
18897
18898 2013-06-05  Andreas Schwab  <schwab@suse.de>
18899
18900         [BZ #15100]
18901         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18902         week as 6 instead of -1.
18903         * time/tst-strptime.c (day_tests): Add test case.
18904
18905 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18906
18907         * sysdeps/generic/math_private.h
18908         (libc_feholdexcept_setround_53bit): Replace with
18909         libc_feholdsetround_53bit.
18910         (libc_feupdateenv_53bit): Replace with
18911         libc_feresetround_53bit.
18912         (SET_RESTORE_ROUND_53BIT): Adjust.
18913
18914 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18915
18916         * string/test-strchrnul.c: Add copyright header.
18917
18918         * posix/tst-getaddrinfo4.c: Increase test timeout.
18919
18920 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
18921
18922         [BZ #15536]
18923         * math/libm-test.inc (MAX_EXP): Remove
18924         (MIN_EXP): Define.
18925         (ulp): Use MIN_EXP - MANT_DIG.
18926         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18927
18928 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
18929
18930         * po/be.po: Revert last change.
18931         * po/zh_CN.po: Likewise.
18932         * po/header.pot: Likewise.
18933
18934 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
18935
18936         * Makefile ($(common-objpfx)linkobj/libc.so): Define
18937         link-libc-deps to empty as target-specific variable.
18938         * Makerules (link-libc-args): New variable.
18939         (libc-for-link): Likewise.
18940         (link-libc-deps): Likewise.
18941         (lib%.so): Depend on $(link-libc-deps).  Link with
18942         $(link-libc-args).
18943         (build-module): Link with $(link-libc-args).
18944         (build-module-asneeded): Likewise.
18945         (build-module-helper-objlist): Filter out $(link-libc-deps) from
18946         list of objects.
18947         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18948         target-specific variable.
18949         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18950         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18951         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18952         libc.
18953         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18954         libc and ld.so.
18955         ($(objpfx)libpcprofile.so): Likewise.
18956         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18957         libc_nonshared.a.
18958         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18959         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18960         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18961         $(link-libc-deps).
18962         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18963         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18964         * login/Makefile ($(objpfx)libutil.so): Likewise.
18965         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18966         * math/Makefile ($(objpfx)libm.so): Likewise.
18967         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18968         $(objpfx)libnsl.so): Define libc-for-link as target-specific
18969         variable instead of depending directly on libc.
18970         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18971         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18972         $(link-libc-deps).
18973         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18974         libc.
18975         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18976         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18977         ($(objpfx)libanl.so): Likewise.
18978         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18979         ld.so.
18980         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18981         $(link-libc-deps).
18982         * sysdeps/i386/fpu/Makefile: Remove file.
18983         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18984         ($(objpfx)libm.so): Remove dependency on ld.so.
18985
18986 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
18987
18988         [BZ # 15553]
18989         * nis/yp_xdr.c (XDRMAXNAME): Define.
18990         (XDRMAXRECORD): Define.
18991         (xdr_domainname): Use XDRMAXNAME.
18992         (xdr_mapname): Likewise.
18993         (xdr_peername): Likewise.
18994         (xdr_keydat): Use XDRMAXRECORD.
18995         (xdr_valdat): Likewise.
18996
18997 2013-05-30  Jeff Law  <law@redhat.com>
18998
18999         [BZ #14256]
19000         * manual/errno.texi (ESTALE): Update to account for more than
19001         just NFS file systems.
19002         * sysdeps/gnu/errlist.c: Regenerated.
19003
19004 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19005
19006         [BZ #15465]
19007         * elf/Makefile (tests): Add tst-null-argv.
19008         (modules-names):  Add tst-null-argv-lib.
19009         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19010         (tst-null-argv-ENV): Set environment for tst-null-argv.
19011         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19012         (RTLD_PROGNAME): New macro.
19013         * elf/tst-null-argv.c: New test case.
19014         * elf/tst-null-argv-lib.c: Library for test case.
19015         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19016         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19017         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19018         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19019         * elf/dl-init.c (call_init): Likewise.
19020         (_dl_init): Likewise.
19021         * elf/dl-load.c (print_search_path): Likewise.
19022         (_dl_map_object): Likewise.
19023         * elf/dl-lookup.c (do_lookup_x): Likewise.
19024         (add_dependency): Likewise.
19025         (_dl_lookup_symbol_x): Likewise.
19026         (_dl_debug_bindings): Likewise.
19027         * elf/dl-open.c (_dl_show_scope): Likewise.
19028         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19029         * elf/dl-version.c (match_symbol): Likewise.
19030         (_dl_check_map_versions): Likewise.
19031         * elf/rtld.c (dl_main): Likewise.
19032         (print_unresolved): Use RTLD_PROGNAME.
19033         (print_missing_version): Likewise.
19034         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19035         (elf_machine_rela): Likewise.
19036         * sysdeps/powerpc/powerpc32/dl-machine.c
19037         (__process_machine_rela): Likewise.
19038         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19039         Likewise.
19040         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19041         Likewise.
19042         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19043         Likewise.
19044         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19045         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19046         Likewise.
19047         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19048         Likewise.
19049         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19050
19051 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
19052
19053         * po/be.po: Add descriptive title.
19054         * po/zh_CN.po: Likewise.
19055         * po/header.pot: Likewise.
19056
19057 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
19058
19059         * locale/programs/locarchive.c (create_archive): Inlucde fname in
19060         error message.
19061         (enlarge_archive): Likewise.
19062
19063 2013-05-28  Ben North  <ben@redfrontdoor.org>
19064
19065         * manual/arith.texi (frexp): It is the magnitude of the return
19066         value which lies in [0.5, 1), not the return value itself.
19067
19068 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19069
19070         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19071
19072 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
19073
19074         * stdio-common/bug26.c (main): Correct fscanf template.
19075
19076         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19077         declare _dl_skip_args.
19078
19079         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19080         Don't declare.
19081
19082         * manual/platform.texi: Add missing @end deftypefun.
19083
19084 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19085
19086         [BZ #15529]
19087         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19088         bit of mantissa of 2^16382.
19089         * math/libm-test.inc (hypot_test_data): Add more tests.
19090
19091         * math/libm-test.inc: Add drem and pow10 to list of tested
19092         functions.
19093         (pow10_test): New function.
19094         (drem_test): Likewise.
19095         (drem_test_tonearest): Likewise.
19096         (drem_test_towardzero): Likewise.
19097         (drem_test_downward): Likewise.
19098         (drem_test_upward): Likewise.
19099         (main): Call the new functions.
19100
19101         * math/libm-test.inc (finite_test_data): Remove.
19102         (finite_test): Run tests from isfinite_test_data.
19103         (gamma_test_data): Remove.
19104         (gamma_test): Run tests from lgamma_test_data.
19105         * sysdeps/i386/fpu/libm-test-ulps: Update.
19106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19107
19108 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19109
19110         * manual/platform.texi: Add PowerPC PPR function set documentation.
19111         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19112         implementation.
19113
19114 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
19115
19116         * math/libm-test.inc (MAX_EXP): Define.
19117         (ULPDIFF): Define.
19118         (ulp): New function.
19119         (check_float_internal): Use ULPDIFF.
19120         (cpow_test): Disable failing test.
19121         (check_ulp): Test ulp() implemetnation.
19122         (main): Call check_ulp before starting tests.
19123
19124 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19125
19126         * math/gen-libm-test.pl (generate_testfile): Do not handle
19127         START_DATA and END_DATA.
19128         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19129         END_DATA.
19130         (acos_tonearest_test_data): Likewise.
19131         (acos_towardzero_test_data): Likewise.
19132         (acos_downward_test_data): Likewise.
19133         (acos_upward_test_data): Likewise.
19134         (acosh_test_data): Likewise.
19135         (asin_test_data): Likewise.
19136         (asin_tonearest_test_data): Likewise.
19137         (asin_towardzero_test_data): Likewise.
19138         (asin_downward_test_data): Likewise.
19139         (asin_upward_test_data): Likewise.
19140         (asinh_test_data): Likewise.
19141         (atan_test_data): Likewise.
19142         (atanh_test_data): Likewise.
19143         (atan2_test_data): Likewise.
19144         (cabs_test_data): Likewise.
19145         (cacos_test_data): Likewise.
19146         (cacosh_test_data): Likewise.
19147         (carg_test_data): Likewise.
19148         (casin_test_data): Likewise.
19149         (casinh_test_data): Likewise.
19150         (catan_test_data): Likewise.
19151         (catanh_test_data): Likewise.
19152         (cbrt_test_data): Likewise.
19153         (ccos_test_data): Likewise.
19154         (ccosh_test_data): Likewise.
19155         (ceil_test_data): Likewise.
19156         (cexp_test_data): Likewise.
19157         (cimag_test_data): Likewise.
19158         (clog_test_data): Likewise.
19159         (clog10_test_data): Likewise.
19160         (conj_test_data): Likewise.
19161         (copysign_test_data): Likewise.
19162         (cos_test_data): Likewise.
19163         (cos_tonearest_test_data): Likewise.
19164         (cos_towardzero_test_data): Likewise.
19165         (cos_downward_test_data): Likewise.
19166         (cos_upward_test_data): Likewise.
19167         (cosh_test_data): Likewise.
19168         (cosh_tonearest_test_data): Likewise.
19169         (cosh_towardzero_test_data): Likewise.
19170         (cosh_downward_test_data): Likewise.
19171         (cosh_upward_test_data): Likewise.
19172         (cpow_test_data): Likewise.
19173         (cproj_test_data): Likewise.
19174         (creal_test_data): Likewise.
19175         (csin_test_data): Likewise.
19176         (csinh_test_data): Likewise.
19177         (csqrt_test_data): Likewise.
19178         (ctan_test_data): Likewise.
19179         (ctan_tonearest_test_data): Likewise.
19180         (ctan_towardzero_test_data): Likewise.
19181         (ctan_downward_test_data): Likewise.
19182         (ctan_upward_test_data): Likewise.
19183         (ctanh_test_data): Likewise.
19184         (ctanh_tonearest_test_data): Likewise.
19185         (ctanh_towardzero_test_data): Likewise.
19186         (ctanh_downward_test_data): Likewise.
19187         (ctanh_upward_test_data): Likewise.
19188         (erf_test_data): Likewise.
19189         (erfc_test_data): Likewise.
19190         (exp_test_data): Likewise.
19191         (exp_tonearest_test_data): Likewise.
19192         (exp_towardzero_test_data): Likewise.
19193         (exp_downward_test_data): Likewise.
19194         (exp_upward_test_data): Likewise.
19195         (exp10_test_data): Likewise.
19196         (exp2_test_data): Likewise.
19197         (expm1_test_data): Likewise.
19198         (fabs_test_data): Likewise.
19199         (fdim_test_data): Likewise.
19200         (finite_test_data): Likewise.
19201         (floor_test_data): Likewise.
19202         (fma_test_data): Likewise.
19203         (fma_towardzero_test_data): Likewise.
19204         (fma_downward_test_data): Likewise.
19205         (fma_upward_test_data): Likewise.
19206         (fmax_test_data): Likewise.
19207         (fmin_test_data): Likewise.
19208         (fmod_test_data): Likewise.
19209         (fpclassify_test_data): Likewise.
19210         (frexp_test_data): Likewise.
19211         (gamma_test_data): Likewise.
19212         (hypot_test_data): Likewise.
19213         (ilogb_test_data): Likewise.
19214         (isfinite_test_data): Likewise.
19215         (isgreater_test_data): Likewise.
19216         (isgreaterequal_test_data): Likewise.
19217         (isinf_test_data): Likewise.
19218         (isless_test_data): Likewise.
19219         (islessequal_test_data): Likewise.
19220         (islessgreater_test_data): Likewise.
19221         (isnan_test_data): Likewise.
19222         (isnormal_test_data): Likewise.
19223         (issignaling_test_data): Likewise.
19224         (isunordered_test_data): Likewise.
19225         (j0_test_data): Likewise.
19226         (j1_test_data): Likewise.
19227         (jn_test_data): Likewise.
19228         (ldexp_test_data): Likewise.
19229         (lgamma_test_data): Likewise.
19230         (lrint_test_data): Likewise.
19231         (lrint_tonearest_test_data): Likewise.
19232         (lrint_towardzero_test_data): Likewise.
19233         (lrint_downward_test_data): Likewise.
19234         (lrint_upward_test_data): Likewise.
19235         (llrint_test_data): Likewise.
19236         (llrint_tonearest_test_data): Likewise.
19237         (llrint_towardzero_test_data): Likewise.
19238         (llrint_downward_test_data): Likewise.
19239         (llrint_upward_test_data): Likewise.
19240         (log_test_data): Likewise.
19241         (log10_test_data): Likewise.
19242         (log1p_test_data): Likewise.
19243         (log2_test_data): Likewise.
19244         (logb_test_data): Likewise.
19245         (logb_downward_test_data): Likewise.
19246         (lround_test_data): Likewise.
19247         (llround_test_data): Likewise.
19248         (modf_test_data): Likewise.
19249         (nearbyint_test_data): Likewise.
19250         (nextafter_test_data): Likewise.
19251         (nexttoward_test_data): Likewise.
19252         (pow_test_data): Likewise.
19253         (pow_tonearest_test_data): Likewise.
19254         (pow_towardzero_test_data): Likewise.
19255         (pow_downward_test_data): Likewise.
19256         (pow_upward_test_data): Likewise.
19257         (remainder_test_data): Likewise.
19258         (remainder_tonearest_test_data): Likewise.
19259         (remainder_towardzero_test_data): Likewise.
19260         (remainder_downward_test_data): Likewise.
19261         (remainder_upward_test_data): Likewise.
19262         (remquo_test_data): Likewise.
19263         (rint_test_data): Likewise.
19264         (rint_tonearest_test_data): Likewise.
19265         (rint_towardzero_test_data): Likewise.
19266         (rint_downward_test_data): Likewise.
19267         (rint_upward_test_data): Likewise.
19268         (round_test_data): Likewise.
19269         (scalb_test_data): Likewise.
19270         (scalbn_test_data): Likewise.
19271         (scalbln_test_data): Likewise.
19272         (signbit_test_data): Likewise.
19273         (sin_test_data): Likewise.
19274         (sin_tonearest_test_data): Likewise.
19275         (sin_towardzero_test_data): Likewise.
19276         (sin_downward_test_data): Likewise.
19277         (sin_upward_test_data): Likewise.
19278         (sincos_test_data): Likewise.
19279         (sinh_test_data): Likewise.
19280         (sinh_tonearest_test_data): Likewise.
19281         (sinh_towardzero_test_data): Likewise.
19282         (sinh_downward_test_data): Likewise.
19283         (sinh_upward_test_data): Likewise.
19284         (sqrt_test_data): Likewise.
19285         (tan_test_data): Likewise.
19286         (tan_tonearest_test_data): Likewise.
19287         (tan_towardzero_test_data): Likewise.
19288         (tan_downward_test_data): Likewise.
19289         (tan_upward_test_data): Likewise.
19290         (tanh_test_data): Likewise.
19291         (tgamma_test_data): Likewise.
19292         (trunc_test_data): Likewise.
19293         (y0_test_data): Likewise.
19294         (y1_test_data): Likewise.
19295         (yn_test_data): Likewise.
19296         (significand_test_data): Likewise.
19297
19298         * math/gen-libm-test.pl (@functions): Remove variable.
19299         (generate_testfile): Don't handle START and END lines.
19300         * math/libm-test.inc (START): New macro.
19301         (END): Likewise.
19302         (END_COMPLEX): Likewise.
19303         (acos_test): Use END macro without arguments.
19304         (acos_test_tonearest): Likewise.
19305         (acos_test_towardzero): Likewise.
19306         (acos_test_downward): Likewise.
19307         (acos_test_upward): Likewise.
19308         (acosh_test): Likewise.
19309         (asin_test): Likewise.
19310         (asin_test_tonearest): Likewise.
19311         (asin_test_towardzero): Likewise.
19312         (asin_test_downward): Likewise.
19313         (asin_test_upward): Likewise.
19314         (asinh_test): Likewise.
19315         (atan_test): Likewise.
19316         (atanh_test): Likewise.
19317         (atan2_test): Likewise.
19318         (cabs_test): Likewise.
19319         (cacos_test): Use END_COMPLEX macro without arguments.
19320         (cacosh_test): Likewise.
19321         (carg_test): Use END macro without arguments.
19322         (casin_test): Use END_COMPLEX macro without arguments.
19323         (casinh_test): Likewise.
19324         (catan_test): Likewise.
19325         (catanh_test): Likewise.
19326         (cbrt_test): Use END macro without arguments.
19327         (ccos_test): Use END_COMPLEX macro without arguments.
19328         (ccosh_test): Likewise.
19329         (ceil_test): Use END macro without arguments.
19330         (cexp_test): Use END_COMPLEX macro without arguments.
19331         (cimag_test): Use END macro without arguments.
19332         (clog_test): Use END_COMPLEX macro without arguments.
19333         (clog10_test): Likewise.
19334         (conj_test): Likewise.
19335         (copysign_test): Use END macro without arguments.
19336         (cos_test): Likewise.
19337         (cos_test_tonearest): Likewise.
19338         (cos_test_towardzero): Likewise.
19339         (cos_test_downward): Likewise.
19340         (cos_test_upward): Likewise.
19341         (cosh_test): Likewise.
19342         (cosh_test_tonearest): Likewise.
19343         (cosh_test_towardzero): Likewise.
19344         (cosh_test_downward): Likewise.
19345         (cosh_test_upward): Likewise.
19346         (cpow_test): Use END_COMPLEX macro without arguments.
19347         (cproj_test): Likewise.
19348         (creal_test): Use END macro without arguments.
19349         (csin_test): Use END_COMPLEX macro without arguments.
19350         (csinh_test): Likewise.
19351         (csqrt_test): Likewise.
19352         (ctan_test): Likewise.
19353         (ctan_test_tonearest): Likewise.
19354         (ctan_test_towardzero): Likewise.
19355         (ctan_test_downward): Likewise.
19356         (ctan_test_upward): Likewise.
19357         (ctanh_test): Likewise.
19358         (ctanh_test_tonearest): Likewise.
19359         (ctanh_test_towardzero): Likewise.
19360         (ctanh_test_downward): Likewise.
19361         (ctanh_test_upward): Likewise.
19362         (erf_test): Use END macro without arguments.
19363         (erfc_test): Likewise.
19364         (exp_test): Likewise.
19365         (exp_test_tonearest): Likewise.
19366         (exp_test_towardzero): Likewise.
19367         (exp_test_downward): Likewise.
19368         (exp_test_upward): Likewise.
19369         (exp10_test): Likewise.
19370         (exp2_test): Likewise.
19371         (expm1_test): Likewise.
19372         (fabs_test): Likewise.
19373         (fdim_test): Likewise.
19374         (finite_test): Likewise.
19375         (floor_test): Likewise.
19376         (fma_test): Likewise.
19377         (fma_test_towardzero): Likewise.
19378         (fma_test_downward): Likewise.
19379         (fma_test_upward): Likewise.
19380         (fmax_test): Likewise.
19381         (fmin_test): Likewise.
19382         (fmod_test): Likewise.
19383         (fpclassify_test): Likewise.
19384         (frexp_test): Likewise.
19385         (gamma_test): Likewise.
19386         (hypot_test): Likewise.
19387         (ilogb_test): Likewise.
19388         (isfinite_test): Likewise.
19389         (isgreater_test): Likewise.
19390         (isgreaterequal_test): Likewise.
19391         (isinf_test): Likewise.
19392         (isless_test): Likewise.
19393         (islessequal_test): Likewise.
19394         (islessgreater_test): Likewise.
19395         (isnan_test): Likewise.
19396         (isnormal_test): Likewise.
19397         (issignaling_test): Likewise.
19398         (isunordered_test): Likewise.
19399         (j0_test): Likewise.
19400         (j1_test): Likewise.
19401         (jn_test): Likewise.
19402         (ldexp_test): Likewise.
19403         (lgamma_test): Likewise.
19404         (lrint_test): Likewise.
19405         (lrint_test_tonearest): Likewise.
19406         (lrint_test_towardzero): Likewise.
19407         (lrint_test_downward): Likewise.
19408         (lrint_test_upward): Likewise.
19409         (llrint_test): Likewise.
19410         (llrint_test_tonearest): Likewise.
19411         (llrint_test_towardzero): Likewise.
19412         (llrint_test_downward): Likewise.
19413         (llrint_test_upward): Likewise.
19414         (log_test): Likewise.
19415         (log10_test): Likewise.
19416         (log1p_test): Likewise.
19417         (log2_test): Likewise.
19418         (logb_test): Likewise.
19419         (logb_test_downward): Likewise.
19420         (lround_test): Likewise.
19421         (llround_test): Likewise.
19422         (modf_test): Likewise.
19423         (nearbyint_test): Likewise.
19424         (nextafter_test): Likewise.
19425         (nexttoward_test): Likewise.
19426         (pow_test): Likewise.
19427         (pow_test_tonearest): Likewise.
19428         (pow_test_towardzero): Likewise.
19429         (pow_test_downward): Likewise.
19430         (pow_test_upward): Likewise.
19431         (remainder_test): Likewise.
19432         (remainder_test_tonearest): Likewise.
19433         (remainder_test_towardzero): Likewise.
19434         (remainder_test_downward): Likewise.
19435         (remainder_test_upward): Likewise.
19436         (remquo_test): Likewise.
19437         (rint_test): Likewise.
19438         (rint_test_tonearest): Likewise.
19439         (rint_test_towardzero): Likewise.
19440         (rint_test_downward): Likewise.
19441         (rint_test_upward): Likewise.
19442         (round_test): Likewise.
19443         (scalb_test): Likewise.
19444         (scalbn_test): Likewise.
19445         (scalbln_test): Likewise.
19446         (signbit_test): Likewise.
19447         (sin_test): Likewise.
19448         (sin_test_tonearest): Likewise.
19449         (sin_test_towardzero): Likewise.
19450         (sin_test_downward): Likewise.
19451         (sin_test_upward): Likewise.
19452         (sincos_test): Likewise.
19453         (sinh_test): Likewise.
19454         (sinh_test_tonearest): Likewise.
19455         (sinh_test_towardzero): Likewise.
19456         (sinh_test_downward): Likewise.
19457         (sinh_test_upward): Likewise.
19458         (sqrt_test): Likewise.
19459         (tan_test): Likewise.
19460         (tan_test_tonearest): Likewise.
19461         (tan_test_towardzero): Likewise.
19462         (tan_test_downward): Likewise.
19463         (tan_test_upward): Likewise.
19464         (tanh_test): Likewise.
19465         (tgamma_test): Likewise.
19466         (trunc_test): Likewise.
19467         (y0_test): Likewise.
19468         (y1_test): Likewise.
19469         (yn_test): Likewise.
19470         (significand_test): Likewise.
19471
19472 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
19473
19474         [BZ #15381]
19475         * libio/genops.c (_IO_no_init): Initialize wide struct info.
19476
19477 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
19478
19479         [BZ #14894]
19480         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19481         __ppc_mdoio and __ppc_mdoom.
19482         * manual/platform.texi: Document new functions __ppc_yield,
19483         __ppc_mdoio and __ppc_mdoom.
19484
19485 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
19486
19487         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19488         (main): Mention "tls" pseudo-hwcap is legacy.
19489         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19490
19491 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
19492
19493         * math/gen-libm-test.pl (parse_args): Output only string of
19494         arguments as text for test name, not full call or descriptions of
19495         tests for extra outputs.
19496         (generate_testfile): Do not pass function name to parse_args.
19497         Generate this_func variable from START.
19498         * math/libm-test.inc (struct test_f_f_data): Rename test_name
19499         field to arg_str.
19500         (struct test_ff_f_data): Likewise.
19501         (test_ff_f_data_nexttoward): Likewise.
19502         (struct test_fi_f_data): Likewise.
19503         (struct test_fl_f_data): Likewise.
19504         (struct test_if_f_data): Likewise.
19505         (struct test_fff_f_data): Likewise.
19506         (struct test_c_f_data): Likewise.
19507         (struct test_f_f1_data): Likewise.  Remove field extra_name.
19508         (struct test_fF_f1_data): Likewise.
19509         (struct test_ffI_f1_data): Likewise.
19510         (struct test_c_c_data): Rename test_name field to arg_str.
19511         (struct test_cc_c_data): Likewise.
19512         (struct test_f_i_data): Likewise.
19513         (struct test_ff_i_data): Likewise.
19514         (struct test_f_l_data): Likewise.
19515         (struct test_f_L_data): Likewise.
19516         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
19517         and extra2_name.
19518         (COMMON_TEST_SETUP): New macro.
19519         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19520         (COMMON_TEST_CLEANUP): Likewise.
19521         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19522         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
19523         macros.
19524         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19525         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
19526         macros.
19527         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19528         (RUN_TEST_fff_f): Take argument string.  Call new setup and
19529         cleanup macros.
19530         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19531         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
19532         macros.
19533         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19534         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
19535         macros.
19536         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19537         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
19538         cleanup macros.
19539         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19540         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
19541         cleanup macros.
19542         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19543         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
19544         cleanup macros.
19545         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19546         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
19547         macros.
19548         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19549         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
19550         macros.
19551         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19552         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
19553         macros.
19554         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19555         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
19556         cleanup macros.
19557         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19558         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
19559         cleanup macros.
19560         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19561         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
19562         macros.
19563         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19564         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
19565         cleanup macros.
19566         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19567         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
19568         macros.
19569         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19570         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
19571         macros.
19572         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19573         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
19574         cleanup macros.
19575         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19576
19577 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
19578
19579         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19580         to _sifields.sigfault.
19581         (si_addr_lsb): Define new macro.
19582         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19583         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19584         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19585
19586 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
19587
19588         [BZ #15441]
19589         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19590         returns -1.
19591         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19592         null return -1.
19593         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19594         loading the domain.
19595
19596 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
19597
19598         * math/gen-libm-test.pl (parse_args): Do not include expected
19599         result in test name.
19600         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19601         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19602         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19603         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19604         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19606
19607 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19608
19609         * benchtests/Makefile: Sort function entries.
19610
19611         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19612         tanh, asinh, acosh, atanh.
19613         * benchtests/acos-inputs: New file.
19614         * benchtests/acosh-inputs: New file.
19615         * benchtests/asin-inputs: New file.
19616         * benchtests/asinh-inputs: New file.
19617         * benchtests/atanh-inputs: New file.
19618         * benchtests/cosh-inputs: New file.
19619         * benchtests/log-inputs: New file.
19620         * benchtests/sinh-inputs: New file.
19621         * benchtests/tanh-inputs: New file.
19622
19623 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
19624
19625         [BZ #15339]
19626         * posix/tst-getaddrinfo4.c: New test.
19627         * posix/Makefile (tests): Add it.
19628
19629 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19630
19631         [BZ #15339]
19632         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19633         when no services were used.
19634         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19635         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19636
19637 2013-05-21  Andreas Schwab  <schwab@suse.de>
19638
19639         [BZ #15014]
19640         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19641         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19642         successful.
19643         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19644         redundant variable declarations and reallocation of buffer when
19645         parsing as IPv6 address.  Always set NSS status when called from
19646         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
19647         buffer too small.  Correct computation of needed size.
19648         * nss/Makefile (tests): Add test-digits-dots.
19649         * nss/test-digits-dots.c: New test.
19650
19651 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19652
19653         * benchtests/Makefile: Remove instructions for adding
19654         benchmark tests.
19655         * benchtests/README: New file to explain how to execute and
19656         enhance the benchmark tests.
19657
19658 2013-05-21  Andreas Schwab  <schwab@suse.de>
19659
19660         [BZ #15493]
19661         * setjmp/Makefile (tests): Add tst-sigsetjmp.
19662         * setjmp/tst-sigsetjmp.c: New test.
19663
19664 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
19665
19666         * sysdeps/x86_64/memset.S (memset): New implementation.
19667         (__bzero): Likewise.
19668         (__memset_tail): New function.
19669
19670 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
19671
19672         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19673         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19674         __memcpy_sse2_unaligned ifunc selection.
19675         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19676         Add memcpy-sse2-unaligned.S.
19677         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19678         Add: __memcpy_sse2_unaligned.
19679
19680 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
19681
19682         [BZ #15490]
19683         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19684         math_force_eval before restoring floating-point envrionment.
19685         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19686         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19687         Likewise.
19688         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19689         <math_private.h>.
19690         (__nearbyintl): Use math_force_eval before restoring
19691         floating-point environment.
19692         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19693
19694         * math/gen-libm-test.pl (special_functions): Remove.
19695         (parse_args): Don't handle TEST_extra.  Handle functions with no
19696         return value.
19697         * math/libm-test.inc (struct test_sincos_data): Replace with
19698         struct test_fFF_11_data.
19699         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19700         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19701         (sincos_test_data): Change element type to struct
19702         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
19703         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19704         RUN_TEST_LOOP_sincos.
19705         * math/README.libm-test: Don't mention special handling of
19706         individual functions.
19707         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19708         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19709         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19710         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19711         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19713
19714         * math/gen-libm-test.pl (get_variable): Remove function.
19715         (parse_args): Don't show pointer parameters to call in test
19716         names.  Use "extra output N" in test names for extra outputs
19717         rather than naming variables.
19718
19719 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
19720
19721         [BZ #15488]
19722         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19723         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19724         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19725         double tests.
19726         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19727         disable.
19728         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19729         check_long_double.
19730
19731         * math/gen-libm-test.pl (@tests): Remove variable.
19732         ($count): Likewise.
19733         (new_test): Remove function.
19734         (show_exceptions): New function.
19735         (special_functions): Use show_exceptions instead of new_test.
19736         (parse_args): Likewise.
19737         (generate_testfile): Pass only function name in generated call to
19738         print_max_error or print_complex_max_error.
19739         (get_ulps): Do not handle complex tests specially.
19740         (output_test): Rename to ...
19741         (get_all_ulps_for_test): ... this.  Return a string rather than
19742         printing to a file.  Require ulps to be present.
19743         (output_ulps): Generate arrays rather than #defines.
19744         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19745         (struct ulp_data): New type.
19746         (BUILD_COMPLEX_ULP): Remove macro.
19747         (compare_ulp_data): New function.
19748         (find_ulps): Likewise.
19749         (find_test_ulps): Likewise.
19750         (find_function_ulps): Likewise.
19751         (find_complex_function_ulps): Likewise.
19752         (print_max_error): Determine allowed ulps using
19753         find_function_ulps.
19754         (print_complex_max_error): Determine allowed ulps using
19755         find_complex_function_ulps.
19756         (check_float_internal): Determine max ulps using find_test_ulps.
19757         (check_float): Do not take max_ulp parameter.  Update call to
19758         check_float_internal.
19759         (check_complex): Likewise.
19760         (check_int): Do not take max_ulp parameter.
19761         (check_long): Likewise.
19762         (check_bool): Likewise.
19763         (check_longlong): Likewise.
19764         (struct test_f_f_data): Remove max_ulp field.
19765         (struct test_ff_f_data): Likewise.
19766         (struct test_ff_f_data_nexttoward): Likewise.
19767         (struct test_fi_f_data): Likewise.
19768         (struct test_fl_f_data): Likewise.
19769         (struct test_if_f_data): Likewise.
19770         (struct test_fff_f_data): Likewise.
19771         (struct test_c_f_data): Likewise.
19772         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19773         (struct test_fF_f1_data): Likewise.
19774         (struct test_ffI_f1_data): Likewise.
19775         (struct test_c_c_data): Remove max_ulp field.
19776         (struct test_cc_c_data): Likewise.
19777         (struct test_f_i_data): Likewise.
19778         (struct test_ff_i_data): Likewise.
19779         (struct test_f_l_data): Likewise.
19780         (struct test_f_L_data): Likewise.
19781         (struct test_sincos_data): Likewise.
19782         (RUN_TEST_f_f): Do not handle ulps.
19783         (RUN_TEST_LOOP_f_f): Likewise.
19784         (RUN_TEST_2_f): Likewise.
19785         (RUN_TEST_LOOP_2_f): Likewise.
19786         (RUN_TEST_fff_f): Likewise.
19787         (RUN_TEST_LOOP_fff_f): Likewise.
19788         (RUN_TEST_c_f): Likewise.
19789         (RUN_TEST_LOOP_c_f): Likewise.
19790         (RUN_TEST_f_f1): Likewise.
19791         (RUN_TEST_LOOP_f_f1): Likewise.
19792         (RUN_TEST_fF_f1): Likewise.
19793         (RUN_TEST_LOOP_fF_f1): Likewise.
19794         (RUN_TEST_fI_f1): Likewise.
19795         (RUN_TEST_LOOP_fI_f1): Likewise.
19796         (RUN_TEST_ffI_f1): Likewise.
19797         (RUN_TEST_LOOP_ffI_f1): Likewise.
19798         (RUN_TEST_c_c): Likewise.
19799         (RUN_TEST_LOOP_c_c): Likewise.
19800         (RUN_TEST_cc_c): Likewise.
19801         (RUN_TEST_LOOP_cc_c): Likewise.
19802         (RUN_TEST_f_i): Likewise.
19803         (RUN_TEST_LOOP_f_i): Likewise.
19804         (RUN_TEST_f_i_tg): Likewise.
19805         (RUN_TEST_LOOP_f_i_tg): Likewise.
19806         (RUN_TEST_ff_i_tg): Likewise.
19807         (RUN_TEST_LOOP_ff_i_tg): Likewise.
19808         (RUN_TEST_f_b): Likewise.
19809         (RUN_TEST_LOOP_f_b): Likewise.
19810         (RUN_TEST_f_b_tg): Likewise.
19811         (RUN_TEST_LOOP_f_b_tg): Likewise.
19812         (RUN_TEST_f_l): Likewise.
19813         (RUN_TEST_LOOP_f_l): Likewise.
19814         (RUN_TEST_f_L): Likewise.
19815         (RUN_TEST_LOOP_f_L): Likewise.
19816         (RUN_TEST_sincos): Likewise.
19817         (RUN_TEST_LOOP_sincos): Likewise.
19818
19819 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
19820
19821         [BZ #15480]
19822         [BZ #15485]
19823         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19824         main case of finite arguments, set rounding mode to FE_TONEAREST
19825         and discard exceptions.
19826         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19827         exceptions.
19828         (remainder_tonearest_test_data): New variable.
19829         (remainder_test_tonearest): New function.
19830         (remainder_towardzero_test_data): New variable.
19831         (remainder_test_towardzero): New function.
19832         (remainder_downward_test_data): New variable.
19833         (remainder_test_downward): New function.
19834         (remainder_upward_test_data): New variable.
19835         (remainder_test_upward): New function.
19836         (main): Call the new test functions.
19837
19838         * math/libm-test.inc (struct test_f_f1_data): Remove field
19839         extra_init.
19840         (struct test_fF_f1_data): Likewise.
19841         (struct test_ffI_f1_data): Likewise.
19842         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
19843         based on value of EXTRA_EXPECTED.
19844         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19845         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
19846         EXTRA_VAR based on value of EXTRA_EXPECTED.
19847         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19848         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
19849         EXTRA_VAR based on value of EXTRA_EXPECTED.
19850         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19851         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
19852         EXTRA_VAR based on value of EXTRA_EXPECTED.
19853         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19854         * math/gen-libm-test.pl (parse_args): Don't output initializers
19855         for extra output values.
19856
19857         * math/libm-test.inc (check_int): Expect result to be exactly
19858         equal to expected value and do not handle ulps.
19859         (check_long): Likewise.
19860         (check_longlong): Likewise.
19861
19862         * math/libm-test.inc (ceil_test_data): Test for "inexact"
19863         exceptions.
19864         (cimag_test_data): Likewise.
19865         (conj_test_data): Likewise.
19866         (copysign_test_data): Likewise.
19867         (cproj_test_data): Likewise.
19868         (creal_test_data): Likewise.
19869         (fabs_test_data): Likewise.
19870         (fdim_test_data): Likewise.
19871         (finite_test_data): Likewise.
19872         (floor_test_data): Likewise.
19873         (fmax_test_data): Likewise.
19874         (fmin_test_data): Likewise.
19875         (fmod_test_data): Likewise.
19876         (fpclassify_test_data): Likewise.
19877         (frexp_test_data): Likewise.
19878         (ilogb_test_data): Likewise.
19879         (isfinite_test_data): Likewise.
19880         (isgreater_test_data): Likewise.
19881         (isgreaterequal_test_data): Likewise.
19882         (isinf_test_data): Likewise.
19883         (isless_test_data): Likewise.
19884         (islessequal_test_data): Likewise.
19885         (islessgreater_test_data): Likewise.
19886         (isnan_test_data): Likewise.
19887         (isnormal_test_data): Likewise.
19888         (issignaling_test_data): Likewise.
19889         (isunordered_test_data): Likewise.
19890         (ldexp_test_data): Likewise.
19891         (lrint_test_data): Likewise.
19892         (lrint_test_data) [TEST_FLOAT]: Disable one test.
19893         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19894         (lrint_tonearest_test_data): Test for "inexact" exceptions.
19895         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19896         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19897         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19898         test input.
19899         (lrint_towardzero_test_data): Test for "inexact" exceptions.
19900         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19901         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19902         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19903         that test input.
19904         (lrint_downward_test_data): Test for "inexact" exceptions.
19905         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19906         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19907         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19908         test input.
19909         (lrint_upward_test_data): Test for "inexact" exceptions.
19910         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19911         test input.
19912         (llrint_test_data): Test for "inexact" exceptions.
19913         (llrint_test_data) [TEST_FLOAT]: Disable one test.
19914         (llrint_tonearest_test_data): Test for "inexact" exceptions.
19915         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19916         (llrint_towardzero_test_data): Test for "inexact" exceptions.
19917         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19918         (llrint_downward_test_data): Test for "inexact" exceptions.
19919         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19920         (llrint_upward_test_data): Test for "inexact" exceptions.
19921         (logb_test_data): Likewise.
19922         (logb_downward_test_data): Likewise.
19923         (nextafter_test_data): Likewise.
19924         (nexttoward_test_data): Likewise.
19925         (remainder_test_data): Likewise.
19926         (remquo_test_data): Likewise.
19927         (scalbn_test_data): Likewise.
19928         (scalbln_test_data): Likewise.
19929         (signbit_test_data): Likewise.
19930         (sqrt_test_data): Likewise.
19931         (significand_test_data): Likewise.
19932
19933 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19934
19935         [BZ #15424]
19936         * benchtests/bench-modf.c (struct args): Mark arg0 as
19937         volatile.
19938         * scripts/bench.pl: Mark members of struct args as volatile.
19939
19940 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19941
19942         [BZ # 15497]
19943         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19944         negative infinity on POWER6 or lower.
19945         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19946
19947 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19948
19949         [BZ #15442]
19950         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19951         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19952         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19953         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19954         (_FP_SETQNAN): New macro.
19955         (_FP_SETQNAN_SEMIRAW): Likewise.
19956         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19957         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19958         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19959         (FP_EXTEND): Use _FP_FRAC_SNANP.
19960         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19961         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19962         into account.
19963         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19964         New macro.
19965         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19966         Likewise.
19967
19968 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19969
19970         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19971         with DIVIDE_BY_ZERO_EXCEPTION.
19972         (gamma_test_data): Likewise.
19973         (lgamma_test_data): Likewise.
19974         (log_test_data): Likewise.
19975         (log10_test_data): Likewise.
19976         (log2_test_data): Likewise.
19977         (tgamma_test_data): Likewise.
19978
19979         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19980         (acos_test_tonearest): Likewise.
19981         (acos_test_towardzero): Likewise.
19982         (acos_test_downward): Likewise.
19983         (acos_test_upward): Likewise.
19984         (acosh_test): Likewise.
19985         (asin_test): Likewise.
19986         (asin_test_tonearest): Likewise.
19987         (asin_test_towardzero): Likewise.
19988         (asin_test_downward): Likewise.
19989         (asin_test_upward): Likewise.
19990         (asinh_test): Likewise.
19991         (atan_test): Likewise.
19992         (atanh_test): Likewise.
19993         (atan2_test): Likewise.
19994         (cabs_test): Likewise.
19995         (cacos_test): Likewise.
19996         (cacosh_test): Likewise.
19997         (casin_test): Likewise.
19998         (casinh_test): Likewise.
19999         (catan_test): Likewise.
20000         (catanh_test): Likewise.
20001         (cbrt_test): Likewise.
20002         (ccos_test): Likewise.
20003         (ccosh_test): Likewise.
20004         (cexp_test): Likewise.
20005         (clog_test): Likewise.
20006         (clog10_test): Likewise.
20007         (cos_test): Likewise.
20008         (cos_test_tonearest): Likewise.
20009         (cos_test_towardzero): Likewise.
20010         (cos_test_downward): Likewise.
20011         (cos_test_upward): Likewise.
20012         (cosh_test): Likewise.
20013         (cosh_test_tonearest): Likewise.
20014         (cosh_test_towardzero): Likewise.
20015         (cosh_test_downward): Likewise.
20016         (cosh_test_upward): Likewise.
20017         (cpow_test): Likewise.
20018         (csin_test): Likewise.
20019         (csinh_test): Likewise.
20020         (csqrt_test): Likewise.
20021         (ctan_test): Likewise.
20022         (ctan_test_tonearest): Likewise.
20023         (ctan_test_towardzero): Likewise.
20024         (ctan_test_downward): Likewise.
20025         (ctan_test_upward): Likewise.
20026         (ctanh_test): Likewise.
20027         (ctanh_test_tonearest): Likewise.
20028         (ctanh_test_towardzero): Likewise.
20029         (ctanh_test_downward): Likewise.
20030         (ctanh_test_upward): Likewise.
20031         (erf_test): Likewise.
20032         (erfc_test): Likewise.
20033         (exp_test): Likewise.
20034         (exp_test_tonearest): Likewise.
20035         (exp_test_towardzero): Likewise.
20036         (exp_test_downward): Likewise.
20037         (exp_test_upward): Likewise.
20038         (exp10_test): Likewise.
20039         (exp2_test): Likewise.
20040         (expm1_test): Likewise.
20041         (fmod_test): Likewise.
20042         (gamma_test): Likewise.
20043         (hypot_test): Likewise.
20044         (j0_test): Likewise.
20045         (j1_test): Likewise.
20046         (jn_test): Likewise.
20047         (lgamma_test): Likewise.
20048         (log_test): Likewise.
20049         (log10_test): Likewise.
20050         (log1p_test): Likewise.
20051         (log2_test): Likewise.
20052         (logb_test_downward): Likewise.
20053         (pow_test): Likewise.
20054         (pow_test_tonearest): Likewise.
20055         (pow_test_towardzero): Likewise.
20056         (pow_test_downward): Likewise.
20057         (pow_test_upward): Likewise.
20058         (remainder_test): Likewise.
20059         (remquo_test): Likewise.
20060         (sin_test): Likewise.
20061         (sin_test_tonearest): Likewise.
20062         (sin_test_towardzero): Likewise.
20063         (sin_test_downward): Likewise.
20064         (sin_test_upward): Likewise.
20065         (sincos_test): Likewise.
20066         (sinh_test): Likewise.
20067         (sinh_test_tonearest): Likewise.
20068         (sinh_test_towardzero): Likewise.
20069         (sinh_test_downward): Likewise.
20070         (sinh_test_upward): Likewise.
20071         (sqrt_test): Likewise.
20072         (tan_test): Likewise.
20073         (tan_test_tonearest): Likewise.
20074         (tan_test_towardzero): Likewise.
20075         (tan_test_downward): Likewise.
20076         (tan_test_upward): Likewise.
20077         (tanh_test): Likewise.
20078         (tgamma_test): Likewise.
20079         (y0_test): Likewise.
20080         (y1_test): Likewise.
20081         (yn_test): Likewise.
20082
20083         * math/gen-libm-test.pl (adjust_arg): Remove function.
20084         (special_function): Remove argument $in_func.  Only handle
20085         generating output for tables of tests, not inside functions.
20086         (parse_args): Likewise.
20087         (generate_testfile): Remove variable $in_func.  Update call to
20088         parse_args.
20089         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20090         (MINUS_ZERO_INIT): Rename macro to minus_zero.
20091         (PLUS_INFTY_INIT): Rename macro to plus_infty.
20092         (MINUS_INFTY_INIT): Rename macro to minus_infty.
20093         (QNAN_VALUE_INIT): Rename macro to qnan_value.
20094         (MAX_VALUE_INIT): Rename macro to max_value.
20095         (MIN_VALUE_INIT): Rename macro to min_value.
20096         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20097         (plus_zero): Remove variable.
20098         (minus_zero): Likewise.
20099         (plus_infty): Likewise.
20100         (minus_infty): Likewise.
20101         (qnan_value): Likewise.
20102         (max_value): Likewise.
20103         (min_value): Likewise.
20104         (min_subnorm_value): Likewise.
20105
20106 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20107
20108         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20109         uint64_t or uint32_t usage.
20110         * crypt/sha256-block.c: Likewise.
20111         * crypt/sha256-crypt.c: Likewise.
20112         * crypt/sha256.c: Likewise.
20113         * crypt/sha512-block.c: Likewise.
20114         * crypt/sha512-crypt.c: Likewise.
20115         * crypt/sha512.c: Likewise.
20116         * debug/backtrace-tst.c: Likewise.
20117         * debug/pcprofiledump.c: Likewise.
20118         * elf/cache.c: Likewise.
20119         * elf/dl-cache.c: Likewise.
20120         * elf/dl-misc.c: Likewise.
20121         * elf/dl-profile.c: Likewise.
20122         * elf/dl-support.c: Likewise.
20123         * elf/ldconfig.c: Likewise.
20124         * elf/sprof.c: Likewise.
20125         * iconv/dummy-repertoire.c: Likewise.
20126         * iconv/iconv_charmap.c: Likewise.
20127         * iconv/skeleton.c: Likewise.
20128         * iconvdata/8bit-generic.c: Likewise.
20129         * iconvdata/cp737.h: Likewise.
20130         * iconvdata/cp775.h: Likewise.
20131         * iconvdata/ibm1008.h: Likewise.
20132         * iconvdata/ibm1025.h: Likewise.
20133         * iconvdata/ibm1046.h: Likewise.
20134         * iconvdata/ibm1097.h: Likewise.
20135         * iconvdata/ibm1112.h: Likewise.
20136         * iconvdata/ibm1122.h: Likewise.
20137         * iconvdata/ibm1123.h: Likewise.
20138         * iconvdata/ibm1124.h: Likewise.
20139         * iconvdata/ibm1129.h: Likewise.
20140         * iconvdata/ibm1130.h: Likewise.
20141         * iconvdata/ibm1132.h: Likewise.
20142         * iconvdata/ibm1133.h: Likewise.
20143         * iconvdata/ibm1137.h: Likewise.
20144         * iconvdata/ibm1140.h: Likewise.
20145         * iconvdata/ibm1141.h: Likewise.
20146         * iconvdata/ibm1142.h: Likewise.
20147         * iconvdata/ibm1143.h: Likewise.
20148         * iconvdata/ibm1144.h: Likewise.
20149         * iconvdata/ibm1145.h: Likewise.
20150         * iconvdata/ibm1146.h: Likewise.
20151         * iconvdata/ibm1147.h: Likewise.
20152         * iconvdata/ibm1148.h: Likewise.
20153         * iconvdata/ibm1149.h: Likewise.
20154         * iconvdata/ibm1153.h: Likewise.
20155         * iconvdata/ibm1154.h: Likewise.
20156         * iconvdata/ibm1155.h: Likewise.
20157         * iconvdata/ibm1156.h: Likewise.
20158         * iconvdata/ibm1157.h: Likewise.
20159         * iconvdata/ibm1158.h: Likewise.
20160         * iconvdata/ibm1160.h: Likewise.
20161         * iconvdata/ibm1161.h: Likewise.
20162         * iconvdata/ibm1162.h: Likewise.
20163         * iconvdata/ibm1163.h: Likewise.
20164         * iconvdata/ibm1164.h: Likewise.
20165         * iconvdata/ibm1166.h: Likewise.
20166         * iconvdata/ibm1167.h: Likewise.
20167         * iconvdata/ibm12712.h: Likewise.
20168         * iconvdata/ibm1390.h: Likewise.
20169         * iconvdata/ibm1399.h: Likewise.
20170         * iconvdata/ibm16804.h: Likewise.
20171         * iconvdata/ibm4517.h: Likewise.
20172         * iconvdata/ibm4899.h: Likewise.
20173         * iconvdata/ibm4909.h: Likewise.
20174         * iconvdata/ibm4971.h: Likewise.
20175         * iconvdata/ibm5347.h: Likewise.
20176         * iconvdata/ibm803.h: Likewise.
20177         * iconvdata/ibm856.h: Likewise.
20178         * iconvdata/ibm901.h: Likewise.
20179         * iconvdata/ibm902.h: Likewise.
20180         * iconvdata/ibm9030.h: Likewise.
20181         * iconvdata/ibm9066.h: Likewise.
20182         * iconvdata/ibm921.h: Likewise.
20183         * iconvdata/ibm922.h: Likewise.
20184         * iconvdata/ibm9448.h: Likewise.
20185         * iconvdata/isiri-3342.h: Likewise.
20186         * iconvdata/jis0201.h: Likewise.
20187         * include/link.h: Likewise.
20188         * include/netdb.h: Likewise.
20189         * inet/check_native.c: Likewise.
20190         * inet/check_pf.c: Likewise.
20191         * inet/getipv4sourcefilter.c: Likewise.
20192         * inet/getnameinfo.c: Likewise.
20193         * inet/getsourcefilter.c: Likewise.
20194         * inet/htonl.c: Likewise.
20195         * inet/setipv4sourcefilter.c: Likewise.
20196         * inet/setsourcefilter.c: Likewise.
20197         * inet/test-inet6_opt.c: Likewise.
20198         * inet/tst-network.c: Likewise.
20199         * locale/C-collate.c: Likewise.
20200         * locale/C-ctype.c: Likewise.
20201         * locale/C-time.c: Likewise.
20202         * locale/C-translit.h: Likewise.
20203         * locale/loadarchive.c: Likewise.
20204         * locale/programs/3level.h: Likewise.
20205         * locale/programs/charmap.c: Likewise.
20206         * locale/programs/charmap.h: Likewise.
20207         * locale/programs/ld-address.c: Likewise.
20208         * locale/programs/ld-collate.c: Likewise.
20209         * locale/programs/ld-ctype.c: Likewise.
20210         * locale/programs/ld-identification.c: Likewise.
20211         * locale/programs/ld-measurement.c: Likewise.
20212         * locale/programs/ld-messages.c: Likewise.
20213         * locale/programs/ld-monetary.c: Likewise.
20214         * locale/programs/ld-name.c: Likewise.
20215         * locale/programs/ld-numeric.c: Likewise.
20216         * locale/programs/ld-paper.c: Likewise.
20217         * locale/programs/ld-telephone.c: Likewise.
20218         * locale/programs/ld-time.c: Likewise.
20219         * locale/programs/linereader.c: Likewise.
20220         * locale/programs/locale.c: Likewise.
20221         * locale/programs/locarchive.c: Likewise.
20222         * locale/programs/locfile.h: Likewise.
20223         * locale/programs/repertoire.c: Likewise.
20224         * locale/programs/simple-hash.c: Likewise.
20225         * locale/programs/simple-hash.h: Likewise.
20226         * malloc/memusage.c: Likewise.
20227         * malloc/memusagestat.c: Likewise.
20228         * nis/nis_defaults.c: Likewise.
20229         * nis/nis_hash.c: Likewise.
20230         * nis/nis_print.c: Likewise.
20231         * nis/nis_xdr.c: Likewise.
20232         * nscd/connections.c: Likewise.
20233         * nscd/hstcache.c: Likewise.
20234         * nscd/nscd_gethst_r.c: Likewise.
20235         * nscd/nscd_getserv_r.c: Likewise.
20236         * nscd/nscd_helper.c: Likewise.
20237         * nscd/servicescache.c: Likewise.
20238         * nss/makedb.c: Likewise.
20239         * nss/nss_db/db-XXX.c: Likewise.
20240         * nss/nss_db/db-initgroups.c: Likewise.
20241         * nss/nss_db/db-netgrp.c: Likewise.
20242         * nss/nss_files/files-network.c: Likewise.
20243         * nss/nss_files/files-parse.c: Likewise.
20244         * posix/bug-regex5.c: Likewise.
20245         * posix/fnmatch_loop.c: Likewise.
20246         * posix/regcomp.c: Likewise.
20247         * posix/regexec.c: Likewise.
20248         * posix/tst-rfc3484-2.c: Likewise.
20249         * posix/tst-rfc3484-3.c: Likewise.
20250         * posix/tst-rfc3484.c: Likewise.
20251         * resolv/nss_dns/dns-canon.c: Likewise.
20252         * resolv/nss_dns/dns-network.c: Likewise.
20253         * resolv/res_init.c: Likewise.
20254         * resolv/res_mkquery.c: Likewise.
20255         * resolv/tst-aton.c: Likewise.
20256         * stdlib/cxa_atexit.c: Likewise.
20257         * stdlib/cxa_finalize.c: Likewise.
20258         * stdlib/gen-fpioconst.c: Likewise.
20259         * stdlib/strtol_l.c: Likewise.
20260         * string/tst-endian.c: Likewise.
20261         * sunrpc/auth_des.c: Likewise.
20262         * sunrpc/clnt_udp.c: Likewise.
20263         * sunrpc/rtime.c: Likewise.
20264         * sunrpc/svcauth_des.c: Likewise.
20265         * sunrpc/xdr.c: Likewise.
20266         * sunrpc/xdr_intXX_t.c: Likewise.
20267         * sunrpc/xdr_rec.c: Likewise.
20268         * sysdeps/generic/ldconfig.h: Likewise.
20269         * sysdeps/generic/ldsodefs.h: Likewise.
20270         * sysdeps/generic/memusage.h: Likewise.
20271         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20272         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20273         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20274         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20275         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20276         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20277         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20278         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20279         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20280         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20281         * sysdeps/posix/getaddrinfo.c: Likewise.
20282         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20283         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20284         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20285         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20286         * sysdeps/powerpc/test-gettimebase.c: Likewise.
20287         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20288         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20289         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20290         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20291         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20292         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20293         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20294         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20295         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20296         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20297         * sysdeps/x86_64/dl-tls.h: Likewise.
20298         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20299         * time/alt_digit.c: Likewise.
20300         * time/era.c: Likewise.
20301         * wcsmbs/tst-c16c32-1.c: Likewise.
20302
20303 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20304
20305         * math/libm-test.inc (struct test_sincos_data): New type.
20306         (RUN_TEST_LOOP_sincos): New macro.
20307         (sincos_test_data): New variable.
20308         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20309
20310 2013-05-16  Richard Henderson  <rth@redhat.com>
20311
20312         * math/atest-exp2.c (LIMB64): New macro.
20313         (CONSTSZ): New macro.
20314         (mp_exp1, mp_exp_m1, mp_log2): New variables.
20315         (hexdig): Move ...
20316         (print_mpn_fp): ... to function scope.
20317         (read_mpn_hex): Remove.
20318         (get_log2): Remove.
20319         (exp2_mpn): Use mp_log2.
20320         (main): Use mp_exp1.
20321
20322 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20323
20324         * math/libm-test.inc: Remove comment about not testing "inexact"
20325         exceptions.
20326         (INEXACT_EXCEPTION): New macro.
20327         (NO_INEXACT_EXCEPTION): Likewise.
20328         (INVALID_EXCEPTION_OK): Update value.
20329         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20330         (OVERFLOW_EXCEPTION_OK): Likewise.
20331         (UNDERFLOW_EXCEPTION_OK): Likewise.
20332         (IGNORE_ZERO_INF_SIGN): Likewise.
20333         (ERRNO_UNCHANGED): Likewise.
20334         (ERRNO_EDOM): Likewise.
20335         (ERRNO_ERANGE): Likewise.
20336         (test_exceptions): Handle testing "inexact" exceptions.
20337         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20338         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20339         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20340         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20341         INEXACT_EXCEPTION.
20342         (rint_towardzero_test_data): Likewise.
20343         (rint_downward_test_data): Likewise.
20344         (rint_upward_test_data): Likewise.
20345
20346         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20347         with OVERFLOW_EXCEPTION.
20348         (exp10_test_data): Likewise.
20349         (exp2_test_data): Likewise.
20350         (expm1_test_data): Likewise.
20351         (lgamma_test_data): Likewise.
20352         (pow_test_data): Likewise.
20353         (tgamma_test_data): Likewise.
20354         (yn_test_data): Remove duplicate test of overflow.
20355
20356         * math/libm-test.inc (struct test_cc_c_data): New type.
20357         (RUN_TEST_LOOP_cc_c): New macro.
20358         (cpow_test_data): New variable.
20359         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20360
20361         * math/libm-test.inc (struct test_f_L_data): New type.
20362         (RUN_TEST_LOOP_f_L): New macro.
20363         (llrint_test_data): New variable.
20364         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20365         (llrint_tonearest_test_data): New variable.
20366         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20367         (llrint_towardzero_test_data): New variable.
20368         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20369         (llrint_downward_test_data): New variable.
20370         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20371         (llrint_upward_test_data): New variable.
20372         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20373         (llround_test_data): New variable.
20374         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20375
20376 2013-05-13  Peter Collingbourne  <pcc@google.com>
20377
20378         * math/atest-exp2.c (get_log2): Remove const attribute.
20379
20380 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20381
20382         * math/libm-test.inc (struct test_f_l_data): New type.
20383         (RUN_TEST_LOOP_f_l): New macro.
20384         (lrint_test_data): New variable.
20385         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20386         (lrint_tonearest_test_data): New variable.
20387         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20388         (lrint_towardzero_test_data): New variable.
20389         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20390         (lrint_downward_test_data): New variable.
20391         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20392         (lrint_upward_test_data): New variable.
20393         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20394         (lround_test_data): New variable.
20395         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20396
20397 2013-05-15  Peter Collingbourne  <pcc@google.com>
20398
20399         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20400         (EXTRACT_WORDS64) Use where appropriate.
20401         (INSERT_WORDS64) Likewise.
20402
20403         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20404         constraints with x constraints.
20405         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20406
20407         * malloc/obstack.c (_obstack_compat): Add initializer.
20408
20409 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20410
20411         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20412         si_trapno and add si_addr_lsb to _sifields.sigfault.
20413         (si_trapno): Remove macro.
20414         (si_addr_lsb): Define new macro.
20415         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20416
20417 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20418
20419         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20420         instead of TEST_f_l.
20421         (llrint_test_tonearest): Likewise.
20422         (llrint_test_towardzero): Likewise.
20423         (llrint_test_downward): Likewise.
20424         (llrint_test_upward): Likewise.
20425         (llround_test): Likewise.
20426
20427         * math/libm-test.inc (struct test_f_i_data): Add comment.
20428         (RUN_TEST_LOOP_f_b): New macro.
20429         (RUN_TEST_LOOP_f_b_tg): Likewise.
20430         (finite_test_data): New variable.
20431         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20432         (isfinite_test_data): New variable.
20433         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20434         (isinf_test_data): New variable.
20435         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20436         (isnan_test_data): New variable.
20437         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20438         (isnormal_test_data): New variable.
20439         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20440         (issignaling_test_data): New variable.
20441         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20442         (signbit_test_data): New variable.
20443         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20444
20445         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20446         with INVALID_EXCEPTION.
20447         (acosh_test_data): Likewise.
20448         (asin_test_data): Likewise.
20449         (atanh_test_data): Likewise.
20450         (fmod_test_data): Likewise.
20451         (log_test_data): Likewise.
20452         (log10_test_data): Likewise.
20453         (log2_test_data): Likewise.
20454         (pow_test_data): Likewise.
20455         (sqrt_test_data): Likewise.
20456         (y0_test_data): Likewise.
20457         (y1_test_data): Likewise.
20458         (yn_test_data): Likewise.
20459
20460         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20461         function contents.
20462
20463         * math/libm-test.inc (struct test_ff_i_data): New type.
20464         (RUN_TEST_LOOP_ff_i_tg): New macro.
20465         (isgreater_test_data): New variable.
20466         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20467         (isgreaterequal_test_data): New variable.
20468         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20469         (isless_test_data): New variable.
20470         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20471         (islessequal_test_data): New variable.
20472         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20473         (islessgreater_test_data): New variable.
20474         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20475         (isunordered_test_data): New variable.
20476         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20477
20478 2013-05-14  David S. Miller  <davem@davemloft.net>
20479
20480         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20481
20482 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
20483
20484         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20485
20486         * math/libm-test.inc (struct test_fF_f1_data): Change type of
20487         extra_test to int.
20488         (struct test_f_i_data): Change type of max_ulp to int.
20489
20490         * math/libm-test.inc (test_ffI_f1_data): New type.
20491         (RUN_TEST_LOOP_ffI_f1): New macro.
20492         (remquo_test_data): New variable.
20493         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20494
20495         * setjmp/tst-setjmp-fp.c: New file.
20496         * setjmp/Makefile (tests): Add tst-setjmp-fp.
20497         (link-libm): New variable.
20498         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20499
20500         * math/libm-test.inc (struct test_f_i_data): New type.
20501         (RUN_TEST_LOOP_f_i): New macro.
20502         (RUN_TEST_LOOP_f_i_tg): Likewise.
20503         (fpclassify_test_data): New variable.
20504         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20505         (ilogb_test_data): New variable.
20506         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20507
20508         * math/libm-test.inc (scalbln_test): Correct function name in END
20509         call.
20510
20511         * math/libm-test.inc (struct test_f_f1_data): Add comment.
20512         (RUN_TEST_LOOP_fI_f1): New macro.
20513         (frexp_test_data): New variable.
20514         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20515
20516         * math/libm-test.inc (struct test_fF_f1_data): New type.
20517         (RUN_TEST_LOOP_fF_f1): New macro.
20518         (modf_test_data): New variable.
20519         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20520
20521         * math/libm-test.inc (struct test_f_f1_data): New type.
20522         (RUN_TEST_LOOP_f_f1): New macro.
20523         (gamma_test_data): New variable.
20524         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20525         (lgamma_test_data): New variable.
20526         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20527
20528 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
20529
20530         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20531         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20532         (main): Comment "tls" pseudo-hwcap.
20533
20534 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
20535
20536         * math/libm-test.inc (struct test_fl_f_data): New type.
20537         (RUN_TEST_LOOP_fl_f): New variable.
20538         (scalbln_test_data): New variable.
20539         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20540
20541         * math/libm-test.inc (struct test_fi_f_data): New type.
20542         (RUN_TEST_LOOP_fi_f): New macro.
20543         (ldexp_test_data): New variable.
20544         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20545         (scalbn_test_data): New variable.
20546         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20547
20548         * math/libm-test.inc (struct test_c_f_data): New type.
20549         (RUN_TEST_LOOP_c_f): New macro.
20550         (cabs_test_data): New variable.
20551         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20552         (carg_test_data): New variable.
20553         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20554         (cimag_test_data): New variable.
20555         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20556         (creal_test_data): New variable.
20557         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20558
20559         * math/libm-test.inc (struct test_if_f_data): New type.
20560         (RUN_TEST_LOOP_if_f): New macro.
20561         (jn_test_data): New variable.
20562         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20563         (yn_test_data): New variable.
20564         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20565
20566         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20567
20568 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20569
20570         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20571         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20572
20573 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20574
20575         * benchtests/Makefile (CPPFLAGS-nonlib): Add
20576         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20577         (bench-deps): Add bench-timing.h.
20578         * benchtests-bench-skeleton.c: Include bench-timing.h.
20579         (main): Use TIMING_* macros instead of clock_gettime.
20580         * benchtests/bench-timing.h: New file.
20581
20582         [BZ #14582]
20583         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20584         Renamed from _LIB_VERSION.
20585         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20586
20587 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
20588
20589         * math/libm-test.inc (struct test_fff_f_data): New type.
20590         (RUN_TEST_LOOP_fff_f): New macro.
20591         (fma_test_data): New variable.
20592         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20593         (fma_towardzero_test_data): New variable.
20594         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20595         (fma_downward_test_data): New variable.
20596         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20597         (fma_upward_test_data): New variable.
20598         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20599
20600         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20601         (struct test_c_c_data): New type.
20602         (RUN_TEST_LOOP_c_c): New macro.
20603         (cacos_test_data): New variable.
20604         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20605         (cacosh_test_data): New variable.
20606         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20607         (casin_test_data): New variable.
20608         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20609         (casinh_test_data): New variable.
20610         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20611         (catan_test_data): New variable.
20612         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20613         (catanh_test_data): New variable.
20614         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20615         (ccos_test_data): New variable.
20616         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20617         (ccosh_test_data): New variable.
20618         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20619         (cexp_test_data): New variable.
20620         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20621         (clog_test_data): New variable.
20622         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20623         (clog10_test_data): New variable.
20624         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20625         (conj_test_data): New variable.
20626         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20627         (cproj_test_data): New variable.
20628         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20629         (csin_test_data): New variable.
20630         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20631         (csinh_test_data): New variable.
20632         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20633         (csqrt_test_data): New variable.
20634         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20635         (ctan_test_data): New variable.
20636         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20637         (ctan_tonearest_test_data): New variable.
20638         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20639         (ctan_towardzero_test_data): New variable.
20640         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20641         (ctan_downward_test_data): New variable.
20642         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20643         (ctan_upward_test_data): New variable.
20644         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20645         (ctanh_test_data): New variable.
20646         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20647         (ctanh_tonearest_test_data): New variable.
20648         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20649         (ctanh_towardzero_test_data): New variable.
20650         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20651         (ctanh_downward_test_data): New variable.
20652         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20653         (ctanh_upward_test_data): New variable.
20654         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20655         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20656         of BUILD_COMPLEX.
20657
20658         * math/libm-test.inc (struct test_ff_f_data): New type.
20659         (struct test_ff_f_data_nexttoward): Likewise.
20660         (RUN_TEST_LOOP_2_f): New macro.
20661         (RUN_TEST_LOOP_ff_f): Likewise.
20662         (atan2_test_data): New variable.
20663         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20664         (copysign_test_data): New variable.
20665         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20666         (fdim_test_data): New variable.
20667         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20668         (fmax_test_data): New variable.
20669         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20670         (fmin_test_data): New variable.
20671         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20672         (fmod_test_data): New variable.
20673         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20674         (hypot_test_data): New variable.
20675         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20676         (nextafter_test_data): New variable.
20677         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20678         (nexttoward_test_data): New variable.
20679         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20680         (pow_test_data): New variable.
20681         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20682         (pow_tonearest_test_data): New variable.
20683         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20684         (pow_towardzero_test_data): New variable.
20685         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20686         (pow_downward_test_data): New variable.
20687         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20688         (pow_upward_test_data): New variable.
20689         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20690         (remainder_test_data): New variable.
20691         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20692         (scalb_test_data): New variable.
20693         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20694         * sysdeps/i386/fpu/libm-test-ulps: Update.
20695
20696 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
20697
20698         * math/libm-test.inc (fma_test): Use max_value instead of local
20699         variable fltmax.
20700         (nextafter_test): Likewise.
20701
20702         * math/libm-test.inc (acos_towardzero_test_data): New variable.
20703         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20704         (acos_downward_test_data): New variable.
20705         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20706         (acos_upward_test_data): New variable.
20707         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20708         (acosh_test_data): New variable.
20709         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20710         (asin_test_data): New variable.
20711         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20712         (asin_tonearest_test_data): New variable.
20713         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20714         (asin_towardzero_test_data): New variable.
20715         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20716         (asin_downward_test_data): New variable.
20717         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20718         (asin_upward_test_data): New variable.
20719         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20720         (asinh_test_data): New variable.
20721         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20722         (atan_test_data): New variable.
20723         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20724         (atanh_test_data): New variable.
20725         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20726         (cbrt_test_data): New variable.
20727         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20728         (ceil_test_data): New variable.
20729         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20730         (cos_test_data): New variable.
20731         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20732         (cos_tonearest_test_data): New variable.
20733         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20734         (cos_towardzero_test_data): New variable.
20735         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20736         (cos_downward_test_data): New variable.
20737         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20738         (cos_upward_test_data): New variable.
20739         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20740         (cosh_test_data): New variable.
20741         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20742         (cosh_tonearest_test_data): New variable.
20743         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20744         (cosh_towardzero_test_data): New variable.
20745         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20746         (cosh_downward_test_data): New variable.
20747         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20748         (cosh_upward_test_data): New variable.
20749         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20750         (erf_test_data): New variable.
20751         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20752         (erfc_test_data): New variable.
20753         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20754         (exp_test_data): New variable.
20755         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20756         (exp_tonearest_test_data): New variable.
20757         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20758         (exp_towardzero_test_data): New variable.
20759         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20760         (exp_downward_test_data): New variable.
20761         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20762         (exp_upward_test_data): New variable.
20763         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20764         (exp10_test_data): New variable.
20765         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20766         (exp2_test_data): New variable.
20767         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20768         (expm1_test_data): New variable.
20769         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20770         (fabs_test_data): New variable.
20771         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20772         (floor_test_data): New variable.
20773         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20774         (j0_test_data): New variable.
20775         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20776         (j1_test_data): New variable.
20777         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20778         (log_test_data): New variable.
20779         (log_test): Run tests with RUN_TEST_LOOP_f_f.
20780         (log10_test_data): New variable.
20781         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20782         (log1p_test_data): New variable.
20783         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20784         (log2_test_data): New variable.
20785         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20786         (logb_test_data): New variable.
20787         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20788         (logb_downward_test_data): New variable.
20789         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20790         (nearbyint_test_data): New variable.
20791         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20792         (rint_test_data): New variable.
20793         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20794         (rint_tonearest_test_data): New variable.
20795         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20796         (rint_towardzero_test_data): New variable.
20797         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20798         (rint_downward_test_data): New variable.
20799         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20800         (rint_upward_test_data): New variable.
20801         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20802         (round_test_data): New variable.
20803         (round_test): Run tests with RUN_TEST_LOOP_f_f.
20804         (sin_test_data): New variable.
20805         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20806         (sin_tonearest_test_data): New variable.
20807         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20808         (sin_towardzero_test_data): New variable.
20809         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20810         (sin_downward_test_data): New variable.
20811         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20812         (sin_upward_test_data): New variable.
20813         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20814         (sinh_test_data): New variable.
20815         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20816         (sinh_tonearest_test_data): New variable.
20817         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20818         (sinh_towardzero_test_data): New variable.
20819         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20820         (sinh_downward_test_data): New variable.
20821         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20822         (sinh_upward_test_data): New variable.
20823         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20824         (sqrt_test_data): New variable.
20825         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20826         (tan_test_data): New variable.
20827         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20828         (tan_tonearest_test_data): New variable.
20829         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20830         (tan_towardzero_test_data): New variable.
20831         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20832         (tan_downward_test_data): New variable.
20833         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20834         (tan_upward_test_data): New variable.
20835         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20836         (tanh_test_data): New variable.
20837         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20838         (tgamma_test_data): New variable.
20839         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20840         (trunc_test_data): New variable.
20841         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20842         (y0_test_data): New variable.
20843         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20844         (y1_test_data): New variable.
20845         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20846         (significand_test_data): New variable.
20847         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20848
20849 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
20850
20851         [BZ #12387]
20852         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20853
20854 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20855
20856         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20857
20858 2013-05-10  Andreas Jaeger  <aj@suse.de>
20859
20860         [BZ #15448]
20861         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20862         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20863
20864 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
20865
20866         * math/gen-libm-test.pl (adjust_arg): New function.
20867         (special_functions): Handle generating output in both functions
20868         and arrays.
20869         (parse_args): Likewise.
20870         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
20871         $in_func argument to parse_args.
20872         * math/libm-test.inc (struct test_f_f_data): New type.
20873         (IF_ROUND_INIT_): New macro.
20874         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20875         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20876         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20877         (IF_ROUND_INIT_FE_UPWARD): Likewise.
20878         (ROUND_RESTORE_): Likewise.
20879         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20880         (ROUND_RESTORE_FE_TONEAREST): Likewise.
20881         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20882         (ROUND_RESTORE_FE_UPWARD): Likewise.
20883         (RUN_TEST_LOOP_f_f): New macro.
20884         (acos_test_data): New variable.
20885         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20886         (acos_tonearest_test_data): New variable.
20887         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20888
20889 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20890
20891         * benchtests/bench-skeleton.c (startup): Fix coding style.
20892
20893 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
20894
20895         [BZ #6809]
20896         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20897         negative infinity argument.
20898         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20899         negative infinity argument.
20900         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20901         negative infinity argument.
20902         * math/libm-test.inc (tgamma_test): Expect errno to be set for
20903         domain errors.
20904
20905 2013-05-10  Florian Weimer  <fweimer@redhat.com>
20906
20907         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20908         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20909         * iconv/iconv_prog.c (main): Likewise.
20910         * locale/programs/charmap-dir.c (charmap_readdir)
20911         (fopen_uncompressed): Likewise.
20912         * locale/programs/locfile.c (siblings_uncached)
20913         (write_locale_data): Use lstat64 instead of lstat.
20914         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20915         stat.
20916
20917 2013-05-10  Andreas Jaeger  <aj@suse.de>
20918
20919         [BZ #15395]
20920         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20921         localization.
20922         Include <locale.h>.
20923
20924 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
20925
20926         * elf/dl-close.c (_dl_close_worker): Add comments.
20927
20928 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
20929
20930         [BZ #15359]
20931         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20932         high part of pi/2.
20933         (__ieee754_rem_pio2l): Update comments.
20934
20935         [BZ #15429]
20936         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20937         high part of pi/2.
20938         (__ieee754_rem_pio2l): Update comments.
20939
20940         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20941         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20942
20943         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20944         M_PI_4l.
20945
20946         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20947         (M_PI_34_LOG10El): Likewise.
20948         (M_PI2_LOG10El): Likewise.
20949         (M_PI4_LOG10El): Likewise.
20950         (M_PI_LOG10El): Likewise.
20951
20952 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20953
20954         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20955
20956 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
20957
20958         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20959         (MINUS_ZERO_INIT): Likewise.
20960         (PLUS_INFTY_INIT): Likewise.
20961         (MINUS_INFTY_INIT): Likewise.
20962         (QNAN_VALUE_INIT): Likewise.
20963         (MAX_VALUE_INIT): Likewise.
20964         (MIN_VALUE_INIT): Likewise.
20965         (MIN_SUBNORM_VALUE_INIT): Likewise.
20966         (plus_zero): Initialize with PLUS_ZERO_INIT.
20967         (minus_zero): Initialize with MINUS_ZERO_INIT.
20968         (plus_infty): Initialize with PLUS_INFTY_INIT.
20969         (minus_infty): Initialize with MINUS_INFTY_INIT.
20970         (qnan_value): Initialize with QNAN_VALUE_INIT.
20971         (max_value): Initialize with MAX_VALUE_INIT.
20972         (min_value): Initialize with MIN_VALUE_INIT.
20973         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20974
20975         * math/libm-test.inc (RUN_TEST_if_f): New macro.
20976         (jn_test): Use TEST_if_f instead of TEST_ff_f.
20977         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20978         (yn_test): Use TEST_if_f instead of TEST_ff_f.
20979
20980         * math/libm-test.inc (RUN_TEST_f_f): New macro.
20981         (RUN_TEST_2_f): Likewise.
20982         (RUN_TEST_ff_f): Likewise.
20983         (RUN_TEST_fi_f): Likewise.
20984         (RUN_TEST_fl_f): Likewise.
20985         (RUN_TEST_fff_f): Likewise.
20986         (RUN_TEST_c_f): Likewise.
20987         (RUN_TEST_f_f1): Likewise.
20988         (RUN_TEST_fF_f1): Likewise.
20989         (RUN_TEST_fI_f1): Likewise.
20990         (RUN_TEST_ffI_f1): Likewise.
20991         (RUN_TEST_c_c): Likewise.
20992         (RUN_TEST_cc_c): Likewise.
20993         (RUN_TEST_f_i): Likewise.
20994         (RUN_TEST_f_i_tg): Likewise.
20995         (RUN_TEST_ff_i_tg): Likewise.
20996         (RUN_TEST_f_b): Likewise.
20997         (RUN_TEST_f_b_tg): Likewise.
20998         (RUN_TEST_f_l): Likewise.
20999         (RUN_TEST_f_L): Likewise.
21000         (RUN_TEST_sincos): Likewise.
21001         * math/gen-libm-test.pl (new_test): Take new argument to indicate
21002         whether to show exceptions.  Do not include ");\n" in return
21003         value.
21004         (special_functions): Output call to RUN_TEST_sincos instead of
21005         check_float calls.  Update calls to new_test.
21006         (parse_args): Output call to single RUN_TEST_* macro instead of
21007         check_* calls and other assignments.  Update calls to new_test.
21008
21009         [BZ #2546]
21010         [BZ #2560]
21011         [BZ #5159]
21012         [BZ #15426]
21013         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21014         input to result for tgamma overflow.
21015         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21016         (gamma_coeff): New variable.
21017         (NCOEFF): New macro.
21018         (gamma_positive): New function.
21019         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21020         underflow here.  Use gamma_positive instead of exp (lgamma) for
21021         other arguments.
21022         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21023         (gamma_coeff): New variable.
21024         (NCOEFF): New macro.
21025         (gammaf_positive): New function.
21026         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21027         underflow here.  Use gamma_positive instead of exp (lgamma) for
21028         other arguments.
21029         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21030         (gamma_coeff): New variable.
21031         (NCOEFF): New macro.
21032         (gammal_positive): New function.
21033         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21034         underflow here.  Use gamma_positive instead of exp (lgamma) for
21035         other arguments.
21036         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21037         (gamma_coeff): New variable.
21038         (NCOEFF): New macro.
21039         (gammal_positive): New function.
21040         (__ieee754_gammal_r): Handle positive infinity, overflow and
21041         underflow here.  Handle NaN the same as positive infinity.  Remove
21042         check x < 0xffffffff for negative integers.  Use gamma_positive
21043         instead of exp (lgamma) for other arguments.
21044         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21045         (gamma_coeff): New variable.
21046         (NCOEFF): New macro.
21047         (gammal_positive): New function.
21048         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21049         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21050         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21051         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21052         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21053         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21054         * sysdeps/generic/math_private.h (__gamma_productf): New
21055         prototype.
21056         (__gamma_product): Likewise.
21057         (__gamma_productl): Likewise.
21058         * math/Makefile (libm-calls): Add gamma_product.
21059         * math/libm-test.inc (tgamma_test): Add more tests.
21060         * sysdeps/i386/fpu/libm-test-ulps: Update.
21061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21062
21063 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
21064
21065         * benchtests/bench-skeleton.c (main): Preheat CPU.
21066
21067 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
21068
21069         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21070
21071 2013-05-07  Roland McGrath  <roland@hack.frob.com>
21072
21073         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21074         and _dl_skip_args_internal.
21075
21076 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
21077
21078         * manual/message.texi (Message Translation): Talk about users.
21079         Message to key mapping impacts design.
21080
21081 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21082
21083         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21084
21085         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21086
21087         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21088         * sysdeps/wordsize-64/glob64.c: ... here.
21089
21090         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21091         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21092         New macros.
21093
21094         * debug/getlogin_r_chk.c: Moved to ...
21095         * login/getlogin_r_chk.c: ... here.
21096         * debug/Makefile (routines): Move getlogin_r_chk to ...
21097         * login/Makefile (routines): ... here.
21098         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21099         * login/Versions (libc: GLIBC_2.4): ... here.
21100
21101         * io/poll.c (__poll): Renamed from poll.
21102         Add libc_hidden_def.
21103         (poll): Define as weak alias.
21104
21105         * debug/ptsname_r_chk.c: Moved to ...
21106         * login/ptsname_r_chk.c: ... here.
21107         * debug/Makefile (routines): Move ptsname_r_chk to ...
21108         * login/Makefile (routines): ... here.
21109         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21110         * login/Versions (libc: GLIBC_2.4): ... here.
21111
21112         * posix/getlogin.c: Moved to ...
21113         * login/getlogin.c: ... here.
21114         * posix/getlogin_r.c: Moved to ...
21115         * login/getlogin_r.c: ... here.
21116         * posix/getlogin_r.c: Moved to ...
21117         * login/getlogin_r.c: ... here.
21118         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21119         * login/Makefile (routines): ... here.
21120         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21121         * login/Versions (libc: GLIBC_2.0): ... here.
21122
21123         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21124         (setrlimit): Define as weak alias.
21125
21126         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21127         Call __ names for open, ftruncate, and close.
21128         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21129         (truncate): Define as weak alias.
21130
21131 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
21132
21133         * math/gen-libm-test.pl (parse_args): Initialize x before each
21134         test of frexp, modf and remquo.
21135
21136         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21137         test signgam value.
21138
21139 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21140
21141         [BZ #15418]
21142         [BZ #15419]
21143         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21144         internal tests.
21145         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21146
21147 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21148
21149         * elf/dl-writev.h: New file.
21150         * elf/dl-misc.c: Include it.
21151         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21152         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21153
21154 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
21155
21156         * math/libm-test.inc (noXFails): Remove variable.
21157         (noXPasses): Likewise.
21158         (BUILD_COMPLEX_INT): Remove macro.
21159         (print_screen): Remove xfail argument.
21160         (print_screen_max_error): Likewise.
21161         (update_stats): Likewise.
21162         (print_max_error): Likewise.  Update calls to other affected
21163         functions.
21164         (print_complex_max_error): Likewise.
21165         (test_single_exception): Update calls to print_screen.
21166         (test_single_errno): Likewise.
21167         (check_float_internal): Remove xfail argument.  Update calls to
21168         other affected functions.
21169         (check_float): Likewise.
21170         (check_complex): Likewise.
21171         (check_int): Likewise.
21172         (check_long): Likewise.
21173         (check_bool): Likewise.
21174         (check_longlong): Likewise.
21175         (main): Don't print noXFails and noXPasses.
21176         * math/gen-libm-test.pl (top level): Don't mention expected
21177         failure handling in comment.
21178         (new_test): Don't handle expected failures.
21179         (parse_args): Don't mention expected failure handling in comment.
21180         (generate_testfile): Don't handle expected failures.
21181         (parse_ulps): Likewise.
21182         (print_ulps_file): Likewise.
21183         (get_failure): Remove function.
21184         (output_test): Don't handle expected failures.
21185         * make/README.libm-test: Don't mention expected failure handling.
21186
21187         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
21188         (minus_zero): Likewise.
21189         (plus_infty): Likewise.
21190         (minus_infty): Likewise.
21191         (qnan_value): Likewise.
21192         (max_value): Likewise.
21193         (min_value): Likewise.
21194         (min_subnorm_value): Likewise.
21195         (initialize): Do not initialize those variables dynamically.
21196
21197 2013-05-03  Roland McGrath  <roland@hack.frob.com>
21198
21199         * io/open.c (__open_2): Moved to ...
21200         * io/open_2.c: ... this new file.
21201         * io/open64.c (__open64_2): Moved to ...
21202         * io/open64_2.c: ... this new file.
21203         * io/openat.c (__openat_2): Moved to ...
21204         * io/openat_2.c: ... this new file.
21205         * io/openat64.c (__openat64_2): Moved to ...
21206         * io/openat64_2.c: ... this new file.
21207         * io/Makefile (routines): Add them.
21208         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21209         * sysdeps/unix/sysv/linux/open_2.c: File removed.
21210         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21211         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21212         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21213         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21214         (__openat64): Add hidden_ver.
21215         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21216         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21217
21218         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21219         Separately conditionalize setting of GLRO(dl_sysinfo) so
21220         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21221         as well, but the actual setting is only under [NEED_DL_SYSINFO].
21222
21223 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21224
21225         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21226         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21227         definition.
21228         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21229         * sysdeps/unix/sysv/linux/powerpc/init-first.c
21230         (_libc_vdso_platform_setup): Add __vdso_time initialization.
21231         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21232         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21233
21234 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
21235
21236         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21237         test signgam value.
21238
21239         * math/libm-test.inc (hypot_test): Do not use
21240         IGNORE_ZERO_INF_SIGN.
21241
21242 2013-05-03  Andreas Jaeger  <aj@suse.de>
21243
21244         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21245         Linux 3.9.
21246         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21247         (PF_MAX): Adjust for VSOCK change.
21248
21249 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21250
21251         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21252
21253 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
21254
21255         [BZ #15264]
21256         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21257         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21258         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21259
21260 2013-05-02  David S. Miller  <davem@davemloft.net>
21261
21262         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21263
21264 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
21265
21266         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21267
21268 2013-05-01  Roland McGrath  <roland@hack.frob.com>
21269
21270         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21271
21272 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
21273
21274         [BZ #14952]
21275         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21276         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21277         Use __attribute__ ((__gnu_inline__)).
21278         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21279         Don't use __attribute__ ((__gnu_inline__)).
21280
21281 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
21282
21283         [BZ #15423]
21284         * math/s_catan.c (__catan): Handle small real or imaginary part of
21285         input specially to avoid spurious underflow.
21286         * math/s_catanf.c (__catanf): Likewise.
21287         * math/s_catanh.c (__catanh): Likewise.
21288         * math/s_catanhf.c (__catanhf): Likewise.
21289         * math/s_catanhl.c (__catanhl): Likewise.
21290         * math/s_catanl.c (__catanl): Likewise.
21291         * math/libm-test.inc (catan_test): Add more tests.
21292         (catanh_test): Likewise.
21293         * sysdeps/i386/fpu/libm-test-ulps: Update.
21294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21295
21296 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21297
21298         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21299
21300 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
21301
21302         [BZ #15416]
21303         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21304         accurately for denominator in atan2.
21305         * math/s_catanf.c (__catanf): Likewise.
21306         * math/s_catanh.c (__catanh): Likewise.
21307         * math/s_catanhf.c (__catanhf): Likewise.
21308         * math/s_catanhl.c (__catanhl): Likewise.
21309         * math/s_catanl.c (__catanl): Likewise.
21310         * math/libm-test.inc (catan_test): Add more tests.
21311         (catanh_test): Likewise.
21312         * sysdeps/i386/fpu/libm-test-ulps: Update.
21313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21314
21315 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21316
21317         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21318
21319         * benchtests/Makefile (bench): Remove slow benchmarks.
21320         * benchtests/atan-inputs: Add slow benchmark inputs.
21321         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21322         (BENCH_FUNC): Accept variant offset.
21323         (VARIANT): Define.
21324         * benchtests/bench-skeleton.c (main): Run benchmark for each
21325         variant.
21326         * benchtests/cos-inputs: Add slow benchmark inputs.
21327         * benchtests/exp-inputs: Likewise.
21328         * benchtests/pow-inputs: Likewise.
21329         * benchtests/sin-inputs: Likewise.
21330         * benchtests/slowatan-inputs: Remove.
21331         * benchtests/slowatan.c: Remove.
21332         * benchtests/slowcos-inputs: Remove.
21333         * benchtests/slowcos.c: Remove.
21334         * benchtests/slowexp-inputs: Remove.
21335         * benchtests/slowexp.c: Remove.
21336         * benchtests/slowpow-inputs: Remove.
21337         * benchtests/slowpow.c: Remove.
21338         * benchtests/slowsin-inputs: Remove.
21339         * benchtests/slowsin.c: Remove.
21340         * benchtests/slowtan-inputs: Remove.
21341         * benchtests/slowtan.c: Remove.
21342         * benchtests/tan-inputs: Add slow benchmark inputs.
21343         * scripts/bench.pl: Parse comments and directives.
21344
21345         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
21346         in CPPFLAGS.
21347         ($(objpfx)bench-%.c): Remove *-ITER.
21348         * benchtests/bench-modf.c: Remove definition of ITER.
21349         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21350         (main): Loop for DURATION seconds instead of fixed number of
21351         iterations.
21352         * scripts/bench.pl: Don't expect iterations in parameters.
21353
21354 2013-04-29  Roland McGrath  <roland@hack.frob.com>
21355
21356         * io/fchdir.c (__fchdir): Renamed from fchdir.
21357         (fchdir): Define as weak alias.
21358
21359 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21360
21361         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21362         (ERRNO_EDOM): Likewise.
21363         (ERRNO_ERANGE): Likewise.
21364         (noErrnoTests): New variable.
21365         (init_max_error): Set errno to 0.
21366         (test_single_errno): New function.
21367         (test_errno): Likewise.
21368         (check_float_internal): Call test_errno.  Set errno to 0.
21369         (check_complex): Refer to errno tests in comment.
21370         (check_int): Call test_errno.  Set errno to 0.
21371         (check_long): Likewise.
21372         (check_bool): Likewise.
21373         (check_longlong): Likewise.
21374         (cos_test): Use ERRNO_* flags for errno tests instead of
21375         check_int.
21376         (expm1_test): Likewise.
21377         (fmod_test): Likewise.
21378         (ilogb_test): Likewise.
21379         (lgamma_test): Likewise.
21380         (pow_test): Likewise.
21381         (remainder_test): Likewise.
21382         (sin_test): Likewise.
21383         (tan_test): Likewise.
21384         (yn_test): Likewise.
21385         (initialize): Set errno to 0.
21386         (main): Print number of errno tests.
21387         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21388
21389 2013-04-29  Andreas Jaeger  <aj@suse.de>
21390
21391         [BZ #15084]
21392         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21393         and RES_USEVC.
21394
21395         [BZ #15085]
21396         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21397         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21398         unimplemented.
21399
21400         [BZ #15380]
21401         * stdlib/random.c (__initstate): Return NULL if
21402         __initstate fails.
21403
21404         [BZ #15086]
21405         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21406         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21407         RES_SNGLKUPREOP.
21408
21409 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21410
21411         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21412
21413 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21414
21415         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21416         of individual tests.
21417         (casin_test): Likewise.
21418         (casinh_test): Likewise.
21419
21420 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
21421
21422         [BZ #15409]
21423         * math/s_catan.c (__catan): Handle arguments with large real or
21424         imaginary part separately without squaring.
21425         * math/s_catanf.c (__catanf): Likewise.
21426         * math/s_catanh.c (__catanh): Likewise.
21427         * math/s_catanhf.c (__catanhf): Likewise.
21428         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21429         and redefine.
21430         (__catanhl): Handle arguments with large real or imaginary part
21431         separately without squaring.
21432         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21433         and redefine.
21434         (__catanl): Handle arguments with large real or imaginary part
21435         separately without squaring.
21436         * math/libm-test.inc (catan_test): Add more tests.
21437         (catanh_test): Likewise.
21438         * sysdeps/i386/fpu/libm-test-ulps: Update.
21439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21440
21441 2013-04-27  Andreas Jaeger  <aj@suse.de>
21442
21443         [BZ #15007]
21444         * stdlib/stdlib.h: Update guards for qecvt.
21445         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21446         <stdlib.h>.
21447
21448 2013-04-27  Allan McRae  <allan@archlinux.org>
21449
21450         * sysdeps/i386/fpu/libm-test-ulps: Update.
21451
21452 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
21453
21454         [BZ #15406]
21455         * math/s_catan.c: Include <float.h>.
21456         (__catan): Ensure underflow exception occurs for underflowed
21457         result.
21458         * math/s_catanf.c: Include <float.h>.
21459         (__catanf): Ensure underflow exception occurs for underflowed
21460         result.
21461         * math/s_catanh.c: Include <float.h>.
21462         (__catanh): Ensure underflow exception occurs for underflowed
21463         result.
21464         * math/s_catanhf.c: Include <float.h>.
21465         (__catanhf): Ensure underflow exception occurs for underflowed
21466         result.
21467         * math/s_catanhl.c: Include <float.h>.
21468         (__catanhl): Ensure underflow exception occurs for underflowed
21469         result.
21470         * math/s_catanl.c: Include <float.h>.
21471         (__catanl): Ensure underflow exception occurs for underflowed
21472         result.
21473         * math/libm-test.inc (catan_test): Add more tests.
21474         (catanh_test): Likewise.
21475
21476         [BZ #15405]
21477         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21478         underflowed result.
21479         * math/s_ccoshf.c (__ccoshf): Likewise.
21480         * math/s_ccoshl.c (__ccoshl): Likewise.
21481         * math/s_csin.c (__csin): Likewise.
21482         * math/s_csinf.c (__csinf): Likewise.
21483         * math/s_csinh.c (__csinh): Likewise.
21484         * math/s_csinhf.c (__csinhf): Likewise.
21485         * math/s_csinhl.c (__csinhl): Likewise.
21486         * math/s_csinl.c (__csinl): Likewise.
21487         * math/libm-test.inc (ccos_test): Add more tests.
21488         (ccosh_test): Likewise.
21489         (csin_test): Likewise.
21490         (csinh_test): Likewise.
21491
21492 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21493
21494         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21495         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21496         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21497         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21498         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21499         powerpc/power5+/fpu folders.
21500         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21501
21502
21503 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
21504
21505         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21506
21507 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
21508
21509         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21510         additions to variable.
21511         [$(config-machine) = x86_64] (modules-names): Likewise.
21512         ($(objpfx)tst-audit3): Remove dependency.
21513         ($(objpfx)tst-audit3.out): Likewise.
21514         ($(objpfx)tst-audit4): Likewise.
21515         ($(objpfx)tst-audit4.out): Likewise.
21516         ($(objpfx)tst-audit5): Likewise.
21517         ($(objpfx)tst-audit5.out): Likewise.
21518         ($(objpfx)tst-audit6): Likewise.
21519         ($(objpfx)tst-audit6.out): Likewise.
21520         ($(objpfx)tst-audit7): Likewise.
21521         ($(objpfx)tst-audit7.out): Likewise.
21522         (tst-audit3-ENV): Remove variable.
21523         (tst-audit4-ENV): Likewise.
21524         (tst-audit5-ENV): Likewise.
21525         (tst-audit6-ENV): Likewise.
21526         (tst-audit7-ENV): Likewise.
21527         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21528         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21529         addition to variable.
21530         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21531         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21532         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21533         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21534         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21535         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21536         tst-audit3, tst-audit4 and tst-audit5.
21537         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21538         tst-audit6 and tst-audit7.
21539         [$(subdir) = elf] (modules-names): Add audit modules for those
21540         tests.
21541         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21542         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21543         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21544         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21545         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21546         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21547         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21548         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21549         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21550         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21551         [$(subdir) = elf] (tst-audit3-ENV): New variable.
21552         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21553         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21554         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21555         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21556         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21557         Likewise.
21558         [$(subdir) = elf && $(config-cflags-avx) = yes]
21559         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21560         [$(subdir) = elf && $(config-cflags-avx) = yes]
21561         (CFLAGS-tst-auditmod4a.c): Likewise.
21562         [$(subdir) = elf && $(config-cflags-avx) = yes]
21563         (CFLAGS-tst-auditmod4b.c): Likewise.
21564         [$(subdir) = elf && $(config-cflags-avx) = yes]
21565         (CFLAGS-tst-auditmod6b.c): Likewise.
21566         [$(subdir) = elf && $(config-cflags-avx) = yes]
21567         (CFLAGS-tst-auditmod6c.c): Likewise.
21568         [$(subdir) = elf && $(config-cflags-avx) = yes]
21569         (CFLAGS-tst-auditmod7b.c): Likewise.
21570         * elf/tst-audit3.c: Move to ...
21571         * sysdeps/x86_64/tst-audit3.c: ... here.
21572         * elf/tst-audit4.c: Move to ...
21573         * sysdeps/x86_64/tst-audit4.c: ... here.
21574         * elf/tst-audit5.c: Move to ...
21575         * sysdeps/x86_64/tst-audit5.c: ... here.
21576         * elf/tst-audit6.c: Move to ...
21577         * sysdeps/x86_64/tst-audit6.c: ... here.
21578         * elf/tst-audit7.c: Move to ...
21579         * sysdeps/x86_64/tst-audit7.c: ... here.
21580         * elf/tst-auditmod3a.c: Move to ...
21581         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21582         * elf/tst-auditmod3b.c: Move to ...
21583         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21584         * elf/tst-auditmod4a.c: Move to ...
21585         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21586         * elf/tst-auditmod4b.c: Move to ...
21587         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21588         * elf/tst-auditmod5a.c: Move to ...
21589         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21590         * elf/tst-auditmod5b.c: Move to ...
21591         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21592         * elf/tst-auditmod6a.c: Move to ...
21593         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21594         * elf/tst-auditmod6b.c: Move to ...
21595         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21596         * elf/tst-auditmod6c.c: Move to ...
21597         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21598         * elf/tst-auditmod7a.c: Move to ...
21599         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21600         * elf/tst-auditmod7b.c: Move to ...
21601         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21602
21603 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
21604
21605         [BZ #15366]
21606         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21607         define unconditionally.
21608         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21609         define unconditionally.
21610         (INT8_C, INT16_C, etc.): Likewise.
21611
21612 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
21613
21614         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21615         __ehdr_start with hidden visibility.
21616
21617         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21618
21619 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
21620
21621         * math/libm-test.inc (cos_test): Use accurate hex constants.
21622         (sincost_test): Likewise.
21623
21624 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
21625
21626         * math/libm-test.inc (catan_test): Add more tests.
21627         (catanh_test): Likewise.
21628
21629         * math/s_catanf.c (__catanf): Use suffixed floating-point
21630         constants.
21631         * math/s_catanhf.c (__catanhf): Likewise.
21632         * math/s_catanhl.c (__catanhl): Likewise.
21633         * math/s_catanl.c (__catanl): Likewise.
21634
21635         [BZ #15394]
21636         * math/s_catan.c (__catan): Calculate imaginary part of result
21637         with log1p not log unless computing log of number close to 0.
21638         * math/s_catanf.c (__catanf): Likewise.
21639         * math/s_catanl.c (__catanl): Likewise.
21640         * math/s_catanh.c (__catanh): Calculate real part of result with
21641         log1p not log unless computing log of number close to 0.
21642         * math/s_catanhf.c (__catanhf): Likewise.
21643         * math/s_catanhl.c (__catanhl): Likewise.
21644         * math/libm-test.inc (catan_test): Add more tests.
21645         (catanh_test): Likewise.
21646         * sysdeps/i386/fpu/libm-test-ulps: Update.
21647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21648
21649 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21650
21651         * benchtests/Makefile: Mention files in which fast and slow
21652         paths of math functions are implemented.
21653
21654 2013-04-23  Roland McGrath  <roland@hack.frob.com>
21655
21656         * sysdeps/posix/timespec_get.c: New file.
21657
21658 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21659
21660         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21661         POWER.
21662         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21663         for POWER.
21664         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21665         powerpc/power5/fpu folders.
21666         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21667         * benchtests/Makefile: Add modf testcase.
21668         * benchtests/bench-modf.c: New file: Benchmark test for mo
21669
21670 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21671
21672         [BZ #14888]
21673         * time/Makefile (tests): Add tst-strptime-whitespace.
21674         * time/strptime_l.c (get_number): Use ISSPACE.
21675         (__strptime_internal): Likewise.
21676         * time/tst-strptime-whitespace.c: New test case.
21677
21678 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
21679
21680         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21681         member.
21682         (_nss_files_init): Set it here.
21683
21684 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
21685
21686         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21687         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21688         unsigned.
21689
21690 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
21691
21692         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21693
21694 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21695
21696         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21697         size just once.
21698
21699 2013-04-21  David S. Miller  <davem@davemloft.net>
21700
21701         * po/ru.po: Update Russion translation from translation project.
21702
21703 2013-04-17  Adam Conrad  <adconrad@0c3.net>
21704
21705         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21706         and setfsgid.
21707
21708 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
21709
21710         * configure.in: Remove i386 configure warning. Remove i386 case.
21711         * configure: Regenerate.
21712         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21713         Add example to error message.
21714         * sysdeps/i386/configure: Regenerate.
21715
21716 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21717
21718         * benchtests/Makefile (bench): Add cos, tan, slowcos and
21719         slowtan.
21720         * benchtests/cos-inputs: New file.
21721         * benchtests/slowcos-inputs: New file.
21722         * benchtests/slowcos.c: New file.
21723         * benchtests/slowtan-inputs: New file.
21724         * benchtests/slowtan.c: New file.
21725         * benchtests/tan-inputs: New file.
21726
21727 2013-04-16  Roland McGrath  <roland@hack.frob.com>
21728
21729         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21730         considered kosher.
21731
21732 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21733
21734         * benchtests/Makefile: Include cppflags-iterator.mk to add
21735         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21736
21737         * Makefile.in (bench-clean): New target.
21738         * benchtests/Makefile (bench-clean): Likewise.
21739
21740 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
21741
21742         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21743
21744 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
21745
21746         * stdio-common/tstdiomisc.c: Fix coding-style violation.
21747
21748 2013-04-15  Andreas Schwab  <schwab@suse.de>
21749
21750         * nscd/grpcache.c (cache_addgr): Properly check for short write.
21751         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21752         * nscd/pwdcache.c (cache_addpw): Likewise.
21753         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
21754         more than recsize.
21755
21756 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21757
21758         * benchtests/Makefile (bench): Write all output to
21759         bench-out.tmp together.
21760
21761 2013-04-15  Andreas Schwab  <schwab@suse.de>
21762
21763         * nscd/nscd.c (main): Don't fork again after closing files.
21764
21765 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21766
21767         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21768
21769         * benchtests/Rules (bench-deps): Collect dependencies into a
21770         single variable.  Add Makefile to dependencies.
21771         ($(objpfx)bench-%.c): Depend on bench-deps.
21772
21773 2013-04-12  Roland McGrath  <roland@hack.frob.com>
21774             Xavier Roche  <roche+kml2@exalead.com>
21775
21776         [BZ #15361]
21777         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21778         just that it's a file descriptor.
21779         * manual/llio.texi (Synchronizing AIO Operations): Update description
21780         for EBADF error from aio_fsync.
21781
21782 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21783
21784         * Rules (bench): Move target definition...
21785         * benchtests/Makefile: ... here.
21786
21787 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
21788
21789         * math/libm-test.inc (cos_test): Fix PI/2 test.
21790         (sincos_test): Likewise.
21791         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21792         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21793
21794 2013-04-11  Andreas Schwab  <schwab@suse.de>
21795
21796         [BZ #13988]
21797         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21798         accept exponent character only when digits were seen.
21799         * stdio-common/Makefile (tests): Add bug26.
21800         * stdio-common/bug26.c: New file.
21801
21802         [BZ #14293]
21803         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21804         non-freeable.
21805
21806 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21807
21808         * Makeconfig (rtld-prefix): Define built linker prefix.
21809         * Rules (run-bench): Use it.
21810         * math/Makefile (run-regen-ulps): Likewise.
21811
21812         * Rules (bench): Remove eval.
21813
21814 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21815             Roland McGrath  <roland@hack.frob.com>
21816             Ondrej Bilka  <neleai@seznam.cz>
21817
21818         [BZ #15346]
21819         * time/getdate.c: Include ctype.h and alloca.h.
21820         (__getdate_r): Trim leading and trailing spaces of input.
21821         * time/tst-getdate.c (tests): Add tests with leading and
21822         trailing spaces.
21823
21824 2013-04-08  Roland McGrath  <roland@hack.frob.com>
21825
21826         [BZ #14280]
21827         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21828         when computing value.
21829
21830 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21831
21832         * math/README.libm-test (How can I generate "libm-test-ulps"?):
21833         Use testrun.sh to run libm tests.
21834
21835         [BZ #15309]
21836         * elf/dl-open.c (dl_open_worker): memset all of seen array.
21837
21838 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
21839
21840         [BZ #15264]
21841         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21842
21843 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21844
21845         * Makefile.in (regen-ulps): New target.
21846         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21847         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21848         [ifneq (no,$(PERL)] (regen-ulps): New target.
21849         [ifeq (no,$(PERL)] (regen-ulps): New target.
21850         * math/libm-test.inc (ulps_file_name): Define.
21851         (output_dir): New variable.
21852         (options): Add "output-dir" option.
21853         (parse_opt): Handle 'o' case.
21854         (main): If output_dir is non-NULL use it as a prefix
21855         otherwise use "".
21856         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21857
21858 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21859
21860         [BZ #10060, #10062]
21861         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21862         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21863         fail configure if __sync_val_compare_and_swap is not inlined.
21864         * sysdeps/i386/configure: Regenerate.
21865         * configure.in: Build for i686 when configured for i386.
21866         * configure: Regenerate.
21867         * README: Remove i386 reference.
21868
21869 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21870
21871         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21872         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21873
21874 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
21875
21876         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21877         (lmsnanval): New variables.
21878         (F): Add conversion tests.
21879         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21880         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21881
21882         * stdio-common/tstdiomisc.c (F): Properly collect individual
21883         tests' results.
21884
21885         [BZ #14686, #15336]
21886         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21887         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21888         Instead, use input NaN values or generate a qNaN by arithmetic
21889         operation.  Also fix bugs to comply with the standard.
21890         * math/libm-test.inc (remainder_test): Add more tests.
21891
21892         [BZ #15335, #15342]
21893         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21894         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21895         input NaN values or generate a qNaN by arithmetic operation.
21896
21897         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21898         unreachable code.
21899
21900         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21901         definitions.
21902
21903 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
21904
21905         [BZ #14478]
21906         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21907         underflowed result.
21908         * math/s_cexpf.c (__cexpf): Likewise.
21909         * math/s_cexpl.c (__cexpl): Likewise.
21910         * math/libm-test.inc (cexp_test): Add more tests.
21911
21912 2013-04-03  Andreas Schwab  <schwab@suse.de>
21913
21914         [BZ #15330]
21915         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21916         order arrays from heap if bigger than alloca cutoff.
21917
21918 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
21919
21920         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21921         (SNAN_TESTS_double): Refer to GCC PR56831.
21922         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21923         GCC PR56828.
21924
21925 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21926
21927         * Rules (bench): Move bench.out after the run is complete.
21928
21929         * Rules (bench): Echo currently running benchmark.
21930
21931         * benchtests/Makefile (bench): Add atan and slowatan.
21932         * benchtests/atan-inputs: New file.
21933         * benchtests/slowatan-inputs: New file.
21934         * benchtests/slowatan.c: New file.
21935
21936         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21937         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21938         its value.
21939
21940         [BZ #15305]
21941         * sysdeps/unix/sysv/linux/kernel-features.h
21942         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21943         __ASSUME_XFS_RESTRICTED_CHOWN.
21944         * sysdeps/unix/sysv/linux/pathconf.c
21945         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21946         Save and restore errno.
21947
21948 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
21949
21950         [BZ #15327]
21951         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21952         arguments using __kernel_casinh.
21953         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21954         arguments using __kernel_casinhf.
21955         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21956         arguments using __kernel_casinhl.
21957         * math/libm-test.inc (cacosh_test): Add more tests.
21958         * sysdeps/i386/fpu/libm-test-ulps: Update.
21959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21960
21961 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21962
21963         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21964         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21965
21966         * bench/Makefile (bench): Add sin and slowsin.
21967         * benchtests/sin-inputs: New file.
21968         * benchtests/slowsin-inputs: New file.
21969         * benchtests/slowsin.c: New file.
21970
21971         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21972         (bench): Add slowexp and slowpow.
21973         (exp-ITER): Increase iterations.
21974         (pow-ITER): Likewise.
21975         * benchtests/exp-inputs: Change input.
21976         * benchtests/pow-inputs: Likewise.
21977         * benchtests/slowexp-inputs: New file.
21978         * benchtests/slowexp.c: New file.
21979         * benchtests/slowpow-inputs: New file.
21980         * benchtests/slowpow.c: New file.
21981
21982 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21983
21984         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21985         instructions.
21986         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21987         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21988         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21989         * benchtests/Makefile: Add rint benchtest.
21990         * benchtests/rint-inputs: Input for rint benchtest.
21991
21992 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
21993
21994         * Versions.def (libm): Add GLIBC_2.18.
21995         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21996         hidden libm prototypes.
21997         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21998         * math/Makefile (libm-calls): Add s_issignaling.
21999         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22000         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
22001         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22002         declaration.
22003         * math/math.h [__USE_GNU] (issignaling): New macro.
22004         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22005         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22006         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22007         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22008         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22009         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22010         * manual/arith.texi (issignaling): New section.
22011         * manual/libm-err-tab.pl (@all_functions): Update comment.
22012         * math/gen-libm-test.pl (parse_args): Apply special handling for
22013         issignaling.
22014         * math/libm-test.inc (print_float, issignaling_test): New
22015         functions.
22016         (check_float_internal): Add issignaling checks.
22017         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22018         default definition.
22019         * sysdeps/powerpc/math-tests.h: New file.
22020         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22021         tests.
22022         * math/test-snan.c (TEST_FUNC): Likewise.
22023
22024 2013-03-30  David S. Miller  <davem@davemloft.net>
22025
22026         * po/de.po: Update from translation team.
22027
22028 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
22029
22030         [BZ #10357]
22031         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22032         imaginary part less than 1.0 and real part less than 0.5
22033         specially.
22034         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22035         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22036         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22037         (cacos_test): Add more tests.
22038         (casin_test): Likewise.
22039         (casinh_test): Likewise.
22040         * sysdeps/i386/fpu/libm-test-ulps: Update.
22041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22042
22043 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22044
22045         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22046         ONE with its value.
22047
22048         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22049         (__pow_mp): Replace ONE and MONE with their values.
22050         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22051         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22052         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22053         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22054         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22055         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22056
22057         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22058
22059         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22060         (__pow_mp): Replace ZERO and MZERO with their values.
22061         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22062         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22063         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22064         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22065         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22066         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22067         (__sqr): Likewise.
22068
22069         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22070
22071         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22072
22073 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22074
22075         * include/stdlib.h [!SHARED] (__call_tls_dtors):
22076         Declare with __attribute__ ((weak)).
22077         * stdlib/exit.c (__libc_atexit) [!SHARED]:
22078         Call __call_tls_dtors only if it's not NULL.
22079
22080 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22081
22082         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22083         didn't do it already, then set _dl_phdr and _dl_phnum based on the
22084         magic __ehdr_start linker symbol if it's defined.
22085         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22086         them up here if it was already done.
22087
22088         * elf/dl-support.c (_dl_phdr): Make pointer to const.
22089         (_dl_aux_init): Use const in cast when setting it.
22090         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22091         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22092         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22093
22094         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22095         Declare them here.
22096         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22097         * csu/libc-tls.c: Nor here.
22098         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22099
22100         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22101         (__libc_message): Never call vsyslog.
22102
22103 2013-03-28  Alan Modra  <amodra@gmail.com>
22104
22105         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22106         Define as empty.
22107         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22108         Likewise.
22109
22110 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22111
22112         [BZ #15214]
22113         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22114         underflow.
22115         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22116
22117 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22118
22119         [BZ #15304]
22120         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22121         Don't add gid passed as argument.
22122
22123         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22124
22125 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
22126
22127         [BZ #15307]
22128         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22129         imaginary part between 1.0 and 1.5 and real part less than 0.5
22130         specially.
22131         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22132         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22133         * math/libm-test.inc (cacos_test): Add more tests.
22134         (casin_test): Likewise.
22135         (casinh_test): Likewise.
22136         * sysdeps/i386/fpu/libm-test-ulps: Update.
22137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22138
22139 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22140
22141         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22142         constants.
22143         (norm): Likewise.
22144         (denorm): Likewise.
22145         (__dbl_mp): Likewise.
22146         (add_magnitudes): Likewise.
22147         (sub_magnitudes): Likewise.
22148         (__add): Likewise.
22149         (__sub): Likewise.
22150         (__mul): Likewise.
22151         (__sqr): Likewise.
22152         (__inv): Likewise.
22153         (__dvd): Likewise.
22154
22155         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22156         commented code.
22157         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22158         (__dubcos): Likewise.
22159         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22160         (__ieee754_acos): Likewise.
22161         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22162         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22163         (__exp1): Likewise.
22164         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22165         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22166         (log1): Likewise.
22167         (my_log2): Likewise.
22168         (checkint): Likewise.
22169         * sysdeps/ieee754/dbl-64/e_remainder.c
22170         (__ieee754_remainder): Likewise.
22171         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22172         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22173         (bsloww): Likewise.
22174         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22175
22176         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22177         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22178         MANTISSA_STORE_T to store computations on mantissa.  Use
22179         macros for rounding and division.
22180         (denorm): Likewise.
22181         (__dbl_mp): Likewise.
22182         (add_magnitudes): Likewise.
22183         (sub_magnitudes): Likewise.
22184         (__mul): Likewise.
22185         (__sqr): Likewise.
22186         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22187         powers of two in terms of TWOPOW macro.
22188         (mp_no): Make type of mantissa as MANTISSA_T.
22189         [!RADIXI]: Define RADIXI.
22190         [!TWO52]: Define TWO52.
22191         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22192
22193 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22194
22195         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22196         llroundl symbol when building for PPC32.
22197
22198 2013-03-24  Mark H Weaver  <mhw@netris.org>
22199
22200         * manual/arith.texi (Normalization Functions): Fix prototypes for
22201         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22202
22203 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22204
22205         [BZ #13889]
22206         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22207         high value to check if expl overflow.
22208         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22209         to check for underflow and overflow.
22210         * math/libm-test.inc: Add exp test.
22211
22212 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
22213
22214         [BZ #11120]
22215         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22216         with NOT_IN_libc.
22217
22218 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22219
22220         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22221         symbol.
22222
22223 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
22224
22225         * math/gen-libm-test.pl (parse_args, special_functions): Properly
22226         wrap blocks consisting of several statements.
22227
22228         * sysdeps/generic/math-tests.h: New file.
22229         * sysdeps/i386/fpu/math-tests.h: Likewise.
22230         * math/test-snan.c: Include it.
22231         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22232
22233 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22234
22235         [BZ #15285]
22236         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22237         (__ieee754_j0l): Do not improve calculations using cos of twice
22238         input for inputs above LDBL_MAX / 2.0L.
22239         (__ieee754_y0l): Likewise.
22240         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22241         (__ieee754_j1l): Do not improve calculations using cos of twice
22242         input for inputs above LDBL_MAX / 2.0L.
22243         (__ieee754_y1l): Likewise.
22244         * math/libm-test.inc (j0_test): Add another test.
22245         (j1_test): Likewise.
22246         (y0_test): Likewise.
22247         (y1_test): Likewise.
22248         * sysdeps/i386/fpu/libm-test-ulps: Update.
22249
22250 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22251
22252         * Rules ($(objpfx)bench-%.c): Include code from a C source
22253         file.
22254
22255 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22256
22257         [BZ #15287]
22258         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22259         imaginary part 1.0 and real part less than 0.5 specially.
22260         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22261         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22262         * math/libm-test.inc (cacos_test): Add more tests.
22263         (casin_test): Likewise.
22264         (casinh_test): Likewise.
22265         * sysdeps/i386/fpu/libm-test-ulps: Update.
22266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22267
22268 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22269
22270         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22271         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22272
22273 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
22274
22275         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22276         * config.make.in (config-cflags-sse4): Remove variable.
22277         (config-cflags-avx): Likewise.
22278         (config-cflags-sse2avx): Likewise.
22279         (config-cflags-novzeroupper): Likewise.
22280         (config-asflags-i686): Likewise.
22281         (have-mfma4): Likewise.
22282         (have-as-vis3): Likewise.
22283         (MIG): Likewise.
22284         * configure.in (MIG): Do not AC_SUBST.
22285         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22286         (libc_cv_cc_sse4): Do not AC_SUBST.
22287         (libc_cv_cc_avx): Likewise.
22288         (libc_cv_cc_sse2avx): Likewise.
22289         (libc_cv_cc_novzeroupper): Likewise.
22290         (libc_cv_cc_fma4): Likewise.
22291         (libc_cv_as_i686): Likewise.
22292         (libc_cv_sparc_as_vis3): Likewise.
22293         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22294         LIBC_CONFIG_VAR.
22295         (config-asflags-i686): Likewise.
22296         (config-cflags-avx): Likewise.
22297         (config-cflags-sse2avx): Likewise.
22298         (have-mfma4): Likewise.
22299         (config-cflags-novzeroupper): Likewise.
22300         * sysdeps/mach/configure.in (MIG): Likewise.
22301         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22302         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22303         LIBC_CONFIG_VAR.
22304         (config-cflags-avx): Likewise.
22305         (config-cflags-sse2avx): Likewise.
22306         (have-mfma4): Likewise.
22307         (config-cflags-novzeroupper): Likewise.
22308         * configure: Regenerated.
22309         * sysdeps/i386/configure: Likewise.
22310         * sysdeps/mach/configure: Likewise.
22311         * sysdeps/sparc/configure: Likewise.
22312         * sysdeps/x86_64/configure: Likewise.
22313
22314 2013-03-20  Roland McGrath  <roland@hack.frob.com>
22315
22316         [BZ #14812]
22317         * locale/programs/localedef.c (options): Put N_ translation marker
22318         on argument names, not just descriptions.
22319
22320 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22321
22322         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22323
22324 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
22325
22326         [BZ #14176]
22327         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22328
22329 2013-03-19  Roland McGrath  <roland@hack.frob.com>
22330
22331         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22332         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22333         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22334         [!BEFORE_ABORT] (before_abort): New function.
22335         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22336         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22337         (writev_for_fatal): New function.
22338         (WRITEV_FOR_FATAL): New macro; call that.
22339         (backtrace_and_maps): New function.
22340         (BEFORE_ABORT): New macro; call that.
22341         (struct str_list): Type removed.
22342         (__libc_message, __libc_fatal): Functions removed.
22343         Include <sysdeps/posix/libc_fatal.c> instead.
22344
22345 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
22346
22347         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22348         constants.
22349         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22350         double constants.
22351
22352 2013-03-19  Andreas Schwab  <schwab@suse.de>
22353
22354         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22355         * sysdeps/gnu/configure: Regenerate.
22356
22357         * configure.in: Substitute libc_cv_rtlddir.
22358         * configure: Regenerate.
22359         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22360         * Makeconfig (rtlddir, inst_rtlddir): New variables.
22361         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22362         * elf/Makefile (install-others, CFLAGS-interp.c)
22363         (ldso_install, common-ldd-rewrite): Likewise.
22364         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22365         $(inst_slibdir)/$(rtld-installed-name).
22366         * scripts/rellns-sh: Add -p option.
22367         * Makerules (make-shlib-link): Use rellns-sh to get relative name
22368         for source.
22369
22370 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22371
22372         * manual/nptl.texi: Renamed to ...
22373         * manual/threads.texi: ... this.
22374         * manual/Makefile (chapters): Update.
22375
22376 2013-03-18  Roland McGrath  <roland@hack.frob.com>
22377
22378         [BZ #14812]
22379         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22380         on argument names, not just descriptions.
22381         * malloc/memusagestat.c (options): Likewise.
22382         * nss/getent.c (options): Likewise.
22383
22384 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
22385
22386         [BZ #14812]
22387         * iconv/iconv_prog.c (options): Put N_ translation marker
22388         on argument names, not just descriptions.
22389         * iconv/iconvconfig.c (options): Likewise.
22390
22391 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
22392
22393         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22394         implementation which is faster on all x86_64 architectures.
22395         Tested on AMD, Intel Nehalem, SNB, IVB.
22396         * sysdeps/x86_64/strnlen.S: Likewise.
22397
22398         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22399         Remove all multiarch strlen and strnlen versions.
22400         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22401         Remove strlen and strnlen related parts.
22402
22403         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22404         Inline strlen part.
22405         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22406
22407         * sysdeps/x86_64/multiarch/strlen.S: Remove.
22408         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22409         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22410         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22411         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22412         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22413
22414 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
22415
22416         * manual/memory.texi (Malloc Tunable Parameters):
22417         Sort parameters alphabetically. Add comments for missing entries.
22418
22419 2013-03-17  David S. Miller  <davem@davemloft.net>
22420
22421         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22422
22423 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
22424
22425         [BZ #15283]
22426         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22427         for arguments at most half maximum finite value.
22428         * math/libm-test.inc (j0_test): Add more tests.
22429         (j1_test): Likewise.
22430         (y0_test): Likewise.
22431         (y1_test): Likewise.
22432         * sysdeps/i386/fpu/libm-test-ulps: Update.
22433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22434
22435         [BZ #14155]
22436         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22437         1 / x and functions P and Q for arguments above 0x1p256L.
22438         (__ieee754_y0l): Likewise.
22439         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22440         (__ieee754_y1l): Likewise.
22441         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22442         (j1_test): Likewise.
22443         (y0_test): Likewise.
22444         (y1_test): Likewise.
22445
22446 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
22447
22448         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22449         variable.
22450
22451 2013-03-15  Roland McGrath  <roland@hack.frob.com>
22452
22453         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22454         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22455         zero since it's initialized to EXEC_PAGESIZE.
22456
22457         * sysdeps/unix/sysv/linux/ldsodefs.h
22458         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22459         * sysdeps/generic/ldsodefs.h: ... here.
22460
22461 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
22462
22463         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22464
22465         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22466         math/test-snan.c.
22467         * math/test-snan.c: Renamed from
22468         sysdeps/powerpc/fpu/test-powerpc-snan.c.
22469         * math/Makefile (tests): Add test-snan.
22470         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22471         test-powerpc-snan.
22472
22473         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22474         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
22475         functions.
22476         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
22477         __builtin_nan family of functions.
22478         * math/libm-test.inc (initialize): Initialize qnan_value with
22479         __builtin_nan family of functions.
22480         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22481         Remove variables.
22482         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22483         Remove functions.
22484         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
22485         storage class.  Initialize qNaN_var and sNaN_var with
22486         __builtin_nan and __builtin_nans families of functions,
22487         respectively.
22488
22489         * math/libm-test.inc (acosh_test): Also test with qNaN input.
22490         (sqrt_test): Remove duplicate test with qNaN input.
22491         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22492         (round_test, signbit_test, significand_test): Note missing +/-Inf
22493         as well as qNaN tests.
22494
22495         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22496         qNaN_var.  Fix a few strings, too.
22497         * math/libm-test.inc (nan_value): Rename to qnan_value.
22498         * math/gen-libm-test.pl (%beautify): Adjust to that.
22499         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22500         * math/test-misc.c (main): Likewise.
22501         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22502         to __qnan_bytes, and __qnan_union, respectively.
22503         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22504         Likewise.
22505         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22506         and lqnanval, respectively.
22507         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22508         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22509         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22510         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22511
22512         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22513         * math/test-misc.c (main) [__x86_64__]: Enable test for long
22514         doubles.
22515
22516         * math/test-misc.c (main): Fix copy'n'pastos.
22517         * misc/tst-efgcvt.c (special): Likewise.
22518
22519         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22520         Remove declarations.
22521
22522 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22523
22524         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22525         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22526         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22527         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22528
22529 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22530
22531         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22532         macro to return vdso values correctly in IFUNC implementations.
22533         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22534         Optimization by using IFUNC.
22535
22536 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22537             Richard Henderson  <rth@redhat.com>
22538             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22539
22540         * Makefile.in (bench): New target.
22541         * NEWS: Mention the benchmark framework.
22542         * Rules (bench): Likewise.
22543         (binaries-bench): Generate binaries for functions to
22544         benchmark.
22545         * benchtests/Makefile: New makefile for benchmark tests.
22546         * benchtests/bench-skeleton.c: New skeleton file for benchmark
22547         programs.
22548         * benchtests/exp-inputs: New input file for EXP function.
22549         * benchtests/pow-inputs: New input file for POW function.
22550         * scripts/bench.pl: New script to generate source files for
22551         benchmark programs.
22552
22553 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22554
22555         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22556         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22557         computations on mantissa.  Use macros for rounding and
22558         division.
22559         (denorm): Likewise.
22560         (__dbl_mp): Likewise.
22561         (add_magnitudes): Likewise.
22562         (sub_magnitudes): Likewise.
22563         (__mul): Likewise.
22564         (__sqr): Likewise.
22565         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22566         powers of two in terms of TWOPOW macro.
22567         (mp_no): Make type of mantissa as MANTISSA_T.
22568         [!RADIXI]: Define RADIXI.
22569         [!TWO52]: Define TWO52.
22570         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22571
22572         * manual/nptl.texi (cindex): Modify threads to pthreads.
22573
22574 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
22575
22576         * sysdeps/x86_64/preconfigure: Regenerated.
22577
22578 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
22579
22580         [BZ #14155]
22581         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22582         0x1p28 and above.
22583         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22584         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22585         0x1p28 and above.
22586         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22587         * math/libm-test.inc (j0_test): Do not allow one spurious
22588         underflow exception.
22589         (y1_test): Likewise.
22590
22591 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22592
22593         * manual/Makefile (chapters): Add nptl.
22594         * manual/debug.texi (Debugging Support): Add link to Threads
22595         chapter.
22596         * manual/nptl.texi: New file.
22597
22598         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22599
22600 2013-03-14  Petr Baudis  <pasky@ucw.cz>
22601
22602         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22603         for non-NULL pointer before the memory validity test. Pointed
22604         out by Holger Brunck <holger.brunck@keymile.com>.
22605
22606 2013-03-13  Andreas Schwab  <schwab@suse.de>
22607
22608         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22609         instead of .os.
22610
22611 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
22612
22613         * timezone/zic.c: Update from tzcode 2013b.
22614
22615 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
22616
22617         * manual/install.texi (Configuring and compiling):
22618         Mention i686 and i586.
22619         * INSTALL: Regenerate.
22620
22621 2013-03-12  Roland McGrath  <roland@hack.frob.com>
22622
22623         * sysdeps/init_array/elf-init.c: New file.
22624         * csu/elf-init.c
22625         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22626         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22627
22628         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22629         __gmon_start__ as global, but as static with a .preinit_array pointer.
22630         * sysdeps/init_array/gmon-start.c: New file.  Use that.
22631         * sysdeps/init_array/crti.S: New file, empty except for comments.
22632         * sysdeps/init_array/crtn.S: Likewise.
22633
22634 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
22635
22636         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22637         definining bcopy.
22638         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22639         Remove Prefer_SSE_for_memop.
22640         * sysdeps/x86_64/multiarch/init-arch.h: Remove
22641         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22642         HAS_PREFER_SSE_FOR_MEMOP.
22643         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22644         memset-x86-64.
22645         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22646         Remove bzero, memset ifunc support.
22647         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22648         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22649         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22650         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22651
22652 2013-03-11  Andreas Schwab  <schwab@suse.de>
22653
22654         [BZ #15234]
22655         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22656         by SHLIB_COMPAT.
22657         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22658         (GLIBC_2.16): Remove pthread_atfork.
22659
22660 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22661
22662         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22663         (ptestcases.h): Likewise.
22664
22665 2013-03-08  Roland McGrath  <roland@hack.frob.com>
22666
22667         * Makeconfig ($(common-objpfx)config.status): Depend on
22668         sysdeps/*/preconfigure{,.in} too.
22669
22670 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
22671
22672         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22673         (__free_hook): Use void * instead of __malloc_ptr_t.
22674         (__malloc_hook): Likewise.
22675         (__realloc_hook): Likewise.
22676         (__memalign_hook): Likewise.
22677         (__after_morecore_hook): Likewise.
22678         * malloc/arena.c (save_malloc_hook): Likewise.
22679         (save_free_hook): Likewise.
22680         * malloc/hooks.c (malloc_hook_ini): Likewise.
22681         (realloc_hook_ini): Likewise.
22682         (memalign_hook_ini): Likewise.
22683         * malloc/malloc.c (malloc_hook_ini): Likewise.
22684         (realloc_hook_ini): Likewise.
22685         (memalign_hook_ini): Likewise.
22686         (__free_hook): Likewise.
22687         (__malloc_hook): Likewise.
22688         (__realloc_hook): Likewise.
22689         (__memalign_hook): Likewise.
22690         (__libc_malloc): Likewise.
22691         (__libc_free): Likewise.
22692         (__libc_realloc): Likewise.
22693         (__libc_memalign): Likewise.
22694         (__libc_valloc): Likewise.
22695         (__libc_pvalloc): Likewise.
22696         (__libc_calloc): Likewise.
22697         (__posix_memalign): Likewise.
22698         * malloc/morecore.c (__sbrk): Likewise.
22699         (__default_morecore): Likewise.
22700
22701         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22702
22703         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22704         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22705         __malloc_ptrdiff_t.
22706
22707         * malloc/malloc.h (__malloc_size_t): Remove macro.
22708         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22709         __malloc_size_t.
22710         (old_memalign_hook): Likewise.
22711         (old_realloc_hook): Likewise.
22712         (struct hdr): Likewise.
22713         (flood): Likewise.
22714         (mallochook): Likewise.
22715         (memalignhook): Likewise.
22716         (reallochook): Likewise.
22717         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22718         (tr_old_realloc_hook): Likewise.
22719         (tr_old_memalign_hook): Likewise.
22720         (tr_mallochook): Likewise.
22721         (tr_reallochook): Likewise.
22722         (tr_memalignhook): Likewise.
22723
22724 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22725
22726         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22727         default_ldbl_pack and using as default implementation.
22728         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22729         implementation.
22730         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22731         redundant definition.
22732         (ldbl_insert_mantissa): Likewise.
22733         (ldbl_canonicalize): Likewise.
22734         (ldbl_nearbyint): Likewise.
22735         (ldbl_pack): Rename to ldbl_pack_ppc.
22736         (ldbl_unpack): Rename to ldbl_unpack_ppc.
22737         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22738         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22739
22740 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22741
22742         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22743         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22744         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22745         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22746         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22747         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22748         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22749         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22750
22751 2013-03-07  Andreas Jaeger  <aj@suse.de>
22752
22753         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22754         bits/mman-linux.h.
22755
22756 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
22757
22758         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22759         Include mpa.h and declare __MPEXP.
22760         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22761         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22762         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22763         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22764         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22765         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22766         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22767
22768         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22769         (__slowpow): Use long double EXPL and LOGL functions to
22770         compute POW.
22771         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22772         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22773         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22774         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22775         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22776         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22777
22778         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22779         intermediate variable to calculate exponent.
22780         (__sqr): Likewise.
22781         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22782         Likewise.
22783         (__sqr): Likewise.
22784
22785         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22786         [!NO__SQR]: Define __sqr.
22787         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22788         and NO__SQR.  Remove all code except __mul and __sqr.  Include
22789         sysdeps/ieee754/dbl-64/mpa.c.
22790         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22791
22792         [BZ #12723]
22793         * posix/Makefile (tests): Add tst-pathconf.
22794         * posix/tst-pathconf.c: New test case.
22795         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22796         _PC_PIPE_BUF.
22797         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22798
22799 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
22800
22801         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22802
22803 2013-03-06  Andreas Jaeger  <aj@suse.de>
22804
22805         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22806         definition via __MAP_ANONYMOUS.
22807
22808         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22809         it's not part of Linux headers.
22810
22811         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22812         (MAP_HUGE_MASK): Define.
22813
22814         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22815         Define.
22816         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22817         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22818         Define.
22819         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22820         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22821         Define.
22822         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22823         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22824         Define.
22825         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22826
22827         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22828         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22829         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22830         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22831         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22832         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22833
22834         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22835         Handle f2fs.
22836
22837         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22838         Handle f2fs and efivarfs.
22839
22840         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22841         f2fs.
22842
22843         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22844         (EFIVARFS_MAGIC): Add.
22845         (F2FS_LINK_MAX): Add.
22846
22847 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22848
22849         * stdio-common/vfprintf.c: Replace __builtin_expect with
22850         __glibc_unlikely.
22851
22852 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
22853
22854         [BZ #13550]
22855         * sysdeps/generic/bp-sym.h: Remove file.
22856         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22857         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22858         <bp-sym.h> and <bp-asm.h>.
22859         (__longjmp): Don't use BP_SYM.
22860         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22861         and <bp-asm.h>.
22862         (memcpy): Don't use BP_SYM.
22863         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22864         <bp-sym.h> and <bp-asm.h>.
22865         (memcpy): Don't use BP_SYM.
22866         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22867         <bp-asm.h>.
22868         (memcpy): Don't use BP_SYM.
22869         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22870         <bp-asm.h>.
22871         (memset): Don't use BP_SYM.
22872         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22873         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22874         (__bzero): Don't use BP_SYM.
22875         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22876         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22877         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22878         <bp-sym.h> and <bp-asm.h>.
22879         (memcmp): Don't use BP_SYM.  Remove comment about bounded
22880         pointers.
22881         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22882         <bp-sym.h> and <bp-asm.h>.
22883         (memcpy): Don't use BP_SYM.
22884         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22885         <bp-sym.h> and <bp-asm.h>.
22886         (memset): Don't use BP_SYM.
22887         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22888         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22889         (__bzero): Don't use BP_SYM.
22890         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22891         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22892         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22893         <bp-sym.h> and <bp-asm.h>.
22894         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22895         pointers.
22896         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22897         <bp-sym.h> and <bp-asm.h>.
22898         (memcpy): Don't use BP_SYM.
22899         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22900         <bp-sym.h> and <bp-asm.h>.
22901         (memset): Don't use BP_SYM.
22902         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22903         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22904         (__bzero): Don't use BP_SYM.
22905         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22906         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22907         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22908         <bp-sym.h> and <bp-asm.h>.
22909         (__memchr): Don't use BP_SYM.
22910         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22911         <bp-sym.h> and <bp-asm.h>.
22912         (memcmp): Don't use BP_SYM.  Remove comment about bounded
22913         pointers.
22914         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22915         <bp-sym.h> and <bp-asm.h>.
22916         (memcpy): Don't use BP_SYM.
22917         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22918         <bp-sym.h> and <bp-asm.h>.
22919         (__mempcpy): Don't use BP_SYM.
22920         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22921         <bp-sym.h> and <bp-asm.h>.
22922         (__memrchr): Don't use BP_SYM.
22923         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22924         <bp-sym.h> and <bp-asm.h>.
22925         (memset): Don't use BP_SYM.
22926         (__bzero): Likewise.
22927         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22928         <bp-sym.h> and <bp-asm.h>.
22929         (__rawmemchr): Don't use BP_SYM.
22930         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22931         <bp-sym.h> and <bp-asm.h>.
22932         (__STRCMP): Don't use BP_SYM.
22933         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22934         <bp-sym.h> and <bp-asm.h>.
22935         (strchr): Don't use BP_SYM.
22936         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22937         <bp-sym.h> and <bp-asm.h>.
22938         (__strchrnul): Don't use BP_SYM.
22939         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22940         <bp-sym.h> and <bp-asm.h>.
22941         (strlen): Don't use BP_SYM.
22942         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22943         <bp-sym.h> and <bp-asm.h>.
22944         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22945         pointers.
22946         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22947         <bp-sym.h> and <bp-asm.h>.
22948         (__strnlen): Don't use BP_SYM.
22949         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22950         <bp-sym.h> and <bp-asm.h>.
22951         (__GI__setjmp): Don't use BP_SYM.
22952         (_setjmp): Likewise.
22953         (__sigsetjmp): Likewise.
22954         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22955         (L(start_addresses)): Don't use BP_SYM.
22956         (_start): Likewise.
22957         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22958         <bp-asm.h>.
22959         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22960         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22961         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22962         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22963         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22964         <bp-asm.h>.
22965         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22966         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
22967         about bounded pointers.
22968         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22969         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22970         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22971         <bp-asm.h>.
22972         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
22973         about bounded pointers.  Remove GKM FIXME comments.
22974         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22975         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22976         <bp-asm.h>.
22977         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22978         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
22979         Remove GKM FIXME comments.
22980         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22981         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22982         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22983         <bp-asm.h>.
22984         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
22985         about bounded pointers.  Remove GKM FIXME comment.
22986         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22987         and <bp-asm.h>.
22988         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22989         pointers.
22990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22991         <bp-sym.h> and <bp-asm.h>.
22992         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22994         <bp-sym.h> and <bp-asm.h>.
22995         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
22996         comment.
22997
22998 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22999
23000         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23001         call free(NULL).
23002
23003 2013-03-05  David S. Miller  <davem@davemloft.net>
23004
23005         * po/es.po: Update from translation team.
23006
23007 2013-03-05  Andreas Jaeger  <aj@suse.de>
23008
23009         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23010         <bits/mman-linux.h>.
23011         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23012         is fine.
23013         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23014         <bits/mman-linux.h> to end of file.
23015         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23016         is fine.
23017         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23018         <bits/mman-linux.h> to end of file.
23019         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23020         is fine.
23021         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23022         <bits/mman-linux.h> to end of file.
23023
23024         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23025         (MCL_CURRENT, MCL_FUTURE): Define here.
23026
23027 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23028
23029         [BZ #15232]
23030         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23031         attribute_hidden.
23032         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23033
23034 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23035
23036         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23037         fourth parameter needed for rt_sigprocmask syscall.
23038         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23039         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23040         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23041         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23042         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23043         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23044
23045 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
23046
23047         [BZ #13550]
23048         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23049         comment about bounded pointers.
23050         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23051         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23052
23053 2013-03-04  Andreas Jaeger  <aj@suse.de>
23054
23055         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23056         common definitions.
23057
23058         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23059         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23060         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23061         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23062         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23063         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23064
23065 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23066
23067         [BZ #15055]
23068         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23069         __ieee754_sqrl instead of __sqrl.
23070
23071 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
23072
23073         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23074         * sysdeps/powerpc/fpu_control.h: ... here.
23075         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23076         * sysdeps/powerpc/bits/fenvinline.h: ... here.
23077         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23078         * sysdeps/powerpc/bits/mathinline.h: ... here.
23079
23080 2013-03-01  Roland McGrath  <roland@hack.frob.com>
23081
23082         * elf/dl-hwcaps.c (_dl_important_hwcaps):
23083         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23084         to just [NEED_DL_SYSINFO_DSO].
23085         * elf/dl-support.c: Likewise.
23086         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23087         * elf/rtld.c (dl_main): Likewise.
23088         * elf/setup-vdso.h (setup_vdso): Likewise.
23089         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23090         * sysdeps/unix/sysv/linux/dl-sysdep.c
23091         (_dl_discover_osversion): Likewise.
23092
23093 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
23094
23095         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23096         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23097
23098 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23099
23100         * NEWS: Mention libm performance improvements and non-x86 PI
23101         futex support.
23102
23103         * csu/libc-start.c (__pthread_initialize_minimal): Change
23104         function arguments.
23105         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23106
23107 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
23108
23109         [BZ #13550]
23110         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23111         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23112         <bp-sym.h> and <bp-asm.h>.
23113         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23114         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23115         and <bp-asm.h>.
23116         (memcpy): Don't use BP_SYM.
23117         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23118         <bp-asm.h>.
23119         (__mpn_add_n): Don't use BP_SYM.
23120         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23121         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23122         and <bp-asm.h>.
23123         (__mpn_addmul_1): Don't use BP_SYM.
23124         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23125         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23126         <bp-sym.h>.
23127         (_setjmp): Don't use BP_SYM.
23128         (__novmx_setjmp): Likewise.
23129         (__GI__setjmp): Likewise.
23130         (__vmx_setjmp): Likewise.
23131         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23132         <bp-sym.h>.
23133         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23134         (__bzero): Don't use BP_SYM.
23135         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23136         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23137         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23138         <bp-sym.h> and <bp-asm.h>.
23139         (memcpy): Don't use BP_SYM.
23140         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23141         <bp-sym.h> and <bp-asm.h>.
23142         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23143         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23144         <bp-sym.h> and <bp-asm.h>.
23145         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23146         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23147         <bp-asm.h>.
23148         (__mpn_lshift): Don't use BP_SYM.
23149         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23150         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23151         <bp-asm.h>.
23152         (memset): Don't use BP_SYM.
23153         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23154         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23155         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23156         <bp-asm.h>.
23157         (__mpn_mul_1): Don't use BP_SYM.
23158         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23159         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23160         <bp-sym.h> and <bp-asm.h>.
23161         (memcmp): Don't use BP_SYM.
23162         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23163         <bp-sym.h> and <bp-asm.h>.
23164         (memcpy): Don't use BP_SYM.
23165         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23166         <bp-sym.h> and <bp-asm.h>.
23167         (memset): Don't use BP_SYM.
23168         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23169         <bp-sym.h> and <bp-asm.h>.
23170         (strncmp): Don't use BP_SYM.
23171         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23172         <bp-sym.h> and <bp-asm.h>.
23173         (memcpy): Don't use BP_SYM.
23174         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23175         <bp-sym.h> and <bp-asm.h>.
23176         (memset): Don't use BP_SYM.
23177         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23178         <bp-sym.h> and <bp-asm.h>.
23179         (__memchr): Don't use BP_SYM.
23180         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23181         <bp-sym.h> and <bp-asm.h>.
23182         (memcmp): Don't use BP_SYM.
23183         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23184         <bp-sym.h> and <bp-asm.h>.
23185         (memcpy): Don't use BP_SYM.
23186         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23187         <bp-sym.h> and <bp-asm.h>.
23188         (__mempcpy): Don't use BP_SYM.
23189         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23190         <bp-sym.h> and <bp-asm.h>.
23191         (__memrchr): Don't use BP_SYM.
23192         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23193         <bp-sym.h> and <bp-asm.h>.
23194         (memset): Don't use BP_SYM.
23195         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23196         <bp-sym.h> and <bp-asm.h>.
23197         (__rawmemchr): Don't use BP_SYM.
23198         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23199         <bp-sym.h> and <bp-asm.h>.
23200         (__STRCMP): Don't use BP_SYM.
23201         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23202         <bp-sym.h> and <bp-asm.h>.
23203         (strchr): Don't use BP_SYM.
23204         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23205         <bp-sym.h> and <bp-asm.h>.
23206         (__strchrnul): Don't use BP_SYM.
23207         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23208         <bp-sym.h> and <bp-asm.h>.
23209         (strlen): Don't use BP_SYM.
23210         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23211         <bp-sym.h> and <bp-asm.h>.
23212         (strncmp): Don't use BP_SYM.
23213         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23214         <bp-sym.h> and <bp-asm.h>.
23215         (__strnlen): Don't use BP_SYM.
23216         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23217         <bp-asm.h>.
23218         (__mpn_rshift): Don't use BP_SYM.
23219         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23220         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23221         <bp-sym.h> and <bp-asm.h>.
23222         (__sigsetjmp): Don't use BP_SYM.
23223         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23224         (L(start_addresses)): Don't use BP_SYM.
23225         (_start): Likewise.
23226         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23227         <bp-asm.h>.
23228         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23229         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23230         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23231         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23232         <bp-asm.h>.
23233         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23234         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23235         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23236         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23237         <bp-asm.h>.
23238         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23239         comments.
23240         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23241         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23242         <bp-asm.h>.
23243         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
23244         FIXME comments.
23245         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23246         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23247         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23248         <bp-asm.h>.
23249         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23250         comment.
23251         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23252         and <bp-asm.h>.
23253         (strncmp): Don't use BP_SYM,
23254         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23255         <bp-asm.h>.
23256         (__mpn_sub_n): Don't use BP_SYM.
23257         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23258         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23259         and <bp-asm.h>.
23260         (__mpn_submul_1): Don't use BP_SYM.
23261         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23263         <bp-sym.h> and <bp-asm.h>.
23264         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23266         <bp-sym.h> and <bp-asm.h>.
23267         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23268         comment.
23269
23270 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23271
23272         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23273         Use ZK to minimize writes to Z.
23274         (sub_magnitudes): Simplify code a bit.
23275         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23276         Use ZK to minimize writes to Z.
23277         (sub_magnitudes): Simplify code a bit.
23278
23279 2013-02-27  Roland McGrath  <roland@hack.frob.com>
23280
23281         * csu/gmon-start.c: Add special exception to license text.
23282
23283 2013-02-27  Richard Henderson  <rth@redhat.com>
23284
23285         * scripts/config.guess: Update from config.git.
23286         * scripts/config.sub: Likewise.
23287
23288 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23289
23290         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23291
23292         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23293
23294         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23295
23296         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23297
23298         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23299
23300 2013-02-26  Roland McGrath  <roland@hack.frob.com>
23301
23302         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23303         [$(build-shared = yes].
23304
23305 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23306
23307         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23308         (__mul): Reduce iterations for calculating mantissa.
23309
23310         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23311         MPTWO.
23312         (__mpranred): Likewise.
23313
23314         [BZ #15160]
23315         * malloc/memusagestat.c (main): Draw graphs for heap and stack
23316         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23317
23318 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
23319
23320         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23321         Define __attribute__.
23322
23323 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23324
23325         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23326         unused.
23327         * posix/regex_internal.h (__attribute): Remove.
23328         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23329         (re_string_context_at): Likewise.
23330         (bitset_not): Use __attribute__ and mark function as possibly
23331         unused.
23332         (bitset_merge): Likewise.
23333         (bitset_mask): Likewise.
23334         (re_string_char_size_at): Likewise.
23335         (re_string_wchar_at): Likewise.
23336         (re_string_elem_size_at): Likewise.
23337
23338 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23339
23340         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23341         code.
23342         (cc32): Likewise.
23343
23344         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23345         (__acr): Likewise.
23346         (__cpy): Likewise.
23347         (norm): Likewise.
23348         (denorm): Likewise.
23349         (__dbl_mp): Likewise.
23350         (add_magnitudes): Likewise.
23351         (sub_magnitudes): Likewise.
23352         (__mul): Likewise.
23353         (__inv): Likewise.
23354
23355         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23356         style.
23357
23358         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23359         style.
23360
23361         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23362         code.
23363
23364         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23365         up changes with default code.
23366         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23367         Likewise.
23368
23369 2013-02-24  Allan McRae  <allan@archlinux.org>
23370
23371         * manual/socket.texi (The Internet Namespace): Order menu items
23372         to match that in the file.
23373
23374         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23375         node listing of the info page menu.
23376
23377 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
23378
23379         [BZ #13550]
23380         * sysdeps/i386/bp-asm.h: Remove file.
23381         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23382         (PARMS): Do not use macros from bp-asm.h.
23383         (S1): Likewise.
23384         (S2): Likewise.
23385         (SIZE): Likewise.
23386         (__mpn_add_n): Do not use BP_SYM
23387         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23388         "bp-asm.h".
23389         (PARMS): Do not use macros from bp-asm.h.
23390         (S1): Likewise.
23391         (SIZE): Likewise.
23392         (__mpn_addmul_1): Do not use BP_SYM
23393         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23394         "bp-asm.h".
23395         (PARMS): Do not use macros from bp-asm.h.
23396         (SIGMSK): Likewise.
23397         (_setjmp): Likewise.  Do not use BP_SYM.
23398         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23399         "bp-asm.h".
23400         (PARMS): Do not use macros from bp-asm.h.
23401         (SIGMSK): Likewise.
23402         (setjmp): Likewise.  Do not use BP_SYM.
23403         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23404         "bp-asm.h".
23405         (PARMS): Do not use macros from bp-asm.h.
23406         (__frexp): Do not use BP_SYM.
23407         (frexp): Likewise.
23408         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23409         "bp-asm.h".
23410         (PARMS): Do not use macros from bp-asm.h.
23411         (__frexpf): Do not use BP_SYM.
23412         (frexpf): Likewise.
23413         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23414         "bp-asm.h".
23415         (PARMS): Do not use macros from bp-asm.h.
23416         (__frexpl): Do not use BP_SYM.
23417         (frexpl): Likewise.
23418         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23419         "bp-asm.h".
23420         (PARMS): Do not use macros from bp-asm.h.
23421         (__remquo): Do not use BP_SYM.
23422         (remquo): Likewise.
23423         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23424         "bp-asm.h".
23425         (PARMS): Do not use macros from bp-asm.h.
23426         (__remquof): Do not use BP_SYM.
23427         (remquof): Likewise.
23428         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23429         "bp-asm.h".
23430         (PARMS): Do not use macros from bp-asm.h.
23431         (__remquol): Do not use BP_SYM.
23432         (remquol): Likewise.
23433         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23434         "bp-asm.h".
23435         (PARMS): Do not use macros from bp-asm.h.
23436         (DEST): Likewise.
23437         (SRC): Likewise.
23438         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
23439         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23440         "bp-asm.h".
23441         (PARMS): Do not use macros from bp-asm.h.
23442         (strlen): Do not use BP_SYM.
23443         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23444         "bp-asm.h".
23445         (PARMS): Do not use macros from bp-asm.h.
23446         (S1): Likewise.
23447         (S2): Likewise.
23448         (SIZE): Likewise.
23449         (__mpn_add_n): Do not use BP_SYM.
23450         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23451         "bp-asm.h".
23452         (PARMS): Do not use macros from bp-asm.h.
23453         (S1): Likewise.
23454         (SIZE): Likewise.
23455         (__mpn_addmul_1): Do not use BP_SYM.
23456         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23457         weak_alias.
23458         (bzero): Likewise.
23459         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23460         "bp-asm.h".
23461         (PARMS): Do not use macros from bp-asm.h.
23462         (S): Likewise.
23463         (SIZE): Likewise.
23464         (__mpn_lshift): Do not use BP_SYM.
23465         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23466         "bp-asm.h".
23467         (PARMS): Do not use macros from bp-asm.h.
23468         (DEST): Likewise.
23469         (SRC): Likewise.
23470         (LEN): Likewise.
23471         (memcpy): Likewise.  Do not use BP_SYM.
23472         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23473         libc_hidden_def and weak_alias.
23474         (mempcpy): Do not use BP_SYM in weak_alias.
23475         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23476         "bp-asm.h".
23477         (PARMS): Do not use macros from bp-asm.h.
23478         (DEST): Likewise.
23479         (LEN): Likewise.
23480         [!BZERO_P] (CHR): Likewise.
23481         (memset): Likewise.  Do not use BP_SYM.
23482         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23483         "bp-asm.h".
23484         (PARMS): Do not use macros from bp-asm.h.
23485         (S1): Likewise.
23486         (SIZE): Likewise.
23487         (__mpn_mul_1): Do not use BP_SYM.
23488         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23489         "bp-asm.h".
23490         (PARMS): Do not use macros from bp-asm.h.
23491         (S): Likewise.
23492         (SIZE): Likewise.
23493         (__mpn_rshift): Do not use BP_SYM.
23494         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23495         "bp-asm.h".
23496         (PARMS): Do not use macros from bp-asm.h.
23497         (STR): Likewise.
23498         (CHR): Likewise.
23499         (strchr): Likewise.  Do not use BP_SYM.
23500         (index): Do not use BP_SYM in weak_alias.
23501         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23502         "bp-asm.h".
23503         (PARMS): Do not use macros from bp-asm.h.
23504         (DEST): Likewise.
23505         (SRC): Likewise.
23506         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
23507         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23508         "bp-asm.h".
23509         (PARMS): Do not use macros from bp-asm.h.
23510         (strlen): Do not use BP_SYM.
23511         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23512         "bp-asm.h".
23513         (PARMS): Do not use macros from bp-asm.h.
23514         (S1): Likewise.
23515         (S2): Likewise.
23516         (SIZE): Likewise.
23517         (__mpn_sub_n): Do not use BP_SYM.
23518         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23519         "bp-asm.h".
23520         (PARMS): Do not use macros from bp-asm.h.
23521         (S1): Likewise.
23522         (SIZE): Likewise.
23523         (__mpn_submul_1): Do not use BP_SYM.
23524         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23525         "bp-asm.h".
23526         (PARMS): Do not use macros from bp-asm.h.
23527         (S1): Likewise.
23528         (S2): Likewise.
23529         (SIZE): Likewise.
23530         (__mpn_add_n): Do not use BP_SYM.
23531         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23532         weak_alias.
23533         (bzero): Likewise.
23534         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23535         "bp-asm.h".
23536         (PARMS): Do not use macros from bp-asm.h.
23537         (BLK2): Likewise.
23538         (LEN): Likewise.
23539         (memcmp): Do not use BP_SYM.
23540         (bcmp): Do not use BP_SYM in weak_alias.
23541         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23542         "bp-asm.h".
23543         (PARMS): Do not use macros from bp-asm.h.
23544         (DEST): Likewise.
23545         (SRC): Likewise.
23546         (LEN): Likewise.
23547         (memcpy): Likewise.  Do not use BP_SYM.
23548         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23549         "bp-asm.h".
23550         (PARMS): Do not use macros from bp-asm.h.
23551         (DEST): Likewise.
23552         (SRC): Likewise.
23553         (LEN): Likewise.
23554         (memmove): Likewise.  Do not use BP_SYM.
23555         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23556         "bp-asm.h".
23557         (PARMS): Do not use macros from bp-asm.h.
23558         (DEST): Likewise.
23559         (SRC): Likewise.
23560         (LEN): Likewise.
23561         (__mempcpy): Likewise.  Do not use BP_SYM.
23562         (mempcpy): Do not use BP_SYM in weak_alias.
23563         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23564         "bp-asm.h".
23565         (PARMS): Do not use macros from bp-asm.h.
23566         (DEST): Likewise.
23567         (LEN): Likewise.
23568         [!BZERO_P] (CHR): Likewise.
23569         (memset): Likewise.  Do not use BP_SYM.
23570         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23571         "bp-asm.h".
23572         (PARMS): Do not use macros from bp-asm.h.
23573         (STR2): Likewise.
23574         (strcmp): Do not use BP_SYM.
23575         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23576         "bp-asm.h".
23577         (PARMS): Do not use macros from bp-asm.h.
23578         (STR): Likewise.
23579         (DELIM): Likewise.
23580         [USE_AS_STRTOK_R] (SAVE): Likewise.
23581         (FUNCTION): Likewise.  Do not use BP_SYM.
23582         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23583         aliases.
23584         (strtok_r): Likewise.
23585         (__GI___strtok_r): Likewise.
23586         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23587         (PARMS): Do not use macros from bp-asm.h.
23588         (S): Likewise.
23589         (SIZE): Likewise.
23590         (__mpn_lshift): Do not use BP_SYM.
23591         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23592         (PARMS): Do not use macros from bp-asm.h.
23593         (STR): Likewise.
23594         (CHR): Likewise.
23595         (__memchr): Do not use BP_SYM.
23596         (memchr): Do not use BP_SYM in weak_alias.
23597         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23598         (PARMS): Do not use macros from bp-asm.h.
23599         (BLK2): Likewise.
23600         (LEN): Likewise.
23601         (memcmp): Do not use BP_SYM.
23602         (bcmp): Do not use BP_SYM in weak_alias.
23603         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23604         (PARMS): Do not use macros from bp-asm.h.
23605         (S1): Likewise.
23606         (SIZE): Likewise.
23607         (__mpn_mul_1): Do not use BP_SYM.
23608         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23609         "bp-asm.h".
23610         (PARMS): Do not use macros from bp-asm.h.
23611         (STR): Likewise.
23612         (CHR): Likewise.
23613         (__rawmemchr): Do not use BP_SYM.
23614         (rawmemchr): Do not use BP_SYM in weak_alias.
23615         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23616         (PARMS): Do not use macros from bp-asm.h.
23617         (S): Likewise.
23618         (SIZE): Likewise.
23619         (__mpn_rshift): Do not use BP_SYM.
23620         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23621         (PARMS): Do not use macros from bp-asm.h.
23622         (SIGMSK): Likewise.
23623         (__sigsetjmp): Likewise.  Do not use BP_SYM.
23624         * sysdeps/i386/start.S: Do not include "bp-sym.h".
23625         (_start): Do not use BP_SYM.
23626         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23627         (PARMS): Do not use macros from bp-asm.h.
23628         (DEST): Likewise.
23629         (SRC): Likewise.
23630         (__stpcpy): Likewise.  Do not use BP_SYM.
23631         (stpcpy): Do not use BP_SYM in weak_alias.
23632         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23633         "bp-asm.h".
23634         (PARMS): Do not use macros from bp-asm.h.
23635         (DEST): Likewise.
23636         (SRC): Likewise.
23637         (LEN): Likewise.
23638         (__stpncpy): Likewise.  Do not use BP_SYM.
23639         (stpncpy): Do not use BP_SYM in weak_alias.
23640         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23641         (PARMS): Do not use macros from bp-asm.h.
23642         (STR): Likewise.
23643         (CHR): Likewise.
23644         (strchr): Likewise.  Do not use BP_SYM.
23645         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23646         "bp-asm.h".
23647         (PARMS): Do not use macros from bp-asm.h.
23648         (STR): Likewise.
23649         (CHR): Likewise.
23650         (__strchrnul): Likewise.  Do not use BP_SYM.
23651         (strchrnul): Do not use BP_SYM in weak_alias.
23652         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23653         "bp-asm.h".
23654         (PARMS): Do not use macros from bp-asm.h.
23655         (STOP): Likewise.
23656         (strcspn): Do not use BP_SYM.
23657         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23658         "bp-asm.h".
23659         (PARMS): Do not use macros from bp-asm.h.
23660         (STR): Likewise.
23661         (STOP): Likewise.
23662         (strpbrk): Likewise.  Do not use BP_SYM.
23663         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23664         "bp-asm.h".
23665         (PARMS): Do not use macros from bp-asm.h.
23666         (STR): Likewise.
23667         (CHR): Likewise.
23668         (strrchr): Likewise.  Do not use BP_SYM.
23669         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23670         (PARMS): Do not use macros from bp-asm.h.
23671         (SKIP): Likewise.
23672         (strspn): Do not use BP_SYM.
23673         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23674         (PARMS): Do not use macros from bp-asm.h.
23675         (STR): Likewise.
23676         (DELIM): Likewise.
23677         (SAVE): Likewise.
23678         (FUNCTION): Likewise.  Do not use BP_SYM.
23679         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23680         aliases.
23681         (strtok_r): Likewise.
23682         (__GI___strtok_r): Likewise.
23683         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23684         (PARMS): Do not use macros from bp-asm.h.
23685         (S1): Likewise.
23686         (S2): Likewise.
23687         (SIZE): Likewise.
23688         (__mpn_sub_n): Do not use BP_SYM.
23689         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23690         "bp-asm.h".
23691         (PARMS): Do not use macros from bp-asm.h.
23692         (S1): Likewise.
23693         (SIZE): Likewise.
23694         (__mpn_submul_1): Do not use BP_SYM.
23695         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23696         <bp-sym.h>.
23697         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23698         and <bp-asm.h>.
23699         (PARMS): Do not use macros from bp-asm.h.
23700         (FLAGS): Likewise.
23701         (PTID): Likewise.
23702         (TLS): Likewise.
23703         (CTID): Likewise.
23704         (__clone): Do not use BP_SYM.
23705         (clone): Do not use BP_SYM in weak_alias.
23706         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23707         and <bp-asm.h>.
23708         (PARMS): Do not use macros from bp-asm.h.
23709         (LEN): Likewise.
23710         (__mmap64): Do not use BP_SYM.
23711         (mmap64): Do not use BP_SYM in weak_alias.
23712         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23713         <bp-sym.h> and <bp-asm.h>.
23714         (PARMS): Do not use macros from bp-asm.h.
23715         (__posix_fadvise64_l64): Do not use BP_SYM.
23716         * sysdeps/unix/sysv/linux/i386/semtimedop.S
23717         (PARMS): Do not use macros from bp-asm.h.
23718         (NSOPS): Likewise.
23719         (semtimedop): Do not use BP_SYM.
23720         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23721         and <bp-asm.h>.
23722
23723 2013-02-21  Allan McRae  <allan@archlinux.org>
23724
23725         * manual/message.texi (Charset conversion in gettext):
23726         Move @end statement to beginning of line.
23727
23728 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23729
23730         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23731         static.
23732         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23733         Likewise.
23734
23735         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23736         (denorm): Likewise.
23737         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23738         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23739
23740 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23741
23742         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23743         tail-call to the resolved function if pltexit isn't needed.
23744
23745 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23746
23747         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23748         or Y being zero as being unlikely.
23749         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23750         Likewise.
23751
23752 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
23753
23754         * manual/nss.texi (System Databases and Name Service Switch):
23755         Remove frobnicate @pxref.
23756
23757 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
23758
23759         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23760         __attribute__ ((unused)) to __attribute__ ((__unused__)).
23761
23762 2013-02-20  Petr Machata  <pmachata@redhat.com>
23763
23764         * elf/elf.h (R_ARM_TARGET1): New macro.
23765         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23766         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23767         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23768         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23769         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23770         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23771         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23772         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23773         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23774         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23775         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23776         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23777         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23778         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23779         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23780         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23781         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23782         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23783         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23784         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23785         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23786         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23787         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23788         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23789         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23790         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23791         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23792         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23793         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23794         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23795         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23796         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23797         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23798         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23799         (R_ARM_THM_GOT_BREL12): Likewise.
23800         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23801         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23802         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23803         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23804         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23805         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23806         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23807         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23808         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23809
23810 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
23811
23812         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23813         __attribute_used__ to __attribute__ ((unused)).
23814
23815 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23816
23817         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23818         powerpc mpa.c.
23819         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23820         comment formatting.
23821         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23822
23823 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
23824
23825         [BZ #13550]
23826         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23827         Remove macro.
23828         (ENTER): Remove both macro definitions.
23829         (LEAVE): Likewise.
23830         (CHECK_BOUNDS_LOW): Likewise.
23831         (CHECK_BOUNDS_HIGH): Likewise.
23832         (CHECK_BOUNDS_BOTH): Likewise.
23833         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23834         (RETURN_BOUNDED_POINTER): Likewise.
23835         (RETURN_NULL_BOUNDED_POINTER): Likewise.
23836         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23837         (POP_ERRNO_LOCATION_RETURN): Likewise.
23838         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23839         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23840         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23841         macros.
23842         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23843         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23844         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23845         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23846         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23847         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23848         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23849         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23850         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23851         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23852         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23853         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23854         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23855         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23856         removed macros.
23857         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23858         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23859         macros.
23860         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23861         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23862         * sysdeps/i386/i586/memset.S (memset): Likewise.
23863         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23864         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23865         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23866         macros.
23867         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23868         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23869         Change uses of L(2) to L(out).
23870         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23871         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23872         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23873         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23874         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23875         removed macros.
23876         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23877         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23878         macros.
23879         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23880         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23881         (RETURN): Do not use macro LEAVE.
23882         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23883         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23884         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23885         * sysdeps/i386/i686/memset.S (memset): Likewise.
23886         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23887         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23888         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23889         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23890         Likewise.
23891         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23892         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
23893         L(1_2) and L(1_3) into L(1).
23894         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23895         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23896         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23897         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23898         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23899         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23900         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23901         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23902         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23903         macros.
23904         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23905         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23906         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23907         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23908         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23909         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23910         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23911         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23912         * sysdeps/i386/strcspn.S (strcspn): Likewise.
23913         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23914         * sysdeps/i386/strrchr.S (strrchr): Likewise.
23915         * sysdeps/i386/strspn.S (strspn): Likewise.
23916         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23917         conditional code.
23918         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23919         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23920         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23921         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
23922         L(1_3) into L(1_1).
23923         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23924         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23925         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23926         macros.
23927         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23928
23929 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
23930
23931         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23932         macro.
23933
23934 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23935
23936         * math/atest-exp.c (exp_mpn): Remove ROUND.
23937         * math/atest-exp2.c (exp_mpn): Likewise.
23938         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23939
23940         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23941         * stdlib/tst-tls-atexit-lib.c: Likewise.
23942         * stdlib/tst-tls-atexit.c: Likewise.
23943
23944 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23945
23946         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23947         and __attribute_alloc_size__.
23948
23949 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23950
23951         * include/programs/xmalloc.h: Change __attribute_alloc_size to
23952         __attribute_alloc_size__.
23953         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23954         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23955
23956 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23957
23958         * include/programs/xmalloc.h: New file.
23959         * catgets/gencat.c: Include it.
23960         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23961         * elf/pldd.c: Likewise.
23962         * iconv/iconv_charmap.c: Likewise.
23963         * iconv/iconvconfig.c: Likewise.
23964         * iconv/strtab.c: Likewise.
23965         * locale/programs/locale.c: Likewise.
23966         * locale/programs/localedef.h: Likewise.
23967         * locale/programs/simple-hash.c: Likewise.
23968         * nscd/nscd.h: Likewise.
23969         * nss/makedb.c: Likewise.
23970         * sysdeps/generic/ldconfig.h: Likewise.
23971
23972 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23973
23974         * Versions.def: Add GLIBC_2.18.
23975         * include/link.h (struct link_map): New member l_tls_dtor_count.
23976         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23977         (__call_tls_dtors): Likewise.
23978         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23979         __cxa_thread_atexit_impl.
23980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23981         Likewise.
23982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23983         Likewise.
23984         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23985         Likewise.
23986         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23987         Likewise.
23988         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23989         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23990         Likewise.
23991         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23992         Likewise.
23993         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23994         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23995         Likewise.
23996         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23997         (tests): Add test case tst-tls-atexit.
23998         (modules-names): Add shared library for tst-tls-atexit.
23999         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24000         (GLIBC_PRIVATE): Add __call_tls_dtors.
24001         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24002         for libstdc++.
24003         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24004         * stdlib/tst-tls-atexit.c: New test case.
24005         * stdlib/tst-tls-atexit-lib.c: New test case.
24006
24007         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24008
24009         * elf/Versions (ld): Add _dl_find_dso_for_object.
24010         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24011         * elf/dl-open.c (_dl_find_dso_for_object): New function.
24012         (dl_open_worker): Use _dl_find_dso_for_object.
24013         * elf/dl-sym.c (do_sym): Likewise.
24014         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24015
24016 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24017
24018         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24019         Syntactic changes only.
24020         (_dl_runtime_profile): Do a tail-call to the resolved function.
24021
24022 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
24023
24024         [BZ #13550]
24025         * sysdeps/x86_64/bp-asm.h: Remove file.
24026         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24027         <bp-sym.h> and <bp-asm.h>.
24028         (__clone): Do not use BP_SYM.
24029         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24030         <bp-sym.h> and <bp-asm.h>.
24031         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24032         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24033         "bp-asm.h".
24034         (_setjmp): Do not use BP_SYM.
24035         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24036         "bp-asm.h".
24037         (setjmp): Do not use BP_SYM.
24038         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24039         libc_hidden_def.
24040         (mempcpy): Do not use BP_SYM in weak_alias.
24041         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24042         "bp-asm.h".
24043         (strchr): Do not use BP_SYM.
24044         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24045         "bp-asm.h".
24046         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24047         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24048         (_start): Do not use BP_SYM.
24049         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24050         "bp-asm.h".
24051         (strcat): Do not use BP_SYM.
24052         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24053         "bp-asm.h".
24054         (STRCMP): Do not use BP_SYM.
24055         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24056         "bp-asm.h".
24057         (STRCPY): Do not use BP_SYM.
24058         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24059         "bp-asm.h".
24060         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24061         "bp-asm.h".
24062         (FUNCTION): Do not use BP_SYM.
24063         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24064         weak_alias.
24065         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24066
24067 2013-02-17  Andreas Jaeger  <aj@suse.de>
24068
24069         * time/Versions: Sort entries.
24070         * string/Versions: Likewise.
24071         * resolv/Versions: Likewise.
24072         * posix/Versions: Likewise.
24073         * iconv/Versions: Likewise.
24074         * elf/Versions: Likewise.
24075         * wcsmbs/Versions: Likewise.
24076
24077 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24078
24079         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24080         loop termination condition.
24081
24082         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24083         variable to calculate EZ.
24084         (__sqr): Likewise.
24085
24086         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24087         the lower precision input.
24088
24089 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
24090
24091         [BZ #13550]
24092         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24093         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24094         (run-via-rtld-prefix): Do not handle %-bp tests.
24095         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24096         (all-object-suffixes): Remove .ob.
24097         (bppfx): Remove variable.
24098         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24099         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24100         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24101         [$(build-bounded) = yes] (libtype.ob): Likewise.
24102         * Makerules (elide-routines.ob): Remove variable.
24103         (do-tests-clean): Do not handle *-bp.out.
24104         (common-mostlyclean): Do not handle *-bp and *-bp.out.
24105         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24106         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24107         (tests): Do not include $(tests-bp.out).
24108         (xtests): Do not include $(xtests-bp.out).
24109         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24110         [$(build-bounded) = yes] ($(addprefix
24111         $(objpfx),$(binaries-bounded))): Remove rule.
24112         ($(objpfx)%-bp.out): Remove rule.
24113         * config.make.in (build-bounded): Remove variable.
24114         * crypt/Makefile [$(build-bounded) = yes]
24115         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24116         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24117         append to variable.
24118         [$(build-bounded) = yes] (install-lib): Likewise.
24119         [$(build-bounded) = yes] (generated): Likewise.
24120         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24121         Remove rule.
24122         * intl/Makefile [$(build-bounded) = yes]
24123         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24124         * math/Makefile [$(build-bounded) = yes]
24125         ($(tests:%=$(objpfx)%-bp): Likewise.
24126         * misc/Makefile [$(build-bounded) = yes]
24127         ($(objpfx)tst-tsearch-bp): Likewise.
24128         * nptl/Makeconfig (bounded-thread-library): Remove variable.
24129         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24130         Remove dependency.
24131         * string/Makefile (o-objects.ob): Remove variable.
24132         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24133         (CFLAGS-.ob): Remove variable.
24134         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24135         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24136         both definitions of variable.
24137         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24138         (ASFLAGS-.ob): Remove variable.
24139
24140 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
24141
24142         [BZ #13550]
24143         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24144         Remove __BOUNDED_POINTERS__ from condition.
24145         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24146         * string/bits/string2.h [!__NO_STRING_INLINES &&
24147         !__BOUNDED_POINTERS__]: Likewise.
24148         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24149         Likewise.
24150         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24151         Remove conditional code.
24152         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24153         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24154         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24155         condition.
24156
24157         [BZ #13550]
24158         * csu/libc-start.c: Do not include <bp-sym.h>.
24159         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24160         * elf/dl-open.c: Do not include <bp-sym.h>.
24161         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24162         * math/fegetenv.c: Do not include <bp-sym.h>.
24163         (fegetenv): Do not use BP_SYM in versioned symbols.
24164         * nptl/sysdeps/pthread/bits/libc-lockP.h
24165         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24166         <bp-sym.h>.
24167         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24168         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24169         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24170         (__pthread_mutex_destroy): Likewise.
24171         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24172         (__pthread_mutex_lock): Likewise.
24173         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24174         (__pthread_mutex_trylock): Likewise.
24175         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24176         (__pthread_mutex_unlock): Likewise.
24177         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24178         (__pthread_mutexattr_init): Likewise.
24179         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24180         (__pthread_mutexattr_destroy): Likewise.
24181         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24182         (__pthread_mutexattr_settype): Likewise.
24183         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24184         (__pthread_rwlock_init): Likewise.
24185         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24186         (__pthread_rwlock_destroy): Likewise.
24187         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24188         (__pthread_rwlock_rdlock): Likewise.
24189         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24190         (__pthread_rwlock_tryrdlock): Likewise.
24191         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24192         (__pthread_rwlock_wrlock): Likewise.
24193         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24194         (__pthread_rwlock_trywrlock): Likewise.
24195         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24196         (__pthread_rwlock_unlock): Likewise.
24197         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24198         (__pthread_key_create): Likewise.
24199         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24200         (__pthread_setspecific): Likewise.
24201         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24202         (__pthread_getspecific): Likewise.
24203         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24204         Likewise.
24205         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24206         (_pthread_cleanup_push_defer): Likewise.
24207         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24208         (_pthread_cleanup_pop_restore): Likewise.
24209         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24210         (pthread_setcancelstate): Likewise.
24211         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24212         <bp-sym.h>.
24213         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24214         (memchr): Do not use BP_SYM in weak_alias.
24215         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24216         (fegetenv): Do not use BP_SYM in versioned symbols.
24217         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24218         (fesetenv): Do not use BP_SYM in versioned symbols.
24219         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24220         (feupdateenv): Do not use BP_SYM in versioned symbols.
24221         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24222         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24223         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24224         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24225         (open64): Do not use BP_SYM in weak_alias.
24226         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24227         (fegetenv): Do not use BP_SYM in versioned symbols.
24228         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24229         (fesetenv): Do not use BP_SYM in versioned symbols.
24230         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24231         (feupdateenv): Do not use BP_SYM in versioned symbols.
24232         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24233         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24234         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24235         (feraiseexcept): Do not use BP_SYM in versioned symbols.
24236         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24237         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24238         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24239         <bp-sym.h>.
24240         (__libc_start_main): Do not use BP_SYM.
24241
24242 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24243
24244         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24245         redundant return line.
24246         (norm): Likewise.
24247         (denorm): Likewise.
24248         (dbl_mp): Likewise.
24249         (sub_magnitudes): Likewise.
24250         (__add): Likewise.
24251         (__sub): Likewise.
24252         (__mul): Likewise.
24253         (__inv): Likewise.
24254         (__dvd): Likewise.
24255         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24256         (norm): Likewise.
24257         (denorm): Likewise.
24258         (dbl_mp): Likewise.
24259         (sub_magnitudes): Likewise.
24260         (__add): Likewise.
24261         (__sub): Likewise.
24262         (__mul): Likewise.
24263         (__inv): Likewise.
24264         (__dvd): Likewise.
24265
24266         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24267         instead of __mul.
24268         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24269         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24270         (cc32): Likewise.
24271
24272         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24273         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24274         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24275         of __mul for squares.
24276         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24277         function
24278         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24279         Likewise.
24280         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24281         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24282
24283 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
24284
24285         [BZ #13550]
24286         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24287         code.
24288         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24289         prototype or function definition.  Rename ubp_* variables and
24290         parameters.  Remove argv definitions conditional on
24291         [__BOUNDED_POINTERS__].
24292         * debug/backtrace.c (__backtrace): Do not use __unbounded.
24293         * elf/dl-runtime.c (_dl_fixup): Likewise.
24294         * include/set-hooks.h (RUN_HOOK): Likewise.
24295         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24296         definition.
24297         * string/strcpy.c (strcpy): Do not use __unbounded.
24298         * sysdeps/generic/frame.h (struct layout): Likewise.
24299         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24300         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24301         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24302         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24303         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24304         (__backtrace): Likewise.
24305         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24306         use __ptrvalue.
24307         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24308         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24309         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24310         Likewise.
24311         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24312         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24313         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24314         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24315         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24316         Do not use __unbounded.
24317         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24318         Rename __unboundedrlimits parameter to rlimits in prototype.
24319         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24320         Do not use __unbounded.
24321         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24322         not use __ptrvalue.
24323         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24324         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24325         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24326         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24327         __ptrvalue or __unbounded.
24328         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24329         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24330         use __unbounded.
24331         (__new_msgctl): Do not use __ptrvalue.
24332         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24333         __unbounded.
24334         (__libc_msgrcv): Do not use __ptrvalue.
24335         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24336         startup_info): Do not use __unbounded.
24337         (__libc_start_main): Likewise.  Rename ubp_* variables and
24338         parameters.  Remove argv definitions conditional on
24339         [__BOUNDED_POINTERS__].
24340         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24341         __ptrvalue.
24342         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24343         use __unbounded.
24344         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24345         or __ptrvalue.
24346         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24347         use __unbounded.
24348         (__new_shmctl): Do not use __ptrvalue.
24349         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24350         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24351         Likewise.
24352         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24353         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24354         (__libc_sigaction): Likewise.
24355         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24356         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24357         Likewise.
24358         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24359
24360 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
24361
24362         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24363
24364         * string/mempcpy.c: Implement by calling memcpy.
24365
24366 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24367
24368         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24369
24370         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24371         evaluation.
24372
24373         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24374         values in the mantissa.
24375
24376         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24377         minimize writes to Z.
24378         (sub_magnitudes): Simplify code a bit.
24379
24380 2013-02-12  Roland McGrath  <roland@hack.frob.com>
24381
24382         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24383         from the message.  The linker prefixes all warnings with that already.
24384
24385 2013-02-12  Andreas Schwab  <schwab@suse.de>
24386
24387         [BZ #15078]
24388         * posix/regexec.c (extend_buffers): Add parameter min_len.
24389         (check_matching): Pass minimum needed length.
24390         (clean_state_log_if_needed): Likewise.
24391         (get_subexp): Likewise.
24392         * posix/Makefile (tests): Add bug-regex34.
24393         (bug-regex34-ENV): Define.
24394         * posix/bug-regex34.c: New file.
24395
24396         [BZ #11561]
24397         * posix/regcomp.c (parse_bracket_exp): When looking up collating
24398         elements compare against the byte sequence of it, not its name.
24399         * posix/Makefile (tests): Add bug-regex35.
24400         (bug-regex35-ENV): Define.
24401         * posix/bug-regex35.c: New file.
24402
24403 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24404
24405         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
24406         comment.
24407         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24408         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24409         (CHECK_EOL): Add undef.
24410
24411 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
24412
24413         * bits/stdlib-bsearch.h: New file.
24414         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24415         * stdlib/stdlib.h: Likewise.
24416
24417 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24418
24419         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24420         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24421         declaration.
24422         * manual/search.texi (Array Search Function): Add missing const in
24423         lfind prototype.
24424         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24425         declaration to use rlim_t.
24426         (Basic Scheduling Functions): Remove erroneous const from
24427         sched_getparam prototype.  Remove erroneous * from
24428         sched_get_priority_max and sched_get_priority_min prototypes.
24429         (Resource Usage): Fix summary @comment on vtimes to refer to
24430         sys/vtimes.h rather than vtimes.h.
24431         Add missing *s in vtimes prototype.
24432         (Limits on Resources): Fix ulimit prototype to return long int.
24433         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24434         prototypes to use long int rather than double.
24435         (BSD Random): Fix initstate and setstate to use char *, not void *.
24436         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24437         prototype to make second argument 'struct aiocb64 *const[]'.
24438         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24439         (Status of AIO Operations): Remove erroneous const in aio_return and
24440         aio_return64 prototypes.
24441         (Synchronizing I/O): Fix sync prototype to return void.
24442         * manual/startup.texi (Suboptions): Remove an erroneous const in
24443         getsubopt prototype.
24444         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24445         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24446         use size_t rather than int.
24447         (Scanning All Users): Likewise for getpwent_r.
24448         (Setting Groups): Add missing const to setgroups prototype.
24449         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24450         * manual/socket.texi (Host Names): Fix gethostbyaddr and
24451         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24452         'const void *' rather than 'const char *'.
24453         (Host Address Functions): Likewise for inet_ntop.
24454         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24455         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24456         ssize_t for return value.
24457         (Sending Data): Likewise for send, sendto, sendmsg.
24458         (Socket Option Functions): Add a missing const in setsockopt prototype.
24459         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24460         use wchar_t for the argument.
24461         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24462         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24463         take no arguments.
24464         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24465         double/float/long double for second argument.
24466         Fix return types of significand, significandf, significandl.
24467         * manual/filesys.texi (Setting Permissions): Use mode_t for second
24468         argument in fchmod prototype.
24469         (File Owner): Use uid_t and gid_t in fchown prototype.
24470         (File Times): Add const to utimes, futimes, and lutimes prototypes.
24471         (Making Special Files): Use mode_t and dev_t in mknod prototype.
24472         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24473         use 'const struct dirent **' as argument types to CMP function pointer
24474         argument.
24475         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24476         (File Times): Fix summary magic @comment for struct utimbuf and utime
24477         to refer to utime.h, not time.h.
24478         * manual/string.texi (Argz Functions): Add missing const in
24479         argz_extract and argz_next prototypes.
24480         (Finding Tokens in a String): Likewise for basename.
24481         (String/Array Comparison): Fix typo in wcscasecmp prototype.
24482         (Copying and Concatenation): Fix typo in wmemmove prototype.
24483         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24484         (Signal Stack): Remove erroneous const in sigstack prototype.
24485         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24486         prototype.
24487         (Simple Calendar Time): Likewise for stime.
24488         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24489         prototype.
24490         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24491         say sys/sysctl.h instead.
24492         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24493         and vsyslog prototypes.
24494
24495 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24496
24497         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24498         Remove.
24499
24500 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24501
24502         * misc/sys/mman.h: Fix typo in mremap comment.
24503
24504 2013-02-08  Roland McGrath  <roland@hack.frob.com>
24505
24506         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24507         the '\0' terminator.
24508
24509 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
24510
24511         [BZ #13550]
24512         * debug/segfault.c: Don't include <bp-checks.h>.
24513         * sysdeps/generic/bp-checks.h: Remove file.
24514         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24515         (__GETDENTS): Don't use CHECK_N.
24516         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24517         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24518         (__getgroups): Don't use CHECK_N.
24519         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24520         (setgroups): Don't use CHECK_N.
24521         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24522         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24523         (__libc_msgrcv): Don't use CHECK_N.
24524         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24525         (__libc_msgsnd): Don't use CHECK_N.
24526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24527         <bp-checks.h>.
24528         (__libc_pread): Don't use CHECK_N.
24529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24530         include <bp-checks.h>.
24531         (__libc_pread64): Don't use CHECK_N.
24532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24533         include <bp-checks.h>.
24534         (__libc_pwrite): Don't use CHECK_N.
24535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24536         include <bp-checks.h>.
24537         (__libc_pwrite64): Don't use CHECK_N.
24538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24539         <bp-checks.h>.
24540         (__libc_pread): Don't use CHECK_N.
24541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24542         include <bp-checks.h>.
24543         (__libc_pread64): Don't use CHECK_N.
24544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24545         include <bp-checks.h>.
24546         (__libc_pwrite): Don't use CHECK_N.
24547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24548         include <bp-checks.h>.
24549         (__libc_pwrite64): Don't use CHECK_N.
24550         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24551         (do_pread): Don't use CHECK_N.
24552         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24553         (do_pread64): Don't use CHECK_N.
24554         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24555         (do_pwrite): Don't use CHECK_N.
24556         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24557         (do_pwrite64): Don't use CHECK_N.
24558         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24559         (__libc_readv): Don't use CHECK_N.
24560         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24561         (semop): Don't use CHECK_N.
24562         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24563         <bp-checks.h>.
24564         (semtimedop): Don't use CHECK_N.
24565         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24566         (__libc_pread): Don't use CHECK_N.
24567         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24568         <bp-checks.h>.
24569         (__libc_pread64): Don't use CHECK_N.
24570         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24571         <bp-checks.h>.
24572         (__libc_pwrite): Don't use CHECK_N.
24573         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24574         <bp-checks.h>.
24575         (__libc_pwrite64): Don't use CHECK_N.
24576         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24577         <bp-checks.h>.
24578         (__libc_msgrcv): Don't use CHECK_N.
24579         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24580         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
24581         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24582         (__libc_writev): Don't use CHECK_N.
24583
24584 2013-02-08  Roland McGrath  <roland@hack.frob.com>
24585
24586         * string/strcpy.c: Removed unused variable.
24587
24588         * Makeconfig (+sysdep-includes): Define with := rather than =.
24589         Use an existing include/ subdir of each sysdeps dir before it.
24590
24591 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24592
24593         * nscd/connection.c (register_traced_file): Comment function.
24594         [HAVE_INOTIFY] (union __inev): Define.
24595         [HAVE_INOTIFY] (inotify_check_files): New function.
24596         [HAVE_INOTIFY] (clear_db_cache): Likewise.
24597         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24598         clear_db_cache.
24599         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24600
24601 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24602
24603         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24604         loaded if not already and that a failure is permanent.
24605
24606 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24607
24608         [BZ #15006]
24609         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24610         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24611
24612 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
24613
24614         [BZ #13550]
24615         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24616         (CHECK_1_NULL_OK): Likewise.
24617         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24618         (__fxstat): Do not use CHECK_1.
24619         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24620         <bp-checks.h>.
24621         (___fxstat64): Do not use CHECK_1.
24622         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24623         <bp-checks.h>.
24624         (__fxstatat): Do not use CHECK_1.
24625         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24626         <bp-checks.h>.
24627         (__fxstatat64): Do not use CHECK_1.
24628         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24629         <bp-checks.h>.
24630         (__fxstat): Do not use CHECK_1.
24631         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24632         <bp-checks.h>.
24633         (__fxstatat): Do not use CHECK_1.
24634         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24635         <bp-checks.h>.
24636         (__getresgid): Do not use CHECK_1.
24637         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24638         <bp-checks.h>.
24639         (__getresuid): Do not use CHECK_1.
24640         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24641         <bp-checks.h>.
24642         (__lxstat): Do not use CHECK_1.
24643         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24644         <bp-checks.h>.
24645         (__old_msgctl): Do not use CHECK_1.
24646         (__new_msgctl): Likewise.
24647         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24648         <bp-checks.h>.
24649         (__new_setrlimit): Do not use CHECK_1.
24650         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24651         <bp-checks.h>.
24652         (__old_shmctl): Do not use CHECK_1.
24653         (__new_shmctl): Likewise.
24654         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24655         <bp-checks.h>.
24656         (__xstat): Do not use CHECK_1.
24657         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24658         (__lxstat): Do not use CHECK_1.
24659         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24660         <bp-checks.h>.
24661         (___lxstat64): Do not use CHECK_1.
24662         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24663         (__old_msgctl): Do not use CHECK_1.
24664         (__new_msgctl): Likewise.
24665         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24666         <bp-checks.h>.
24667         (__gettimeofday): Do not use CHECK_1.
24668         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24669         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24670         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24671         <bp-checks.h>.
24672         (__gettimeofday): Do not use CHECK_1.
24673         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24674         (__old_shmctl): Do not use CHECK_1_NULL_OK.
24675         (__new_shmctl): Do not use CHECK_1.
24676         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24677         <bp-checks.h>.
24678         (do_sigtimedwait): Do not use CHECK_1.
24679         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24680         <bp-checks.h>.
24681         (do_sigwaitinfo): Do not use CHECK_1.
24682         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24683         <bp-checks.h>.
24684         (msgctl): Do not use CHECK_1.
24685         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24686         <bp-checks.h>.
24687         (shmctl): Do not use CHECK_1.
24688         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24689         (ustat): Do not use CHECK_1.
24690         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24691         <bp-checks.h>.
24692         (__fxstat): Do not use CHECK_1.
24693         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24694         <bp-checks.h>.
24695         (__fxstatat): Do not use CHECK_1.
24696         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24697         <bp-checks.h>.
24698         (__lxstat): Do not use CHECK_1.
24699         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24700         <bp-checks.h>.
24701         (__xstat): Do not use CHECK_1.
24702         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24703         (__xstat): Do not use CHECK_1.
24704         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24705         (___xstat64): Do not use CHECK_1.
24706
24707         [BZ #13550]
24708         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24709         definitions.
24710         (CHECK_BOUNDS_HIGH): Likewise.
24711         * string/strcpy.c: Do not include <bp-checks.h>.
24712         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24713
24714 2013-02-07  Roland McGrath  <roland@hack.frob.com>
24715
24716         * nscd/nscd-client.h (__nscd_drop_map_ref):
24717         Add __attribute__ ((unused)).
24718         * nis/nss-nisplus.h (niserr2nss): Likewise.
24719
24720         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24721         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24722
24723         * csu/libc-tls.c (init_static_tls, init_slotinfo):
24724         Remove inline keyword.
24725         * include/rounding-mode.h (round_away): Likewise.
24726         * libio/wfileops.c (adjust_wide_data): Likewise.
24727         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24728         (__m128i_strloadu_tolower): Likewise.
24729         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24730         (__m128i_strloadu_tolower): Likewise.
24731         * time/mktime.c (ydhms_diff): Likewise.
24732         * locale/elem-hash.h (elem_hash): Likewise.
24733         * locale/setlocale.c (setdata): Likewise.
24734         * posix/regex_internal.h (re_string_char_size_at): Likewise.
24735         (re_string_wchar_at): Likewise.
24736         (bitset_not, bitset_merge, bitset_mask): Likewise.
24737         [!(__GNUC__ > 3)] (inline): Remove macro.
24738         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24739         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24740         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24741         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24742         * string/memcmp.c (memcmp_bytes): Likewise.
24743         * locale/programs/locarchive.c (compute_hashval): Likewise.
24744         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24745         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24746         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24747         * nss/getent.c (print_rpc, print_protocols): Likewise.
24748         (print_passwd, print_group, print_aliases): Likewise.
24749         * nis/nss-nisplus.h (niserr2nss): Likewise.
24750         * nscd/connections.c (restart_p): Likewise.
24751         Change return type to bool.
24752
24753 2013-02-05  Roland McGrath  <roland@hack.frob.com>
24754
24755         * Makeconfig (all-Depend-files): Add existing
24756         $(sorted-subdirs:=/Depend) files.
24757         (all-subdirs): Remove nss.
24758         * sysdeps/unix/inet/Subdirs: Add it here instead.
24759         * hesiod/Depend: New file.
24760
24761         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24762         instead of calling alloca.
24763
24764         * io/lseek.c (__lseek): Rename to __libc_lseek.
24765         Define __lseek as an alias.
24766
24767         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24768
24769 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
24770
24771         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24772         else clause and remove check for non-standard endianness.
24773
24774 2013-02-04  David S. Miller  <davem@davemloft.net>
24775
24776         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24777
24778 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
24779
24780         [BZ #13550]
24781         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24782         (__ubp_memchr): Remove prototype.
24783         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24784         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24785         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24786         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24787         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24788         Remove alias.
24789         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24790         (__ubp_memchr): Likewise.
24791         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24792         (__ubp_memchr): Likewise.
24793         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24794         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24795         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24796         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24797         CHECK_STRING.
24798         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24799         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24800         (__getcwd): Do not use CHECK_STRING.
24801         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24802         <bp-checks.h>.
24803         (__real_chown): Do not use CHECK_STRING.
24804         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24805         <bp-checks.h>.
24806         (fchownat): Do not use CHECK_STRING.
24807         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24808         CHECK_STRING.
24809         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24810         <bp-checks.h>.
24811         (__lchown): Do not use CHECK_STRING.
24812         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24813         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24814         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24815         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24817         include <bp-checks.h>.
24818         (truncate64): Do not use CHECK_STRING.
24819         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24820         <bp-checks.h>.
24821         (__real_chown): Do not use CHECK_STRING.
24822         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24823         <bp-checks.h>.
24824         (__lchown): Do not use CHECK_STRING.
24825         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24826         <bp-checks.h>.
24827         (__chown): Do not use CHECK_STRING.
24828         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24829         <bp-checks.h>.
24830         (truncate64): Do not use CHECK_STRING.
24831         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24832         Likewise.
24833         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24834         (__xmknod): Do not use CHECK_STRING.
24835         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24836         <bp-checks.h>.
24837         (__xmknodat): Do not use CHECK_STRING.
24838         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24839         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24840
24841 2013-02-04  Andreas Schwab  <schwab@suse.de>
24842
24843         [BZ #14142]
24844         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24845         * include/netdb.h: Likewise for h_errno.
24846         * elf/tst-stackguard1.c: Include <tls.h>.
24847
24848 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
24849
24850         * elf/link.h (struct link_map): Extend the l_addr comment.
24851         * include/link.h (struct link_map): Likewise.
24852
24853 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
24854
24855         [BZ #13550]
24856         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24857         (BOUNDED_1): Remove macro.
24858         * debug/backtrace.c: Don't include <bp-checks.h>.
24859         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24860         (__backtrace): Likewise.
24861         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24862         <bp-checks.h>.
24863         (__backtrace): Don't use BOUNDED_1.
24864         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24865         <bp-checks.h>.
24866         (__backtrace): Don't use BOUNDED_1.
24867         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24868         (__backtrace): Don't use BOUNDED_1.
24869         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24870         (shmat): Don't use BOUNDED_N.
24871
24872 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
24873
24874         [BZ #13550]
24875         * sysdeps/generic/bp-start.h: Remove file.
24876         * csu/libc-start.c: Don't include <bp-start.h>.
24877         (LIBC_START_MAIN): Set up __environ directly instead of using
24878         INIT_ARGV_and_ENVIRON.
24879         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24880         <bp-start.h>.
24881
24882         [BZ #13550]
24883         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24884         definitions.
24885         (CHECK_FCNTL): Likewise.
24886         (CHECK_N_PAGES): Likewise.
24887
24888         [BZ #13550]
24889         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24890         definitions.
24891         (CHECK_SIGSET_NULL_OK): Likewise.
24892         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24893         <bp-checks.h>.
24894         (sigpending): Don't use CHECK_SIGSET.
24895         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24896         <bp-checks.h>.
24897         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24898         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24899         <bp-checks.h>.
24900         (do_sigsuspend): Don't use CHECK_SIGSET.
24901         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24902         use CHECK_SIGSET.
24903         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24904         (do_sigwait): Don't use CHECK_SIGSET.
24905         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24906         use CHECK_SIGSET.
24907         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24908         include <bp-checks.h>.
24909         (sigpending): Don't use CHECK_SIGSET.
24910         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24911         include <bp-checks.h>.
24912         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24913         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24914         <bp-checks.h>.
24915         (sigpending): Don't use CHECK_SIGSET.
24916         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24917         <bp-checks.h>.
24918         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24919
24920         [BZ #13550]
24921         * sysdeps/generic/bp-semctl.h: Remove file.
24922         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24923         <bp-checks.h> and <bp-semctl.h>.
24924         (__old_semctl): Don't use CHECK_SEMCTL.
24925         (__new_semctl): Likewise.
24926         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24927         and <bp-semctl.h>.
24928         (__old_semctl): Don't use CHECK_SEMCTL.
24929         (__new_semctl): Likewise.
24930         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24931         <bp-checks.h> and <bp-semctl.h>.
24932         (__old_semctl): Don't use CHECK_SEMCTL.
24933         (__new_semctl): Likewise.
24934         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24935         <bp-checks.h> and <bp-semctl.h>.
24936         (semctl): Don't use CHECK_SEMCTL.
24937
24938         [BZ #13550]
24939         * Makerules (elide-bp-thunks): Remove variable.
24940         (elide-routines.oS): Don't use $(elide-bp-thunks).
24941         (elide-routines.os): Likewise.
24942         (elide-routines.o): Likewise.
24943         (elide-routines.op): Likewise.
24944         (elide-routines.og): Likewise.
24945         (objects): Don't use $(bp-thunks).
24946         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24947         include.
24948         (common-generated): Do not add s-proto-bp.d.
24949         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24950         (int): Likewise.
24951         (typ): Likewise.
24952         Do not generate makefile rules for bounded-pointer thunks.
24953         * sysdeps/generic/bp-thunks.h: Remove file.
24954         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24955         * sysdeps/unix/s-proto-bp.S: Likewise.
24956
24957         [BZ #15062]
24958         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24959         parts of result separately when argument is not close to line from
24960         -i to i and one part of argument is small.
24961         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24962         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24963         * math/libm-test.inc (cacos_test): Add more tests.
24964         (casin_test): Likewise.
24965         (casinh_test): Likewise.
24966         * sysdeps/i386/fpu/libm-test-ulps: Update.
24967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24968
24969 2013-01-31  David S. Miller  <davem@davemloft.net>
24970
24971         * po/de.po: Update from translation team.
24972
24973 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
24974
24975         * time/tzfile.c: Include stdint.h for SIZE_MAX.
24976
24977 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
24978
24979         * configure.in (_AC_PROG_CC_C89): New definition.
24980         * configure: Regenerate.
24981
24982         * configure.in (AC_PROG_CPP): New definition.
24983         * configure: Regenerate.
24984
24985 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
24986
24987         * debug/tst-backtrace.h: New file.
24988         * debug/tst-backtrace2.c: Include tst-backtrace.h.
24989         (ret): Remove variable.
24990         (x): Likewise.
24991         (FAIL): Remove macro.
24992         (NO_INLINE): Likewise.
24993         (fn1): Use match function instead of strstr.
24994         * debug/tst-backtrace3.c: Include tst-backtrace.h.
24995         (ret): Remove variable.
24996         (x): Likewise.
24997         (FAIL): Remove macro.
24998         (NO_INLINE): Likewise.
24999         (fn): Use match function instead of strstr.
25000         * debug/tst-backtrace4.c: Include tst-backtrace.h.
25001         (ret): Remove variable.
25002         (x): Likewise.
25003         (FAIL): Remove macro.
25004         (NO_INLINE): Likewise.
25005         (handle_signal): Use match function instead of strstr.
25006         * debug/tst-backtrace5.c: Include tst-backtrace.h.
25007         (ret): Remove variable.
25008         (x): Likewise.
25009         (FAIL): Remove macro.
25010         (NO_INLINE): Likewise.
25011         (handle_signal): Use match function instead of strstr.
25012
25013 2013-01-23  Roland McGrath  <roland@hack.frob.com>
25014
25015         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25016
25017 2013-01-23  David S. Miller  <davem@davemloft.net>
25018
25019         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25020         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25021         argument of CAS if possible.
25022         * sysdeps/sparc/sparc64/bits/atomic.h
25023         (__arch_compare_and_exchange_val_32_acq): Likewise.
25024         (__arch_compare_and_exchange_val_64_acq): Likewise.
25025
25026 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
25027
25028         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25029         * sysdeps/posix/ulimit.c: ... this.
25030         Include <limits.h>.
25031         * sysdeps/unix/bsd/ulimit.c: Remove file.
25032
25033 2013-01-23  Adam Conrad  <adconrad@0c3.net>
25034
25035         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25036         (LDFLAGS-tst-array5): Likewise.
25037
25038 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25039
25040         [BZ #15036]
25041         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25042         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25043         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25044         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25045
25046 2013-01-21  David S. Miller  <davem@davemloft.net>
25047
25048         * sysdeps/sparc/backtrace.c: New file.
25049         * sysdeps/sparc/sparc32/backtrace.h: New file.
25050         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25051         * sysdeps/sparc/sparc64/backtrace.h: New file.
25052         * sysdeps/sparc/sparc64/backtrace.c: Delete.
25053         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25054         -funwind-tables.
25055
25056 2013-01-21  Andreas Schwab  <schwab@suse.de>
25057
25058         [BZ #15020]
25059         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25060         closed its stdout.
25061
25062 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
25063
25064         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25065         "mpa2.h".
25066         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25067
25068 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
25069             Mark Mitchell  <mark@codesourcery.com>
25070             Tom de Vries  <tom@codesourcery.com>
25071             Paul Pluzhnikov  <ppluzhnikov@google.com>
25072
25073         * debug/tst-backtrace2.c: New file.
25074         * debug/tst-backtrace3.c: Likewise.
25075         * debug/tst-backtrace4.c: Likewise.
25076         * debug/tst-backtrace5.c: Likewise.
25077         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25078         (CFLAGS-tst-backtrace3.c): Likewise.
25079         (CFLAGS-tst-backtrace4.c): Likewise.
25080         (CFLAGS-tst-backtrace5.c): Likewise.
25081         (LDFLAGS-tst-backtrace2): Likewise.
25082         (LDFLAGS-tst-backtrace3): Likewise.
25083         (LDFLAGS-tst-backtrace4): Likewise.
25084         (LDFLAGS-tst-backtrace5): Likewise.
25085         (tests): Add new tests tst-backtrace2, tst-backtrace3,
25086         tst-backtrace4 and tst-backtrace5.
25087
25088 2013-01-18  Anton Blanchard  <anton@samba.org>
25089             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25090
25091         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25092         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25093         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25094         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25096         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25097         "+r" and remove output regs list as redundant.  Add explicit inline
25098         asm to specify register of return val to work around compiler codegen
25099         bug.  Remove (int) cast on return value.  Add return type parameter to
25100         use in macro so that this macro does not truncate return value for
25101         64-bit values.
25102         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25103         pass to INTERNAL_VSYSCALL_NCS.
25104         (INLINE_VSYSCALL): Add 'long int' as return type to
25105         INTERNAL_VSYSCALL_NCS macro invocation.
25106         (INTERNAL_VSYSCALL): Add 'long int' as return type to
25107         INTERNAL_VSYSCALL_NCS macro invocation.
25108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25109
25110 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25111
25112         [BZ #14496]
25113         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25114         Fix application of SIMD FP exception mask.
25115
25116         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25117         mp_no from a power of two.
25118         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25119         __mpexp_twomm1.  Use __pow_mp.
25120
25121         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25122         multiplication.
25123
25124 2013-01-17  David S. Miller  <davem@davemloft.net>
25125
25126         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25127
25128 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25129
25130         [BZ #15023]
25131         * include/complex.h: Condition contents on [!_COMPLEX_H].
25132         (__kernel_casinhf): New prototype.
25133         (__kernel_casinh): Likewise.
25134         (__kernel_casinhl): Likewise.
25135         * math/Makefile (libm_calls): Add k_casinh.
25136         * math/k_casinh.c: New file.
25137         * math/k_casinhf.c: Likewise.
25138         * math/k_casinhl.c: Likewise.
25139         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25140         finite nonzero arguments.
25141         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25142         finite nonzero arguments.
25143         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25144         finite nonzero arguments.
25145         * math/s_casinh.c: Do not include <float.h>.
25146         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25147         * math/s_casinhf.c: Do not include <float.h>.
25148         (__casinhf): Move code for finite nonzero arguments to
25149         k_casinhf.c.
25150         * math/s_casinhl.c: Do not include <float.h>.
25151         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25152         redefine.
25153         (__casinhl): Move code for finite nonzero arguments to
25154         k_casinhl.c.
25155         * math/libm-test.inc (cacos_test): Add more tests.
25156         * sysdeps/i386/fpu/libm-test-ulps: Update.
25157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25158
25159 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
25160
25161         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25162         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25163         [!HAVE_MREMAP]: Remove [defined linux] case.
25164         * malloc/arena.c: Do not include <malloc-sysdep.h>.
25165
25166 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25167
25168         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25169
25170 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
25171
25172         * elf/elf.h (R_386_SIZE32): New relocation.
25173         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25174         R_386_SIZE32.
25175         (elf_machine_rela): Likewise.
25176         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25177         R_X86_64_SIZE64 and R_X86_64_SIZE32.
25178
25179 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25180
25181         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25182         (FP_FAST_FMA): Do not define.
25183         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25184         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25185         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25186         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25187         !_SOFT_FLOAT]: Likewise.
25188         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25189         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25190         value.
25191         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25192         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25193         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25194         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25195         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25196         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25197         file.
25198
25199 2013-01-16  Andreas Schwab  <schwab@suse.de>
25200
25201         [BZ #14327]
25202         * include/stdlib.h (__mktemp): Add declaration.
25203         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25204         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25205
25206 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25207
25208         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25209         definitions.
25210         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25211         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25212         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25213         definitions here.
25214         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25215         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25216         definitions.
25217         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25218         and ONE.
25219         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25220         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25221         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25222         definitions.
25223         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25224         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25225         definitions.
25226         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25227
25228         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25229
25230 2013-01-15  David S. Miller  <davem@davemloft.net>
25231
25232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25233         trunc{,f} to libm-sysdep_routes.
25234         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25236         file.
25237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25239         file.
25240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25241         file.
25242         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25243         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25244         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25245         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25246         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25247         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25248         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25249         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25250
25251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25252         nearbyint{,f} to libm-sysdep_routes.
25253         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25255         New file.
25256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25257         file.
25258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25259         New file.
25260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25261         file.
25262         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25263         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25264         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25265         file.
25266         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25267         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25268         file.
25269         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25270         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25271         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25272
25273         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25274         libc_feholdexcept and libc_fesetenv.
25275
25276 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
25277
25278         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25279
25280 2013-01-14  David S. Miller  <davem@davemloft.net>
25281
25282         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25283         (SPARC_ASM_VIS2_IFUNC): Likewise.
25284         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25286         use of 'siam' instruction.
25287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25288         Likewise.
25289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25290         Likewise.
25291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25292         Likewise.
25293         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25294         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25295         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25296         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25298         file.
25299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25300         file.
25301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25302         file.
25303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25304         file.
25305         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25306         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25307         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25308         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25310         new VIS2 routines.
25311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25314         Likewise.
25315         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25316         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25317         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25318         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25320         routines to libm-sysdep_routines.
25321         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25322
25323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25324         fdim/fdimf to libm-sysdep_routines.
25325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25326         file.
25327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25329         file.
25330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25331         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25332         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25333         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25334         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25335         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25336         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25337
25338 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25339
25340         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25341         to optimize copies.
25342
25343         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25344         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25345         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25346
25347         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25348         local variable MPTWO.
25349         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25350         Likewise.
25351
25352 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25353
25354         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25355         GLOB_NOESCAPE.
25356
25357 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25358
25359         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25360
25361 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25362
25363         * manual/pattern.texi (glob_t): Document gl_flags.
25364         (glob64_t): Likewise.
25365
25366 2013-01-11  David S. Miller  <davem@davemloft.net>
25367
25368         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25369         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25370         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
25371         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25372         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25373         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25374         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25375         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25376         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25377         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25378         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25379         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25380         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25381
25382         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25383         sparc V9 rather than using V8 code.
25384         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25385         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25386
25387         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25388         Move to...
25389         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25390         Here.
25391
25392 2013-01-11  Roland McGrath  <roland@hack.frob.com>
25393
25394         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25395         not in the main loop.
25396         * configure: Regenerated.
25397
25398 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
25399
25400         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25401         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25402         to just #else.
25403         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
25404         [!__GLIBC_HAVE_LONG_LONG] case.
25405         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25406         condition to just #else.
25407         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25408         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25409         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25410         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25411         unconditional.
25412         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25413         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25414         #elif condition to just #else.
25415         * sysdeps/unix/sysv/linux/sys/sysmacros.h
25416         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25417         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25418         #elif condition to just #else.
25419
25420 2013-01-11  Steve Ellcey  <sellcey@mips.com>
25421
25422         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25423         (EF_MIPS_ARCH_64): Fix value.
25424         (EF_MIPS_ARCH_32R2): New.
25425         (EF_MIPS_ARCH_64R2): New.
25426
25427 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
25428
25429         * Makeconfig (+link-pie-before-libc): New.
25430         (+link-pie-after-libc): Likewise.
25431         (+link-pie-tests): Likewise.
25432         (+link-pie): Rewritten.
25433         (link-before-libc): Remove $(config-LDFLAGS).
25434         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25435         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25436         (config-LDFLAGS): Renamed to ...
25437         (rtld-LDFLAGS): This.
25438         (rtld-tests-LDFLAGS): New macro.
25439         (link-libc-rpath-link): Likewise.
25440         (link-libc-tests-rpath-link): Likewise.
25441         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25442         (link-libc): Prepand $(link-libc-rpath-link).
25443         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25444         (test-program-prefix): New macro.
25445         (test-via-rtld-prefix): Likewise.
25446         (test-program-cmd): Likewise.
25447         (host-test-program-cmd): Likewise.
25448         * Makefile ($(common-objpfx)testrun.sh): Replace
25449         $(run-program-prefix) with $(test-program-prefix).
25450         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25451         $(rtld-LDFLAGS).
25452         ($(common-objpfx)shlib.lds): Likewise.
25453         (build-module-helper): Likewise.
25454         ($(common-objpfx)format.lds): Likewise.
25455         * Rules (binaries-pie-tests): New.
25456         (binaries-pie-notests): Likewise.
25457         (binaries-pie): Rewritten.
25458         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25459         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25460         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25461         (make-test-out): Replace $(host-built-program-cmd) with
25462         $(host-test-program-cmd).
25463         * config.make.in (build-hardcoded-path-in-tests): New variable.
25464         * configure.in (--enable-hardcoded-path-in-tests): New configure
25465         option.
25466         (hardcoded_path_in_tests): New AC_SUBST.
25467         * configure: Regenerated.
25468         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25469         $(built-program-cmd) with $(test-program-cmd).
25470         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25471         (test_program_cmd): This.
25472         * elf/Makefile ($(objpfx)order.out): Run test with
25473         $(test-program-prefix).
25474         ($(objpfx)order2.out): Likewise.
25475         ($(objpfx)tst-initorder.out): Likewise.
25476         ($(objpfx)tst-initorder2.out): Likewise.
25477         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25478         $(test-program-cmd).
25479         ($(objpfx)tst-array1-static.out): Likewise.
25480         ($(objpfx)tst-array2.out): Likewise.
25481         ($(objpfx)tst-array3.out): Likewise.
25482         ($(objpfx)tst-array4.out): Likewise.
25483         ($(objpfx)tst-array5.out): Likewise.
25484         ($(objpfx)tst-array5-static.out): Likewise.
25485         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25486         $(test-program-cmd).
25487         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25488         $(run-program-prefix) with $(test-program-prefix).
25489         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25490         (test_program_prefix): This.
25491         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25492         $(run-program-prefix) with $(test-program-prefix).
25493         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25494         (test_program_prefix): This.
25495         * iconvdata/tst-tables.sh: Likewise.
25496         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25497         $(run-program-prefix) with $(test-program-prefix).
25498         ($(objpfx)tst-translit.out): Likewise.
25499         ($(objpfx)tst-gettext2.out): Likewise.
25500         ($(objpfx)tst-gettext4.out): Likewise.
25501         ($(objpfx)tst-gettext6.out): Likewise.
25502         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25503         (test_program_prefix): This.
25504         * intl/tst-gettext2.sh: Likewise.
25505         * intl/tst-gettext4.sh  Likewise.
25506         * intl/tst-gettext6.sh: Likewise.
25507         * intl/tst-translit.sh: Likewise.
25508         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25509         with $(test-program-cmd).
25510         * libio/Makefile ($(objpfx)test-freopen.out): Replace
25511         $(run-program-prefix) with $(test-program-prefix).
25512         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25513         (test_program_prefix): This.
25514         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25515         $(run-program-prefix) with $(test-program-prefix).
25516         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25517         (test_program_prefix): This.
25518         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25519         * posix/Makefile ($(objpfx)globtest.out): Replace
25520         $(run-via-rtld-prefix) and $(test-wrapper) with
25521         $(test-program-prefix) and $(test-via-rtld-prefix).
25522         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25523         $(test-program-prefix).
25524         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25525         $(host-test-program-cmd).
25526         (tst-spawn-ARGS): Likewise.
25527         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25528         $(test-program-prefix).
25529         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25530         (test_via_rtld_prefix): This.
25531         (test_wrapper): Renamed to ...
25532         (test_program_prefix): This.
25533         (run_program_prefix): Replaced by test_program_prefix.
25534         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25535         (test_program_prefix): This.
25536         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25537         with $(host-test-program-cmd).
25538         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25539         $(run-program-prefix) with $(test-program-prefix).
25540         ($(objpfx)tst-printf.out): Likewise.
25541         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25542         $(test-program-cmd).
25543         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25544         (test_program_prefix): This.
25545         * stdio-common/tst-unbputc.sh: Likewise.
25546         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25547         $(run-program-prefix) with $(test-program-prefix).
25548         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25549         (test_program_prefix): This.
25550         * string/Makefile ($(objpfx)tst-svc.out):  Replace
25551         $(built-program-cmd) with $(test-program-cmd).
25552
25553 2013-01-11  Andreas Jaeger  <aj@suse.de>
25554
25555         [BZ #15003]
25556         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25557         value. Sync with Linux 3.7.
25558
25559 2013-01-10  David S. Miller  <davem@davemloft.net>
25560
25561         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25562         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25563         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25564
25565 2013-01-10  Roland McGrath  <roland@hack.frob.com>
25566
25567         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25568         never set.
25569         * configure: Regenerated.
25570
25571 2013-01-10  David S. Miller  <davem@davemloft.net>
25572
25573         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25574         sparc V9 rather than using V8 code.
25575         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25576         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25577
25578 2013-01-10  Roland McGrath  <roland@hack.frob.com>
25579
25580         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25581         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25582         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25583         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25584         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25585         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25586         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25587         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25588         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25589         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25590         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25591         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25592         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25593         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25594         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25595         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25596         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25597         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25598         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25599         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25600         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25601         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25602         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25603         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25604         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25605         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25606         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25607
25608 2013-01-10  David S. Miller  <davem@davemloft.net>
25609
25610         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25611
25612 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
25613
25614         * posix/Makefile (tests-static): New variable.
25615         (tests): Add $(tests-static).
25616         (tst-exec-static-ARGS): New variable.
25617         (tst-spawn-static-ARGS): Likewise.
25618         * posix/tst-exec-static.c: New file.
25619         * posix/tst-spawn-static.c: Likewise.
25620         * posix/tst-exec.c: Support run directly.
25621         * posix/tst-spawn.c: Likewise.
25622
25623 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
25624
25625         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25626         long.
25627         * math/bits/mathcalls.h (llrint): Likewise.
25628         (llround): Likewise.
25629         * stdlib/stdlib.h (struct drand48_data): Likewise.
25630         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25631         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25632         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25633         Likewise.
25634         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25635         Likewise.
25636         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25637         (elf_greg_t): Likewise.
25638         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25639         (__jmp_buf): Likewise.
25640         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25641         definitions.
25642         (llrint): Likewise, for all definitions.
25643         (llrintl): Likewise.
25644
25645         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25646         Remove [__GNUC__] condition.
25647         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25648         condition to just [__USE_ISOC99].
25649         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25650
25651 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
25652
25653         [BZ #14200]
25654         * sysdeps/unix/sysv/linux/x86/bits/environments.h
25655         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25656         defined.
25657         (_POSIX_V6_ILP32_OFF32): Likewise.
25658         (_XBS5_ILP32_OFF32): Likewise.
25659         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25660         (__ILP32_OFFBIG_LDFLAGS): Likewise.
25661
25662 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25663
25664         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25665
25666         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25667         doubles __mpexp_twomm1.  Adjust usage.
25668         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25669         Remove.
25670
25671 2013-01-10  Andreas Schwab  <schwab@suse.de>
25672
25673         [BZ #14964]
25674         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25675         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25676
25677 2013-01-09  David S. Miller  <davem@davemloft.net>
25678
25679         [BZ #15003]
25680         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25681         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25682         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25683         (TCP_FASTOPEN): Define.
25684         (tcp_repair_opt): New structure.
25685         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25686         enum values.
25687         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25688         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25689         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25690         (tcp_cookie_transactions): New structure.
25691
25692 2013-01-09  Anton Blanchard  <anton@samba.org>
25693
25694         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25695         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25696         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25697         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25698
25699 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
25700
25701         * include/features.h (__USE_ANSI): Remove.
25702
25703 2013-01-09  Roland McGrath  <roland@hack.frob.com>
25704
25705         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25706
25707         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25708
25709 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
25710
25711         * sysdeps/s390/fpu/libm-test-ulps: Update.
25712
25713         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25714
25715         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25716         (__acr): Likewise.
25717         (__cpy): Likewise.
25718         (norm): Likewise.
25719         (denorm): Likewise.
25720         (__mp_dbl): Likewise.
25721         (__dbl_mp): Likewise.
25722         (add_magnitudes): Likewise.
25723         (sub_magnitudes): Likewise.
25724         (__add): Likewise.
25725         (__sub): Likewise.
25726         (__mul): Likewise.
25727         (__inv): Likewise.
25728         (__dvd): Likewise.
25729         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25730         (__acr): Likewise.
25731         (__cpy): Likewise.
25732         (norm): Likewise.
25733         (denorm): Likewise.
25734         (__mp_dbl): Likewise.
25735         (__dbl_mp): Likewise.
25736         (add_magnitudes): Likewise.
25737         (sub_magnitudes): Likewise.
25738         (__add): Likewise.
25739         (__sub): Likewise.
25740         (__mul): Likewise.
25741         (__inv): Likewise.
25742         (__dvd): Likewise.
25743         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25744         (__acr): Likewise.
25745         (__cpy): Likewise.
25746         (norm): Likewise.
25747         (denorm): Likewise.
25748         (__mp_dbl): Likewise.
25749         (__dbl_mp): Likewise.
25750         (add_magnitudes): Likewise.
25751         (sub_magnitudes): Likewise.
25752         (__add): Likewise.
25753         (__sub): Likewise.
25754         (__mul): Likewise.
25755         (__inv): Likewise.
25756         (__dvd): Likewise.
25757
25758 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
25759
25760         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25761         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25762         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25763         2 && __USE_EXTERN_INLINES]: Likewise.
25764
25765 2013-01-08  Andreas Jaeger  <aj@suse.de>
25766
25767         [BZ# 14985]
25768         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25769         Remove.
25770         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25771         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25772
25773 2013-01-07  Anton Blanchard  <anton@samba.org>
25774
25775         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25776         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25777         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25778         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25779         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25780         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25781         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25782         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25783         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25784         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25785         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25786         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25787         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25788         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25789         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25790         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25791         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25792         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25793         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25794         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25795         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25796         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25797         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25798         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25799         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25800         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25801         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25802         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25803         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25804         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25805         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25806         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25807         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25808         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25809         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25810         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25811         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25812         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25813         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25814         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25815         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25816         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25817         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25818
25819 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
25820
25821         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25822         (__MALLOC_PMT): Likewise.
25823         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25824         [__GNUC__], only on [_LIBC].
25825         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25826         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25827         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25828         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25829         forward declaration.
25830         (realloc_hook_ini): Likewise.
25831         (memalign_hook_ini): Likewise.
25832         (__libc_memalign): Do not use __MALLOC_PMT in variable
25833         declaration.
25834         (__libc_valloc): Likewise.
25835         (__libc_pvalloc): Likewise.
25836         (__libc_calloc): Likewise.
25837         (__posix_memalign): Likewise.
25838
25839         [BZ #14996]
25840         * math/s_casinh.c: Include <float.h>.
25841         (__casinh): Do not do computation with squaring and square root
25842         for large arguments.
25843         * math/s_casinhf.c: Include <float.h>.
25844         (__casinhf): Do not do computation with squaring and square root
25845         for large arguments.
25846         * math/s_casinhl.c: Include <float.h>.
25847         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25848         (__casinhl): Do not do computation with squaring and square root
25849         for large arguments.
25850         * math/libm-test.inc (casin_test): Add more tests.
25851         (casinh_test): Likewise.
25852         * sysdeps/i386/fpu/libm-test-ulps: Update.
25853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25854
25855 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
25856
25857         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25858         (__x86_64_raw_data_cache_size): Likewise.
25859         (__x86_64_data_cache_size_half): Likewise.
25860         (__x86_64_raw_data_cache_size_half): Likewise.
25861         (__x86_64_shared_cache_size): Likewise.
25862         (__x86_64_raw_shared_cache_size): Likewise.
25863         (__x86_64_shared_cache_size_half): Likewise.
25864         (__x86_64_raw_shared_cache_size_half): Likewise.
25865         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25866         to ...
25867         (__x86_data_cache_size): This.
25868         (__x86_64_raw_data_cache_size): Renamed to ...
25869         (__x86_raw_data_cache_size): This.
25870         (__x86_64_data_cache_size_half): Renamed to ...
25871         (__x86_data_cache_size_half): This.
25872         (__x86_64_raw_data_cache_size_half): Renamed to ...
25873         (__x86_raw_data_cache_size_half): This.
25874         (__x86_64_shared_cache_size): Renamed to ...
25875         (__x86_shared_cache_size): This.
25876         (__x86_64_raw_shared_cache_size): Renamed to ...
25877         (__x86_raw_shared_cache_size): This.
25878         (__x86_64_shared_cache_size_half): Renamed to ...
25879         (__x86_shared_cache_size_half): This.
25880         (__x86_64_raw_shared_cache_size_half): Renamed to ...
25881         (__x86_raw_shared_cache_size_half): This.
25882         * sysdeps/x86_64/memcpy.S: Updated.
25883         * sysdeps/x86_64/memset.S: Likewise.
25884         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25885         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25886         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25887
25888 2013-01-04  David S. Miller  <davem@davemloft.net>
25889
25890         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25891
25892 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
25893
25894         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25895         1 to avoid redefinition warning.
25896         (__USE_GNU): Don't define.
25897         (init_signaling_nan): Protoize.
25898
25899         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25900
25901 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25902
25903         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25904         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25905         (__cpymn): Likewise.
25906         (norm): Remove commented code.
25907         (denorm): Likewise.
25908         (__mp_dbl): Likewise.
25909         (__inv): Likewise.
25910         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25911         (__cpymn): Likewise.
25912         (norm): Remove commented code.
25913         (denorm): Likewise.
25914         (__mp_dbl): Likewise.
25915         (__inv): Likewise.
25916
25917         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25918         mp_no value for 1.0 and 2.0.
25919         (norm): Use RADIXI instead of radixi.d.
25920         (denorm): Likewise.
25921         (__mul): Use 0.0 instead of zero.d.
25922         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25923         mp_no value for 1.0 and 2.0.
25924         (norm): Use RADIXI instead of radixi.d.
25925         (denorm): Likewise.
25926         (__mul): Use 0.0 instead of zero.d.
25927
25928 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
25929
25930         [BZ #14994]
25931         * math/s_casinh.c (__casinh): Reduce finite argument to first
25932         quadrant then set signs of results at the end.
25933         * math/s_casinhf.c (__casinhf): Likewise.
25934         * math/s_casinhl.c (__casinhl): Likewise.
25935         * math/libm-test.inc (casin_test): Add more tests.
25936         (casinh_test): Likewise.
25937         * sysdeps/i386/fpu/libm-test-ulps: Update.
25938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25939
25940 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25941
25942         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25943
25944         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25945
25946         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25947         declarations.
25948         (denorm): Likewise.
25949         (__mp_dbl): Likewise.
25950         (__inv): Likewise.
25951
25952         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25953         and adjust the header comment.
25954
25955         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25956         variable name from declaration.
25957
25958 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
25959
25960         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25961         Initialize COMMON_CPUID_INDEX_7 element.
25962         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25963         (CPUID_RTM): Likewise.
25964         (HAS_RTM): Likewise.
25965         (COMMON_CPUID_INDEX_7): New enum.
25966
25967 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
25968
25969         [BZ #14981]
25970         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25971         size is zero, record memory as freed.
25972
25973 2013-01-03  Andreas Jaeger  <aj@suse.de>
25974
25975         * po/ia.po: Add new Interlingua translation.
25976
25977 2012-01-03  Allan McRae  <allan@archlinux.org>
25978
25979         * locale/programs/localedef.c: Fix description of '--posix' flag.
25980
25981 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
25982
25983         * NEWS: Update dates in second copyright notice.
25984         * README: Update copyright dates in example.
25985         * manual/libc.texinfo: Update copyright dates.
25986         * scripts/test-installation.pl: Update copyright date in --version
25987         output.
25988
25989         * hurd/ctty-input.c: Fix copyright notice formatting.
25990         * hurd/ctty-output.c: Likewise.
25991         * hurd/dtable.c: Likewise.
25992         * hurd/hurd-raise.c: Likewise.
25993         * hurd/hurdprio.c: Likewise.
25994         * hurd/msgportdemux.c: Likewise.
25995         * misc/sys/file.h: Likewise.
25996         * misc/sys/ioctl.h: Likewise.
25997         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25998         * sysdeps/mach/hurd/chdir.c: Likewise.
25999         * sysdeps/mach/hurd/fchdir.c: Likewise.
26000         * sysdeps/mach/hurd/rename.c: Likewise.
26001         * sysdeps/mach/hurd/rmdir.c: Likewise.
26002         * sysdeps/mach/hurd/seekdir.c: Likewise.
26003         * sysdeps/mach/hurd/setsid.c: Likewise.
26004         * sysdeps/posix/wait3.c: Likewise.
26005
26006         * All files with FSF copyright notices: Update copyright dates
26007         using scripts/update-copyrights.
26008         * intl/plural.c: Regenerated.
26009         * locale/programs/charmap-kw.h: Likewise.
26010         * locale/programs/locfile-kw.h: Likewise.
26011
26012 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26013
26014         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26015         four values.
26016
26017         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26018         calculation loop and add branch prediction.
26019
26020         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26021         check access beyond bounds of m1np.
26022
26023         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26024         MPTWO.
26025         (__inv): Remove local variable MPTWO to use the global
26026         constant.
26027         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26028         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26029         variable MPTWO.
26030         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26031         MP3HALFS static const.
26032
26033 2013-01-01  David S. Miller  <davem@davemloft.net>
26034
26035         * po/ca.po: Update from translation team.
26036
26037 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
26038
26039         * scripts/update-copyrights: New file.
26040         * Makeconfig: Reformat copyright notice.
26041         * ctype/ctype.h: Likewise.
26042         * debug/swprintf_chk.c: Likewise.
26043         * elf/dl-cache.c: Likewise.
26044         * elf/dl-debug.c: Likewise.
26045         * elf/dl-object.c: Likewise.
26046         * grp/initgroups.c: Likewise.
26047         * hurd/Makefile: Likewise.
26048         * hurd/hurd/signal.h: Likewise.
26049         * hurd/hurdfault.c: Likewise.
26050         * hurd/hurdioctl.c: Likewise.
26051         * hurd/hurdlookup.c: Likewise.
26052         * hurd/intr-msg.c: Likewise.
26053         * iconv/gconv_open.c: Likewise.
26054         * libio/swprintf.c: Likewise.
26055         * locale/lc-ctype.c: Likewise.
26056         * locale/nl_langinfo.c: Likewise.
26057         * mach/Machrules: Likewise.
26058         * mach/Makefile: Likewise.
26059         * malloc/obstack.h: Likewise.
26060         * manual/Makefile: Likewise.
26061         * manual/tsort.awk: Likewise.
26062         * misc/bits/stab.def: Likewise.
26063         * nis/nis_print_group_entry.c: Likewise.
26064         * nis/nis_table.c: Likewise.
26065         * nis/nss_compat/compat-pwd.c: Likewise.
26066         * nis/nss_compat/compat-spwd.c: Likewise.
26067         * po/Makefile: Likewise.
26068         * posix/fnmatch.c: Likewise.
26069         * posix/regex.h: Likewise.
26070         * resolv/Makefile: Likewise.
26071         * resolv/nss_dns/dns-network.c: Likewise.
26072         * resolv/res_hconf.c: Likewise.
26073         * scripts/gen-sorted.awk: Likewise.
26074         * soft-fp/soft-fp.h: Likewise.
26075         * stdio-common/printf.h: Likewise.
26076         * stdlib/monetary.h: Likewise.
26077         * stdlib/random.c: Likewise.
26078         * stdlib/random_r.c: Likewise.
26079         * sysdeps/generic/Makefile: Likewise.
26080         * sysdeps/gnu/Makefile: Likewise.
26081         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26082         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26083         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26084         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26085         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26086         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26087         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26088         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26089         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26090         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26091         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26092         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26093         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26094         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26095         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26096         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26097         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26098         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26099         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26100         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26101         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26102         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26103         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26104         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26105         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26106         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26107         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26108         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26109         * sysdeps/mach/hurd/errnos.awk: Likewise.
26110         * sysdeps/mach/hurd/fork.c: Likewise.
26111         * sysdeps/mach/hurd/getcwd.c: Likewise.
26112         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26113         * sysdeps/mach/hurd/mmap.c: Likewise.
26114         * sysdeps/mach/hurd/utimes.c: Likewise.
26115         * sysdeps/mach/hurd/xmknod.c: Likewise.
26116         * sysdeps/posix/profil.c: Likewise.
26117         * sysdeps/posix/readdir_r.c: Likewise.
26118         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26119         * sysdeps/powerpc/bits/setjmp.h: Likewise.
26120         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26121         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26122         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26123         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26124         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26125         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26126         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26127         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26128         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26129         * sysdeps/pthread/lio_listio.c: Likewise.
26130         * sysdeps/sparc/dl-procinfo.h: Likewise.
26131         * sysdeps/unix/i386/sysdep.S: Likewise.
26132         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26133         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26134         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26135         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26137         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26138         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26139         * sysdeps/unix/sysv/linux/speed.c: Likewise.
26140         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26141         * sysdeps/wordsize-32/divdi3.c: Likewise.
26142         * time/sys/time.h: Likewise.
26143         * wcsmbs/Makefile: Likewise.
26144
26145 2013-01-01  David S. Miller  <davem@davemloft.net>
26146
26147         * po/fr.po: Update from translation team.
26148
26149         * catgets/gencat.c: Update copyright year.
26150         * csu/version.c: Likewise.
26151         * debug/catchsegv.sh: Likewise.
26152         * debug/pcprofiledump.c: Likewise.
26153         * debug/xtrace.sh: Likewise.
26154         * elf/ldconfig.c: Likewise.
26155         * elf/ldd.bash.in: Likewise.
26156         * elf/pldd.c: Likewise.
26157         * elf/sotruss.ksh: Likewise.
26158         * elf/sprof.c: Likewise.
26159         * iconv/iconv_prog.c: Likewise.
26160         * iconv/iconvconfig.c: Likewise.
26161         * locale/programs/locale.c: Likewise.
26162         * locale/programs/localedef.c: Likewise.
26163         * login/programs/pt_chown.c: Likewise.
26164         * malloc/memusage.sh: Likewise.
26165         * malloc/memusagestat.c: Likewise.
26166         * malloc/mtrace.pl: Likewise.
26167         * nscd/nscd.c: Likewise.
26168         * nss/getent.c: Likewise.
26169         * nss/makedb.c: Likewise.
26170         * posix/getconf.c: Likewise.
26171
26172 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26173
26174         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26175         numbers.
26176
26177 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
26178
26179         * math/bits/mathcalls.h (modf): Use __nonnull.
26180
26181 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26182
26183         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26184         (split): Use macro CN instead of the bare value.
26185         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26186         could be used.
26187         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26188         instead of the bare value.
26189         (power1): Likewise.
26190
26191 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26192
26193         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26194         __ATAN_TWOM.
26195         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26196
26197         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26198         their values.
26199         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26200         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26201         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26202         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26203
26204 2012-12-28  Andreas Jaeger  <aj@suse.de>
26205
26206         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
26207         values are from Linux 3.7.
26208
26209         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26210         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
26211
26212 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26213
26214         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26215         TRUE case.
26216
26217         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26218         (norm): Likewise.
26219         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26220         variables with preprocessor constants.
26221         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26222         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26223         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26224
26225 2012-12-27  Bruno Haible  <bruno@clisp.org>
26226
26227         [BZ #14317]
26228         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26229         only if needed.
26230
26231 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26232
26233         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26234         and use variable directly.
26235         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26236
26237         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26238         MPONE.
26239         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26240         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26241         variable MPONE.
26242         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26243         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26244         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26245         include directive.  Remove local variable MPONE.
26246         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26247         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26248         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26249
26250 2012-12-25  David S. Miller  <davem@davemloft.net>
26251
26252         * version.h (RELEASE): Set to "development".
26253         (VERSION): Set to "2.17.90".
26254         * NEWS: Add 2.18 section.
26255
26256 2012-12-21  David S. Miller  <davem@davemloft.net>
26257
26258         * po/hr.po: Update from translation team.
26259
26260 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26261
26262         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26263
26264 2012-12-19  Steve Ellcey  <sellcey@mips.com>
26265
26266         * NEWS:  Mention new memcpy for MIPS.
26267
26268 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26269
26270         * manual/contrib.texi (Contributors): Spelling correction.
26271
26272 2012-12-15  David S. Miller  <davem@davemloft.net>
26273
26274         * po/ru.po: Update from translation team.
26275
26276 2012-12-13  David S. Miller  <davem@davemloft.net>
26277
26278         * NEWS: Mention IFUNC testsuite enhancements.
26279
26280         * po/pl.po: Update from translation team.
26281         * po/bg.po: Likewise.
26282
26283         * manual/contrib.texi (Contributors): Update entries for Hongjiu
26284         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
26285
26286 2012-12-11  David S. Miller  <davem@davemloft.net>
26287
26288         * po/sv.po: Update from translation team.
26289
26290         * po/vi.po: Update from translation team.
26291
26292         * po/cs.po: Update from translation team.
26293
26294         * po/de.po: Update from translation team.
26295         * po/eo.po: Likewise.
26296         * po/nl.po: Likewise.
26297
26298 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26299
26300         [BZ #14246]
26301         * manual/argp.texi (Argp Helper Functions): Move node to follow
26302         Argp Parsing State.
26303
26304         [BZ #14872]
26305         * manual/conf.texi (Limits on File System Capacity): Mention if
26306         terminating null is included in the max size.
26307
26308 2012-12-10  Andreas Jaeger  <aj@suse.de>
26309
26310         * po/cs.po: Update from translation team.
26311
26312 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26313
26314         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26315         void pointer and cast to uintptr_t.
26316         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26317         path.
26318         * sysdeps/s390/s390-64/memcpy.S: Likewise.
26319         * sysdeps/s390/s390-64/memset.S: Likewise.
26320
26321 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
26322
26323         [BZ #14833]
26324         * menual/message.texi (Message Translation): Fix typos.
26325         (Helper programs for gettext): Likewise.
26326
26327 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
26328
26329         [BZ #14898]
26330         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26331         Change to -1.
26332
26333 2012-12-07  David S. Miller  <davem@davemloft.net>
26334
26335         * po/libc.pot: Update.
26336
26337 2012-12-07  Richard Henderson  <rth@redhat.com>
26338
26339         [BZ #10114]
26340         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26341         normal/normal case to before the switch.
26342         (_FP_DIV): Likewise.
26343
26344 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
26345             Mike Frysinger  <vapier@gentoo.org>
26346
26347         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26348         check for __NR_fadvise64_64.
26349
26350 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
26351
26352         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26353         0, not just to plain "0" as a statement.
26354         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26355         with cw.
26356
26357 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
26358
26359         * NEWS: Use sourceware.org in Bugzilla URL.
26360
26361 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26362
26363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26364         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26365
26366         * stdio-common/tst-put-error.c (do_test): Add newline to the
26367         padded test to ensure flush.
26368
26369 2012-12-05  Jeff Law  <law@redhat.com>
26370
26371         * sunrpc/etc.rpc (fedfs_admin): Add entry.
26372
26373 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
26374
26375         * README: Don't refer to ports add-on as distributed separately.
26376         Mention AArch64 in list of systems supported in the ports add-on.
26377
26378         * LICENSES: Add more non-FSF copyright and license notices.
26379
26380         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26381         ((unused)).
26382
26383         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26384
26385         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26386         10000 as width of padded output.
26387
26388 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26389
26390         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26391
26392         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26393         variable LX with __attribute__ ((unused)).
26394         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26395         Likewise.
26396         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26397         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26398         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26399         with __attribute__ ((unused)).
26400
26401 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
26402
26403         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26404
26405 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26406
26407         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26408         (CFLAGS-nldbl-acos.c): New variable.
26409         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26410         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26411         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26412         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26413         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26414         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26415         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26416         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26417         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26418         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26419         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26420         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26421         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26422         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26423         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26424         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26425         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26426         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26427         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26428         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26429         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26430         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26431         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26432         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26433         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26434         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26435         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26436         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26437         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26438         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26439         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26440         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26441         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26442         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26443         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26444         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26445         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26446         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26447         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26448         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26449         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26450         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26451         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26452         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26453         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26454         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26455         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26456         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26457         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26458         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26459         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26460         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26461         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26462         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26463         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26464         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26465         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26466         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26467         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26468         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26469         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26470         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26471         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26472         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26473         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26474         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26475         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26476         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26477         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26478         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26479         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26480         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26481         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26482         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26483         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26484         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26485         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26486         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26487         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26488         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26489         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26490         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26491         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26492         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26493         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26494         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26495         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26496         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26497         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26498         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26499         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26500         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26501         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26502         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26503         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26504         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26505         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26506
26507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26508         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26509
26510         [BZ #14914]
26511         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26512         whole low double instead of just low 47 bits when splitting values
26513         into two parts.
26514
26515 2012-12-03  Allan McRae  <allan@archlinux.org>
26516
26517         * manual/stdio.texi (Predefined Printf Handlers): Remove
26518         @hsep and @vsep usage.
26519
26520 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
26521
26522         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26523         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26524
26525 2012-12-03  Jeff Law  <law@redhat.com>
26526
26527         * time/sys/time.h (settimeofday): Do not mark TV argument
26528         as __nonnull.
26529
26530 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
26531
26532         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26533         when currently writing and seek to current position when not.
26534         * libio/Makefile (tests): Remove bug-fclose1.
26535         * libio/bug-fclose1.c: Delete.
26536
26537 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
26538
26539         * manual/arith.texi (feenableexcept): Fix typo.
26540         (fedisableexcept): Likewise.
26541
26542 2012-11-30  Roland McGrath  <roland@hack.frob.com>
26543
26544         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26545         second, differently-typed declaration, rather than a cast.
26546
26547 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26548
26549         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26550         * include/rpc/svc.h: ... here.
26551
26552 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
26553
26554         [BZ #13013]
26555         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26556         depending n and resplen2 to catch cases where answer
26557         equals answerp2.
26558
26559 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
26560
26561         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26562         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26563
26564 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
26565
26566         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26567
26568 2012-11-29  Roland McGrath  <roland@hack.frob.com>
26569
26570         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26571
26572 2012-11-28  Jeff Law  <law@redhat.com>
26573
26574         [BZ #13761]
26575         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26576         dataset_temporary.  Track alloca usage into alloca_used.
26577         If dataset is large allocate and release it via malloc/free.
26578
26579 2012-06-04  Florian Weimer  <fweimer@redhat.com>
26580
26581         [BZ #14197]
26582         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26583
26584 2012-11-28  David S. Miller  <davem@davemloft.net>
26585
26586         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26587
26588 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
26589
26590         [BZ #14803]
26591         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26592         of pi/2 rounded to nearest to 64 bits.
26593         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26594         nearest to 64 bits.
26595         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26596         bits.
26597
26598 2012-11-28  Jeff Law <law@redhat.com>
26599             Martin Osvald <mosvald@redhat.com>
26600
26601         [BZ #14889]
26602         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26603         * sunrpc/svc.c: Include time.h.
26604         (__svc_accept_failed): New function.
26605         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26606         any reason other than EINTR, call __svc_accept_failed.
26607         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26608         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26609
26610 2012-11-28  Andreas Schwab  <schwab@suse.de>
26611
26612         * scripts/abilist.awk: Also handle indirect functions in .opd
26613         section.
26614
26615 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
26616
26617         [BZ #13881]
26618         * sysdeps/x86/fpu/powl_helper.c: New file.
26619         * sysdeps/x86/fpu/Makefile: Likewise.
26620         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26621         (p3): New object.
26622         (__ieee754_powl): Use __powl_helper for finite arguments except
26623         integer exponents below 8.
26624         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26625         (p3): New object.
26626         (__ieee754_powl): Use __powl_helper for finite arguments except
26627         integer exponents below 8.
26628         * math/libm-test.inc (pow_test): Add more tests and enable some
26629         previously disabled tests.
26630         * sysdeps/i386/fpu/libm-test-ulps: Update.
26631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26632
26633 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26634             Carlos O'Donell  <carlos_odonell@mentor.com>
26635
26636         * nss/makedb.c (is_prime): Assert that input is odd and greater
26637         than 4.  Note that fact in a comment too.
26638         (next_prime): Add 4 to input.
26639
26640 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26641
26642         [BZ #11741]
26643         * libio/Makefile (tests): Add test case tst-fwrite-error.
26644         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26645         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26646         * libio/tst-fwrite-error.c: New test case.
26647
26648 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
26649
26650         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26651         before casting to void *.
26652         * include/libc-internal.h (__pointer_type): New macro.
26653         (__integer_if_pointer_type_sub): Likewise.
26654         (__integer_if_pointer_type): Likewise.
26655         (cast_to_integer): Likewise.
26656         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26657         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26658         before casting to atomic64_t.
26659         (atomic_exchange_acq): Likewise.
26660         (__arch_exchange_and_add_body): Likewise.
26661         (__arch_add_body): Likewise.
26662         (atomic_add_negative): Likewise.
26663         (atomic_add_zero): Likewise.
26664
26665 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
26666
26667         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26668         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26669         (add_fdes): Likewise.
26670         (linear_search_fdes): Likewise.
26671         (binary_search_unencoded_fdes): Likewise.
26672
26673 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
26674
26675         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26676
26677 2012-11-24  Adam Conrad  <adconrad@0c3.net>
26678
26679         * configure.in: Autodetect C++ header directories.
26680         * configure: Regenerated.
26681
26682 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
26683
26684         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26685
26686 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
26687
26688         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26689
26690 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
26691
26692         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26693         LDBL_MANT_DIG == 106]: Disable some tests.
26694         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26695         Likewise.
26696         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26697         Likewise.
26698
26699         [BZ #14871]
26700         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26701         input for small inputs.  Return +/- pi/2 for large inputs.
26702         * math/libm-test.inc (atan_test): Add more tests.
26703
26704         * sysdeps/generic/unwind-dw2-fde-glibc.c
26705         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26706         __attribute__ ((unused)).
26707
26708         [BZ #14645]
26709         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26710         x * y if x and y are nonzero and z is zero.
26711
26712         [BZ #14811]
26713         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26714         nonzero exponents with absolute value below 0x1p-117 to +/-
26715         0x1p-117.
26716
26717         [BZ #14869]
26718         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26719         up arguments below 2**-450, not just those below 2**-500.
26720         * math/libm-test.inc (hypot_test): Add another test.
26721
26722         [BZ #14868]
26723         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26724         Return a+b for ratio over 2**120, not 2**60.
26725         * math/libm-test.inc (hypot_test): Add another test.
26726
26727         * math/libm-test.inc (clog_test): Use
26728         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26729         (clog10_test): Likewise.
26730
26731         [BZ #6778]
26732         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26733
26734 2012-11-22  Andreas Schwab  <schwab@suse.de>
26735
26736         * sysdeps/i386/fpu/libm-test-ulps: Update.
26737
26738 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
26739
26740         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26741         printf output with newline.
26742
26743 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
26744
26745         [BZ #14865]
26746         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26747         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26748         -z nodlopen, -z initfirst and -z execstack support.
26749         * configure: Regenerated.
26750
26751         * elf/elf.h (DF_1_NODIRECT): New macro.
26752         (DF_1_IGNMULDEF): Likewise.
26753         (DF_1_NOKSYMS): Likewise.
26754         (DF_1_NOHDR): Likewise.
26755         (DF_1_EDITED): Likewise.
26756         (DF_1_NORELOC): Likewise.
26757         (DF_1_SYMINTPOSE): Likewise.
26758         (DF_1_GLOBAUDIT): Likewise.
26759         (DF_1_SINGLETON): Likewise.
26760         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26761         DT_1_SUPPORTED_MASK bits.
26762         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26763
26764 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
26765
26766         * sysdeps/unix/make-syscalls.sh: Document prefixes.
26767
26768 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
26769
26770         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26771         macro.
26772
26773         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26774         (sendmmsg): Move declarations...
26775         * socket/sys/socket.h: ... here.
26776         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26777         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26778         include it from...
26779         * socket/recvmmsg.c: ... this new file.
26780         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26781         (sendmmsg): Rename to __sendmmsg, create weak alias and make
26782         definition of __sendmmsg hidden.
26783         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26784         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26785         Move ENOSYS stub into and include it from...
26786         * socket/sendmmsg.c: ... this new file.
26787         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26788         (sysdep_routines): Move recvmmsg and sendmmsg...
26789         * socket/Makefile (routines): ... here.
26790         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26791         (GLIBC_PRIVATE): Add __sendmmsg.
26792         * include/sys/socket.h (__sendmmsg): Add declarations.
26793         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26794         sendmmsg.
26795
26796 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
26797
26798         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26799         variable I1 with __attribute__ ((unused)).
26800         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26801
26802 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
26803
26804         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26805         DUMMY variables with __attribute__ ((unused)).
26806
26807         * bits/byteswap.h: Include <bits/types.h>.
26808         (__bswap_64): Use __uint64_t instead of unsigned long long int.
26809
26810 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
26811
26812         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26813         string_t.  Do not manually set errno.
26814         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26815         length with __strnlen.  Make sure to both set errno and return it on
26816         failure.
26817
26818 2012-11-19  David S. Miller  <davem@davemloft.net>
26819
26820         With help from Joseph Myers.
26821         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26822         very large arguments properly.
26823         * math/libm-test.inc (atan_test): New tests.
26824         (atan2_test): New tests.
26825         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26826         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26827
26828 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
26829
26830         [BZ #14856]
26831         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26832         Define to 3.
26833
26834         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26835         [POSIX] (EADDRNOTAVAIL): Likewise.
26836         [POSIX] (EAFNOSUPPORT): Likewise.
26837         [POSIX] (EALREADY): Likewise.
26838         [POSIX] (ECONNABORTED): Likewise.
26839         [POSIX] (ECONNREFUSED): Likewise.
26840         [POSIX] (ECONNRESET): Likewise.
26841         [POSIX] (EDESTADDRREQ): Likewise.
26842         [POSIX] (EDQUOT): Likewise.
26843         [POSIX] (EHOSTUNREACH): Likewise.
26844         [POSIX] (EIDRM): Likewise.
26845         [POSIX] (EISCONN): Likewise.
26846         [POSIX] (ELOOP): Likewise.
26847         [POSIX] (EMULTIHOP): Likewise.
26848         [POSIX] (ENETDOWN): Likewise.
26849         [POSIX] (ENETUNREACH): Likewise.
26850         [POSIX] (ENOBUFS): Likewise.
26851         [POSIX] (ENODATA): Likewise.
26852         [POSIX] (ENOLINK): Likewise.
26853         [POSIX] (ENOMSG): Likewise.
26854         [POSIX] (ENOPROTOOPT): Likewise.
26855         [POSIX] (ENOSR): Likewise.
26856         [POSIX] (ENOSTR): Likewise.
26857         [POSIX] (ENOTCONN): Likewise.
26858         [POSIX] (ENOTSOCK): Likewise.
26859         [POSIX] (EOPNOTSUPP): Likewise.
26860         [POSIX] (EOVERFLOW): Likewise.
26861         [POSIX] (EPROTO): Likewise.
26862         [POSIX] (EPROTONOSUPPORT): Likewise.
26863         [POSIX] (EPROTOTYPE): Likewise.
26864         [POSIX] (ESTALE): Likewise.
26865         [POSIX] (ETIME): Likewise.
26866         [POSIX] (ETXTBSY): Likewise.
26867         [POSIX] (EWOULDBLOCK): Likewise.
26868         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26869         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26870         [POSIX] (SEEK_CUR): Likewise.
26871         [POSIX] (SEEK_END): Likewise.
26872         [POSIX || UNIX98] (mode_t): Do not require.
26873         [POSIX] (off_t): Likewise.
26874         [POSIX] (pid_t): Likewise.
26875         [POSIX] (sys/stat.h): Do not allow header.
26876         [POSIX] (unistd.h): Likewise.
26877         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26878         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26879         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26880         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26881         require.
26882         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26883         sigevent): Specify elements.
26884         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26885         entry.
26886         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26887         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26888
26889         * conform/data/cpio.h-data [POSIX]: Disable whole file.
26890         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26891         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26892         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26893         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26894         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26895         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26896         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26897         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26898         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26899         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26900         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26901         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26902         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26903         Likewise.
26904         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26905         Likewise.
26906         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26907         Likewise.
26908         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26909         Likewise.
26910         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26911         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26912         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26913         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26914         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26915         Specify lower bound on value.
26916         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26917         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26918         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26919         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26920         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26921         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26922         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26923         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26924         value.
26925         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26926         as optional.
26927         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26928         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26929         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26930         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26931         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26932         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26933         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26934         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26935         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26936         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26937         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26938         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26939         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26940         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26941         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26942         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26943         entry.
26944         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26945         optional.
26946         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26947         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26948         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26949         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26950         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26951         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26952         Likewise.
26953         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26954         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26955         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26956         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26957         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
26958         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26959         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26960         as optional.
26961         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26962         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26963         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26964         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26965         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26966         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26967         specify as optional.
26968         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26969         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26970         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26971         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26972         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26973         [XPG3] (NL_LANGMAX): Likewise.
26974         [POSIX || XPG3] (NL_MSGMAX): Likewise.
26975         [POSIX || XPG3] (NL_NMAX): Likewise.
26976         [POSIX || XPG3] (NL_SETMAX): Likewise.
26977         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26978         [XPG3] (NZERO): Likewise.
26979         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26980         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26981         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26982         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26983         (REG_ERANGE): Expect.
26984         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26985         optional-constant.
26986         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26987         Use (void) in prototype.
26988         [POSIX] (*_t): Allow.
26989         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26990         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26991         (WRDE_BADVAL): Expect.
26992
26993         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26994         expect.
26995         [XPG3 || XPG4] (O_RSYNC): Likewise.
26996         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26997         Likewise.
26998         [XPG3 || XPG4] (pthread_sigmask): Likewise.
26999         [XPG3 || XPG4] (sigqueue): Likewise.
27000         [XPG3 || XPG4] (sigtimedwait): Likewise.
27001         [XPG3 || XPG4] (sigwaitinfo): Likewise.
27002         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27003         [XPG3 || XPG4] (vsnprintf): Likewise.
27004         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27005         Likewise.
27006         [XPG3 || XPG4] (blksize_t): Likewise.
27007         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27008         Likewise.
27009         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27010         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27011         [XPG3 || XPG4] (struct itimerspec): Likewise.
27012         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27013         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27014         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27015         [XPG3 || XPG4] (clockid_t): Likewise.
27016         [XPG3 || XPG4] (timer_t): Likewise.
27017         [XPG3 || XPG4] (clock_getres): Likewise.
27018         [XPG3 || XPG4] (clock_gettime): Likewise.
27019         [XPG3 || XPG4] (clock_settime): Likewise.
27020         [XPG3 || XPG4] (nanosleep): Likewise.
27021         [XPG3 || XPG4] (timer_create): Likewise.
27022         [XPG3 || XPG4] (timer_delete): Likewise.
27023         [XPG3 || XPG4] (timer_gettime): Likewise.
27024         [XPG3 || XPG4] (timer_getoverrun): Likewise.
27025         [XPG3 || XPG4] (timer_settime): Likewise.
27026         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27027         [XPG3 || XPG4] (getlogin_r): Likewise.
27028         [XPG3 || XPG4] (pread): Likewise.
27029         [XPG3 || XPG4] (pthread_atfork): Likewise.
27030         [XPG3 || XPG4] (pwrite): Likewise.
27031
27032         [BZ #14835]
27033         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27034         <bits/siginfo.h>.
27035
27036 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27037
27038         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27039         finalizing MALLSTREAM.
27040
27041         * sysdeps/mach/hurd/syncfs.c: New file.
27042
27043 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27044
27045         [BZ #14719]
27046         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27047         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27048         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27049         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27050         (_nss_dns_gethostbyname4_r): Likewise.
27051         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27052         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27053
27054 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
27055
27056         [BZ #13763]
27057         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27058
27059 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
27060
27061         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27062         * elf/cache.c (print_entry): Print ",AArch64" for
27063         FLAG_AARCH64_LIB64
27064
27065         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27066         * elf/cache.c (print_entry): Print ",hard-float" for
27067         FLAG_ARM_LIBHF.
27068
27069 2012-11-18  David S. Miller  <davem@davemloft.net>
27070
27071         With help from Joseph Myers.
27072         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27073         cutoff to 2**-13.
27074         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27075         cutoff to 2**-25.
27076         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27077         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27078         small.
27079         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27080         * math/libm-test.inc (y0_test): New tests.
27081         (y1_test): New tests.
27082         * sysdeps/i386/fpu/libm-test-ulps: Update.
27083         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27084         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27085
27086 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
27087
27088         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27089         64-bit targets.
27090         * configure: Regenerated.
27091
27092 2012-11-17  David S. Miller  <davem@davemloft.net>
27093
27094         [BZ #14811]
27095         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27096         nonzero exponents with absolute value below 0x1p-128 to +/-
27097         0x1p-128.
27098
27099 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
27100
27101         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27102
27103         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27104
27105         * posix/getconf-speclist.c: New file.
27106         * posix/posix-envs.def: Likewise.
27107         * posix/confstr.c (START_ENV_GROUP): New macro.
27108         (END_ENV_GROUP): Likewise.
27109         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27110         (KNOWN_PRESENT_ENV_STRING): Likewise.
27111         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27112         (UNKNOWN_ENVIRONMENT): Likewise.
27113         (confstr): Include posix-envs.def instead of handling
27114         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27115         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27116         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27117         (END_ENV_GROUP): Likewise.
27118         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27119         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27120         (UNKNOWN_ENVIRONMENT): Likewise.
27121         (__sysconf): Include posix-envs.def instead of handling associated
27122         cases directly here.
27123         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27124         preprocessing getconf-speclist.c rather than running getconf or
27125         generating empty file.
27126
27127 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
27128
27129         * scripts/check-local-headers.sh: Ignore 'mach' headers.
27130
27131 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
27132
27133         [BZ #14672]
27134         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27135
27136 2012-11-16  David S. Miller  <davem@davemloft.net>
27137
27138         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27139         smaller than LDBL_EPSILON/2.0L, just return xm1.
27140
27141 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
27142
27143         * elf/tst-array1.c (init): Set constructor priority to 1000.
27144         (fini): Set destructor priority to 1000.
27145         * elf/tst-array2dep.c: Likewise.
27146
27147 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27148
27149         [BZ #11741]
27150         * libio/fileops.c (_IO_new_file_write): Correctly return error.
27151         (_IO_new_file_xsputn): Also return EOF if none of the input
27152         data was written when overflow failed.
27153         * libio/iopadn.c (_IO_padn): Likewise.
27154         * libio/iowpadn.c (_IO_wpadn): Likewise.
27155         * stdio-common/tst-put-error.c: Add copyright notice.
27156         (do_test): Add case for printing padded string.
27157         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27158         _IO_padn returned error.
27159         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27160         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27161         return EOF.
27162
27163 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27164
27165         * libio/libioP.h: Add comment note that the references to C++
27166         bits are now obsolete.
27167
27168 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27169
27170         * math/libm-test.inc (check_complex): Use asprintf.
27171
27172 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
27173
27174         * debug/pcprofiledump.c (print_version): Update copyright year.
27175         * malloc/memusagestat.c (print_version): Likewise.
27176
27177 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
27178
27179         [BZ #14831]
27180         * elf/Makefile (tests): Add tst-audit8.
27181         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27182         ($(objpfx)tst-audit8.out): New target.
27183         (tst-audit8-ENV): New variable.
27184         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27185         audit if l_reloc_result is NULL.
27186         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27187         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27188         * elf/tst-audit8.c: New file.
27189
27190 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27191
27192         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27193         * misc/Makefile (CFLAGS-select.c): Define.
27194         * posix/Makefile (CFLAGS-pause.c): Define.
27195
27196 2012-11-13  David S. Miller  <davem@davemloft.net>
27197
27198         * crypt/Makefile: Move test targets after toplevel Rules
27199         inclusion.  Grab any necessary sysdep routines when linking.
27200         * crypt/md5.c (md5_process_block): Remove define, we will always
27201         name it __md5_process_block.
27202         (md5_finish_ctx): Update md5_process_block call.
27203         (md5_stream): Likewise.
27204         (md5_process_bytes): Likewise.
27205         (md5_process_block): Rename to __md5_process_block and move to ...
27206         * crypt/md5-block.c: ... here.
27207         * crypt/sha256.c (sha256_process_block): Move to ...
27208         * crypt/sha256-block.c: ... here.
27209         * crypt/sha512.c (sha512_process_block): Move to ...
27210         * crypt/sha512-block.c: ... here.
27211         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27212         path.
27213         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27214         * sysdeps/sparc/sparc64/multiarch/Makefile
27215         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27216         crypt subdir.
27217         (localedef-aux): Add md5 crypto assembler when in locale subdir.
27218         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27219         multiarch changes.
27220         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27221         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27222         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27223         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27224         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27225         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27226         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27227         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27228         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27229         file.
27230         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27231         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27232         file.
27233         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27234
27235 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
27236
27237         * timezone/tzselect.ksh: Update from tzcode git revision
27238         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27239         * timezone/zdump.c: Likewise.
27240         * timezone/zic.c: Likewise.
27241         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27242         in TZVERSION setting, not $(PKGVERSION).
27243         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
27244         REPORT_BUGS_TO settings.
27245
27246         [BZ #14838]
27247         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27248         macro.
27249
27250 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27251
27252         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27253         detection to immediately after _FP_ROUND().
27254         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27255         bits are 0.
27256
27257 2012-11-11  David S. Miller  <davem@davemloft.net>
27258
27259         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27260         inttypes.h
27261         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27262         __close rather than their public counterparts.
27263
27264 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
27265
27266         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27267         file.
27268         [UNIX98] (sem_timedwait): Do not expect.
27269         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27270         [XPG4 || UNIX98] (sockatmark): Do not expect.
27271         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27272         (clock_getcpuclockid): Do not expect.
27273         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27274         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27275         Do not expect.
27276         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27277         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27278         [UNIX98] (vwscanf): Likewise.
27279         [UNIX98] (vswscanf): Likewise.
27280
27281 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
27282
27283         * timezone/version.h: Remove file.
27284         * timezone/README: Do not refer to version.h.
27285         * timezone/Makefile ($(objpfx)zic.o): New dependency on
27286         $(objpfx)version.h.
27287         ($(objpfx)zdump.o): Likewise.
27288         ($(objpfx)version.h): New target.
27289
27290         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27291         2012i.
27292         * timezone/README: Don't mention modification to tzselect.ksh.
27293         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27294         work on unmodified tzselect.ksh.  Substitute version numbers in
27295         tzselect.ksh.
27296
27297         * Makefile (format-me): Remove.
27298         (INSTALL): Adjust indentation.  Use commands directly instead of
27299         using $(format-me).
27300
27301         * aclocal.m4 (ACX_PKGVERSION): New macro.
27302         (ACX_BUGURL): Likewise.
27303         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27304         (PKGVERSION): New AC_DEFINE_UNQUOTED.
27305         (REPORT_BUGS_TO): Likewise.
27306         * configure: Regenerated.
27307         * config.h.in (PKGVERSION): New macro.
27308         (REPORT_BUGS_TO): Likewise.
27309         * config.make.in (PKGVERSION): New variable.
27310         (PKGVERSION_TEXI): Likewise.
27311         (REPORT_BUGS_TO): Likewise.
27312         (REPORT_BUGS_TEXI): Likewise.
27313         * Makefile (format-me): Use -I$(common-objpfx)manual.
27314         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27315         ($(common-objpfx)manual/%): New target.
27316         (manual/%): Remove target.
27317         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27318         (print_version): Use PKGVERSION.
27319         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27320         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27321         and REPORT_BUGS_TO.
27322         ($(objpfx)xtrace): Likewise.
27323         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27324         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27325         (print_version): Use PKGVERSION.
27326         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27327         (do_version): Use PKGVERSION.
27328         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27329         REPORT_BUGS_TO.
27330         (common-ldd-rewrite): Likewise.
27331         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27332         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27333         (print_version): Use PKGVERSION.
27334         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27335         * elf/pldd.c (argp_program_bug_address): Remove variable.
27336         (more_help): New function.
27337         (argp): Use more_help.
27338         (print_version): Use PKGVERSION.
27339         * elf/sln.c (main): Use PKGVERSION.
27340         (usage): Use REPORT_BUGS_TO.
27341         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27342         (top level): Use PKGVERSION.
27343         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27344         (print_version): Use PKGVERSION.
27345         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27346         (print_version): Use PKGVERSION.
27347         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27348         (print_version): Use PKGVERSION.
27349         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27350         (print_version): Use PKGVERSION.
27351         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27352         (print_version): Use PKGVERSION.
27353         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27354         (print_version): Use PKGVERSION.
27355         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27356         and BUGURL.
27357         ($(objpfx)memusage): Likewise.
27358         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27359         (do_version): Use PKGVERSION.
27360         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27361         (print_version): Use PKGVERSION.
27362         * malloc/mtrace.pl ($PACKAGE): Remove variable.
27363         ($PKGVERSION): New variable.
27364         ($REPORT_BUGS_TO): Likewise.
27365         (usage): Use $REPORT_BUGS_TO.
27366         (top level): Use $PKGVERSION.
27367         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27368         ($(objpfx)pkgvers.texi): New rule.
27369         ($(objpfx)stamp-pkgvers): Likewise.
27370         * manual/install.texi: Include pkgvers.texi.
27371         (--with-pkgversion): Document new configure option.
27372         (--with-bugurl): Likewise.
27373         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27374         than necessarily for this particular distribution.  Use
27375         REPORT_BUGS_TO for where to report bugs.
27376         * INSTALL: Regenerated.
27377         * manual/libc.texinfo: Include pkgvers.texi.
27378         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27379         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27380         (print_version): Use PKGVERSION.
27381         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27382         (print_version): Use PKGVERSION.
27383         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27384         (print_version): Use PKGVERSION.
27385         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27386         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27387         macro.
27388         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27389         (print_version): Use PKGVERSION.
27390         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27391         (print_version): Use PKGVERSION.
27392         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27393         and PKGVERSION.
27394
27395         * timezone/checktab.awk: Update from tzcode 2012i.
27396         * timezone/ialloc.c: Likewise.
27397         * timezone/private.h: Likewise.
27398         * timezone/scheck.c: Likewise.
27399         * timezone/tzfile.h: Likewise.
27400         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27401         (TZVERSION): Hardcode tzcode version number.
27402         * timezone/zdump.c: Update from tzcode 2012i.
27403         * timezone/zic.c: Likewise.
27404         * timezone/version.h: New file.
27405         * timezone/README: Describe version.h.  Update upstream location.
27406
27407         [BZ #14824]
27408         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27409         (mktemp): Enable declaration.
27410         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27411         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27412         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27413         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27414         Likewise.
27415         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27416         Likewise.
27417         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27418         Likewise.
27419         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27420         Likewise.
27421         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27422         Likewise.
27423         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27424         Likewise.
27425
27426         [BZ #14821]
27427         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27428         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
27429         for copies of such integer values.
27430         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27431         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27432
27433 2012-11-09  Andreas Jaeger  <aj@suse.de>
27434
27435         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27436         definitions and declarations that are provided by
27437         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27438
27439 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27440
27441         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27442         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27443         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27444         definition.
27445
27446 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27447
27448         * elf/elf.h: Update comment before AArch64 relocations.
27449
27450 2012-11-07  David S. Miller  <davem@davemloft.net>
27451
27452         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27453         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27454         (__start_context): Declare.
27455         (__makecontext_ret): Delete.
27456         (__makecontext): Hook up __start_context instead of
27457         __makecontext_ret.
27458         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27459         (sysdep_routines): Add __start_context when in stdlib.
27460
27461 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27462
27463         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27464         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27465         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
27466         hardcoded "nm".
27467         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
27468         (READELF): New variable.  Use it instead of hardcoded "readelf".
27469
27470 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
27471
27472         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27473         * sysdeps/x86/Makefile: Here.
27474         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27475         * sysdeps/x86/tst-xmmymm.sh: This.
27476
27477 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27478
27479         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27480         expectations.
27481         [UNIX98] (pthread_barrier_t): Do not expect.
27482         [UNIX98] (pthread_barrierattr_t): Likewise.
27483         [UNIX98] (pthread_spinlock_t): Likewise.
27484         [UNIX98] (pthread_barrier_destroy): Likewise.
27485         [UNIX98] (pthread_barrier_init): Likewise.
27486         [UNIX98] (pthread_barrier_wait): Likewise.
27487         [UNIX98] (pthread_barrierattr_destroy): Likewise.
27488         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27489         [UNIX98] (pthread_barrierattr_init): Likewise.
27490         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27491         [UNIX98] (pthread_getcpuclockid): Likewise.
27492         [UNIX98] (pthread_mutex_timedlock): Likewise.
27493         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27494         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27495         [UNIX98] (pthread_sigmask): Likewise.
27496         [UNIX98] (pthread_spin_destroy): Likewise.
27497         [UNIX98] (pthread_spin_init): Likewise.
27498         [UNIX98] (pthread_spin_lock): Likewise.
27499         [UNIX98] (pthread_spin_trylock): Likewise.
27500         [UNIX98] (pthread_spin_unlock): Likewise.
27501         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27502         Do not expect.
27503         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27504         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27505         [XPG3 || XPG4] (pthread_cond_t): Likewise.
27506         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27507         [XPG3 || XPG4] (pthread_key_t): Likewise.
27508         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27509         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27510         [XPG3 || XPG4] (pthread_once_t): Likewise.
27511         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27512         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27513         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27514         [XPG3 || XPG4] (pthread_t): Likewise.
27515
27516         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27517         not expect.
27518         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27519
27520         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27521         Change function return type to int.
27522
27523         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27524         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27525         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27526         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27527         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27528         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27529         [!POSIX] (posix_madvise): Likewise.
27530         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27531         && !UNIX98].
27532         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27533         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27534         (mode_t): Likewise.
27535         (posix_mem_offset): Likewise.
27536         (posix_typed_mem_get_info): Likewise.
27537         (posix_typed_mem_open): Likewise.
27538
27539         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27540         Change condition to [XOPEN2K8].
27541
27542         * conform/conformtest.pl: Preprocess allow-header data with -x c
27543         instead of from stdin.
27544         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27545         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27546         [C99-based standards] (cerfc): Likewise.
27547         [C99-based standards] (cexp2): Likewise.
27548         [C99-based standards] (cexpm1): Likewise.
27549         [C99-based standards] (clog10): Likewise.
27550         [C99-based standards] (clog1p): Likewise.
27551         [C99-based standards] (clog2): Likewise.
27552         [C99-based standards] (clgamma): Likewise.
27553         [C99-based standards] (ctgamma): Likewise.
27554         [C99-based standards] (cerff): Likewise.
27555         [C99-based standards] (cerfcf): Likewise.
27556         [C99-based standards] (cexp2f): Likewise.
27557         [C99-based standards] (cexpm1f): Likewise.
27558         [C99-based standards] (clog10f): Likewise.
27559         [C99-based standards] (clog1pf): Likewise.
27560         [C99-based standards] (clog2f): Likewise.
27561         [C99-based standards] (clgammaf): Likewise.
27562         [C99-based standards] (ctgammaf): Likewise.
27563         [C99-based standards] (cerfl): Likewise.
27564         [C99-based standards] (cerfcl): Likewise.
27565         [C99-based standards] (cexp2l): Likewise.
27566         [C99-based standards] (cexpm1l): Likewise.
27567         [C99-based standards] (clog10l): Likewise.
27568         [C99-based standards] (clog1pl): Likewise.
27569         [C99-based standards] (clog2l): Likewise.
27570         [C99-based standards] (clgammal): Likewise.
27571         [C99-based standards] (ctgammal): Likewise.
27572         * conform/data/inttypes.h-data [C99-based standards]: Include
27573         stdint.h-data.  Remove all expectations for stdint.h contents.
27574         [C99-based standards] (PRI*): Do not allow.
27575         [C99-based standards] (SCN*): Likewise.
27576         [C99-based standards] (*_t): Likewise.
27577         [C99-based-standards] (PRId8): Expect macro.
27578         [C99-based-standards] (PRIi8): Likewise.
27579         [C99-based-standards] (PRIo8): Likewise.
27580         [C99-based-standards] (PRIu8): Likewise.
27581         [C99-based-standards] (PRIx8): Likewise.
27582         [C99-based-standards] (PRIX8): Likewise.
27583         [C99-based-standards] (SCNd8): Likewise.
27584         [C99-based-standards] (SCNi8): Likewise.
27585         [C99-based-standards] (SCNo8): Likewise.
27586         [C99-based-standards] (SCNu8): Likewise.
27587         [C99-based-standards] (SCNx8): Likewise.
27588         [C99-based-standards] (PRIdLEAST8): Likewise.
27589         [C99-based-standards] (PRIiLEAST8): Likewise.
27590         [C99-based-standards] (PRIoLEAST8): Likewise.
27591         [C99-based-standards] (PRIuLEAST8): Likewise.
27592         [C99-based-standards] (PRIxLEAST8): Likewise.
27593         [C99-based-standards] (PRIXLEAST8): Likewise.
27594         [C99-based-standards] (SCNdLEAST8): Likewise.
27595         [C99-based-standards] (SCNiLEAST8): Likewise.
27596         [C99-based-standards] (SCNoLEAST8): Likewise.
27597         [C99-based-standards] (SCNuLEAST8): Likewise.
27598         [C99-based-standards] (SCNxLEAST8): Likewise.
27599         [C99-based-standards] (PRIdFAST8): Likewise.
27600         [C99-based-standards] (PRIiFAST8): Likewise.
27601         [C99-based-standards] (PRIoFAST8): Likewise.
27602         [C99-based-standards] (PRIuFAST8): Likewise.
27603         [C99-based-standards] (PRIxFAST8): Likewise.
27604         [C99-based-standards] (PRIXFAST8): Likewise.
27605         [C99-based-standards] (SCNdFAST8): Likewise.
27606         [C99-based-standards] (SCNiFAST8): Likewise.
27607         [C99-based-standards] (SCNoFAST8): Likewise.
27608         [C99-based-standards] (SCNuFAST8): Likewise.
27609         [C99-based-standards] (SCNxFAST8): Likewise.
27610         [C99-based-standards] (PRId16): Likewise.
27611         [C99-based-standards] (PRIi16): Likewise.
27612         [C99-based-standards] (PRIo16): Likewise.
27613         [C99-based-standards] (PRIu16): Likewise.
27614         [C99-based-standards] (PRIx16): Likewise.
27615         [C99-based-standards] (PRIX16): Likewise.
27616         [C99-based-standards] (SCNd16): Likewise.
27617         [C99-based-standards] (SCNi16): Likewise.
27618         [C99-based-standards] (SCNo16): Likewise.
27619         [C99-based-standards] (SCNu16): Likewise.
27620         [C99-based-standards] (SCNx16): Likewise.
27621         [C99-based-standards] (PRIdLEAST16): Likewise.
27622         [C99-based-standards] (PRIiLEAST16): Likewise.
27623         [C99-based-standards] (PRIoLEAST16): Likewise.
27624         [C99-based-standards] (PRIuLEAST16): Likewise.
27625         [C99-based-standards] (PRIxLEAST16): Likewise.
27626         [C99-based-standards] (PRIXLEAST16): Likewise.
27627         [C99-based-standards] (SCNdLEAST16): Likewise.
27628         [C99-based-standards] (SCNiLEAST16): Likewise.
27629         [C99-based-standards] (SCNoLEAST16): Likewise.
27630         [C99-based-standards] (SCNuLEAST16): Likewise.
27631         [C99-based-standards] (SCNxLEAST16): Likewise.
27632         [C99-based-standards] (PRIdFAST16): Likewise.
27633         [C99-based-standards] (PRIiFAST16): Likewise.
27634         [C99-based-standards] (PRIoFAST16): Likewise.
27635         [C99-based-standards] (PRIuFAST16): Likewise.
27636         [C99-based-standards] (PRIxFAST16): Likewise.
27637         [C99-based-standards] (PRIXFAST16): Likewise.
27638         [C99-based-standards] (SCNdFAST16): Likewise.
27639         [C99-based-standards] (SCNiFAST16): Likewise.
27640         [C99-based-standards] (SCNoFAST16): Likewise.
27641         [C99-based-standards] (SCNuFAST16): Likewise.
27642         [C99-based-standards] (SCNxFAST16): Likewise.
27643         [C99-based-standards] (PRId32): Likewise.
27644         [C99-based-standards] (PRIi32): Likewise.
27645         [C99-based-standards] (PRIo32): Likewise.
27646         [C99-based-standards] (PRIu32): Likewise.
27647         [C99-based-standards] (PRIx32): Likewise.
27648         [C99-based-standards] (PRIX32): Likewise.
27649         [C99-based-standards] (SCNd32): Likewise.
27650         [C99-based-standards] (SCNi32): Likewise.
27651         [C99-based-standards] (SCNo32): Likewise.
27652         [C99-based-standards] (SCNu32): Likewise.
27653         [C99-based-standards] (SCNx32): Likewise.
27654         [C99-based-standards] (PRIdLEAST32): Likewise.
27655         [C99-based-standards] (PRIiLEAST32): Likewise.
27656         [C99-based-standards] (PRIoLEAST32): Likewise.
27657         [C99-based-standards] (PRIuLEAST32): Likewise.
27658         [C99-based-standards] (PRIxLEAST32): Likewise.
27659         [C99-based-standards] (PRIXLEAST32): Likewise.
27660         [C99-based-standards] (SCNdLEAST32): Likewise.
27661         [C99-based-standards] (SCNiLEAST32): Likewise.
27662         [C99-based-standards] (SCNoLEAST32): Likewise.
27663         [C99-based-standards] (SCNuLEAST32): Likewise.
27664         [C99-based-standards] (SCNxLEAST32): Likewise.
27665         [C99-based-standards] (PRIdFAST32): Likewise.
27666         [C99-based-standards] (PRIiFAST32): Likewise.
27667         [C99-based-standards] (PRIoFAST32): Likewise.
27668         [C99-based-standards] (PRIuFAST32): Likewise.
27669         [C99-based-standards] (PRIxFAST32): Likewise.
27670         [C99-based-standards] (PRIXFAST32): Likewise.
27671         [C99-based-standards] (SCNdFAST32): Likewise.
27672         [C99-based-standards] (SCNiFAST32): Likewise.
27673         [C99-based-standards] (SCNoFAST32): Likewise.
27674         [C99-based-standards] (SCNuFAST32): Likewise.
27675         [C99-based-standards] (SCNxFAST32): Likewise.
27676         [C99-based-standards] (PRId64): Likewise.
27677         [C99-based-standards] (PRIi64): Likewise.
27678         [C99-based-standards] (PRIo64): Likewise.
27679         [C99-based-standards] (PRIu64): Likewise.
27680         [C99-based-standards] (PRIx64): Likewise.
27681         [C99-based-standards] (PRIX64): Likewise.
27682         [C99-based-standards] (SCNd64): Likewise.
27683         [C99-based-standards] (SCNi64): Likewise.
27684         [C99-based-standards] (SCNo64): Likewise.
27685         [C99-based-standards] (SCNu64): Likewise.
27686         [C99-based-standards] (SCNx64): Likewise.
27687         [C99-based-standards] (PRIdLEAST64): Likewise.
27688         [C99-based-standards] (PRIiLEAST64): Likewise.
27689         [C99-based-standards] (PRIoLEAST64): Likewise.
27690         [C99-based-standards] (PRIuLEAST64): Likewise.
27691         [C99-based-standards] (PRIxLEAST64): Likewise.
27692         [C99-based-standards] (PRIXLEAST64): Likewise.
27693         [C99-based-standards] (SCNdLEAST64): Likewise.
27694         [C99-based-standards] (SCNiLEAST64): Likewise.
27695         [C99-based-standards] (SCNoLEAST64): Likewise.
27696         [C99-based-standards] (SCNuLEAST64): Likewise.
27697         [C99-based-standards] (SCNxLEAST64): Likewise.
27698         [C99-based-standards] (PRIdFAST64): Likewise.
27699         [C99-based-standards] (PRIiFAST64): Likewise.
27700         [C99-based-standards] (PRIoFAST64): Likewise.
27701         [C99-based-standards] (PRIuFAST64): Likewise.
27702         [C99-based-standards] (PRIxFAST64): Likewise.
27703         [C99-based-standards] (PRIXFAST64): Likewise.
27704         [C99-based-standards] (SCNdFAST64): Likewise.
27705         [C99-based-standards] (SCNiFAST64): Likewise.
27706         [C99-based-standards] (SCNoFAST64): Likewise.
27707         [C99-based-standards] (SCNuFAST64): Likewise.
27708         [C99-based-standards] (SCNxFAST64): Likewise.
27709         [C99-based-standards] (PRIdMAX): Likewise.
27710         [C99-based-standards] (PRIiMAX): Likewise.
27711         [C99-based-standards] (PRIoMAX): Likewise.
27712         [C99-based-standards] (PRIuMAX): Likewise.
27713         [C99-based-standards] (PRIxMAX): Likewise.
27714         [C99-based-standards] (PRIXMAX): Likewise.
27715         [C99-based-standards] (SCNdMAX): Likewise.
27716         [C99-based-standards] (SCNiMAX): Likewise.
27717         [C99-based-standards] (SCNoMAX): Likewise.
27718         [C99-based-standards] (SCNuMAX): Likewise.
27719         [C99-based-standards] (SCNxMAX): Likewise.
27720         [C99-based-standards] (PRIdPTR): Likewise.
27721         [C99-based-standards] (PRIiPTR): Likewise.
27722         [C99-based-standards] (PRIoPTR): Likewise.
27723         [C99-based-standards] (PRIuPTR): Likewise.
27724         [C99-based-standards] (PRIxPTR): Likewise.
27725         [C99-based-standards] (PRIXPTR): Likewise.
27726         [C99-based-standards] (SCNdPTR): Likewise.
27727         [C99-based-standards] (SCNiPTR): Likewise.
27728         [C99-based-standards] (SCNoPTR): Likewise.
27729         [C99-based-standards] (SCNuPTR): Likewise.
27730         [C99-based-standards] (SCNxPTR): Likewise.
27731         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27732         allow.
27733         * conform/data/stdint.h-data: Update comments to clarify
27734         requirements.
27735         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
27736         type.
27737         [C99-based standards] (INT8_MAX): Likewise.
27738         [C99-based standards] (INT16_MIN): Likewise.
27739         [C99-based standards] (INT16_MAX): Likewise.
27740         [C99-based standards] (INT32_MIN): Likewise.
27741         [C99-based standards] (INT32_MAX): Likewise.
27742         [C99-based standards] (INT64_MIN): Likewise.
27743         [C99-based standards] (INT64_MAX): Likewise.
27744         [C99-based standards] (UINT8_MAX): Likewise.
27745         [C99-based standards] (UINT16_MAX): Likewise.
27746         [C99-based standards] (UINT32_MAX): Likewise.
27747         [C99-based standards] (UINT64_MAX): Likewise.
27748         [C99-based standards] (INT_LEAST8_MIN): Likewise.
27749         [C99-based standards] (INT_LEAST8_MAX): Likewise.
27750         [C99-based standards] (INT_LEAST16_MIN): Likewise.
27751         [C99-based standards] (INT_LEAST16_MAX): Likewise.
27752         [C99-based standards] (INT_LEAST32_MIN): Likewise.
27753         [C99-based standards] (INT_LEAST32_MAX): Likewise.
27754         [C99-based standards] (INT_LEAST64_MIN): Likewise.
27755         [C99-based standards] (INT_LEAST64_MAX): Likewise.
27756         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27757         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27758         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27759         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27760         [C99-based standards] (INT_FAST8_MIN): Likewise.
27761         [C99-based standards] (INT_FAST8_MAX): Likewise.
27762         [C99-based standards] (INT_FAST16_MIN): Likewise.
27763         [C99-based standards] (INT_FAST16_MAX): Likewise.
27764         [C99-based standards] (INT_FAST32_MIN): Likewise.
27765         [C99-based standards] (INT_FAST32_MAX): Likewise.
27766         [C99-based standards] (INT_FAST64_MIN): Likewise.
27767         [C99-based standards] (INT_FAST64_MAX): Likewise.
27768         [C99-based standards] (UINT_FAST8_MAX): Likewise.
27769         [C99-based standards] (UINT_FAST16_MAX): Likewise.
27770         [C99-based standards] (UINT_FAST32_MAX): Likewise.
27771         [C99-based standards] (UINT_FAST64_MAX): Likewise.
27772         [C99-based standards] (INTPTR_MIN): Likewise.
27773         [C99-based standards] (INTPTR_MAX): Likewise.
27774         [C99-based standards] (UINTPTR_MAX): Likewise.
27775         [C99-based standards] (INTMAX_MIN): Likewise.
27776         [C99-based standards] (INTMAX_MAX): Likewise.
27777         [C99-based standards] (UINTMAX_MAX): Likewise.
27778         [C99-based standards] (PTRDIFF_MIN): Likewise.
27779         [C99-based standards] (PTRDIFF_MAX): Likewise.
27780         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27781         [C99-based standards] (SIZE_MAX): Likewise.
27782         [C99-based standards] (WCHAR_MAX): Likewise.
27783         [C99-based standards] (WINT_MAX): Likewise.
27784         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
27785         constraint on value.
27786         [C99-based standards] (WCHAR_MIN): Likewise.
27787         [C99-based standards] (WINT_MIN): Likewise.
27788         [C99-based standards] (*_t): Allow.
27789         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27790         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27791         Include math.h-data and complex.h-data.  Remove all expectations
27792         of math.h and complex.h contents.
27793         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27794         at end of line.
27795         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27796         (struct tm): Expect tag.
27797         [C99-based-standards] (wcstof): Expect function.
27798         [C99-based-standards] (wcstold): Likewise.
27799         [C99-based-standards] (wcstoll): Likewise.
27800         [C99-based-standards] (wcstoull): Likewise.
27801         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27802         macro-int-constant.  Specify type.
27803         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
27804         constraint on value.
27805         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27806         Specify type.
27807         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27808         Specify value.
27809         [ISO C standards]: Do not allow headers.
27810         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27811         wcs[abcdefghijklmnopqrstuvwxyz]*.
27812         [ISO C standards] (*_t): Do not allow.
27813         * conform/data/wctype.h-data [C99-based standards] (iswblank):
27814         Expect function.
27815         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27816         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27817         Specify type.
27818         [ISO C standards]: Do not allow headers.
27819         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27820         is[abcdefghijklmnopqrstuvwxyz]*.
27821         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27822         to[abcdefghijklmnopqrstuvwxyz]*.
27823         [ISO C standards] (*_t): Do not allow.
27824         * conform/data/stdalign.h-data: New file.
27825         * conform/data/stdbool.h-data: Likewise.
27826         * conform/data/stdnoreturn.h-data: Likewise.
27827
27828 2012-11-07  Roland McGrath  <roland@hack.frob.com>
27829
27830         [BZ #14815]
27831         * manual/filesys.texi (Directory Entries): Typo fix.
27832         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27833
27834 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27835
27836         * elf/elf.h (EM_AARCH64): New macro.
27837         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27838         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27839         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27840         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27841         (R_AARCH64_TLSDESC): Likewise.
27842         (NT_ARM_TLS): Likewise.
27843         (NT_ARM_HW_BREAK): Likewise.
27844         (NT_ARM_HW_WATCH): Likewise.
27845
27846 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27847
27848         [BZ #14811]
27849         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27850         (__ieee754_powl): Saturate nonzero exponents with absolute value
27851         below 0x1p-79 to +/- 0x1p-79.
27852         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27853         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27854         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27855         nonzero exponents with absolute value below 0x1p-32 to +/-
27856         0x1p-32.
27857         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27858         (__ieee754_powl): Saturate nonzero exponents with absolute value
27859         below 0x1p-79 to +/- 0x1p-79.
27860         * math/libm-test.inc (pow_test): Add more tests.
27861
27862 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27863
27864         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27865         _dl_s390_cap_flags with kernel. Increase string length.
27866         (_dl_s390_platforms): Add z196 and zEC12.
27867
27868 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27869
27870         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27871         Change XOPEN21K to XOPEN2K.
27872
27873 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
27874
27875         * string/memmove.c: Use memcpy when possible.
27876
27877 2012-11-06  Andreas Jaeger  <aj@suse.de>
27878
27879         * po/eo.po: Update from translation team.
27880
27881 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
27882
27883         [BZ #14793]
27884         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27885         exponent and small x and y exponents, scale x or y up.  Increase
27886         by 2 the exponent used in scaling up.
27887         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27888         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27889         * math/libm-test.inc (fma_test): Add more tests.
27890         (fma_test_towardzero): Likewise.
27891         (fma_test_downward): Likewise.
27892         (fma_test_upward): Likewise.
27893
27894 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
27895
27896         [BZ #14805]
27897         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27898         fenv_t *.
27899
27900         [BZ #14801]
27901         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27902         namespace for names of struct fields.
27903         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27904         fenv_t fields.
27905         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27906         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27907
27908 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27909
27910         [BZ #3665]
27911         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27912
27913 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
27914
27915         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27916         PTR_DEMANGLE.
27917
27918         [BZ #5246]
27919         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27920         PTR_DEMANGLE.
27921
27922 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
27923
27924         [BZ #14797]
27925         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27926         definitely overflow as x * y not x * y + z.
27927         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27928         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27929         * math/libm-test.inc (fma_test): Add more tests.
27930         (fma_test_towardzero): Likewise.
27931         (fma_test_downward): Likewise.
27932         (fma_test_upward): Likewise.
27933
27934 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
27935
27936         [BZ #157]
27937
27938         * include/stub-tag.h: Remove file.
27939         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27940         '#include' of it.
27941         * manual/maint.texi (Porting): Don't reference it.
27942         * Makerules ($(objpfx)stubs): Likewise.
27943         * dirent/closedir.c: Don't include <stub-tag.h>.
27944         * dirent/dirfd.c: Likewise.
27945         * dirent/fdopendir.c: Likewise.
27946         * dirent/getdents.c: Likewise.
27947         * dirent/getdents64.c: Likewise.
27948         * dirent/opendir.c: Likewise.
27949         * dirent/readdir.c: Likewise.
27950         * dirent/readdir64.c: Likewise.
27951         * dirent/readdir64_r.c: Likewise.
27952         * dirent/readdir_r.c: Likewise.
27953         * dirent/rewinddir.c: Likewise.
27954         * dirent/seekdir.c: Likewise.
27955         * dirent/telldir.c: Likewise.
27956         * gmon/profil.c: Likewise.
27957         * grp/setgroups.c: Likewise.
27958         * inet/if_index.c: Likewise.
27959         * io/access.c: Likewise.
27960         * io/chdir.c: Likewise.
27961         * io/chmod.c: Likewise.
27962         * io/chown.c: Likewise.
27963         * io/close.c: Likewise.
27964         * io/dup.c: Likewise.
27965         * io/dup2.c: Likewise.
27966         * io/dup3.c: Likewise.
27967         * io/euidaccess.c: Likewise.
27968         * io/faccessat.c: Likewise.
27969         * io/fchdir.c: Likewise.
27970         * io/fchmod.c: Likewise.
27971         * io/fchmodat.c: Likewise.
27972         * io/fchown.c: Likewise.
27973         * io/fchownat.c: Likewise.
27974         * io/fcntl.c: Likewise.
27975         * io/flock.c: Likewise.
27976         * io/fstatfs.c: Likewise.
27977         * io/fstatfs64.c: Likewise.
27978         * io/fstatvfs.c: Likewise.
27979         * io/fstatvfs64.c: Likewise.
27980         * io/futimens.c: Likewise.
27981         * io/fxstat.c: Likewise.
27982         * io/fxstat64.c: Likewise.
27983         * io/fxstatat.c: Likewise.
27984         * io/fxstatat64.c: Likewise.
27985         * io/getcwd.c: Likewise.
27986         * io/isatty.c: Likewise.
27987         * io/lchmod.c: Likewise.
27988         * io/lchown.c: Likewise.
27989         * io/link.c: Likewise.
27990         * io/linkat.c: Likewise.
27991         * io/lseek.c: Likewise.
27992         * io/lseek64.c: Likewise.
27993         * io/lxstat64.c: Likewise.
27994         * io/mkdir.c: Likewise.
27995         * io/mkdirat.c: Likewise.
27996         * io/mkfifo.c: Likewise.
27997         * io/mkfifoat.c: Likewise.
27998         * io/open.c: Likewise.
27999         * io/open64.c: Likewise.
28000         * io/openat.c: Likewise.
28001         * io/openat64.c: Likewise.
28002         * io/pipe.c: Likewise.
28003         * io/pipe2.c: Likewise.
28004         * io/poll.c: Likewise.
28005         * io/posix_fadvise.c: Likewise.
28006         * io/posix_fadvise64.c: Likewise.
28007         * io/posix_fallocate.c: Likewise.
28008         * io/posix_fallocate64.c: Likewise.
28009         * io/read.c: Likewise.
28010         * io/readlink.c: Likewise.
28011         * io/readlinkat.c: Likewise.
28012         * io/rmdir.c: Likewise.
28013         * io/sendfile.c: Likewise.
28014         * io/sendfile64.c: Likewise.
28015         * io/statfs.c: Likewise.
28016         * io/statfs64.c: Likewise.
28017         * io/statvfs.c: Likewise.
28018         * io/statvfs64.c: Likewise.
28019         * io/symlink.c: Likewise.
28020         * io/symlinkat.c: Likewise.
28021         * io/ttyname.c: Likewise.
28022         * io/ttyname_r.c: Likewise.
28023         * io/umask.c: Likewise.
28024         * io/unlink.c: Likewise.
28025         * io/unlinkat.c: Likewise.
28026         * io/utime.c: Likewise.
28027         * io/utimensat.c: Likewise.
28028         * io/write.c: Likewise.
28029         * io/xmknod.c: Likewise.
28030         * io/xmknodat.c: Likewise.
28031         * io/xstat.c: Likewise.
28032         * io/xstat64.c: Likewise.
28033         * login/getpt.c: Likewise.
28034         * login/grantpt.c: Likewise.
28035         * login/unlockpt.c: Likewise.
28036         * math/e_acoshl.c: Likewise.
28037         * math/e_acosl.c: Likewise.
28038         * math/e_asinl.c: Likewise.
28039         * math/e_atan2l.c: Likewise.
28040         * math/e_atanhl.c: Likewise.
28041         * math/e_coshl.c: Likewise.
28042         * math/e_expl.c: Likewise.
28043         * math/e_fmodl.c: Likewise.
28044         * math/e_gammal_r.c: Likewise.
28045         * math/e_hypotl.c: Likewise.
28046         * math/e_j0l.c: Likewise.
28047         * math/e_j1l.c: Likewise.
28048         * math/e_jnl.c: Likewise.
28049         * math/e_lgammal_r.c: Likewise.
28050         * math/e_log10l.c: Likewise.
28051         * math/e_log2l.c: Likewise.
28052         * math/e_logl.c: Likewise.
28053         * math/e_powl.c: Likewise.
28054         * math/e_rem_pio2l.c: Likewise.
28055         * math/e_sinhl.c: Likewise.
28056         * math/e_sqrtl.c: Likewise.
28057         * math/fclrexcpt.c: Likewise.
28058         * math/fedisblxcpt.c: Likewise.
28059         * math/feenablxcpt.c: Likewise.
28060         * math/fegetenv.c: Likewise.
28061         * math/fegetexcept.c: Likewise.
28062         * math/fegetround.c: Likewise.
28063         * math/feholdexcpt.c: Likewise.
28064         * math/fesetenv.c: Likewise.
28065         * math/fesetround.c: Likewise.
28066         * math/feupdateenv.c: Likewise.
28067         * math/fgetexcptflg.c: Likewise.
28068         * math/fraiseexcpt.c: Likewise.
28069         * math/fsetexcptflg.c: Likewise.
28070         * math/ftestexcept.c: Likewise.
28071         * math/k_cosl.c: Likewise.
28072         * math/k_rem_pio2l.c: Likewise.
28073         * math/k_sinl.c: Likewise.
28074         * math/k_tanl.c: Likewise.
28075         * math/s_asinhl.c: Likewise.
28076         * math/s_atanl.c: Likewise.
28077         * math/s_cbrtl.c: Likewise.
28078         * math/s_erfl.c: Likewise.
28079         * math/s_expm1l.c: Likewise.
28080         * math/s_log1pl.c: Likewise.
28081         * math/s_tanhl.c: Likewise.
28082         * misc/acct.c: Likewise.
28083         * misc/brk.c: Likewise.
28084         * misc/chflags.c: Likewise.
28085         * misc/chroot.c: Likewise.
28086         * misc/fchflags.c: Likewise.
28087         * misc/fgetxattr.c: Likewise.
28088         * misc/flistxattr.c: Likewise.
28089         * misc/fremovexattr.c: Likewise.
28090         * misc/fsetxattr.c: Likewise.
28091         * misc/fsync.c: Likewise.
28092         * misc/ftruncate.c: Likewise.
28093         * misc/futimes.c: Likewise.
28094         * misc/futimesat.c: Likewise.
28095         * misc/getdomain.c: Likewise.
28096         * misc/getdtsz.c: Likewise.
28097         * misc/gethostid.c: Likewise.
28098         * misc/gethostname.c: Likewise.
28099         * misc/getloadavg.c: Likewise.
28100         * misc/getpagesize.c: Likewise.
28101         * misc/getsysstats.c: Likewise.
28102         * misc/getxattr.c: Likewise.
28103         * misc/gtty.c: Likewise.
28104         * misc/ioctl.c: Likewise.
28105         * misc/lgetxattr.c: Likewise.
28106         * misc/listxattr.c: Likewise.
28107         * misc/llistxattr.c: Likewise.
28108         * misc/lremovexattr.c: Likewise.
28109         * misc/lsetxattr.c: Likewise.
28110         * misc/lutimes.c: Likewise.
28111         * misc/madvise.c: Likewise.
28112         * misc/mincore.c: Likewise.
28113         * misc/mlock.c: Likewise.
28114         * misc/mlockall.c: Likewise.
28115         * misc/mmap.c: Likewise.
28116         * misc/mprotect.c: Likewise.
28117         * misc/msync.c: Likewise.
28118         * misc/munlock.c: Likewise.
28119         * misc/munlockall.c: Likewise.
28120         * misc/munmap.c: Likewise.
28121         * misc/preadv.c: Likewise.
28122         * misc/preadv64.c: Likewise.
28123         * misc/ptrace.c: Likewise.
28124         * misc/pwritev.c: Likewise.
28125         * misc/pwritev64.c: Likewise.
28126         * misc/readv.c: Likewise.
28127         * misc/reboot.c: Likewise.
28128         * misc/remap_file_pages.c: Likewise.
28129         * misc/removexattr.c: Likewise.
28130         * misc/revoke.c: Likewise.
28131         * misc/select.c: Likewise.
28132         * misc/setdomain.c: Likewise.
28133         * misc/setegid.c: Likewise.
28134         * misc/seteuid.c: Likewise.
28135         * misc/sethostid.c: Likewise.
28136         * misc/sethostname.c: Likewise.
28137         * misc/setregid.c: Likewise.
28138         * misc/setreuid.c: Likewise.
28139         * misc/setxattr.c: Likewise.
28140         * misc/sstk.c: Likewise.
28141         * misc/stty.c: Likewise.
28142         * misc/swapoff.c: Likewise.
28143         * misc/swapon.c: Likewise.
28144         * misc/sync.c: Likewise.
28145         * misc/syncfs.c: Likewise.
28146         * misc/syscall.c: Likewise.
28147         * misc/truncate.c: Likewise.
28148         * misc/ualarm.c: Likewise.
28149         * misc/usleep.c: Likewise.
28150         * misc/ustat.c: Likewise.
28151         * misc/utimes.c: Likewise.
28152         * misc/vhangup.c: Likewise.
28153         * misc/writev.c: Likewise.
28154         * posix/_exit.c: Likewise.
28155         * posix/alarm.c: Likewise.
28156         * posix/execve.c: Likewise.
28157         * posix/fexecve.c: Likewise.
28158         * posix/fork.c: Likewise.
28159         * posix/fpathconf.c: Likewise.
28160         * posix/getaddrinfo.c: Likewise.
28161         * posix/getegid.c: Likewise.
28162         * posix/geteuid.c: Likewise.
28163         * posix/getgid.c: Likewise.
28164         * posix/getgroups.c: Likewise.
28165         * posix/getlogin.c: Likewise.
28166         * posix/getlogin_r.c: Likewise.
28167         * posix/getpgid.c: Likewise.
28168         * posix/getpid.c: Likewise.
28169         * posix/getppid.c: Likewise.
28170         * posix/getresgid.c: Likewise.
28171         * posix/getresuid.c: Likewise.
28172         * posix/getsid.c: Likewise.
28173         * posix/getuid.c: Likewise.
28174         * posix/glob64.c: Likewise.
28175         * posix/nanosleep.c: Likewise.
28176         * posix/pathconf.c: Likewise.
28177         * posix/pause.c: Likewise.
28178         * posix/posix_madvise.c: Likewise.
28179         * posix/pread.c: Likewise.
28180         * posix/pread64.c: Likewise.
28181         * posix/pwrite.c: Likewise.
28182         * posix/pwrite64.c: Likewise.
28183         * posix/sched_getaffinity.c: Likewise.
28184         * posix/sched_getp.c: Likewise.
28185         * posix/sched_gets.c: Likewise.
28186         * posix/sched_primax.c: Likewise.
28187         * posix/sched_primin.c: Likewise.
28188         * posix/sched_rr_gi.c: Likewise.
28189         * posix/sched_setaffinity.c: Likewise.
28190         * posix/sched_setp.c: Likewise.
28191         * posix/sched_sets.c: Likewise.
28192         * posix/sched_yield.c: Likewise.
28193         * posix/setgid.c: Likewise.
28194         * posix/setlogin.c: Likewise.
28195         * posix/setpgid.c: Likewise.
28196         * posix/setresgid.c: Likewise.
28197         * posix/setresuid.c: Likewise.
28198         * posix/setsid.c: Likewise.
28199         * posix/setuid.c: Likewise.
28200         * posix/sleep.c: Likewise.
28201         * posix/spawni.c: Likewise.
28202         * posix/sysconf.c: Likewise.
28203         * posix/times.c: Likewise.
28204         * posix/wait.c: Likewise.
28205         * posix/wait3.c: Likewise.
28206         * posix/wait4.c: Likewise.
28207         * posix/waitpid.c: Likewise.
28208         * resolv/gai_sigqueue.c: Likewise.
28209         * resource/getpriority.c: Likewise.
28210         * resource/getrlimit.c: Likewise.
28211         * resource/getrusage.c: Likewise.
28212         * resource/nice.c: Likewise.
28213         * resource/setpriority.c: Likewise.
28214         * resource/setrlimit.c: Likewise.
28215         * resource/ulimit.c: Likewise.
28216         * rt/aio_cancel.c: Likewise.
28217         * rt/aio_fsync.c: Likewise.
28218         * rt/aio_read.c: Likewise.
28219         * rt/aio_sigqueue.c: Likewise.
28220         * rt/aio_suspend.c: Likewise.
28221         * rt/aio_write.c: Likewise.
28222         * rt/clock_getres.c: Likewise.
28223         * rt/clock_gettime.c: Likewise.
28224         * rt/clock_nanosleep.c: Likewise.
28225         * rt/clock_settime.c: Likewise.
28226         * rt/lio_listio.c: Likewise.
28227         * rt/mq_close.c: Likewise.
28228         * rt/mq_getattr.c: Likewise.
28229         * rt/mq_notify.c: Likewise.
28230         * rt/mq_open.c: Likewise.
28231         * rt/mq_receive.c: Likewise.
28232         * rt/mq_send.c: Likewise.
28233         * rt/mq_setattr.c: Likewise.
28234         * rt/mq_timedreceive.c: Likewise.
28235         * rt/mq_timedsend.c: Likewise.
28236         * rt/mq_unlink.c: Likewise.
28237         * rt/shm_open.c: Likewise.
28238         * rt/shm_unlink.c: Likewise.
28239         * rt/timer_create.c: Likewise.
28240         * rt/timer_delete.c: Likewise.
28241         * rt/timer_getoverr.c: Likewise.
28242         * rt/timer_gettime.c: Likewise.
28243         * rt/timer_settime.c: Likewise.
28244         * setjmp/__longjmp.c: Likewise.
28245         * setjmp/setjmp.c: Likewise.
28246         * signal/kill.c: Likewise.
28247         * signal/killpg.c: Likewise.
28248         * signal/raise.c: Likewise.
28249         * signal/sigaction.c: Likewise.
28250         * signal/sigaltstack.c: Likewise.
28251         * signal/sigblock.c: Likewise.
28252         * signal/sigignore.c: Likewise.
28253         * signal/sigintr.c: Likewise.
28254         * signal/signal.c: Likewise.
28255         * signal/sigpause.c: Likewise.
28256         * signal/sigpending.c: Likewise.
28257         * signal/sigqueue.c: Likewise.
28258         * signal/sigreturn.c: Likewise.
28259         * signal/sigset.c: Likewise.
28260         * signal/sigsetmask.c: Likewise.
28261         * signal/sigstack.c: Likewise.
28262         * signal/sigsuspend.c: Likewise.
28263         * signal/sigtimedwait.c: Likewise.
28264         * signal/sigvec.c: Likewise.
28265         * signal/sigwait.c: Likewise.
28266         * signal/sigwaitinfo.c: Likewise.
28267         * signal/sysv_signal.c: Likewise.
28268         * socket/accept.c: Likewise.
28269         * socket/accept4.c: Likewise.
28270         * socket/bind.c: Likewise.
28271         * socket/connect.c: Likewise.
28272         * socket/getpeername.c: Likewise.
28273         * socket/getsockname.c: Likewise.
28274         * socket/getsockopt.c: Likewise.
28275         * socket/isfdtype.c: Likewise.
28276         * socket/listen.c: Likewise.
28277         * socket/recv.c: Likewise.
28278         * socket/recvfrom.c: Likewise.
28279         * socket/recvmsg.c: Likewise.
28280         * socket/send.c: Likewise.
28281         * socket/sendmsg.c: Likewise.
28282         * socket/sendto.c: Likewise.
28283         * socket/setsockopt.c: Likewise.
28284         * socket/shutdown.c: Likewise.
28285         * socket/sockatmark.c: Likewise.
28286         * socket/socket.c: Likewise.
28287         * socket/socketpair.c: Likewise.
28288         * stdio-common/ctermid.c: Likewise.
28289         * stdio-common/cuserid.c: Likewise.
28290         * stdio-common/remove.c: Likewise.
28291         * stdio-common/rename.c: Likewise.
28292         * stdio-common/renameat.c: Likewise.
28293         * stdio-common/tempname.c: Likewise.
28294         * stdlib/getcontext.c: Likewise.
28295         * stdlib/makecontext.c: Likewise.
28296         * stdlib/setcontext.c: Likewise.
28297         * stdlib/swapcontext.c: Likewise.
28298         * stdlib/system.c: Likewise.
28299         * streams/fattach.c: Likewise.
28300         * streams/fdetach.c: Likewise.
28301         * streams/getmsg.c: Likewise.
28302         * streams/getpmsg.c: Likewise.
28303         * streams/putmsg.c: Likewise.
28304         * streams/putpmsg.c: Likewise.
28305         * sysdeps/unix/bsd/getpt.c: Likewise.
28306         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28307         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28308         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28310         Likewise.
28311         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28312         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28313         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28314         * sysvipc/msgctl.c: Likewise.
28315         * sysvipc/msgget.c: Likewise.
28316         * sysvipc/msgrcv.c: Likewise.
28317         * sysvipc/msgsnd.c: Likewise.
28318         * sysvipc/semctl.c: Likewise.
28319         * sysvipc/semget.c: Likewise.
28320         * sysvipc/semop.c: Likewise.
28321         * sysvipc/semtimedop.c: Likewise.
28322         * sysvipc/shmat.c: Likewise.
28323         * sysvipc/shmctl.c: Likewise.
28324         * sysvipc/shmdt.c: Likewise.
28325         * sysvipc/shmget.c: Likewise.
28326         * termios/tcdrain.c: Likewise.
28327         * termios/tcflow.c: Likewise.
28328         * termios/tcflush.c: Likewise.
28329         * termios/tcgetattr.c: Likewise.
28330         * termios/tcgetpgrp.c: Likewise.
28331         * termios/tcsendbrk.c: Likewise.
28332         * termios/tcsetattr.c: Likewise.
28333         * termios/tcsetpgrp.c: Likewise.
28334         * time/adjtime.c: Likewise.
28335         * time/clock.c: Likewise.
28336         * time/getitimer.c: Likewise.
28337         * time/gettimeofday.c: Likewise.
28338         * time/setitimer.c: Likewise.
28339         * time/settimeofday.c: Likewise.
28340         * time/stime.c: Likewise.
28341         * time/time.c: Likewise.
28342
28343 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
28344
28345         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28346         /usr/old/bin.
28347
28348         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28349         instead of spaces.
28350         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28351
28352 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
28353
28354         [BZ #14796]
28355         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28356         FE_TONEAREST before applying Dekker multiplication and Knuth
28357         addition.  Clear inexact exceptions and check for exact zero
28358         results afterwards.
28359         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28360         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28361         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28362         * math/libm-test.inc (fma_test): Add more tests.
28363         (fma_test_towardzero): Likewise.
28364         (fma_test_downward): Likewise.
28365         (fma_test_upward): Likewise.
28366         * sysdeps/generic/math_private.h (default_libc_fesetround): New
28367         function.
28368         (libc_fesetround): New macro.
28369         (libc_fesetroundf): Likewise.
28370         (libc_fesetroundl): Likewise.
28371         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28372         function.
28373         (libc_fesetround_387): Likewise.
28374         (libc_fesetroundf): New macro.
28375         (libc_fesetround): Likewise.
28376         (libc_fesetroundl): Likewise.
28377         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28378         function.
28379         (libc_fesetroundf): New macro.
28380         (libc_fesetround): Likewise.
28381         (libc_fesetroundl): Likewise.
28382         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28383         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28384         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28385         libm_hidden_ver.
28386         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28387         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28388         libm_hidden_def.
28389         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28390         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28391         libm_hidden_ver.
28392         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28393         libm_hidden_def.
28394
28395         [BZ #3439]
28396         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28397         integer constant usable in #if and use that to give value to enum
28398         constant.
28399         (FE_DIVBYZERO): Likewise.
28400         (FE_UNDERFLOW): Likewise.
28401         (FE_OVERFLOW): Likewise.
28402         (FE_INVALID): Likewise.
28403         (FE_INVALID_SNAN): Likewise.
28404         (FE_INVALID_ISI): Likewise.
28405         (FE_INVALID_IDI): Likewise.
28406         (FE_INVALID_ZDZ): Likewise.
28407         (FE_INVALID_IMZ): Likewise.
28408         (FE_INVALID_COMPARE): Likewise.
28409         (FE_INVALID_SOFTWARE): Likewise.
28410         (FE_INVALID_SQRT): Likewise.
28411         (FE_INVALID_INTEGER_CONVERSION): Likewise.
28412         (FE_TONEAREST): Likewise.
28413         (FE_TOWARDZERO): Likewise.
28414         (FE_UPWARD): Likewise.
28415         (FE_DOWNWARD): Likewise.
28416         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28417         (FE_DIVBYZERO): Likewise.
28418         (FE_OVERFLOW): Likewise.
28419         (FE_UNDERFLOW): Likewise.
28420         (FE_INEXACT): Likewise.
28421         (FE_TONEAREST): Likewise.
28422         (FE_DOWNWARD): Likewise.
28423         (FE_UPWARD): Likewise.
28424         (FE_TOWARDZERO): Likewise.
28425         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28426         (FE_UNDERFLOW): Likewise.
28427         (FE_OVERFLOW): Likewise.
28428         (FE_DIVBYZERO): Likewise.
28429         (FE_INVALID): Likewise.
28430         (FE_TONEAREST): Likewise.
28431         (FE_TOWARDZERO): Likewise.
28432         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28433         (FE_OVERFLOW): Likewise.
28434         (FE_UNDERFLOW): Likewise.
28435         (FE_DIVBYZERO): Likewise.
28436         (FE_INEXACT): Likewise.
28437         (FE_TONEAREST): Likewise.
28438         (FE_TOWARDZERO): Likewise.
28439         (FE_UPWARD): Likewise.
28440         (FE_DOWNWARD): Likewise.
28441         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28442         (FE_DIVBYZERO): Likewise.
28443         (FE_OVERFLOW): Likewise.
28444         (FE_UNDERFLOW): Likewise.
28445         (FE_INEXACT): Likewise.
28446         (FE_TONEAREST): Likewise.
28447         (FE_DOWNWARD): Likewise.
28448         (FE_UPWARD): Likewise.
28449         (FE_TOWARDZERO): Likewise.
28450
28451 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
28452
28453         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28454
28455 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
28456
28457         * scripts/cross-test-ssh.sh (command): Use newlines to separate
28458         commands.  Quote $PWD.
28459         (blacklist_exports): Don't use remove_newlines.  Replace "declare
28460         -x" by "export".
28461         (remove_newlines): Remove.
28462
28463 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
28464
28465         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28466         * stdlib/stdlib.h (atof): Moved to ...
28467         * include/bits/stdlib-float.h: Here.  New file.
28468         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28469         * stdlib/bits/stdlib-float.h: New file.
28470         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28471         -mno-sse -mno-mmx.
28472         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28473         <xmmintrin.h>.
28474
28475 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
28476
28477         * conform/conformtest.pl (@headers): Add fenv.h.
28478         * conform/data/fenv.h-data: New file.
28479         * include/fenv.h [_ISOMAC]: Disable all contents of file except
28480         include of <math/fenv.h>.
28481
28482         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28483         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28484         && !UNIX98].  Enables tests for XOPEN2K8.
28485         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28486         POSIX2008]: Likewise.
28487
28488         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28489         (struct rusage): Do not expect type or its members.
28490
28491         [BZ #3439]
28492         * math/math.h (FP_NAN): Define macro to integer constant usable in
28493         #if and use that to give value to enum constant.
28494         (FP_INFINITE): Likewise.
28495         (FP_ZERO): Likewise.
28496         (FP_SUBNORMAL): Likewise.
28497         (FP_NORMAL): Likewise.
28498
28499 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
28500
28501         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28502         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28503         arguments.
28504
28505 2012-11-02  Roland McGrath  <roland@hack.frob.com>
28506
28507         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28508         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28509         autoconf-time if not.
28510         * configure.in: Remove AC_PREREQ.
28511
28512 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28513
28514         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28515         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28516         of the internal implementation.
28517
28518 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
28519
28520         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28521         except include of <misc/sys/syslog.h>.
28522
28523 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28524
28525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28526         function returns with a NULL context exit with zero.
28527
28528 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28529
28530         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28531
28532 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
28533
28534         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28535         (run_program_cmd): This.
28536         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28537         (tst_langinfo): New variable.  Use it.
28538
28539 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
28540
28541         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28542         floating point opcodes.
28543
28544 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28545
28546         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28547         variable.
28548
28549         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28550
28551         * sysdeps/mach/hurd/powerpc: Remove directory.
28552         * sysdeps/mach/powerpc: Likewise.
28553
28554 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28555
28556         * scripts/check-local-headers.sh: Ignore c++ headers.
28557
28558 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28559
28560         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28561         __libc_cleanup_region_start argument.
28562
28563 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
28564
28565         [BZ #14784]
28566         [BZ #14785]
28567         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28568         x * y using scaling, not as x * y + z.
28569         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28570         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28571         * math/libm-test.inc (fma_test): Add more tests.
28572         (fma_test_towardzero): Likewise.
28573         (fma_test_downward): Likewise.
28574         (fma_test_upward): Likewise.
28575
28576 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28577
28578         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28579
28580 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
28581
28582         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28583         New variable.
28584
28585 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
28586
28587         * rt/tst-shm.c (worker): Correct checking for mmap failure.
28588
28589 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
28590
28591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28592         Fix sort order.
28593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28594         Likewise.
28595
28596 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28597
28598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28599         Fix the order of the list for glibc 2.17.
28600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28601         Likewise.
28602
28603 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
28604
28605         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28606
28607 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
28608
28609         [BZ #14610]
28610         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28611         for low part of x being zero before using __atanl (y).
28612         * math/libm-test.inc (atan2_test): Add another test.
28613
28614         * manual/install.texi (Configuring and compiling): Document
28615         general use of test-wrapper and test-wrapper-env.
28616         * INSTALL: Regenerated.
28617
28618         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28619         (__fma): Do not extract and scale down low bits on after-rounding
28620         systems when result rounded to normal precision would have normal
28621         exponent.
28622         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28623         (__fmal): Do not extract and scale down low bits on after-rounding
28624         systems when result rounded to normal precision would have normal
28625         exponent.
28626         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28627         (__fmal): Do not extract and scale down low bits on after-rounding
28628         systems when result rounded to normal precision would have normal
28629         exponent.
28630         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28631         macro.
28632         (fma_test): Add more tests.
28633         (fma_test_towardzero): Likewise.
28634         (fma_test_downward): Likewise.
28635         (fma_test_upward): Likewise.
28636
28637 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
28638
28639         * sysdeps/i386/tininess.h: Renamed to ...
28640         * sysdeps/x86/tininess.h: This.
28641         * sysdeps/x86_64/tininess.h: Removed.
28642
28643 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
28644
28645         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28646         input.  Use $(build-program-cmd).
28647         ($(objpfx)tst-array1-static.out): Likewise.
28648         ($(objpfx)tst-array2.out): Likewise.
28649         ($(objpfx)tst-array3.out): Likewise.
28650         ($(objpfx)tst-array4.out): Likewise.
28651         ($(objpfx)tst-array5.out): Likewise.
28652         ($(objpfx)tst-array5-static.out): Likewise.
28653
28654 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
28655
28656         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28657         if defined.
28658
28659         * nss/nsswitch.h (nss_interface_function): Provide new
28660         macro for use with NSS functions.
28661         * grp/initgroups.c: Use new macro.
28662         * nss/getXXbyYY.c: Likewise.
28663         * nss/getXXbyYY_r.c: Likewise.
28664         * nss/getXXent.c: Likewise.
28665         * nss/getXXent_r.c: Likewise.
28666         * sysdeps/posix/getaddrinfo.c: Likewise.
28667
28668 2012-10-30  Andreas Jaeger  <aj@suse.de>
28669
28670         * po/ru.po: Update Russion translation from translation project.
28671
28672 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
28673
28674         [BZ #14152]
28675         [BZ #14783]
28676         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28677         result and shift together with sticky bit instead of replicating
28678         round-to-nearest rounding.
28679         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28680         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28681         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
28682         missing underflow exceptions.
28683         (fma_test_towardzero): Add more tests.
28684         (fma_test_downward): Likewise.
28685         (fma_test_upward): Likewise.
28686
28687         [BZ #14047]
28688         * sysdeps/generic/tininess.h: New file.
28689         * sysdeps/i386/tininess.h: Likewise.
28690         * sysdeps/sh/tininess.h: Likewise.
28691         * sysdeps/x86_64/tininess.h: Likewise.
28692         * stdlib/tst-strtod-underflow.c: Likewise.
28693         * stdlib/tst-tininess.c: Likewise.
28694         * stdlib/strtod_l.c: Include <tininess.h>.
28695         (round_and_return): Do not set errno for exact underflow cases.
28696         Force an underflow exception when setting errno for underflow.
28697         Determine underflow based on rounding to normal precision if
28698         TININESS_AFTER_ROUNDING.
28699         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28700         ERANGE for exact underflow cases.
28701         * stdlib/Makefile (tests): Add tst-tininess and
28702         tst-strtod-underflow.
28703         ($(objpfx)tst-tininess): Use $(link-libm).
28704         ($(objpfx)tst-strtod-underflow): Likewise.
28705
28706 2012-10-30  Andreas Jaeger  <aj@suse.de>
28707
28708         [BZ#14767]
28709         * elf/Makefile (tests): Remove conditional for have-initfini-array
28710         since this is now always required and the variable does not exist
28711         anymore.
28712         (tests-static): Likewise.
28713         (modules-names): Likewise.
28714
28715         * po/eo.po: Add Esperanto translation from translation project.
28716
28717         * elf/tst-array1.c (fini_array): Make writeable so that it can be
28718         merged with constructor/destructor.
28719         (init_array): Likewise.
28720         * elf/tst-array2dep.c (fini_array): Likewise.
28721         (init_array): Likewise.
28722
28723 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
28724
28725         * manual/message.texi: Delete @cartouche tags.
28726
28727 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
28728
28729         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28730         EOPNOTSUPP.
28731         * sysdeps/mach/hurd/fsync.c: Likewise.
28732
28733         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28734         [_POSIX_REALTIME_SIGNALS]: Change condition to
28735         [_POSIX_REALTIME_SIGNALS > 0].
28736
28737 2012-10-27  Andreas Jaeger  <aj@suse.de>
28738
28739         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28740         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28741         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28742         [__WORDSIZE != 64]: Likewise.
28743
28744 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
28745
28746         *  iconvdata/tst-table.sh: Remove ${SHELL}.
28747         *  iconvdata/tst-tables.sh: Likewise.
28748
28749 2012-10-25  David S. Miller  <davem@davemloft.net>
28750
28751         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28752         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28753         of strtoull.
28754
28755         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28756         ifunc-impl-list.c
28757         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28758         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28759         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28760         file.
28761
28762 2012-10-25  Roland McGrath  <roland@hack.frob.com>
28763
28764         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28765         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28766         __getdirentries.
28767
28768 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
28769             Jim Blandy  <jimb@codesourcery.com>
28770
28771         * scripts/cross-test-ssh.sh: New file.
28772         * manual/install.texi (Configuring and compiling): Document use of
28773         cross-test-ssh.sh.
28774         * INSTALL: Regenerated.
28775
28776 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
28777
28778         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28779         EOPNOTSUPP.
28780
28781 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
28782
28783         * Makeconfig (run-program-prefix): Fix comment.
28784
28785 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
28786             Jim Blandy  <jimb@codesourcery.com>
28787
28788         * Makeconfig (test-wrapper): New variable,
28789         (test-wrapper-env): Likewise.
28790         [$(cross-compiling) = yes && $(test-wrapper) != ""]
28791         (run-built-tests): Define to yes.
28792         (run-program-prefix): Use $(test-wrapper).
28793         (built-program-cmd): Likewise.
28794         * Rules (make-test-out): Use $(test-wrapper-env) and
28795         $(host-built-program-cmd).
28796         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28797         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28798         tst-pathopt.sh.
28799         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28800         $(test-wrapper-env) to tst-rtld-load-self.sh.
28801         ($(objpfx)order2.out): Use $(test-wrapper).
28802         ($(objpfx)tst-initorder.out): Likewise.
28803         ($(objpfx)tst-initorder2.out): Likewise.
28804         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28805         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28806         (test_wrapper_env): New variable.  Use it to run ld.so.
28807         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28808         Use it to run ld.so.
28809         (test_wrapper_env): Likewise.
28810         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28811         $(test-wrapper) to run-iconv-test.sh.
28812         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28813         (ICONV): Use $test_wrapper.
28814         * posix/Makefile ($(objpfx)globtest.out): Pass
28815         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28816         globtest.sh, not $(run-program-prefix).
28817         * posix/globtest.sh (run_via_rtld_prefix): New variable.
28818         (test_wrapper): Likewise.
28819         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
28820         set together with run_via_rtld_prefix.
28821         (run_program_prefix): Define in terms of test_wrapper and
28822         run_via_rtld_prefix.
28823
28824 2012-10-24  Roland McGrath  <roland@hack.frob.com>
28825
28826         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28827         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28828         Targets removed.
28829
28830         [BZ #14743]
28831         * include/time.h: Remove librt_hidden_proto (clock_gettime).
28832         Declare __clock_getres, __clock_gettime, __clock_settime,
28833         __clock_nanosleep, and __clock_getcpuclockid.
28834         * rt/clock_gettime.c: Define __clock_gettime as an alias.
28835         Remove librt_hidden_def (clock_gettime).
28836         * sysdeps/unix/clock_gettime.c: Likewise.
28837         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28838         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28839         * rt/clock_getres.c: Define __clock_getres as an alias.
28840         * sysdeps/posix/clock_getres.c: Likewise.
28841         * rt/clock_settime.c: Define __clock_settime as an alias.
28842         * sysdeps/unix/clock_settime.c: Likewise.
28843         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28844         * sysdeps/unix/clock_nanosleep.c: Likewise.
28845         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28846         * rt/clock-compat.c: New file.
28847         * rt/Makefile (librt-routines): Add clock-compat and move
28848         $(clock-routines) to ...
28849         (routines): ... here, new variable.
28850         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28851         Don't add get_clockfreq here.
28852         * rt/Versions (libc: GLIBC_2.17): New version set.
28853         Add clock_* symbols here.
28854         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
28855         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28856         (GLIBC_2.17): Add clock_* symbols.
28857         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28858         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28859         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28861         Likewise.
28862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28863         Likewise.
28864         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28865         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28866         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28867         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28868         * NEWS: Mention the move.
28869
28870         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28871         Use __open, __read, __close rather than their public counterparts.
28872         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28873         (__get_clockfreq_via_cpuinfo): Likewise.
28874         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28875         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28876
28877         * config.h.in (HAVE_IFUNC): New #undef.
28878         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28879         was successful.
28880         * configure: Regenerated.
28881
28882 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
28883
28884         * configure.in: Move READELF check to start of file.
28885         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28886         libc_cv_asm_gnu_indirect_function in the process.
28887         * configure: Regenerated.
28888
28889 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
28890
28891         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28892         send the output to /dev/null.
28893         (libc_cv_cc_with_libunwind): Likewise.
28894         (libc_cv_as_noexecstack): Likewise.
28895         * configure: Regenerate.
28896
28897 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
28898
28899         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28900
28901         * posix/globtest.sh (TMPDIR): Do not set.
28902         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28903         (testout): Likewise.
28904
28905 2012-10-24  Andreas Jaeger  <aj@suse.de>
28906
28907         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28908         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28909         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28910         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28911         posix_fadvise64, posix_fallocate64.
28912
28913         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28914         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28915         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28916         Likewise.
28917         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28918         Likewise.
28919         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28920
28921         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28922         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28923         <bits/fcntl-linux.h>.
28924         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28925
28926         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28927         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28928         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28929         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28930         [__WORDSIZE != 64]: Likewise.
28931
28932 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
28933
28934         * Makeconfig (run-built-tests): New variable.
28935         * Rules [$(cross-compiling) = yes]: Change condition to
28936         [$(run-built-tests) = no].
28937         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28938         to [$(run-built-tests) = yes].
28939         * elf/Makefile [$(cross-compiling) = no]: Likewise
28940         * grp/Makefile [$(cross-compiling) = no]: Likewise.
28941         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28942         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28943         * intl/Makefile [$(cross-compiling) = no]: Likewise.
28944         * io/Makefile [$(cross-compiling) = no]: Likewise.
28945         * libio/Makefile [$(cross-compiling) = no]: Likewise.
28946         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28947         * misc/Makefile [$(cross-compiling) = no]: Likewise.
28948         * posix/Makefile [$(cross-compiling) = no]: Likewise.
28949         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28950         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28951         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28952         * string/Makefile [$(cross-compiling) = no]: Likewise.
28953
28954         * posix/Makefile ($(objpfx)globtest.out): Pass
28955         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28956         $(rtld-installed-name).
28957         * posix/globtest.sh (elf_objpfx): Remove variable.
28958         (rtld_installed_name): Likewise.
28959         (library_path): Likewise.
28960         (run_program_prefix): New variable.  Use for running globtest
28961         binary.
28962
28963 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
28964             Joseph Myers  <joseph@codesourcery.com>
28965
28966         * Makeconfig (host-built-program-cmd): New variable.
28967         * elf/Makefile (tst-stackguard1-ARGS): Use
28968         $(host-built-program-cmd).
28969         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28970         (tst-spawn-ARGS): Likewise.
28971         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28972
28973 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
28974             Jim Blandy  <jimb@codesourcery.com>
28975
28976         * Makeconfig (run-via-rtld-prefix): New variable.
28977         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28978         (built-program-cmd): Likewise.
28979
28980 2012-10-22  Andreas Jaeger  <aj@suse.de>
28981
28982         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28983         __O_RSYNC if it exists, otherwise to O_SYNC.
28984
28985 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
28986             Joseph Myers  <joseph@codesourcery.com>
28987
28988         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28989         /dev/null.
28990         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28991         from /dev/null
28992         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28993         /dev/null.
28994
28995 2012-10-22  Andreas Jaeger  <aj@suse.de>
28996
28997         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28998         Define always.
28999         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29000
29001         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29002         bits/fcntl-linux.h.
29003
29004         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29005         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29006
29007         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29008         to __O_LARGEFILE.
29009         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29010         to __O_LARGEFILE.
29011
29012 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
29013             Joseph Myers  <joseph@codesourcery.com>
29014
29015         * config.make.in (NM): New variable.
29016
29017 2012-10-21  Andreas Jaeger  <aj@suse.de>
29018
29019         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29020         definitions and declarations that are provided by
29021         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29022
29023 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29024
29025         [BZ #14683]
29026         * elf/Makefile (tests-static): Add tst-leaks1-static.
29027         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29028         ($(objpfx)tst-leaks1-static): New rule.
29029         ($(objpfx)tst-leaks1-static-mem): Likewise.
29030         (tst-leaks1-static-ENV): New macro.
29031         * elf/dl-open.c (dl_open_worker): Check the main application
29032         only if SHARED is defined.
29033         * elf/tst-leaks1-static.c: New file.
29034
29035 2012-10-20  Andreas Jaeger  <aj@suse.de>
29036
29037         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29038         generic values for Linux.
29039         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29040         and declarations that are provided by <bits/fcntl-linux.h> and
29041         include <bits/fcntl-linux.h>.
29042         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29043         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29044
29045 2012-10-20  Roland McGrath  <roland@hack.frob.com>
29046
29047         * io/fcntl.h: Move include of <bits/types.h> to the top and
29048         include it unconditionally.
29049
29050 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29051
29052         * wcsmbs/Makefile (tests-ifunc): New variable.
29053         (tests): Add $(tests-ifunc).
29054         * wcsmbs/test-wcschr-ifunc.c: New file.
29055         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29056         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29057         * wcsmbs/test-wcslen-ifunc.c: Likewise.
29058         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29059         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29060
29061         * string/Makefile (tests-ifunc): New variable.
29062         (tests): Add $(tests-ifunc).
29063         * string/test-memccpy.c (TEST_NAME): New macro.
29064         * string/test-memchr.c (TEST_NAME): Likewise.
29065         * string/test-memcmp.c (TEST_NAME): Likewise.
29066         * string/test-memcpy.c (TEST_NAME): Likewise.
29067         * string/test-memmem.c (TEST_NAME): Likewise.
29068         * string/test-memmove.c (TEST_NAME): Likewise.
29069         * string/test-memset.c (TEST_NAME): Likewise.
29070         * string/test-rawmemchr.c (TEST_NAME): Likewise.
29071         * string/test-stpcpy.c (TEST_NAME): Likewise.
29072         * string/test-stpncpy.c (TEST_NAME): Likewise.
29073         * string/test-strcasecmp.c (TEST_NAME): Likewise.
29074         * string/test-strcasestr.c (TEST_NAME): Likewise.
29075         * string/test-strcat.c (TEST_NAME): Likewise.
29076         * string/test-strchr.c (TEST_NAME): Likewise.
29077         * string/test-strcmp.c(TEST_NAME): Likewise.
29078         * string/test-strcpy.c (TEST_NAME): Likewise.
29079         * string/test-strcspn.c (TEST_NAME): Likewise.
29080         * string/test-strlen.c (TEST_NAME): Likewise.
29081         * string/test-strncasecmp.c (TEST_NAME): Likewise.
29082         * string/test-strncmp.c (TEST_NAME): Likewise.
29083         * string/test-strncpy.c (TEST_NAME): Likewise.
29084         * string/test-strnlen.c (TEST_NAME): Likewise.
29085         * string/test-strpbrk.c (TEST_NAME): Likewise.
29086         * string/test-strrchr.c (TEST_NAME): Likewise.
29087         * string/test-strspn.c (TEST_NAME): Likewise.
29088         * string/test-strstr.c (TEST_NAME): Likewise.
29089         * string/test-bcopy-ifunc.c: New file.
29090         * string/test-bzero-ifunc.c: Likewise.
29091         * string/test-memccpy-ifunc.c: Likewise.
29092         * string/test-memchr-ifunc.c: Likewise.
29093         * string/test-memcmp-ifunc.c: Likewise.
29094         * string/test-memcpy-ifunc.c: Likewise.
29095         * string/test-memmem-ifunc.c: Likewise.
29096         * string/test-memmove-ifunc.c: Likewise.
29097         * string/test-mempcpy-ifunc.c: Likewise.
29098         * string/test-memset-ifunc.c: Likewise.
29099         * string/test-rawmemchr-ifunc.c: Likewise.
29100         * string/test-stpcpy-ifunc.c: Likewise.
29101         * string/test-stpncpy-ifunc.c: Likewise.
29102         * string/test-strcasecmp-ifunc.c: Likewise.
29103         * string/test-strcasestr-ifunc.c: Likewise.
29104         * string/test-strcat-ifunc.c: Likewise.
29105         * string/test-strchr-ifunc.c: Likewise.
29106         * string/test-strchrnul-ifunc.c: Likewise.
29107         * string/test-strcmp-ifunc.c: Likewise.
29108         * string/test-strcpy-ifunc.c: Likewise.
29109         * string/test-strcspn-ifunc.c: Likewise.
29110         * string/test-strlen-ifunc.c: Likewise.
29111         * string/test-strncasecmp-ifunc.c: Likewise.
29112         * string/test-strncat-ifunc.c: Likewise.
29113         * string/test-strncmp-ifunc.c: Likewise.
29114         * string/test-strncpy-ifunc.c: Likewise.
29115         * string/test-strnlen-ifunc.c: Likewise.
29116         * string/test-strpbrk-ifunc.c: Likewise.
29117         * string/test-strrchr-ifunc.c: Likewise.
29118         * string/test-strspn-ifunc.c: Likewise.
29119         * string/test-strstr-ifunc.c: Likewise.
29120
29121         * debug/Makefile (tests-ifunc): New variable.
29122         (tests): Add $(tests-ifunc).
29123         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29124         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29125         * debug/test-stpcpy_chk-ifunc.c: New file.
29126         * debug/test-strcpy_chk-ifunc.c: Likewise.
29127
29128 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29129
29130         [BZ #13601]
29131         * elf/dl-load.c (open_verify): Retry read if the entire ELF
29132         header is not read in.
29133
29134 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
29135
29136         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
29137         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
29138         directly.  Pass built executable to script as
29139         $(built-program-cmd).
29140         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
29141         $testprogram without using LD_LIBRARY_PATH and $ldso.
29142
29143         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29144         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29145         $(rtld-installed-name).
29146         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29147         (rtld_installed_name): Likewise.
29148         (library_path): Likewise.
29149         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
29150         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29151         $(run-program-prefix) to tst-tables.sh.
29152         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
29153         it to run tst-table-from and tst-table-to.
29154         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29155         Pass it to tst-table.sh.
29156         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29157         $(run-program-prefix) to tst-gettext.sh.
29158         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29159         tst-translit.sh.
29160         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29161         tst-gettext2.sh.
29162         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
29163         to run tst-gettext.
29164         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
29165         to run tst-gettext2.
29166         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
29167         to run tst-translit.
29168         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29169         $(run-program-prefix) to tst-mtrace.sh.
29170         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
29171         to run tst-mtrace.
29172         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29173         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29174         $(rtld-installed-name).
29175         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29176         (rtld_installed_name): Likewise.
29177         (run_program_prefix): New variable.  Use it to run wordexp-test.
29178
29179         * Makeconfig (ARCH): Remove all definitions.
29180         (machine): Likewise.
29181         [ARCH]: Remove conditional code.
29182         [!objdir]: Give error.
29183         [!objdir] (objpfx): Remove.
29184         [!objdir] (common-objpfx): Likewise.
29185         [!objdir] (common-objdir): Likewise.
29186         * configure.in (config_makefile): Remove.  Hardcode Makefile in
29187         AC_CONFIG_FILES call.
29188         * configure: Regenerated.
29189
29190         [BZ #13888]
29191         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29192         or TMPDIR.
29193         (testout): Likewise.
29194
29195         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29196         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29197         $(rtld-installed-name).
29198         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29199         (rtld_installed_name): Likwise.
29200         (runit): Remove function.
29201         (run_getconf): New variable,  Use it for running getconf binary.
29202
29203 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
29204
29205         [BZ #14716]
29206         * string/test-memmem.c (check_result): New function.
29207         (do_one_test): Use it.
29208         (check1): New function.
29209         (test_main): Use it.
29210
29211 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
29212
29213         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29214
29215 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
29216
29217         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29218         (_G_LSEEK64): Likewise.
29219         (_G_MMAP64): Likewise.
29220         (_G_FSTAT64): Likewise.
29221         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29222         (_G_LSEEK64): Likewise.
29223         (_G_MMAP64): Likewise.
29224         (_G_FSTAT64): Likewise.
29225         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29226         unconditional.  Call __mmap64 directly.
29227         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29228         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
29229         __lseek64 directly.
29230         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29231         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
29232         __mmap64 directly.
29233         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29234         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29235         __lseek64 directly.
29236         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29237         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29238         __lseek64 directly.
29239         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29240         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
29241         __lseek64 directly.
29242         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29243         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
29244         __fxstat64 directly.
29245         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29246         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29247         unconditional.
29248         (freopen64) [!_G_OPEN64]: Remove conditional code.
29249         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29250         unconditional.
29251         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29252         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29253         unconditional.
29254         (ftello64) [!_G_LSEEK64]: Remove conditional code.
29255         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29256         unconditional.
29257         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29258         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29259         unconditional.
29260         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29261         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29262         unconditional.
29263         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29264         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29265         unconditional.
29266         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29267         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29268         unconditional.
29269         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29270
29271 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29272
29273         [BZ #12140]
29274         * manual/memory.texi (Malloc Tunable Parameters): Add note
29275         about free list pointers overwriting some perturb bytes.
29276         Wording suggested by Roland McGrath.
29277
29278 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
29279
29280         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29281         (lgamma_test): Likewise.
29282         (tgamma_test): Likewise.
29283
29284 2012-10-16  Florian Weimer  <fweimer@redhat.com>
29285
29286         [BZ #14700]
29287         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29288         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29289
29290 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
29291
29292         * NEWS: Mention BZ #14716.
29293         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29294         when removing AVAILABLE1_USES_J macro.
29295
29296 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
29297
29298         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29299         (__bswap_64): __uint64_t for unsigned 64-bit int.
29300
29301 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
29302
29303         * include/string.h (memmem): Declare libc hidden alias.
29304         * string/memmem.c (memmem): Define libc hidden alias.
29305         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29306         __read, __close instead of open, read, close.
29307
29308 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
29309
29310         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29311         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29312         global and hidden.
29313         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29314         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29315         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29316         Likewise.
29317         (__rawmemchr_sse2): Likewise.
29318         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29319         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29320         (__strchr_sse2): Likewise.
29321         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29322         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29323         (__strcasecmp_sse2): Likewise.
29324         (__strncasecmp_sse2): Likewise.
29325         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29326         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29327         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29328         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29329         (__strrchr_sse2): Likewise.
29330         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29331         ifunc-impl-list.c.
29332         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29333         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29334         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29335         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29336         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29337         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29338         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29339         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29340         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29341         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29342         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29343         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29344         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29345         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29346         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29347         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29348         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29349         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29350         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29351         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29352         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29353         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29354         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29355         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29356         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29357         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29358         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29359         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29360         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29361         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29362
29363         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29364         global and hidden.
29365         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29366         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29367         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29368         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29369         Likewise.
29370         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29371         Likewise.
29372         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29373         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29374         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29375         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29376         ifunc-impl-list.c.
29377         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29378         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29379         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29380         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29381         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29382         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29383         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29384         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29385         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29386         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29387         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29388         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29389         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29390         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29391         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29392         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29393         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29394         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29395         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29396         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29397         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29398         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29399         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29400         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29401         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29402         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29403         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29404         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29405         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29406         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29407         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29408         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29409         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29410         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29411         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29412         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29413         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29414         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29415         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29416         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29417         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29418
29419         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29420         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29421         * include/ifunc-impl-list.h: New file.
29422         * misc/ifunc-impl-list.c: Likewise.
29423         * misc/Makefile (routines): Add ifunc-impl-list.
29424         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29425         * string/test-string.h: Include <ifunc-impl-list.h>.
29426         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29427         TEST_NAME]: New variables.
29428         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29429         are defined.
29430         (test_init): Call __libc_ifunc_impl_list to initialize
29431         func_list if TEST_IFUNC and TEST_NAME are defined.
29432
29433         * string/Makefile (strop-tests): Add bcopy and bzero.
29434         * string/test-bcopy.c: New file.
29435         * string/test-bzero.c: Likewise.
29436         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29437         defined.
29438         * string/test-memset.c: Support bzero test if TEST_BZERO is
29439         defined.
29440         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29441         __libc_memmove.
29442         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29443         __libc_memset.
29444         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29445         of memset.
29446
29447 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
29448
29449         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29450         * configure: Regenerated.
29451
29452         * Makeconfig (+link-static-before-libc): Don't include
29453         $(link-static-libc).
29454
29455         * libio/libio.h (_IO_pos_t): Remove.
29456
29457 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29458
29459         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
29460         McGrath.
29461
29462 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29463
29464         * crypt/crypt-entry.c: Include fips-private.h.
29465         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29466         * crypt/md5c-test.c (main): Tolerate disabled MD5.
29467         * sysdeps/unix/sysv/linux/fips-private.h: New file.
29468         * sysdeps/generic/fips-private.h: New file, dummy fallback.
29469
29470 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29471
29472         * crypt/crypt-private.h: Include stdbool.h.
29473         (_ufc_setup_salt_r): Return bool.
29474         * crypt/crypt-entry.c: Include errno.h.
29475         (__crypt_r): Return NULL with EINVAL for bad salt.
29476         * crypt/crypt_util.c (bad_for_salt): New.
29477         (_ufc_setup_salt_r): Check that salt is long enough and within
29478         the specified alphabet.
29479         * crypt/badsalttest.c: New file.
29480         * crypt/Makefile (tests): Add it.
29481         ($(objpfx)badsalttest): New.
29482
29483 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
29484
29485         * NEWS: Add entry for BZ #14602.
29486
29487 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
29488
29489         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29490         type-generic.
29491         * math/libm-test.inc: Update comment listing what functions and
29492         macros are tested.
29493         (isgreater_test): New function.
29494         (isgreaterequal_test): Likewise.
29495         (isless_test): Likewise.
29496         (islessequal_test): Likewise.
29497         (islessgreater_test): Likewise.
29498         (isunordered_test): Likewise.
29499         (main): Call the new functions.
29500
29501 2012-10-09  Roland McGrath  <roland@hack.frob.com>
29502
29503         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29504         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29505         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29506         * sysdeps/i386/configure: Regenerated.
29507         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29508         * sysdeps/mach/configure: Regenerated.
29509         * sysdeps/mach/hurd/configure: Regenerated.
29510         * sysdeps/powerpc/configure: Regenerated.
29511         * sysdeps/powerpc/powerpc32/configure: Regenerated.
29512         * sysdeps/powerpc/powerpc64/configure: Regenerated.
29513         * sysdeps/s390/s390-32/configure: Regenerated.
29514         * sysdeps/s390/s390-64/configure: Regenerated.
29515         * sysdeps/sh/configure: Regenerated.
29516         * sysdeps/sparc/configure: Regenerated.
29517         * sysdeps/unix/sysv/linux/configure: Regenerated.
29518         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29519         * sysdeps/x86_64/configure: Regenerated.
29520
29521         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29522         defined.  Don't check if MAP is NULL.
29523
29524 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
29525
29526         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29527         (_G_stat64): Likewise.
29528         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29529         (_G_stat64): Likewise.
29530         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29531         instead of struct _G_stat64.
29532         * libio/fileops.c (mmap_remap_check): Likewise.
29533         (decide_maybe_mmap): Likewise.
29534         (_IO_new_file_seekoff): Likewise.
29535         (_IO_file_stat): Likewise.
29536         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29537         _G_off64_t.
29538         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29539         instead of struct _G_stat64.
29540         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29541
29542 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
29543
29544         [BZ #14602]
29545         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29546         Replace with ...
29547         (CHECK_EOL): New macro.
29548         (two_way_short_needle): Check beginning of haystack for EOL.  Use
29549         CHECK_EOL.
29550         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29551         Replace with CHECK_EOL.
29552         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29553         Replace with CHECK_EOL.
29554
29555 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
29556
29557         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29558         type-generic.
29559         * math/libm-test.inc: Update comment listing what functions and
29560         macros are tested.
29561         (finite_test): New function.
29562         (isinf_test): Likewise.
29563         (isnan_test): Likewise.
29564         (fpclassify_test): Test subnormal input.
29565         (isfinite_test): Likewise.
29566         (isnormal_test): Likewise.
29567         (main): Call the new functions.
29568
29569 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
29570
29571         [BZ #14660]
29572         * Makerules (%.dynsym): Force C locale when running
29573         $(OBJDUMP) --dynamic-syms.
29574
29575 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
29576
29577         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29578         <stdint.h>.
29579
29580 2012-10-06  David S. Miller  <davem@davemloft.net>
29581
29582         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29583         upper 32-bits of the length value in %o2 since we use branch-on-register
29584         tests which consider the entire 64-bit register.
29585
29586 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
29587
29588         * string/test-strstr.c (check2): Add a test for page boundary.
29589
29590 2012-10-05  David S. Miller  <davem@davemloft.net>
29591
29592         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29593         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29594         file.
29595         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29596         sysdep_routines.
29597         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29598         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29599         and bzero when HWCAP_SPARC_CRYPTO is present.
29600
29601 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
29602
29603         [BZ #14602]
29604         * string/test-strstr.c (check2): New function.
29605         (test_main): Call check2.
29606
29607         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29608         and bug-strchr1.
29609         * string/bug-strcasestr1.c (do_test): Moved to ...
29610         * string/test-strcasestr.c (check1): Here.  New function.
29611         (do_one_test): Break out result checking code into ...
29612         (check_result): This.  New function.
29613         (do_one_test): Call check_result.
29614         (test_main): Call check1.
29615         * string/bug-strchr1.c (do_test): Moved to ...
29616         * string/test-strchr.c (check1): Here.  New function.
29617         (do_one_test): Break out result checking code into ...
29618         (check_result): This.  New function.
29619         (do_one_test): Call check_result.
29620         (test_main): Call check1.
29621         * string/bug-strstr1.c (main): Moved to ...
29622         * string/test-strstr.c (check1): Here.  New function.
29623         (do_one_test): Break out result checking code into ...
29624         (check_result): This.  New function.
29625         (do_one_test): Call check_result.
29626         (test_main): Call check1.
29627         * string/bug-strcasestr1.c: Removed.
29628         * string/bug-strchr1.c: Likewise.
29629         * string/bug-strstr1.c: Likewise.
29630
29631         * elf/Makefile (dl-routines): Add hwcaps.
29632         * elf/dl-support.c (_dl_important_hwcaps): Removed.
29633         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29634         (_dl_important_hwcaps): Moved to ...
29635         * elf/dl-hwcaps.c: Here.  New file.
29636         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29637
29638         [BZ #14557]
29639         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29640         if IS_IN_rtld isn't defined.
29641
29642         * elf/dl-support.c (_dl_sysinfo_map): New.
29643         Include "get-dynamic-info.h" and "setup-vdso.h".
29644         (_dl_non_dynamic_init): Call setup_vdso.
29645         * elf/dynamic-link.h: Don't include <assert.h>.
29646         (elf_get_dynamic_info): Moved to ...
29647         * elf/get-dynamic-info.h: Here.  New file.
29648         * elf/dynamic-link.h: Include "get-dynamic-info.h".
29649         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29650         * elf/setup-vdso.h: Here.  New file.
29651         * elf/rtld.c: Include "setup-vdso.h".
29652         (dl_main): Call setup_vdso.
29653
29654 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
29655
29656         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29657         creal in comment listing functions tested.  List finite, isinf,
29658         isnan, isless, islessequal, isgreater, isgreaterequal,
29659         islessgreater, isunordered, lgamma_r and pow10 as functions and
29660         macros not tested.  Mention which functions not tested are aliases
29661         for other functions.  Fix typo.  Note that signs of NaNs are not
29662         tested.
29663
29664         * scripts/config.guess: Update from config.git.
29665         * scripts/config.sub: Likewise.
29666
29667 2012-10-04  Roland McGrath  <roland@hack.frob.com>
29668
29669         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29670         * misc/madvise.c (madvise): Renamed to __madvise.
29671         Make madvise a weak alias.
29672         * include/sys/mman.h: Declare __madvise.
29673         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29674         * sysdeps/unix/syscalls.list
29675         (madvise): Make __madvise the strong name, and madvise a weak alias.
29676         * sysdeps/unix/sysv/linux/syscalls.list
29677         (madvise, mmap): Remove redundant entries.
29678         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29679         * malloc/malloc.c (mtrim): Likewise.
29680         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29681
29682 2012-10-03  Roland McGrath  <roland@hack.frob.com>
29683
29684         * sysdeps/mach/hurd/dl-cache.c: File removed.
29685         * config.h.in (USE_LDCONFIG): New #undef.
29686         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29687         * configure: Regenerated.
29688         * elf/Makefile (dl-routines): Add dl-cache only under
29689         [$(use-ldconfig) = yes].
29690         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29691         cache on [USE_LDCONFIG].
29692         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29693         [USE_LDCONFIG].
29694         * elf/rtld.c (dl_main): Likewise.
29695
29696 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
29697
29698         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29699         _SC_LEVEL4_CACHE_LINESIZE.
29700
29701 2012-10-03  Roland McGrath  <roland@hack.frob.com>
29702
29703         * sysdeps/unix/bsd/confstr.h: File removed.
29704
29705 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
29706
29707         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29708         sys/sdt-config.h.
29709
29710 2012-10-02  Roland McGrath  <roland@hack.frob.com>
29711
29712         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29713         Make 'mapoff' field ElfW(Off) rather than off_t.
29714
29715 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
29716
29717         * nscd/Makefile: Remove nscd-cflags and all its users.
29718         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29719         (CFLAGS-nonlib): Add compiler flags for nscd modules.
29720
29721         [BZ #10631]
29722         * malloc.c (malloc_printerr): Clarify error message.
29723
29724 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
29725
29726         [BZ #14648]
29727         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29728         Set bit_FMA_Usable if FMA is supported.
29729         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29730         macro.
29731         (bit_FMA4_Usable): Updated.
29732         (index_FMA_Usable): New macro.
29733         (CPUID_FMA): Likewise
29734         (HAS_FMA): Defined with bit_FMA_Usable.
29735
29736 2012-10-01  Roland McGrath  <roland@hack.frob.com>
29737
29738         * bits/types.h (__swblk_t): Type removed.
29739         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29740         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29741         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29742         (__SWBLK_T_TYPE): Likewise.
29743         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29744         (__SWBLK_T_TYPE): Likewise.
29745         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29746         (__SWBLK_T_TYPE): Likewise.
29747         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29748         (__SWBLK_T_TYPE): Likewise.
29749
29750 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
29751             Honza Horak <hhorak@redhat.com>
29752
29753         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29754         (xdr_mapname): Use YPMAXMAP as maxsize.
29755         (xdr_peername): Use YPMAXPEER as maxsize.
29756         (xdr_keydat): Use YPAXRECORD as maxsize.
29757         (xdr_valdat): Use YPMAXRECORD as maxsize.
29758
29759 2012-10-01  Roland McGrath  <roland@hack.frob.com>
29760
29761         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29762
29763         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29764         * csu/init-first.c: ... here.
29765         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29766         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29767         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29768         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29769         * sysdeps/i386/init-first.c: File removed.
29770         * sysdeps/sh/init-first.c: File removed.
29771
29772 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
29773
29774         [BZ #14645]
29775         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29776         if x * y might underflow to zero and z is zero.
29777         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29778         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29779         * math/libm-test.inc (min_subnorm_value): New variable.
29780         (fma_test): Add more tests.
29781         (fma_test_towardzero): Likewise.
29782         (fma_test_downward): Likewise
29783         (fma_test_upward): Likewise.
29784         (initialize): Set min_subnorm_value.
29785
29786 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
29787
29788         [BZ #14638]
29789         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29790         0 + 0.
29791         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29792         mode for addition resulting in exact zero.
29793         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29794         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29795         exact 0 + 0.
29796         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29797         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29798         * math/libm-test.inc (fma_test): Add more tests.
29799         (fma_test_towardzero): New function.
29800         (fma_test_downward): Likewise.
29801         (fma_test_upward): Likewise.
29802         (main): Call the new functions.
29803
29804 2012-09-28  David S. Miller  <davem@davemloft.net>
29805
29806         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29807
29808 2012-09-28  Roland McGrath  <roland@hack.frob.com>
29809
29810         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29811         instead of SIGALRM.
29812
29813         * sysdeps/gnu/_G_config.h: Moved to ...
29814         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29815         * sysdeps/mach/hurd/_G_config.h: Moved to ...
29816         * sysdeps/generic/_G_config.h: ... here.
29817
29818         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
29819
29820         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29821
29822         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29823         Conditionalize target on [libnss_test1.so-version].
29824
29825         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29826
29827         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29828         (elfobjdir): Move out of conditionals.
29829
29830         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29831         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29832         (__nss_lookup_function): Conditionalize label remove_from_tree on
29833         [!DO_STATIC_NSS || SHARED], matching its only use.
29834
29835 2012-09-28  David S. Miller  <davem@davemloft.net>
29836
29837         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29838         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29839         file.
29840         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29841         sysdep_routines.
29842         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29843         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29844         when HWCAP_SPARC_CRYPTO is present.
29845
29846 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29847
29848         * io/tst-mknodat.c: Create a FIFO instead of a socket.
29849
29850 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
29851
29852         [BZ #6530]
29853         * stdio-common/vfprintf.c (process_string_arg): Revert
29854         2000-07-22 change.
29855
29856 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
29857
29858         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29859         for testcase.
29860         * stdio-common/tst-sprintf.c: Include <locale.h>
29861         (main): Test sprintf's handling of incomplete multibyte
29862         characters.
29863
29864 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
29865
29866         * elf/dl-runtime.c (VERSYMIDX): Removed.
29867         * elf/dl-version.c (VERSYMIDX): Likewise.
29868         * elf/do-rel.h (VERSYMIDX): Likewise.
29869         (VALIDX): Likewise.
29870         * elf/dynamic-link.h (VERSYMIDX): Likewise.
29871         * elf/rtld.c (VALIDX): Likewise.
29872         (ADDRIDX): Likewise.
29873         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29874         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29875         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
29876         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29877         (VALIDX): Likewise.
29878         (ADDRIDX): Likewise.
29879
29880 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29881
29882         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29883
29884 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
29885
29886         [BZ #11438]
29887         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29888         to global scope.
29889         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29890         addresses are in the same scope as 192.0.2/24.
29891         * posix/gai.conf: Document new scope table defaults.
29892
29893 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29894
29895         [BZ #5298]
29896         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29897         for ftell.  Compute offsets from write pointers instead.
29898         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29899
29900 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29901
29902         [BZ #14543]
29903         * libio/Makefile (tests): New test case tst-fseek.
29904         * libio/tst-fseek.c: New test case to verify that fseek/ftell
29905         combination works in wide mode.
29906         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29907         state when the external buffer state changes.
29908
29909 2012-09-27  David S. Miller  <davem@davemloft.net>
29910
29911         [BZ #14376]
29912         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29913         pass reloc->r_addend in as the 'high' argument to
29914         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29915
29916         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29917
29918 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29919
29920         * rt/tst-aio2.c: Include <pthread.h>.
29921         * rt/tst-aio3.c: Likewise.
29922
29923 2012-09-27  Steve Ellcey  <sellcey@mips.com>
29924
29925         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29926
29927 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
29928
29929         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29930         contents on [SHARED].
29931
29932 2012-09-26  Marek Polacek  <polacek@redhat.com>
29933
29934         [BZ #14530]
29935         [BZ #13741]
29936         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29937         for C++ and GCC <4.3 as well as for non GCC compilers.
29938
29939 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
29940
29941         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29942
29943 2012-09-25  Roland McGrath  <roland@hack.frob.com>
29944
29945         * Makefile.in (all, install): Declare with .PHONY.
29946         Reported by Michael Hope <michael.hope@linaro.org>.
29947
29948 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29949
29950         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29951         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29952         system header.
29953         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29954         Likewise.
29955         (sydep_routines): Add the new and the internal functions.
29956         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29957         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29959         (GLIBC_2.17): Add the new function.
29960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29961         (GLIBC_2.17): Likewise.
29962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29963         (GLIBC_2.17): Likewise.
29964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29965         (GLIBC_2.17): Likewise.
29966         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29967
29968 2012-09-25  Alan Modra  <amodra@gmail.com>
29969
29970         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29971         Add release barrier before setting once_control to say
29972         initialisation is done.  Add hints on lwarx.  Use macro in
29973         place of isync.
29974         (clear_once_control): Add release barrier.
29975
29976 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
29977
29978         [BZ #13629]
29979         * math/s_clog.c (__clog): Handle more values close to |z| = 1
29980         specially.
29981         * math/s_clog10.c (__clog10): Likewise.
29982         * math/s_clog10f.c (__clog10f): Likewise.
29983         * math/s_clog10l.c (__clog10l): Likewise.
29984         * math/s_clogf.c (__clogf): Likewise.
29985         * math/s_clogl.c (__clogl): Likewise.
29986         * math/Makefile (libm-calls): Add x2y2m1.
29987         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29988         (__x2y2m1): Likewise.
29989         (__x2y2m1l): Likewise.
29990         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29991         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29992         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29993         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29994         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29995         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29996         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29997         * sysdeps/i386/fpu/libm-test-ulps: Update.
29998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29999
30000         [BZ #14621]
30001         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30002         int as type of variable DEPTH.
30003         (glob): Use size_t instead of int as type of variables NEWCOUNT
30004         and OLD_PATHC.
30005
30006 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30007
30008         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30009         Add s_sincosf-sse2.
30010         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30011         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30012         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30013         macros for using routine as __sincosf_ia32.
30014         Use macro for function declaration and weak_alias.
30015         * sysdeps/i386/fpu/libm-test-ulps: Update.
30016
30017         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30018         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30019
30020         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30021         subnormal argument.
30022         * math/s_cexpf.c (__cexpf): Likewise.
30023         * math/s_csinf.c (__csinf): Likewise.
30024         * math/s_csinhf.c (__csinhf): Likewise.
30025         * math/s_ctanf.c (__ctanf): Likewise.
30026         * math/s_ctanhf.c (__ctanhf): Likewise.
30027         * math/s_ccosh.c (__ccoshf): Likewise.
30028         * math/s_cexp.c (__cexpl): Likewise.
30029         * math/s_csin.c (__csin): Likewise.
30030         * math/s_csinh.c (__csinh): Likewise.
30031         * math/s_ctan.c (__ctan): Likewise.
30032         * math/s_ctanh.c (ctanh): Likewise.
30033         * math/s_ccoshl.c (__ccoshl): Likewise.
30034         * math/s_cexpl.c (__cexpl): Likewise.
30035         * math/s_csinl.c (__csinl): Likewise.
30036         * math/s_csinhl.c (__csinhl): Likewise.
30037         * math/s_ctanl.c (__ctanl): Likewise.
30038         * math/s_ctanhl.c (__ctanhl): Likewise.
30039
30040 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30041
30042         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30043         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30044         (_IO_off_t): Define to __off_t, not _G_off_t.
30045         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30046         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30047         (_IO_wint_t): Define to wint_t, not _G_wint_t.
30048         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30049         type of __dummy and __dummy2 fields.
30050         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30051         (_G_ssize_t): Likewise.
30052         (_G_off_t): Likewise.
30053         (_G_pid_t): Likewise.
30054         (_G_uid_t): Likewise.
30055         (_G_wchar_t): Likewise.
30056         (_G_wint_t): Likewise.
30057         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30058         (_G_ssize_t): Likewise.
30059         (_G_off_t): Likewise.
30060         (_G_pid_t): Likewise.
30061         (_G_uid_t): Likewise.
30062         (_G_wchar_t): Likewise.
30063         (_G_wint_t): Likewise.
30064         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30065         (_G_ssize_t): Likewise.
30066         (_G_off_t): Likewise.
30067         (_G_pid_t): Likewise.
30068         (_G_uid_t): Likewise.
30069         (_G_wchar_t): Likewise.
30070         (_G_wint_t): Likewise.
30071
30072 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30073
30074         * malloc/arena.c: Include malloc-sysdep.h.
30075         (shrink_heap): Use check_may_shrink_heap to decide if madvise
30076         is sufficient to shrink the heap or an unmap is needed.
30077         * sysdeps/generic/malloc-sysdep.h: New file.  Define
30078         new function check_may_shrink_heap.
30079         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
30080         new function check_may_shrink_heap.
30081
30082 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30083
30084         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30085         comments.
30086
30087 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
30088
30089         * catgets/test-gencat.sh: Add "set -e".
30090         * elf/tst-pathopt.sh: Likewise.
30091         * grp/tst_fgetgrent.sh: Likewise.
30092         * iconvdata/run-iconv-test.sh: Likewise.
30093         * intl/tst-gettext.sh: Likewise.
30094         * intl/tst-gettext2.sh: Likewise.
30095         * intl/tst-gettext4.sh: Likewise.
30096         * intl/tst-gettext6.sh: Likewise.
30097         * intl/tst-translit.sh: Likewise.
30098         * io/ftwtest-sh: Likewise.
30099         * libio/test-freopen.sh: Likewise.
30100         * malloc/tst-mtrace.sh: Likewise.
30101         * posix/globtest.sh: Likewise.
30102         * posix/tst-getconf.sh: Likewise.
30103         * posix/wordexp-tst.sh: Likewise.
30104         * stdio-common/tst-printf.sh: Likewise.
30105         * stdio-common/tst-unbputc.sh: Likewise.
30106         * stdlib/tst-fmtmsg.sh: Likewise.
30107         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30108         * catgets/Makefile: Do not specify -e option when running
30109         testsuite shell scripts.
30110         * elf/Makefile: Likewise.
30111         * grp/Makefile: Likewise.
30112         * iconvdata/Makefile: Likewise.
30113         * intl/Makefile: Likewise.
30114         * io/Makefile: Likewise.
30115         * libio/Makefile: Likewise.
30116         * malloc/Makefile: Likewise.
30117         * posix/Makefile: Likewise.
30118         * stdio-common/Makefile: Likewise.
30119         * stdlib/Makefile: Likewise.
30120         * sysdeps/x86_64/Makefile: Likewise.
30121
30122         * io/ftwtest-sh: Add copyright header.
30123         * posix/globtest.sh: Likewise.
30124         * posix/tst-getconf.sh: Likewise.
30125         * posix/wordexp-tst.sh: Likewise.
30126         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30127
30128 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
30129
30130         [BZ #13679]
30131         * Makeconfig (+link): Defined as $(+link-static) if
30132         $(build-shared) isn't yes.
30133         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30134         isn't yes.
30135         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30136
30137         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30138
30139         [BZ #14562]
30140         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30141         new chunk size with MALLOC_ALIGN_MASK.
30142
30143 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
30144
30145         [BZ #5044]
30146         * stdio-common/printf_fphex.c: Include <stdbool.h> and
30147         <rounding-mode.h>.
30148         (__printf_fphex): Determine rounding using get_rounding_mode and
30149         round_away.
30150         * stdio-common/tst-printf-round.c (struct hex_test): New
30151         structure.
30152         (hex_tests): New variable.
30153         (test_hex_in_one_mode): New function.
30154         (do_test): Also run tests for hex float output.
30155
30156 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
30157
30158         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30159         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30160         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30161         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30162         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30163         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30164         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30165         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30166
30167 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
30168
30169         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30170         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30171         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30172         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30173
30174 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
30175
30176         [BZ #14579]
30177         * elf/rtld.c (dl_main): Limit the check for self loading to normal
30178         mode only.
30179         * elf/tst-rtld-load-self.sh: New test.
30180         * elf/Makefile: Run it.
30181
30182 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
30183
30184         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30185         (tst-writev-ENV): Remove.
30186         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30187
30188 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
30189
30190         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30191
30192 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
30193
30194         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30195         unconditional.
30196         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30197         Likewise.
30198         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30199         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30200         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30201         Likewise.
30202
30203 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
30204
30205         [BZ #14587]
30206         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30207         * config.make.in (have-cpp-asm-debuginfo): Removed.
30208         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30209         * configure: Regenerated.
30210
30211 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
30212
30213         [BZ #5044]
30214         * stdio-common/printf_fp.c: Include <stdbool.h> and
30215         <rounding-mode.h>.
30216         (___printf_fp): Determine rounding using get_rounding_mode and
30217         round_away.
30218         * stdio-common/tst-printf-round.c: New file.
30219         * stdio-common/Makefile (tests): Add tst-printf-round.
30220         (link-libm): New variable.
30221         ($(objpfx)tst-printf-round): Depend in $(link-libm).
30222
30223 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
30224
30225         [BZ #14576]
30226         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30227         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30228         Likewise.
30229         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30230         Likewise.
30231
30232 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
30233
30234         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30235         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30236         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30237         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30238
30239 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
30240
30241         [BZ #14518]
30242         * include/rounding-mode.h: New file.
30243         * sysdeps/generic/get-rounding-mode.h: Likewise.
30244         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30245         * stdlib/strtod_l.c: Include <rounding-mode.h>.
30246         (MAX_VALUE): New macro.
30247         (MIN_VALUE): Likewise.
30248         (overflow_value): New function.
30249         (underflow_value): Likewise.
30250         (round_and_return): Use overflow_value and underflow_value to
30251         determine return values in overflow and underflow cases.  Use
30252         round_away to determine rounding depending on rounding mode.
30253         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30254         determine return values in overflow and underflow cases.
30255         * stdlib/tst-strtod-round.c: Include <fenv.h>.
30256         (struct test_results): New structure.
30257         (struct test): Use struct test_results to store expected results
30258         for all rounding modes.
30259         (TEST): Include expected results for all rounding modes.
30260         (test_in_one_mode): New function.
30261         (do_test): Use test_in_one_mode to compute and check results.
30262         Check results for all rounding modes.
30263         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30264         $(link-libm).
30265
30266 2012-12-09  Allan McRae  <allan@archlinux.org>
30267
30268         * sysdeps/i386/fpu/libm-test-ulps: Update
30269
30270 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
30271
30272         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30273         (_G_int32_t): Likewise.
30274         (_G_uint16_t): Likewise.
30275         (_G_uint32_t): Likewise.
30276         (_G_HAVE_BOOL): Likewise.
30277         (_G_HAVE_ATEXIT): Likewise.
30278         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30279         (_G_HAVE_IO_FILE_OPEN): Likewise.
30280         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30281         (_G_int32_t): Likewise.
30282         (_G_uint16_t): Likewise.
30283         (_G_uint32_t): Likewise.
30284         (_G_HAVE_BOOL): Likewise.
30285         (_G_HAVE_ATEXIT): Likewise.
30286         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30287         (_G_HAVE_IO_FILE_OPEN): Likewise.
30288         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30289         (_G_int32_t): Likewise.
30290         (_G_uint16_t): Likewise.
30291         (_G_uint32_t): Likewise.
30292         (_G_HAVE_BOOL): Likewise.
30293         (_G_HAVE_ATEXIT): Likewise.
30294         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30295         (_G_HAVE_IO_FILE_OPEN): Likewise.
30296
30297 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
30298
30299         * csu/libc-tls.c: Update copyright years.
30300
30301 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
30302
30303         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30304         [!_G_USING_THUNKS]: Remove conditional code.
30305         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30306         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30307
30308         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30309         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30310         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30311         (_G_VTABLE_LABEL_PREFIX): Likewise.
30312         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30313         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30314         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30315         (_G_VTABLE_LABEL_PREFIX): Likewise.
30316         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30317         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30318         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30319         (_G_VTABLE_LABEL_PREFIX): Likewise.
30320         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30321
30322 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
30323
30324         * libio/Makefile: Include ../Makeconfig before tests.
30325         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30326         only if $(build-shared) is yes.
30327
30328         * iconv/gconv_db.c: Update copyright years.
30329
30330 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30331
30332         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30333         unwind info if defined PIC. Fix special cases description.
30334         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30335
30336         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30337         DP_HI_MASK entry.
30338         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30339
30340 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
30341
30342         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30343
30344         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30345         is NULL.
30346
30347         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30348         (LDLIBS-tst-chk4): This.
30349         (LDFLAGS-tst-chk5): Renamed to ...
30350         (LDLIBS-tst-chk5): This.
30351         (LDFLAGS-tst-chk6): Renamed to ...
30352         (LDLIBS-tst-chk6): This.
30353         (LDFLAGS-tst-lfschk4): Renamed to ...
30354         (LDLIBS-tst-lfschk4): This.
30355         (LDFLAGS-tst-lfschk5): Renamed to ...
30356         (LDLIBS-tst-lfschk5): This.
30357         (LDFLAGS-tst-lfschk6): Renamed to ...
30358         (LDLIBS-tst-lfschk6): This.
30359
30360         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30361         on $(common-objpfx)soversions.mk.
30362
30363 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
30364
30365         [BZ #10014]
30366         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30367         example host name.
30368
30369 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30370
30371         * malloc/arena.c (arena_get_retry): New function that gets
30372         another arena for the caller to try its request on.
30373         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30374         current arena cannot fulfill the request.
30375         (__libc_memalign): Likewise.
30376         (__libc_memalign): Likewise.
30377         (__libc_pvalloc): Likewise.
30378         (__libc_calloc): Likewise.
30379
30380 2012-09-05  John Tobey  <john.tobey@gmail.com>
30381
30382         [BZ #13542]
30383         * manual/arith.texi (Operations on Complex): Fix description
30384         of carg branch cut.
30385
30386 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30387
30388         [BZ #10014]
30389         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30390         host name.
30391
30392         [BZ #10038]
30393         * manual/memory.texi (Memory): Make order of menu items match
30394         order of sections.
30395
30396 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30397
30398         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30399         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
30400         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30401
30402 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30403
30404         * csu/libc-tls.c (static_dtv): Renamed to ...
30405         (_dl_static_dtv): This.  Make it global.
30406         (_dl_initial_dtv): Removed.
30407         (__libc_setup_tls): Updated.
30408         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30409         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30410         DL_INITIAL_DTV.
30411
30412 2012-09-06  Petr Machata  <pmachata@redhat.com>
30413
30414         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30415         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30416         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30417         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30418
30419 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30420
30421         [BZ #14545]
30422         * csu/libc-tls.c (_dl_initial_dtv): New variable.
30423         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30424         freeing dtv[-1].
30425
30426 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30427
30428         [BZ #14544]
30429         * Makeconfig (link-static-before-libc): Replace $(+prector)
30430         with $(+prectorT).
30431         (link-static-after-libc): Replace $(+postctor) with
30432         $(+postctorT).
30433         (link-bounded): Replace $(+prector)/$(+postctor) with
30434         $(+prectorT)/$(+postctorT).
30435         (+prectorT): New macro.
30436         (+postctorT): Likewise.
30437
30438 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30439
30440         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30441         (round_str): Handle values above the maximum for IBM long double
30442         as inexact.
30443         * stdlib/tst-strtod-round.c (tests): Regenerated.
30444
30445 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30446
30447         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30448         assembler flag.
30449         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30450         zarch_nohighgprs around the zarch optimized routines.
30451         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30452         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30453         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30454         for zarch.
30455
30456 2012-09-05  David S. Miller  <davem@davemloft.net>
30457
30458         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30459
30460         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30461         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30462         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30463         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30464         entries.
30465
30466 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30467
30468         * malloc/arena.c: Fold copyright years.
30469         * malloc/mcheck.c, malloc/memusage.c: Likewise.
30470
30471 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30472
30473         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30474
30475 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30476
30477         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
30478
30479 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30480
30481         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30482         change internal state upon failure.
30483
30484 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30485
30486         * malloc/mcheck.c (mcheck_check_all): Fix typo.
30487         * malloc/memusage.c (mmap): Likewise.
30488         (mmap64, mremap): Likewise.  Adjust name in comment.
30489
30490 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30491
30492         * libio/fileops.c: Fix typos in comments.
30493         * libio/oldfileops.c: Likewise.
30494         * libio/wfileops.c: Likewise.
30495
30496 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30497
30498         [BZ #1349]
30499         * malloc/Makefile (tests): Add tst-malloc-usable test case.
30500         (tst-malloc-usable-ENV): Set environment for test case.
30501         * malloc/hooks.c (malloc_check_get_size): New function to get
30502         requested size.
30503         * malloc/malloc.c (musable): Use malloc_check_get_size.
30504         * malloc/tst-malloc-usable.c: New test case.
30505
30506 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30507
30508         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30509
30510 2012-09-05  Allan McRae  <allan@archlinux.org>
30511
30512         [BZ #13966]
30513         * configure.in (CXX_SYSINCLUDES): Use compiler output to
30514         determine header location.
30515         * configure: Regenerated.
30516
30517 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30518
30519         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30520         float format.
30521         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30522         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30523         format.
30524         (test): Regenerate.
30525
30526 2012-09-04  David S. Miller  <davem@davemloft.net>
30527
30528         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30529         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30530         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30531
30532 2012-09-04  Florian Weimer  <fweimer@redhat.com>
30533
30534         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30535         failures.
30536
30537         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30538
30539 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
30540
30541         [BZ #9914]
30542         * libio/iogetdelim.c: Include <limits.h>.
30543         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30544         + len + 1 would overflow.
30545
30546 2012-09-03  Andreas Jaeger  <aj@suse.de>
30547
30548         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30549         * sysdeps/i386/fpu/libm-test-ulps: Update.
30550
30551 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30552
30553         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30554         Add s_sinf-sse2, s_conf-sse2.
30555
30556         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30557         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30558         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30559         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30560
30561         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30562         for using routine as __sinf_ia32.
30563         Use macro for function declaration and weak_alias.
30564         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30565         for using routine as __cosf_ia32.
30566         Use macro for function declaration and weak_alias.
30567
30568         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30569         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30570
30571         * sysdeps/x86_64/fpu/s_sinf.S: New file.
30572         * sysdeps/x86_64/fpu/s_cosf.S: New file.
30573         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30574
30575         * math/libm-test.inc (cos_test): Add more test cases.
30576         (sin_test): Likewise.
30577         (sincos_test): Likewise.
30578
30579 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30580
30581         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30582         (IFUNC_RESOLVE): Make pointers to the specialized implementations
30583         hidden.
30584         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30585
30586 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
30587
30588         [BZ #14538]
30589         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30590         first element of the GOT.
30591         (elf_machine_load_address): Return the difference between
30592         the runtime address of _DYNAMIC and elf_machine_dynamic ().
30593
30594 2012-09-01  Allan McRae  <allan@archlinux.org>
30595
30596         [BZ #13412]
30597         * configure.in (AWK): Require gawk version 3.0 or later.
30598         * configure: Regenerated.
30599
30600 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
30601
30602         * sysdeps/unix/sysv/linux/kernel-features.h
30603         (__ASSUME_POSIX_CPU_TIMERS): Remove.
30604         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30605         [__NR_clock_getres]: Make code unconditional.
30606         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30607         (clock_getcpuclockid): Remove code left unreachable by removal of
30608         conditionals.
30609         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30610         code unconditional.
30611         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30612         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30613         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30614         Make code unconditional.
30615         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30616         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30617         * sysdeps/unix/sysv/linux/clock_settime.c
30618         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30619         conditional code.
30620         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30621         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30622
30623 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
30624
30625         [BZ #14476]
30626         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30627         scripts/test-installation.pl.
30628
30629         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30630         and $ld_so_version if it is set.
30631
30632 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30633
30634         [BZ #14516]
30635         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30636         failure if reading from procfs failed.
30637         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30638
30639 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
30640
30641         * sysdeps/unix/sysv/linux/kernel-features.h
30642         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30643         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30644         Remove conditional code.
30645         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30646         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30647         Remove conditional code.
30648         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30649         * sysdeps/unix/sysv/linux/i386/fxstat.c
30650         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30651         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30652         * sysdeps/unix/sysv/linux/i386/fxstatat.c
30653         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30654         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30655         * sysdeps/unix/sysv/linux/i386/lxstat.c
30656         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30657         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30658         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30659         Remove conditional code.
30660         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30661         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30662         Remove conditional code.
30663         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30664         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30665         <kernel-features.h>.
30666         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30667         Remove.
30668         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30669         Remove conditional code.
30670         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30671         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30672         Remove conditional.
30673
30674 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
30675
30676         [BZ #5400]
30677         * NEWS: Add fixed bug number.
30678
30679 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
30680
30681         [BZ #14519]
30682         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30683         underflowing exponent in case of negative sign.
30684         * stdlib/tst-strtod-round-data: Add more tests.
30685         * stdlib/tst-strtod-round.c (tests): Regenerated.
30686
30687         [BZ #3479]
30688         * stdlib/strtod_l.c (NDIG): Remove.
30689         (HEXNDIG): Likewise.
30690         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30691         smallest representable value.
30692         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30693         lie within an exact representation of 1/2 ulp of the result.
30694         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30695         unconditionally.
30696         (TENS_P9_IDX): Define unconditionally.
30697         (TENS_P9_SIZE): Likewise.
30698         (TENS_P10_IDX): Likewise.
30699         (TENS_P10_SIZE): Likewise.
30700         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30701         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30702         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30703         entries for 10^2^13 and 10^2^14.
30704         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30705         (TENS_P13_IDX): Define.
30706         (TENS_P13_SIZE): Likewise.
30707         (TENS_P14_IDX): Likewise.
30708         (TENS_P14_SIZE): Likewise.
30709         (_fpioconst_pow10): Change array size to
30710         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
30711         unconditional.
30712         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30713         1024]: Add entries for 10^2^13 and 10^2^14.
30714         [LAST_POW10 > _LAST_POW10]: Remove #error.
30715         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30716         (_fpioconst_pow10): Change array size to
30717         FPIOCONST_POW10_ARRAY_SIZE.
30718         * stdlib/gen-fpioconst.c: New file.
30719         * stdlib/gen-tst-strtod-round.c: Likewise.
30720         * stdlib/tst-strtod-round-data: Likewise.
30721         * stdlib/tst-strtod-round.c: Likewise.
30722         * stdlib/Makefile (tests): Add tst-strtod-round.
30723
30724         [BZ #14459]
30725         * stdlib/strtod_l.c: Include <stdint.h>.
30726         (NDEBUG): Do not define.
30727         (round_and_return): Change EXPONENT parameter to type intmax_t.
30728         Rearrange calculations to avoid internal overflow possibilities.
30729         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30730         Rearrange calculations to avoid internal overflow possibilities.
30731         Assert that number fits inside MPNSIZE limbs.
30732         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30733         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
30734         calculations and add assertions to avoid internal overflow
30735         possibilities.  Add casts to avoid signed/unsigned operations.
30736         * stdlib/tst-strtod-overflow.c: New file.
30737         * stdlib/Makefile (tests): Add tst-strtod-overflow.
30738
30739 2012-08-25  Marek Polacek  <polacek@redhat.com>
30740
30741         * time/time.h: Fix some typos in comments.
30742
30743 2012-08-23  Roland McGrath  <roland@hack.frob.com>
30744
30745         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30746         * posix/tst-rfc3484-2.c: Likewise.
30747         * posix/tst-rfc3484-3.c: Likewise.
30748
30749 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
30750
30751         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30752         (EF_ARM_ABI_FLOAT_HARD): Likewise.
30753
30754 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
30755
30756         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30757         #include of fxstatat64.c.
30758
30759 2012-08-22  Roland McGrath  <roland@hack.frob.com>
30760
30761         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30762         * shadow/getspent_r.c: Likewise.
30763         * shadow/getspnam.c: Likewise.
30764         * shadow/getspnam_r.c: Likewise.
30765         * gshadow/getsgent.c: Likewise.
30766         * gshadow/getsgent_r.c: Likewise.
30767         * gshadow/getsgnam.c: Likewise.
30768         * gshadow/getsgnam_r.c: Likewise.
30769         * inet/getnetbyad.c: Likewise.
30770         * inet/getnetbyad_r.c: Likewise.
30771         * inet/getnetbynm.c: Likewise.
30772         * inet/getnetbynm_r.c: Likewise.
30773         * inet/getnetent.c: Likewise.
30774         * inet/getnetent_r.c: Likewise.
30775         * inet/getproto.c: Likewise.
30776         * inet/getproto_r.c: Likewise.
30777         * inet/getprtent.c: Likewise.
30778         * inet/getprtent_r.c: Likewise.
30779         * inet/getprtname.c: Likewise.
30780         * inet/getprtname_r.c: Likewise.
30781         * inet/getrpcbyname.c: Likewise.
30782         * inet/getrpcbyname_r.c: Likewise.
30783         * inet/getrpcbynumber.c: Likewise.
30784         * inet/getrpcbynumber_r.c: Likewise.
30785         * inet/getrpcent.c: Likewise.
30786         * inet/getrpcent_r.c: Likewise.
30787         * inet/getaliasent.c: Likewise.
30788         * inet/getaliasent_r.c: Likewise.
30789         * inet/getaliasname.c: Likewise.
30790         * inet/getaliasname_r.c: Likewise.
30791         * nscd/getgrgid_r.c: Likewise.
30792         * nscd/getgrnam_r.c: Likewise.
30793         * nscd/gethstbyad_r.c: Likewise.
30794         * nscd/gethstbynm3_r.c: Likewise.
30795         * nscd/getpwnam_r.c: Likewise.
30796         * nscd/getpwuid_r.c: Likewise.
30797         * nscd/getsrvbynm_r.c: Likewise.
30798         * nscd/getsrvbypt_r.c: Likewise.
30799         * nscd/gai.c: Likewise.
30800
30801         * configure.in (build_nscd): New substituted variable, set
30802         by --disable-build-nscd and defaults to $use_nscd.
30803         * configure: Regenerated.
30804         * config.make.in (build-nscd): New substituted variable.
30805         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30806         Change conditional to require [$(build-nscd) = yes] as well.
30807         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30808
30809         [BZ# 13696]
30810         * configure.in (use_nscd): New substituted variable, set by
30811         --disable-nscd.  If enabled, define USE_NSCD.
30812         * configure: Regenerated.
30813         * config.h.in: Add USE_NSCD.
30814         * config.make.in (use-nscd): New substituted variable.
30815         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30816         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30817         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30818         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30819         (CFLAGS-getgrnam_r.c): Likewise.
30820         (CFLAGS-initgroups.c): Likewise.
30821         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30822         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30823         Variables removed.
30824         * inet/getnetgrent_r.c
30825         (nscd_setnetgrent): New function, broken out of ...
30826         (setnetgrent): ... here.  Call it.
30827         (innetgr): Conditionalize nscd bits on [USE_NSCD].
30828         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30829         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30830         * nscd/Makefile (routines, aux): Move definitions after include of
30831         Makeconfig.  Conditionalize on [$(use-nscd) != no].
30832         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30833         Conditionalize on [USE_NSCD].
30834         (is_nscd, nscd_init_cb): Likewise.
30835         (nss_load_library): Conditionalize init callback on [USE_NSCD].
30836         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30837         * nss/nss_db/db-init.c: Likewise.
30838         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30839         [USE_NSCD].
30840         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30841         (make_request): Use it.
30842         (cache_valid_p): New function.
30843         (__check_pf): Use it.
30844         * NEWS: Add item for --disable-nscd.
30845
30846 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
30847
30848         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30849         to support sed >= 4.2.1-20-ga9bf076.
30850         * configure: Regenerated.
30851
30852 2012-08-22  Roland McGrath  <roland@hack.frob.com>
30853
30854         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30855         Conditionalize whole body on [IREL].
30856
30857 2012-08-22  Jeff Law <law@redhat.com>
30858
30859         [BZ #14505]
30860         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30861         if the family is PF_UNSPEC.
30862
30863 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
30864
30865         * Makerules (lib-version): Rename from V.
30866         (install-lib-nosubdir): Change V to lib-version.
30867
30868 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
30869
30870         [BZ #14252]
30871         * powerpc32/power6/wcschr.c: New file.
30872         * powerpc32/power6/wcscpy.c: New file.
30873         * powerpc32/power6/wcsrchr.c: New file.
30874         * powerpc64/power6/wcschr.c: New file.
30875         * powerpc64/power6/wcscpy.c: New file.
30876         * powerpc64/power6/wcsrchr.c: New file.
30877
30878 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
30879
30880         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30881         (two_way_short_needle): Use it.
30882         * string/strstr.c (AVAILABLE1_USES_J): Define.
30883         * string/strcasestr.c: Likewise.
30884
30885         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30886         array references.
30887         * string/strcasestr.c (TOLOWER): Make side-effect safe.
30888
30889         [BZ #11607]
30890         * NEWS: Add an entry.
30891         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30892         define their defaults.
30893         (two_way_short_needle): Detect end-of-string on-the-fly.
30894         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30895         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30896         * string/bug-strcasestr1.c: New test.
30897         * string/Makefile: Run it.
30898
30899 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
30900
30901         [BZ #11607]
30902         * string/str-two-way.h (two_way_short_needle): Optimize matching of
30903         the first character.
30904
30905 2012-08-21  Roland McGrath  <roland@hack.frob.com>
30906
30907         * csu/elf-init.c (__libc_csu_irel): Function removed.
30908         * csu/libc-start.c (apply_irel): New function.
30909         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30910
30911 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
30912
30913         * sysdeps/unix/sysv/linux/kernel-features.h
30914         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30915         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30916         <kernel-features.h>.
30917         [__NR_fadvise64_64]: Make code unconditional.
30918         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30919         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30920         !__NR_fadvise64_64)]: Likewise.
30921         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30922         !__NR_fadvise64_64))]: Likewise.
30923         [__NR_fadvise64]: Make code unconditional.
30924         [!__NR_fadvise64]: Remove conditional code.
30925         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30926         <kernel-features.h>.
30927         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30928         unconditional.
30929         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30930         conditional code.
30931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30932         not include <kernel-features.h>.
30933         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30934         unconditional.
30935         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30936         conditional code.
30937         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30938         include <kernel-features.h>.
30939         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30940         unconditional.
30941         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30942         conditional code.
30943
30944 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
30945
30946         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30947         slight instruction rearrangements per scrollpipe analysis.
30948         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30949
30950 2012-08-20  Roland McGrath  <roland@hack.frob.com>
30951
30952         * manual/syslog.texi (syslog; vsyslog, closelog):
30953         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30954         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30955
30956         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30957         DSOCAPS to match condition on defining it.
30958
30959 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
30960
30961         * sysdeps/unix/sysv/linux/kernel-features.h
30962         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30964         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30965         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30967         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30968         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30970         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30971         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30972
30973         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30974         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30975
30976         * sysdeps/unix/sysv/linux/kernel-features.h
30977         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30978         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30979         unconditional.
30980         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30981         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30982         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30983         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30984         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30985         Make code unconditional.
30986         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30987         (__mmap64) [!__NR_mmap2]: Likewise.
30988         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30989         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30990         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30991         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30992         [__NR_mmap2]: Make code unconditional.
30993         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30994         (__mmap64) [!__NR_mmap2]: Likewise.
30995
30996 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30997
30998         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30999
31000 2012-08-18  Andreas Jaeger  <aj@suse.de>
31001
31002         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31003
31004 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31005
31006         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31007         * include/unistd.h (__have_sock_cloexec): Likewise.
31008         (__have_pipe2): Likewise.
31009         (__have_dup3): Likewise.
31010
31011 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31012
31013         [BZ #9685]
31014         * include/unistd.h (__have_pipe2): Change define into an extern int.
31015         (__have_dup3): Likewise.
31016         * socket/have_sock_cloexec.c: Include fcntl.h.
31017         (__have_pipe2): New variable.
31018         (__have_dup3): Likewise.
31019
31020 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
31021
31022         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31023
31024 2012-08-17  Marek Polacek  <polacek@redhat.com>
31025
31026         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31027         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31028
31029 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31030
31031         * configure.in: Add AC_SUBST for sysheaders.
31032         * configure: Regenerated.
31033         * config.make.in (sysheaders): New substituted variable.
31034
31035         * sysdeps/unix/mkfifo.c: Moved ...
31036         * sysdeps/posix/mkfifo.c: ... here.
31037         * sysdeps/unix/mkfifoat.c: Moved ...
31038         * sysdeps/posix/mkfifoat.c: ... here.
31039
31040         * sysdeps/unix/utime.c: Moved ...
31041         * sysdeps/posix/utime.c: ... here.
31042
31043         * sysdeps/unix/time.c: Moved ...
31044         * sysdeps/posix/time.c: ... here.
31045         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31046         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31047
31048         * sysdeps/unix/nice.c: Moved ...
31049         * sysdeps/posix/nice.c: ... here.
31050
31051         * sysdeps/unix/alarm.c: Moved ...
31052         * sysdeps/posix/alarm.c: ... here.
31053
31054         * intl/Makefile ($(codeset_mo)): Depend on the input file.
31055
31056 2012-08-17  Jeff Law <law@redhat.com>
31057
31058         * intl/Makefile (codeset_mo): New variable.
31059         ($(codeset_mo)): New target.
31060         (tst-codeset.out): Depend on that.  Remove explicit rule.
31061         (tst-gettext3.out, tst-gettext5.out): Likewise.
31062         (LOCPATH-ENV, tst-codeset-ENV): New variables.
31063         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31064         * intl/tst-codeset.sh: Remove.
31065         * intl/tst-gettext3.sh: Likewise.
31066         * intl/tst-gettext5.sh: Likewise.
31067
31068 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31069
31070         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
31071         * sysdeps/unix/syscalls.list: ... here.
31072
31073         * sysdeps/posix/getaddrinfo.c
31074         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31075         (gaiconf_init, gaiconf_reload): Use them.
31076         [!_STATBUF_ST_NSEC]
31077         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31078         Define using time_t rather than struct timespec.
31079
31080         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31081         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31082         Macros removed.
31083         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31084         [!NO_THREADS].
31085         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31086         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31087         Likewise.
31088
31089         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31090         __libc_cleanup_push argument.
31091
31092         * bits/param.h: New file.
31093         * misc/sys/param.h: New file.
31094         * include/sys/param.h: New file.
31095         * misc/Makefile (headers): Add bits/param.h.
31096         * sysdeps/generic/sys/param.h: File removed.
31097         * sysdeps/unix/sysv/linux/bits/param.h: New file.
31098         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31099         * sysdeps/mach/hurd/bits/param.h: New file.
31100         * sysdeps/mach/hurd/sys/param.h: File removed.
31101
31102         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31103         last change.
31104
31105         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31106         [_IO_MTSAFE_IO].
31107         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31108         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31109         New macros.
31110
31111         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31112         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31113         rather than -D_IO_MTSAFE_IO conditionally.
31114         * stdio-common/Makefile (CPPFLAGS): Likewise.
31115         * wcsmbs/Makefile (CPPFLAGS): Likewise.
31116         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31117         Use $(libio-mtsafe).
31118         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31119         of -D_IO_MTSAFE_IO.
31120         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31121         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31122         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31123         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31124         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31125         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31126         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31127         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31128         (CFLAGS-fread_u_chk.c): Likewise.
31129         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31130         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31131         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31132         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31133         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31134         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31135         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31136         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31137         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31138
31139         * libio/Makefile: Test [$(libc-reentrant) = yes]
31140         instead of [$(filter %REENTRANT, $(defines)) nonempty].
31141
31142         * Makeconfig
31143         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31144         * sysdeps/pthread/configure: File removed.
31145         * sysdeps/pthread/Makeconfig: New file.
31146         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31147         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31148
31149 2012-08-16  Gary Benson  <gbenson@redhat.com>
31150
31151         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31152         unmapping the first object in a namespace.
31153
31154 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31155
31156         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31157         (__internal_setnetgrent): ... this.  Add internal_function to
31158         definition.  Add libc_hidden_def.
31159         (setnetgrent): Update caller.
31160         (internal_endnetgrent): Renamed to ...
31161         (__internal_endnetgrent): ... this.  Add internal_function to
31162         definition.  Add libc_hidden_def.
31163         (endnetgrent): Update caller.
31164         (internal_getnetgrent_r): Renamed to ...
31165         (__internal_getnetgrent_r): ... this.  Add internal_function to
31166         definition.  Add libc_hidden_def.
31167         (__getnetgrent_r): Update caller.
31168         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
31169
31170 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31171
31172         * stdlib/longlong.h: Update from GCC.
31173
31174 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31175
31176         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31177         on _QL, which is set by umul_ppmm but never used.
31178         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31179         variables, which are set by GMP macros but never used.
31180         * stdio-common/_itowa.c (_itowa): Likewise.
31181         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31182         * stdlib/mod_1.c (mpn_mod_1): Likewise.
31183
31184 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
31185
31186         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31187         struct La_sh_regs is not constant.
31188         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31189         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31190         and struct La_sparc64_regs are not constant.
31191
31192 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31193
31194         * sysdeps/unix/sysv/linux/kernel-features.h
31195         (__ASSUME_POSIX_TIMERS): Remove.
31196         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31197         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31198         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31199         Make code unconditional.
31200         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31201         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31202         Make code unconditional.
31203         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31204         * sysdeps/unix/sysv/linux/clock_nanosleep.c
31205         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31206         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31207         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31208         Make code unconditional.
31209         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31210         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31211         (__libc_missing_posix_timers): Remove.
31212
31213 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31214
31215         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31216         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31217
31218         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31219
31220         * elf/dl-sym.c: Include <stdlib.h>.
31221
31222         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31223         constants, which avoids warnings in 32-bit builds.
31224
31225         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31226         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31227
31228         * misc/lseek.c: File moved to ...
31229         * io/lseek.c: ... here.
31230
31231         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31232
31233         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31234         shifting LEN more than 31 bits at once.
31235
31236 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31237
31238         [BZ #14195]
31239         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31240         segmentation fault for a case of two empty input strings.
31241         * string/test-strncasecmp.c (check1): Renamed to...
31242         (bz12205): ...this.
31243         (bz14195): Add new testcase for two empty input strings and N > 0.
31244         (test_main): Call new testcase, adapt for renamed function.
31245
31246 2012-08-15  Andreas Jaeger  <aj@suse.de>
31247
31248         [BZ #14090]
31249         * crypt/md5test2.c: New test, based on test supplied by Serge
31250         Belyshev <belyshev@depni.sinp.msu.ru>.
31251         * crypt/Makefile (xtests): Add md5test-giant..
31252         * crypt/Makefile ($(objpfx)md5test-giant): Add.
31253
31254 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
31255
31256         [BZ #14090]
31257         * crypt/md5.c (md5_process_block): Don't assume the buffer
31258         length is less than 2**32.
31259         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31260         length is less than 2**64.
31261
31262 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31263
31264         * string/str-two-way.h: Include <sys/param.h>.
31265         (MAX): Macro removed.
31266
31267         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31268         Move #define and #undef of memmove to just before and after
31269         including <string.h>.
31270
31271         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31272         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31273         and after including <string.h>.  Move declarations of
31274         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31275         to before #include "string/memmove.c".
31276
31277         * include/dirent.h: Declare __getdirentries.
31278
31279         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31280         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31281
31282 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
31283
31284         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31285         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31286         * sysdeps/i386/configure: Regenerated.
31287         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31288         STABS_CURRENT_FILE, and STABS_FUN.
31289         (END): Remove call to STABS_FUN_END.
31290         (STABS_CURRENT_FILE1): Delete.
31291         (STABS_CURRENT_FILE): Likewise.
31292         (STABS_FUN): Likewise.
31293         (STABS_FUN_END): Likewise.
31294         (STABS_FUN2): Likewise.
31295         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31296         * sysdeps/x86_64/configure: Regenerated.
31297
31298 2012-08-14  Roland McGrath  <roland@hack.frob.com>
31299
31300         * elf/dl-open.c: Include <atomic.h>.
31301         * elf/dl-lookup.c: Likewise.
31302
31303 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
31304
31305         * sysdeps/unix/sysv/linux/kernel-features.h
31306         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31307         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31308         unconditionally.
31309         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31310         unconditionally.
31311         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31312         condition on __ASSUME_CLONE_THREAD_FLAGS.
31313
31314 2012-08-14  Andreas Jaeger  <aj@suse.de>
31315
31316         * sysdeps/i386/fpu/libm-test-ulps: Update.
31317
31318 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
31319
31320         * include/atomic.h (atomic_exchange_and_add): Split into ...
31321         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31322         New atomic macros.
31323
31324 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
31325
31326         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31327
31328 2012-08-13  Jeff Law <law@redhat.com>
31329
31330         * manual/stdio.texi (snprintf): Clarify handling of the trailing
31331         null byte in the output string.
31332
31333 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
31334
31335         * sysdeps/unix/sysv/linux/kernel-features.h
31336         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31337         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31338         (__ASSUME_ARG_MAX_STACK_BASED): Define.
31339         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31340         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31341         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
31342         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31343
31344 2012-08-09  Jeff Law <law@redhat.com>
31345
31346         [BZ #13939]
31347         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31348         When avoid_arena is set, don't retry in the that arena.  Pick the
31349         next one, whatever it might be.
31350         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31351         (arena_lock): Pass in new parameter to arena_get2.
31352         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31353         arena_get2.
31354         (__libc_malloc): Unify retrying after main arena failure with
31355         __libc_memalign version.
31356         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31357
31358 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
31359
31360         [BZ #14166]
31361         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31362         to __redirect_strstr.
31363         (__strstr_sse42): Use typeof __redirect_strstr.
31364         (__strstr_ia32): Likewise.
31365         (__libc_strstr): New prototype.
31366         (strstr): Renamed to ...
31367         (__libc_strstr): This.
31368         (strstr): New strong alias of __libc_strstr.
31369         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31370         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31371         __redirect_time.
31372         Include <time.h>.
31373         (__libc_time): New prototype.
31374         (time_ifunc): Replace time with __libc_time.
31375         (time): New strong alias and hidden definition of __libc_time.
31376         (__GI_time): Remove strong alias.
31377         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31378         Include <stddef.h>.
31379         (memmove): Redefined to __redirect_memmove.
31380         (__memmove_sse2): Use typeof __redirect_memmove.
31381         (__memmove_ssse3): Likewise.
31382         (__memmove_ssse3_back): Likewise.
31383         (__libc_memmove): New prototype.
31384         (memmove): Renamed to ...
31385         (__libc_memmove): This.
31386         (memmove): New strong alias of __libc_memmove.
31387
31388 2012-08-08  Mark Salter  <msalter@redhat.com>
31389
31390         * elf/elf.h
31391         (R_MN10300_TLS_GD): Define.
31392         (R_MN10300_TLS_LD): Likewise.
31393         (R_MN10300_TLS_LDO): Likewise.
31394         (R_MN10300_TLS_GOTIE): Likewise.
31395         (R_MN10300_TLS_IE): Likewise.
31396         (R_MN10300_TLS_LE): Likewise.
31397         (R_MN10300_TLS_DTPMOD): Likewise.
31398         (R_MN10300_TLS_DTPOFF): Likewise.
31399         (R_MN10300_TLS_TPOFF): Likewise.
31400         (R_MN10300_SYM_DIFF): Likewise.
31401         (R_MN10300_ALIGN): Likewise.
31402         (R_MN10300_NUM): Update.
31403
31404 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
31405
31406         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31407         Remove.
31408
31409 2012-08-08  Roland McGrath  <roland@hack.frob.com>
31410
31411         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31412
31413         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31414         sysdeps/unix -> sysdeps/posix move.
31415         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31416
31417 2012-08-07      Allan McRae     <allan@archlinux.org>
31418
31419         [BZ #14303]
31420         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31421         (SUNOS_CPP): Likewise.
31422         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31423         not found.
31424         (open_input): Call CPP using execvp.
31425
31426 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
31427
31428         * sysdeps/unix/sysv/linux/kernel-features.h
31429         (__ASSUME_PROT_GROWSUPDOWN): Remove.
31430         (__ASSUME_NO_CLONE_DETACHED): Likewise.
31431         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31432         (__ASSUME_WAITID_SYSCALL): Likewise.
31433         * sysdeps/unix/sysv/linux/dl-execstack.c
31434         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31435         code unconditional.
31436         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31437         conditional code.
31438         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31439         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31440         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31441         code.
31442         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31443         unconditional.
31444         [__ASSUME_WAITID_SYSCALL]: Likewise.
31445         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31446
31447 2012-08-07  Roland McGrath  <roland@hack.frob.com>
31448
31449         * sysdeps/unix/closedir.c: Renamed to ...
31450         * sysdeps/posix/closedir.c: ... here.
31451         * sysdeps/unix/dirfd.c: Renamed to ...
31452         * sysdeps/posix/dirfd.c: ... here.
31453         * sysdeps/unix/dirstream.h: Renamed to ...
31454         * sysdeps/posix/dirstream.h: ... here.
31455         * sysdeps/unix/fdopendir.c: Renamed to ...
31456         * sysdeps/posix/fdopendir.c: ... here.
31457         * sysdeps/unix/opendir.c: Renamed to ...
31458         * sysdeps/posix/opendir.c: ... here.
31459         * sysdeps/unix/readdir.c: Renamed to ...
31460         * sysdeps/posix/readdir.c: ... here.
31461         * sysdeps/unix/readdir_r.c: Renamed to ...
31462         * sysdeps/posix/readdir_r.c: ... here.
31463         * sysdeps/unix/rewinddir.c: Renamed to ...
31464         * sysdeps/posix/rewinddir.c: ... here.
31465         * sysdeps/unix/seekdir.c: Renamed to ...
31466         * sysdeps/posix/seekdir.c: ... here.
31467         * sysdeps/unix/telldir.c: Renamed to ...
31468         * sysdeps/posix/telldir.c: ... here.
31469         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31470         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31471         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31472         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31473
31474         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31475         * bits/fcntl.h: ... here.
31476
31477         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31478         not 0.
31479         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31480         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31481         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31482         (struct flock): Move l_start, l_len to the beginning.
31483         Use __pid_t for l_pid.
31484         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31485         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31486         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31487         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31488         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31489         [__USE_LARGEFILE64] (struct flock64): New type.
31490         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31491
31492         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31493         * bits/dirent.h: ... here.
31494
31495         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31496         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31497
31498 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
31499
31500         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31501         Change from 2.6.0 to 2.6.16.
31502         * sysdeps/unix/sysv/linux/configure: Regenerated.
31503         * sysdeps/unix/sysv/linux/kernel-features.h
31504         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31505         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31506         version.
31507         (__ASSUME_UTIMES): Likewise.
31508         (__ASSUME_CLONE_STOPPED): Remove.
31509         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31510         architectures, not kernel version.
31511         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31512         (__ASSUME_NO_CLONE_DETACHED): Likewise.
31513         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31514         (__ASSUME_WAITID_SYSCALL): Likewise.
31515         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31516         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31517         * README: State 2.6.16 as minimum Linux kernel version.  Do not
31518         refer to older versions.
31519
31520 2012-08-06  Roland McGrath  <roland@hack.frob.com>
31521
31522         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31523         Define alphasort64 as an alias.
31524         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31525         Define versionsort64 as an alias.
31526         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31527         Define scandir64 as an alias.
31528         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31529         Define scandirat64 as an alias.
31530         * dirent/alphasort64.c (alphasort64):
31531         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31532         * dirent/versionsort64.c: Likewise.
31533         * dirent/scandir64.c: Likewise.
31534         * dirent/scandirat64.c: Likewise.
31535         * sysdeps/wordsize-64/alphasort.c: File removed.
31536         * sysdeps/wordsize-64/alphasort64.c: File removed.
31537         * sysdeps/wordsize-64/scandir.c: File removed.
31538         * sysdeps/wordsize-64/scandir64.c: File removed.
31539         * sysdeps/wordsize-64/scandirat.c: File removed.
31540         * sysdeps/wordsize-64/scandirat64.c: File removed.
31541         * sysdeps/wordsize-64/versionsort.c: File removed.
31542         * sysdeps/wordsize-64/versionsort64.c: File removed.
31543         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31544         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31545         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31546         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31547         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31548         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31549         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31550         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31551
31552         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31553         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31554         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31555         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31556         [defined __arch64__ || defined __sparcv9]
31557         (__INO_T_MATCHES_INO64_T): New macro.
31558         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31559         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31560         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31561         * sysdeps/unix/sysv/linux/bits/dirent.h
31562         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31563         (_DIRENT_MATCHES_DIRENT64): New macro.
31564
31565         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31566         Define lockf64 as an alias.
31567         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31568         Define fseeko64 as an alias.
31569         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31570         Define ftello64 as an alias.
31571         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31572         Define _IO_fgetpos64 and fgetpos64 as aliases.
31573         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31574         Define _IO_fsetpos64 and fsetpos64 as aliases.
31575         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31576         Conditionalize body on this.
31577         * libio/fseeko64.c: Likewise.
31578         * libio/ftello64.c: Likewise.
31579         * libio/iofgetpos64.c: Likewise.
31580         * libio/iofsetpos64.c: Likewise.
31581         * sysdeps/wordsize-64/lockf.c: File removed.
31582         * sysdeps/wordsize-64/lockf64.c: File removed.
31583         * sysdeps/wordsize-64/fseeko.c: File removed.
31584         * sysdeps/wordsize-64/fseeko64.c: File removed.
31585         * sysdeps/wordsize-64/ftello.c: File removed.
31586         * sysdeps/wordsize-64/ftello64.c: File removed.
31587         * sysdeps/wordsize-64/iofgetpos.c: File removed.
31588         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31589         * sysdeps/wordsize-64/iofsetpos.c: File removed.
31590         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31591         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31592         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31593         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31594         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31595         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31596         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31597         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31598         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31599         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31600         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31601
31602         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31603         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31604         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31605         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31606         [defined __arch64__ || defined __sparcv9]
31607         (__OFF_T_MATCHES_OFF64_T): New macro.
31608         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31609         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31610         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31611         (__OFF_T_MATCHES_OFF64_T): New macro.
31612
31613 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
31614
31615         * stdlib/secure-getenv.c (__secure_getenv): Replace
31616         GLIBC_2_16 with GLIBC_2_17.
31617
31618 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
31619
31620         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31621         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31622
31623 2012-08-03  David S. Miller  <davem@davemloft.net>
31624
31625         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31626
31627 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
31628
31629         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31630         Remove.
31631         (__ASSUME_CORRECT_SI_PID): Likewise.
31632         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31633         (__ASSUME_TMPFS_NAME): Likewise.
31634         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31635         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31636         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31637         (HAVE_AUX_SECURE): Make definition unconditional.
31638         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31639         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31640
31641 2012-08-03  Roland McGrath  <roland@hack.frob.com>
31642
31643         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31644         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31645         * sysdeps/mach/hurd/eloop-threshold.h: New file.
31646         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31647         __eloop_threshold instead of SYMLOOP_MAX.
31648
31649         * sysdeps/generic/eloop-threshold.h: New file.
31650         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31651         of MAXSYMLINKS.
31652         * elf/chroot_canon.c (chroot_canon): Likewise.
31653
31654 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
31655
31656         [BZ #13717]
31657         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31658         Change to 2.6.0 everywhere.
31659         * sysdeps/unix/sysv/linux/configure: Regenerated.
31660         * sysdeps/unix/sysv/linux/kernel-features.h
31661         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31662         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31663         kernel versions.
31664         (__ASSUME_POSIX_TIMERS): Define unconditionally.
31665         (__ASSUME_FUTEX_REQUEUE): Remove.
31666         (__ASSUME_STATFS64): Define unconditionally.
31667         (__ASSUME_AT_SECURE): Likewise.
31668         (__ASSUME_CORRECT_SI_PID): Likewise.
31669         (__ASSUME_TGKILL): Define without depending on kernel version for
31670         i386.
31671         (__ASSUME_UTIMES): Likewise.
31672         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31673         kernel version.
31674         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31675         (__ASSUME_TMPFS_NAME): Likewise.
31676         * README: Update reference to Linux kernel versions.
31677
31678 2012-08-02  Marek Polacek  <polacek@redhat.com>
31679
31680         [BZ# 14150]
31681         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
31682         libc_cv_asm_type_prefix with %.
31683         * configure: Regenerated.
31684         * include/libc-symbols.h: Remove comment about
31685         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31686         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31687         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31688         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31689         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31690         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31691         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31692         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31693         * elf/tst-unique2mod1.c: Likewise.
31694         * elf/tst-unique1mod2.c: Likewise.
31695         * elf/tst-unique1mod1.c: Likewise.
31696         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31697         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31698         Replace ASM_TYPE_DIRECTIVE with .type.
31699         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31700         * sysdeps/i386/sysdep.h: Likewise.
31701         * sysdeps/x86_64/sysdep.h: Likewise.
31702         * sysdeps/sh/sysdep.h: Likewise.
31703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31704         Do not define ASM_TYPE_DIRECTIVE.
31705         * sysdeps/powerpc/sysdep.h: Likewise.
31706         * sysdeps/powerpc/powerpc32/sysdep.h:
31707         Replace ASM_TYPE_DIRECTIVE with .type.
31708         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31709         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31710         * sysdeps/i386/fpu/e_powf.S: Likewise.
31711         * sysdeps/i386/fpu/e_expl.S: Likewise.
31712         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31713         * sysdeps/i386/fpu/e_acosh.S: Likewise.
31714         * sysdeps/i386/fpu/e_pow.S: Likewise.
31715         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31716         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31717         * sysdeps/i386/fpu/s_expm1.S: Likewise.
31718         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31719         * sysdeps/i386/fpu/e_log2.S: Likewise.
31720         * sysdeps/i386/fpu/e_log2l.S: Likewise.
31721         * sysdeps/i386/fpu/e_scalb.S: Likewise.
31722         * sysdeps/i386/fpu/e_powl.S: Likewise.
31723         * sysdeps/i386/fpu/e_log10f.S: Likewise.
31724         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31725         * sysdeps/i386/fpu/e_logl.S: Likewise.
31726         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31727         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31728         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31729         * sysdeps/i386/fpu/e_log2f.S: Likewise.
31730         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31731         * sysdeps/i386/fpu/e_log.S: Likewise.
31732         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31733         * sysdeps/i386/fpu/e_logf.S: Likewise.
31734         * sysdeps/i386/fpu/e_log10l.S: Likewise.
31735         * sysdeps/i386/fpu/e_atanh.S: Likewise.
31736         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31737         * sysdeps/i386/fpu/e_log10.S: Likewise.
31738         * sysdeps/i386/fpu/s_frexp.S: Likewise.
31739         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31740         * sysdeps/i386/fpu/s_asinh.S: Likewise.
31741         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31742         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31743         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31744         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31745         * sysdeps/i386/i686/strtok.S: Likewise.
31746         * sysdeps/i386/i386-mcount.S: Likewise.
31747         * sysdeps/i386/strtok.S: Likewise.
31748         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31749         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31750         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31751         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31752         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31753         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31754         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31755         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31756         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31757         * sysdeps/x86_64/_mcount.S: Likewise.
31758         * sysdeps/x86_64/strtok.S: Likewise.
31759         * sysdeps/sh/_mcount.S: Likewise.
31760
31761 2012-08-01  Roland McGrath  <roland@hack.frob.com>
31762
31763         * libio/iofopen.c: Include <fcntl.h>.
31764         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31765         (_IO_fopen64, fopen64): Define as aliases.
31766         * libio/iofopen64.c: Include <fcntl.h>.
31767         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31768         Conditionalize body on this.
31769         * sysdeps/wordsize-64/iofopen.c: File removed.
31770         * sysdeps/wordsize-64/iofopen64.c: File removed.
31771
31772 2012-08-01  Marek Polacek  <polacek@redhat.com>
31773
31774         * libc/Makeconfig: Use elf in place of binfmt-subdir.
31775         Use dlfcn directly instead of a variable.
31776         (binfmt-subdir): Do not define.
31777         (dlfcn): Likewise.
31778
31779 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
31780
31781         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31782         Remove all definitions.
31783         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31784         <kernel-features.h>.
31785         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31786         (miss_F_GETOWN_EX): Remove all definitions.
31787         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31788         macro definition.
31789         [!__ASSUME_FCNTL64]: Remove conditional code.
31790         [__ASSUME_FCNTL64]: Make code unconditional.
31791         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31792         <kernel-features.h>.
31793         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31794         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31795         (lockf64) [__NR_fcntl64]: Make code unconditional.
31796         (lockf64) [__ASSUME_FCNTL64]: Likewise.
31797
31798         * sysdeps/unix/sysv/linux/kernel-features.h
31799         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31800         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31801         Make code unconditional.
31802         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31803         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31805         [__NR_vfork]: Make code unconditional.
31806         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31807         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31809         [__NR_vfork]: Make code unconditional.
31810         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31811         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31812
31813 2012-08-01  Roland McGrath  <roland@hack.frob.com>
31814
31815         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31816         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31817
31818         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31819         Define mkstemp64 as an alias.
31820         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31821         Define mkstemps64 as an alias.
31822         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31823         Define mkostemp64 as an alias.
31824         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31825         Define mkostemps64 as an alias.
31826         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31827         Conditionalize body on this.
31828         * misc/mkostemp64.c: Likewise.
31829         * misc/mkostemps64.c: Likewise.
31830         * misc/mkstemps64.c: Likewise.
31831         * sysdeps/wordsize-64/mkstemp64.c: File removed.
31832         * sysdeps/wordsize-64/mkostemp64.c: File removed.
31833         * sysdeps/wordsize-64/mkostemp.c: File removed.
31834         * sysdeps/wordsize-64/mkstemp.c: File removed.
31835         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31836         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31837         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31838         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31839
31840         [BZ #14138]
31841         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31842         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31843         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31844         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31845
31846         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31847         compat_symbol macros from <shlib-compat.h> rather than the underlying
31848         default_symbol_version and symbol_version macros, so that DEFAULT
31849         lines in shlib-versions are respected.
31850         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31851
31852 2012-08-01  Florian Weimer  <fweimer@redhat.com>
31853
31854         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31855         Declare with warn_unused_result.
31856         (setgid, setregid, setegid, setresgid): Likewise.
31857         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31858         Likewise.
31859         * WUR-REPORT: Remove set*id functions.
31860
31861 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
31862
31863         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31864
31865 2012-07-31  Roland McGrath  <roland@hack.frob.com>
31866
31867         [BZ #10191]
31868         * include/sys/socket.h (__libc_accept, __libc_accept4):
31869         Add attribute_hidden.
31870         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31871
31872         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31873         use of PTR_MANGLE.
31874         * inet/getnetgrent_r.c (setup): Likewise.
31875
31876         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31877
31878 2012-07-31  David S. Miller  <davem@davemloft.net>
31879
31880         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31881
31882 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
31883
31884         [BZ #13629]
31885         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31886         value between 1.0 and 2.0 and smaller part has absolute value less
31887         than 1.0.
31888         * math/s_clog10.c (__clog10): Likewise.
31889         * math/s_clog10f.c (__clog10f): Likewise.
31890         * math/s_clog10l.c (__clog10l): Likewise.
31891         * math/s_clogf.c (__clogf): Likewise.
31892         * math/s_clogl.c (__clogl): Likewise.
31893         * math/libm-test.inc (clog_test): Add more tests.
31894         (clog10_test): Likewise.
31895         * sysdeps/i386/fpu/libm-test-ulps: Update.
31896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31897
31898 2012-07-31  Florian Weimer  <fweimer@redhat.com>
31899
31900         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31901         Exit with zero in case no suitable GID is found, and write a
31902         message to standard error.
31903
31904 2012-07-30  Roland McGrath  <roland@hack.frob.com>
31905
31906         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31907         rather than to 1.
31908         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31909         (MAXPATHLEN): Removed.
31910         (NOGROUP, NODEV): New macros.
31911         (setbit, clrbit, isset, isclr): New macros.
31912         (howmany, roundup, powerof2): New macros.
31913         (DEV_BSIZE): New macro.
31914
31915         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31916         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31917
31918         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31919         definition on [!__NO_LONG_DOUBLE_MATH].
31920
31921         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31922         PTR_MANGLE and PTR_DEMANGLE.
31923
31924         * socket/accept4.c (accept4): Rename to __libc_accept4.
31925         Define accept4 as a weak alias.
31926
31927         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31928         on [_DIRENT_HAVE_D_TYPE].
31929         * io/ftw.c (ftw_dir): Likewise.
31930
31931         * io/xmknod.c (__xmknod): Don't check PATH for being null.
31932
31933         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31934
31935         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31936         Use the BSD numbers rather than the arbitrary ones we had.
31937         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31938         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31939         (SIGXCPU, SIGXFSZ): New macros.
31940         (_NSIG): Now 32.
31941
31942         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31943         initializer on [_LIBC_REENTRANT].
31944
31945         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31946         definitions inside [_POSIX_MAPPED_FILES].
31947
31948         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31949
31950         * dirent/opendir.c: Include <fcntl.h>.
31951
31952         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31953         (__libc_getspecific): Likewise.
31954         (__libc_key_create): Likewise.
31955
31956         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31957         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31958         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31959         (tmpfile64): Define as alias.
31960         * sysdeps/wordsize-64/tmpfile.c: File removed.
31961         * sysdeps/wordsize-64/tmpfile64.c: File removed.
31962         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31963         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31964
31965         * stdio-common/vfscanf.c: Include <stdbool.h>.
31966         * nss/makedb.c: Likewise.
31967         * stdio-common/_i18n_number.h: Likewise.
31968         * argp/argp-help.c: Likewise.
31969         * posix/wordexp.c: Likewise.
31970         * sysdeps/posix/spawni.c: Likewise.
31971         * nss/nss_files/files-initgroups.c: Likewise.
31972         * stdio-common/reg-modifier.c: Include <stdlib.h>.
31973         * nss/nss_files/files-initgroups.c: Likewise.
31974         * nss/nss_db/db-netgrp.c: Likewise.
31975         * nss/nss_db/db-initgroups.c: Likewise.
31976         * io/fchmodat.c: Include <sys/stat.h>.
31977
31978         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31979         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31980
31981         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31982         [HAVE_MMAP].
31983
31984         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31985         Add multiple inclusion protection.
31986
31987 2012-07-27  David S. Miller  <davem@davemloft.net>
31988
31989         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31990
31991 2012-07-27  Gary Benson  <gbenson@redhat.com>
31992
31993         [BZ #14298]
31994         * elf/rtld.c: Include <stap-probe.h>.
31995         (dl_main): Added static probes "init_start" and "init_complete".
31996         * elf/dl-load.c: Include <stap-probe.h>.
31997         (lose): Take new parameter "nsid".
31998         Added static probe "map_failed".
31999         (_dl_map_object_from_fd): Pass namespace id to lose.
32000         Added static probe "map_start".
32001         (open_verify): Pass namespace id to lose.
32002         * elf/dl-open.c: Include <stap-probe.h>.
32003         (dl_open_worker) Added static probes "map_complete", "reloc_start"
32004         and "reloc_complete".
32005         * elf/dl-close.c: Include <stap-probe.h>.
32006         (_dl_close_worker): Added static probes "unmap_start" and
32007         "unmap_complete".
32008         * elf/rtld-debugger-interface.txt: New file documenting the above.
32009
32010 2012-07-26  Roland McGrath  <roland@hack.frob.com>
32011
32012         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32013         rather than a string variable.
32014         * sunrpc/rpc_main.c (h_output): Likewise.
32015         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32016
32017 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
32018
32019         * inet/check_native.c: New file.
32020
32021 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
32022
32023         [BZ #13629]
32024         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32025         if larger part has absolute value 1.0.
32026         * math/s_clog10.c (__clog10): Likewise.
32027         * math/s_clog10f.c (__clog10f): Likewise.
32028         * math/s_clog10l.c (__clog10l): Likewise.
32029         * math/s_clogf.c (__clogf): Likewise.
32030         * math/s_clogl.c (__clogl): Likewise.
32031         * math/libm-test.inc (clog_test): Add more tests.
32032         (clog10_test): Likewise.
32033         * sysdeps/i386/fpu/libm-test-ulps: Update.
32034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32035
32036         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32037         (pltexit): Likewise.
32038         (La_regs): Likewise.
32039         (La_retval): Likewise.
32040         (int_retval): Likewise.
32041         Update #error for removed macros to refer only to definitions in
32042         tst-audit.h.
32043         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32044         macro.
32045         (pltexit): Likewise.
32046         (La_regs): Likewise.
32047         (La_retval): Likewise.
32048         (int_retval): Likewise.
32049         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32050         macro.
32051         (pltexit): Likewise.
32052         (La_regs): Likewise.
32053         (La_retval): Likewise.
32054         (int_retval): Likewise.
32055         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32056         macro.
32057         (pltexit): Likewise.
32058         (La_regs): Likewise.
32059         (La_retval): Likewise.
32060         (int_retval): Likewise.
32061         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32062         macro.
32063         (pltexit): Likewise.
32064         (La_regs): Likewise.
32065         (La_retval): Likewise.
32066         (int_retval): Likewise.
32067         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32068         macro.
32069         (pltexit): Likewise.
32070         (La_regs): Likewise.
32071         (La_retval): Likewise.
32072         (int_retval): Likewise.
32073         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32074         macro.
32075         (pltexit): Likewise.
32076         (La_regs): Likewise.
32077         (La_retval): Likewise.
32078         (int_retval): Likewise.
32079         * sysdeps/generic/tst-audit.h: Update comment to refer only to
32080         macro definitions in tst-audit.h.
32081         * sysdeps/i386/tst-audit.h: New file.
32082         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32083         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32084         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32085         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32086         * sysdeps/sh/tst-audit.h: Likewise.
32087         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32088         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32089         * sysdeps/x86_64/tst-audit.h: Likewise.
32090
32091 2012-07-26  Andreas Jaeger  <aj@suse.de>
32092
32093         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32094         ptrace.
32095
32096         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32097         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32098         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32099         PTRACE_O_MASK.
32100         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32101         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32102         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32103
32104         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32105         value.
32106
32107         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32108         _sigsys.
32109         (si_call_addr, si_syscall, si_arch): Define new macro.
32110         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32111         _sigsys.
32112         (si_call_addr, si_syscall, si_arch): Define new marcro.
32113         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32114         _sigsys.
32115         (si_call_addr, si_syscall, si_arch): Define new macro.
32116         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32117         _sigsys.
32118         (si_call_addr, si_syscall, si_arch): Define new macro.
32119
32120 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32121
32122         [BZ #13717]
32123         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32124         Change to 2.4.21 where previously 2.4.1.
32125         * sysdeps/unix/sysv/linux/configure: Regenerated.
32126         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32127         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32128         Linux kernel version.
32129         (__ASSUME_STD_AUXV): Remove.
32130         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32131         kernel version.
32132         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32133         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32134         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32135         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32136         (__ASSUME_NETLINK_SUPPORT): Likewise.
32137         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32138         (__no_netlink_support): Remove conditional definition.
32139         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32140         Remove.
32141         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32142         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32143         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32144         (if_nameindex_ioctl): Remove.
32145         (if_nameindex_netlink): Do not handle __no_netlink_support.
32146         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32147         code.
32148         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32149         Remove conditional code.
32150         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32151         code.
32152         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32153         unconditional.
32154         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32155         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32156         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32157         Remove.
32158         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32159         [!__ASSUME_STD_AUXV]: Remove conditional code.
32160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32161         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32162         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32164         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32165         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32166         code.
32167         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32169         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32170         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32171         conditional code.
32172         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32174         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32175         code.
32176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32177         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32178         conditional code.
32179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32180         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32181         code unconditional.
32182         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32183         conditional code.
32184         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32185         unconditional.
32186         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32187         conditional code.
32188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32189         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32190         unconditional.
32191         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32192         conditional code.
32193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32194         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32195         code unconditional.
32196         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32197         conditional code.
32198         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32199         unconditional.
32200         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32201         conditional code.
32202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32203         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32204         code unconditional.
32205         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32206         conditional code.
32207         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32208         unconditional.
32209         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32210         conditional code.
32211
32212 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
32213
32214         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32215         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32216         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32217         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32218         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32219         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32220         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32221         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32222         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32223         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32224         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32225         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32226         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32227         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32228         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32229         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32230         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32231         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32232         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32233         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32234         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32235         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32236         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32237
32238 2012-07-25  Florian Weimer  <fweimer@redhat.com>
32239
32240         * Versions.def: Add GLIBC_2.17.
32241         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32242         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32243         Introduce __libc_secure_getenv.
32244         * stdlib/Versions (2.17): Add secure_getenv
32245         (GLIBC_PRIVATE): Add __libc_secure_getenv.
32246         * stdlib/secure-getenv.c: Rename __secure_getenv to
32247         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
32248         symbol __secure_getenv for GLIBC_2.0.
32249         * stdlib/tst-secure-getenv.c: New.
32250         * stdlib/Makefile (tests): Add testcase.
32251         * manual/startup.texi (Environment Access): Document
32252         secure_getenv.
32253         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32254         __libc_secure_getenv.
32255         * inet/ruserpass.c (ruserpass): Likewise.
32256         * malloc/mtrace.c (mtrace): Likewise.
32257         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32258         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32259         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32260         * sysdeps/posix/tempname.c: Likewise.  Evaluate
32261         HAVE_SECURE_GETENV.
32262         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32263         __secure_getenv to __libc_secure_getenv.
32264         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32266         Likewise.
32267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32268         Likewise.
32269         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32270         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32271         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32272         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32273         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32274         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32275         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32276
32277 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32278
32279         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32280         (struct La_i86_retval): Likewise.
32281         (struct La_x86_64_regs): Likewise.
32282         (struct La_x86_64_retval): Likewise.
32283         (struct La_x32_regs): Likewise.
32284         (struct La_x32_retval): Likewise.
32285         (struct La_ppc32_regs): Likewise.
32286         (struct La_ppc32_retval): Likewise.
32287         (struct La_ppc64_regs): Likewise.
32288         (struct La_ppc64_retval): Likewise.
32289         (struct La_sh_regs): Likewise.
32290         (struct La_sh_retval): Likewise.
32291         (struct La_s390_32_regs): Likewise.
32292         (struct La_s390_32_retval): Likewise.
32293         (struct La_s390_64_regs): Likewise.
32294         (struct La_s390_64_retval): Likewise.
32295         (struct La_sparc32_regs): Likewise.
32296         (struct La_sparc32_retval): Likewise.
32297         (struct La_sparc64_regs): Likewise.
32298         (struct La_sparc64_retval): Likewise.
32299         (struct audit_ifaces): Remove architecture-specific pltenter and
32300         pltexit members.
32301         * sysdeps/i386/ldsodefs.h: New file.
32302         * sysdeps/powerpc/ldsodefs.h: Likewise.
32303         * sysdeps/s390/ldsodefs.h: Likewise.
32304         * sysdeps/sh/ldsodefs.h: Likewise.
32305         * sysdeps/sparc/ldsodefs.h: Likewise.
32306         * sysdeps/x86_64/ldsodefs.h: Likewise.
32307
32308 2012-07-25  Marek Polacek  <polacek@redhat.com>
32309
32310         [BZ #6808]
32311         * math/libm-test.inc (yn_test): Add another test.
32312         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32313         to ERANGE when the result is +-Inf.
32314         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32315         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32316         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32317         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32318
32319 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
32320
32321         * conform/data/time.h-data (NULL): Use macro-constant.  Require
32322         equal to 0.
32323         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
32324         clock_t.
32325         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
32326
32327 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
32328
32329         * configure.in <sysdeps resolving>: Correct printing
32330         Implies_before.
32331         * configure: Regenerate.
32332
32333 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
32334
32335         * math/w_ilogb.c: Include <limits.h>.
32336         * math/w_ilogbl.c: Likewise.
32337
32338 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32339
32340         * manual/lang.texi (__va_copy): Document primarily as ISO C99
32341         va_copy.  Document allowing for unavailable va_copy only as
32342         pre-C99 compatibility.
32343         * manual/string.texi (Copying and Concatenation): Use va_copy
32344         instead of __va_copy in concat example.
32345
32346 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
32347
32348         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32349         (__sendto): Use create_address_port.  Initialize APORT and deallocate
32350         it if not null.
32351
32352         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32353         with O_NOLINK passed to __file_name_lookup.
32354
32355         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32356         with O_NOLINK passed to __file_name_lookup.
32357
32358         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32359         negative N or less than NGIDS.
32360
32361         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32362         type to string_t.  Set ERANGE as errno and return it if NAME is not big
32363         enough.  Use memcpy instead of strncpy.
32364
32365 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32366
32367         * elf/Makefile (check-data): Remove.
32368         (localplt.data): New vpath directive.
32369         ($(objpfx)check-localplt.out): Use localplt.data from vpath
32370         instead of $(check-data).
32371         * scripts/data/localplt-generic.data: Move to ...
32372         * sysdeps/generic/localplt.data: ... here.
32373         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32374         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32375         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32377         ... here.
32378         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32380         ... here.
32381         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32382         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32383         ... here.
32384         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32385         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32386         ... here.
32387         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32388         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32389         ... here.
32390         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32391         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32392         ... here.
32393
32394 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32395
32396         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32397         PPC32 and PPC64 files.
32398         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32399         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32400
32401 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32402
32403         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32404         __makecontext_ret to ...
32405         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32406         ... here and call exit if uc_link is NULL.  New file.
32407         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32408         __makecontext_ret.S.
32409         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32410         __makecontext_ret to ...
32411         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32412         ... here and call exit if uc_link is NULL.  New file.
32413         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32414         __makecontext_ret.S.
32415
32416 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32417
32418         * elf/elf.h (R_390_IRELATIVE): New definition.
32419         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32420         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
32421         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32422         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32423         (elf_machine_lazy_rel): Likewise.
32424         * sysdeps/s390/dl-irel.h: New file.
32425         * sysdeps/s390/s390-64/memcpy.S: New asm code.
32426         * sysdeps/s390/s390-64/memset.S: New asm code.
32427         * sysdeps/s390/s390-64/memcmp.S: New asm code.
32428         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32429         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32430         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32431         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32432         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32433         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32434         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32435         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32436         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32437         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32438         * sysdeps/s390/s390-32/memcpy.S: New asm code.
32439         * sysdeps/s390/s390-32/memset.S: New asm code.
32440         * sysdeps/s390/s390-32/memcmp.S: New asm code.
32441
32442 2012-07-17  Marek Polacek  <polacek@redhat.com>
32443
32444         [BZ #14349]
32445         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32446         * sysdeps/s390/s390-64/configure.in: Likewise.
32447         * sysdeps/sparc/configure.in: Likewise.
32448         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32449         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32450         * sysdeps/i386/configure.in: Likewise.
32451         * sysdeps/x86_64/configure.in: Likewise.
32452         * sysdeps/sh/configure.in: Likewise.
32453         * sysdeps/s390/s390-32/configure: Regenerated.
32454         * sysdeps/s390/s390-64/configure: Likewise.
32455         * sysdeps/x86_64/configure: Likewise.
32456         * sysdeps/sh/configure: Likewise.
32457         * sysdeps/powerpc/powerpc64/configure: Likewise.
32458         * sysdeps/powerpc/powerpc32/configure: Likewise.
32459         * sysdeps/sparc/configure: Likwise.
32460         * sysdeps/i386/configure: Likewise.
32461
32462         * elf/dl-open.c: Comment fixes.
32463
32464 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
32465
32466         * Makefile [CXX] (check-data): Remove.
32467         [CXX] (c++-types.data): New vpath directive.
32468         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32469         vpath.  Do not allow for C++ type data being missing.
32470         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32471         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32472         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32473         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32474         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32475         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32476         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32478         ... here.
32479         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32481         ... here.
32482         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32483         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32484         ... here.
32485         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32486         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32487         ... here.
32488         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32489         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32490         ... here.
32491         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32492         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32493         ... here.
32494         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32495         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32496         ... here.
32497         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32498         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32499
32500         * elf/tls-macros.h (TLS_LE): Move architecture-specific
32501         definitions to architecture-specific files.
32502         (TLS_IE): Likewise.
32503         (TLS_LD): Likewise.
32504         (TLS_GD): Likewise.
32505         * sysdeps/i386/tls-macros.h: New file.
32506         * sysdeps/powerpc/tls-macros.h: Likewise.
32507         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32508         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32509         * sysdeps/sh/tls-macros.h: Likewise.
32510         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32511         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32512         * sysdeps/x86_64/tls-macros.h: Likewise.
32513
32514 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
32515
32516         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32517         zero value for regular exit case.
32518
32519         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32520         (__start_context): Preserve zero value for regular exit case.
32521
32522 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
32523             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32524
32525         * manual/setjmp.texi (setcontext): Clarify normal process
32526         termination when uc_link is the null pointer.
32527         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32528         exit call.
32529
32530 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
32531
32532         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32533         preprocessor.  Test for each exception mask separately.
32534
32535 2012-07-16  Andreas Jaeger  <aj@suse.de>
32536
32537         * po/ru.po: Update from translation team.
32538
32539 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
32540
32541         * conform/data/string.h-data (NULL): Use macro-constant.  Require
32542         equal to 0.
32543         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32544         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32545         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32546         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32547         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32548
32549 2012-07-13  Andreas Jaeger  <aj@suse.de>
32550
32551         * po/fr.po: Update from translation team.
32552
32553 2012-07-12  Marek Polacek  <polacek@redhat.com>
32554
32555         [BZ #14173]
32556         * math/libm-test.inc (yn_test): Add test for BZ #14173.
32557         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32558         loop condition.
32559
32560 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
32561
32562         [BZ #13717]
32563         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32564         Change to 2.4.1 where previously 2.4.0.
32565         * sysdeps/unix/sysv/linux/configure: Regenerated.
32566         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32567         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32568         version.
32569         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32570         (__ASSUME_AT_CLKTCK): Remove.
32571         (__ASSUME_AT_PAGESIZE): Likewise.
32572         (__ASSUME_AT_XID): Likewise.
32573         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32574         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32575         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32576         unconditionally.
32577         (HAVE_AUX_PAGESIZE): Likewise.
32578         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32579         [__ASSUME_AT_CLKTCK]: Make code unconditional.
32580         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32581
32582 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
32583
32584         [BZ #14307]
32585         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32586         the temporary buffer used to invoke __gethostbyname2_r,
32587         __gethostbyaddr_r and gethostbyname4_r to make room for struct
32588         host_data / struct gaih_addrtuple.
32589         * resolv/nss_dns/dns-host.c (global scope): Move definition of
32590         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32591         header file nss/nsswitch.h.
32592         * nss/nsswitch.h (global scope): Add definition of implementation
32593         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32594         resolv/nss_dns/dns-host.c).
32595
32596 2012-07-11  Andreas Jaeger  <aj@suse.de>
32597
32598         * po/fr.po: Update from translation team.
32599
32600         * po/sv.po: Update from translation team
32601         * po/fr.po: Another update from translation team.
32602
32603 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32604
32605         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32606         for subnormals or multiply small sinh result by itself.
32607         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32608         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32609
32610 2012-07-11  David S. Miller  <davem@davemloft.net>
32611
32612         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32613
32614 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
32615
32616         [BZ #14347]
32617         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32618         (INTERNAL_MARK): Shift it here.
32619
32620 2012-07-10  Marek Polacek  <polacek@redhat.com>
32621
32622         [BZ #14151]
32623         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
32624         libc_cv_asm_global_directive with .globl.
32625         * configure: Regenerated.
32626         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32627         with .globl.
32628         * sysdeps/i386/configure: Regenerated.
32629         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32630         with .globl.
32631         * sysdeps/x86_64/configure: Regenerated.
32632         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32633         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32634         * elf/tst-unique2mod2.c: Likewise.
32635         * elf/tst-unique2mod1.c: Likewise.
32636         * elf/tst-unique1mod2.c: Likewise.
32637         * elf/tst-unique1mod1.c: Likewise.
32638         * sysdeps/s390/s390-32/sysdep.h: Likewise.
32639         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32640         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32641         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32642         * sysdeps/mach/sysdep.h: Likewise.
32643         * sysdeps/i386/sysdep.h: Likewise.
32644         * sysdeps/i386/i386-mcount.S: Likewise.
32645         * sysdeps/x86_64/_mcount.S: Likewise.
32646         * sysdeps/x86_64/sysdep.h: Likewise.
32647         * sysdeps/sh/_mcount.S: Likewise.
32648         * sysdeps/sh/sysdep.h: Likewise.
32649         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32650         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32651         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32652         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32653         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32654         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32655         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32656         * locale/localeinfo.h: Likewise.
32657         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32658         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32659
32660 2012-07-09  Roland McGrath  <roland@hack.frob.com>
32661
32662         [BZ #14336]
32663         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32664         system".
32665         * manual/message.texi (The Uniforum approach): Likewise.
32666         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32667         (glibc iconv Implementation): Likewise.
32668
32669 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
32670
32671         [BZ #14337]
32672         * math/s_clog.c (__clog): Avoid scaling a value down where that
32673         could result in underflow.
32674         * math/s_clog10.c (__clog10): Likewise.
32675         * math/s_clog10f.c (__clog10f): Likewise.
32676         * math/s_clog10l.c (__clog10l): Likewise.
32677         * math/s_clogf.c (__clogf): Likewise.
32678         * math/s_clogl.c (__clogl): Likewise.
32679         * math/libm-test.inc (clog_test): Add more tests.
32680         (clog10_test): Likewise.
32681         * sysdeps/i386/fpu/libm-test-ulps: Update.
32682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32683
32684 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
32685
32686         [BZ #14283]
32687         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32688         by 7 not 8 to examine high bit of fractional part.
32689
32690         [BZ #14042]
32691         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32692         for call to __mcount_internal.
32693         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32694         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32695         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32696
32697 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
32698
32699         [BZ #14154]
32700         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32701         approximation for values within 0x1p-13f of an odd multiple of
32702         pi/4.
32703         * math/libm-test.inc (tan_test): Do not allow spurious underflow
32704         exception.  Add more tests.
32705         * sysdeps/i386/fpu/libm-test-ulps: Update.
32706
32707         [BZ #6778]
32708         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32709         inputs and return -1 for them.  Do not check for +Inf in case not
32710         reachable for +Inf.
32711         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32712         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32713         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32714         and return -1 for them.  Do not check for +Inf in case not
32715         reachable for +Inf.
32716         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32717         define.
32718         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32719         and return -1 for them.  Do not check for +Inf in case not
32720         reachable for +Inf.
32721         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
32722         spurious underflow.
32723         * sysdeps/i386/fpu/libm-test-ulps: Update.
32724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32725
32726 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
32727
32728         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32729
32730 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
32731
32732         [BZ #14157]
32733         [BZ #14331]
32734         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32735         could result in spurious underflow.  Scale down values above
32736         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32737         * math/s_csqrtf.c (__csqrtf): Likewise.
32738         * math/s_csqrtl.c (__csqrtl): Likewise.
32739         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
32740         spurious underflow.
32741         * sysdeps/i386/fpu/libm-test-ulps: Update.
32742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32743
32744 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
32745
32746         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32747         xopen-msg.sed.
32748         * catgets/xopen-msg.awk: New file.
32749         * catgets/xopen-msg.sed: Removed.
32750
32751         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32752         po2text.sed.
32753         * intl/po2test.awk: New file.
32754         * intl/po2test.sed: Removed.
32755
32756 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
32757
32758         [BZ #14328]
32759         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32760         or multiply small sinh result by itself.
32761         * math/s_ctanf.c (__ctanf): Likewise.
32762         * math/s_ctanh.c (__ctanh): Likewise.
32763         * math/s_ctanhf.c (__ctanhf): Likewise.
32764         * math/s_ctanhl.c (__ctanhl): Likewise.
32765         * math/s_ctanl.c (__ctanl): Likewise.
32766         * math/libm-test.inc (ctan_test_tonearest): New function.
32767         (ctan_test_towardzero): Likewise.
32768         (ctan_test_downward): Likewise.
32769         (ctan_test_upward): Likewise.
32770         (ctanh_test_tonearest): Likewise.
32771         (ctanh_test_towardzero): Likewise.
32772         (ctanh_test_downward): Likewise.
32773         (ctanh_test_upward): Likewise.
32774         (main): Call these new functions.
32775         * sysdeps/i386/fpu/libm-test-ulps: Update.
32776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32777
32778 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
32779
32780         * .gitignore: Delete /ports entry.
32781
32782 2012-07-03  Andreas Jaeger  <aj@suse.de>
32783
32784         * po/bg.po: Update from translation team.
32785         * po/cs.po: Likewise.
32786         * po/de.po: Likewise.
32787         * po/hr.po: Likewise.
32788         * po/nl.pl: Likewise.
32789         * po/pl.po: Likewise.
32790         * po/vi.po: Likewise.
32791
32792 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
32793
32794         * Makeconfig [!+link] (+link-before-libc): New variable.
32795         [!+link] (+link-after-libc): Likewise.
32796         [!+link] (+link-tests): Likewise.
32797         [!+link] (+link): Define in terms of $(+link-before-libc) and
32798         $(+link-after-libc).
32799         [!+link-static] (+link-static-before-libc): New variable.
32800         [!+link-static] (+link-static-after-libc): Likewise.
32801         [!+link-static] (+link-static-tests): Likewise.
32802         [!+link-static] (+link-static): Define in terms of
32803         $(+link-static-before-libc) and $(+link-static-after-libc).
32804         [build-shared] (link-libc-before-gnulib): New variable.
32805         [build-shared] (link-libc-tests): Likewise.
32806         [build-shared] (link-libc): Define in terms of
32807         $(link-libc-before-gnulib).
32808         [!build-shared] (link-libc-tests): New variable.
32809         (link-libc-static-tests): New variable.
32810         [!gnulib] (gnulib-arch): New variable.
32811         [!gnulib] (gnulib-tests): Likewise.
32812         [!gnulib] (static-gnulib-arch): Likewise.
32813         [!gnulib] (static-gnulib-tests): Likewise.
32814         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
32815         Define with "=" instead of ":=".
32816         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
32817         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
32818         * Rules (binaries-all-notests): New variable.
32819         (binaries-all-tests): Likewise.
32820         (binaries-static-notests): Likewise.
32821         (binaries-static-tests): Likewise.
32822         (binaries-all): Define using $(binaries-all-notests) and
32823         $(binaries-all-tests).
32824         (binaries-static): Define using $(binaries-static-notests) and
32825         $(binaries-static-tests).
32826         (binaries-shared-tests): New variable.
32827         (binaries-shared-notests): Likewise.
32828         (binaries-shared): Remove variable.
32829         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32830         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32831         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32832         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32833         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32834         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32835         * elf/Makefile (sln-modules): New variable.
32836         (extra-objs): Add $(sln-modules:=.o).
32837         (ldconfig-modules): Add static-stubs.
32838         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32839         * elf/static-stubs.c: New file.
32840
32841         [BZ #14283]
32842         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32843         by 7 not 8 to examine high bit of fractional part.  Use volatile
32844         variables when splitting into final array of floats if
32845         __FLT_EVAL_METHOD__ != 0.
32846         * math/libm-test.inc (cos_test): Add another test.
32847         (sin_test): Likewise.
32848         * sysdeps/i386/fpu/libm-test-ulps: Update.
32849
32850         [BZ #14273]
32851         * math/libm-test.inc (cosh_test): Add more tests.
32852
32853         * version.h (RELEASE): Set to "development".
32854         (VERSION): Set to "2.16.90".
32855
32856 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
32857
32858         * NEWS: Update copyright. Remove last-updated date.
32859         Mention math library bug fixes and timezone data changes.
32860         * README: Mention GNU/Hurd, x32, and HPPA support status.
32861
32862 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
32863
32864         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32865
32866 2012-06-27  Andreas Jaeger  <aj@suse.de>
32867
32868         * manual/contrib.texi (Contributors): Add Samuel Thibault.
32869
32870 2012-06-25  Andreas Jaeger  <aj@suse.de>
32871
32872         * sysdeps/s390/fpu/libm-test-ulps: Update.
32873
32874 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
32875             Thomas Schwinge  <thomas@codesourcery.com>
32876
32877         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32878         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32879         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32880         fanotify_mark.
32881
32882 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
32883
32884         * sysdeps/mach/start.c: Remove file.
32885         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32886         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32887         * sysdeps/sh/init-first.c: Likewise.
32888
32889         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32890         registers for frame unwinding purposes, add CFI directives.
32891         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32892         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32893         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32894         Likewise.
32895
32896         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32897         __fortify_fail returning.
32898         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32899
32900         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32901         sysdeps/sh/____longjmp_chk.S.
32902         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32903         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32904         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32905         (gen-as-const-headers): Append sigaltstack-offsets.sym.
32906
32907         * sysdeps/sh/abort-instr.h: New file.
32908         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32909         process in case exit returns.
32910
32911         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32912         initialize the GOT register before use.
32913
32914         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32915         calculation of ARGC > 4.
32916
32917         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32918         meaningful names to some local labels.
32919
32920 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32921             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32922
32923         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32924         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32925         (__arch_compare_and_exchange_val_16_acq): Likewise.
32926         (__arch_compare_and_exchange_val_32_acq): Likewise.
32927         (atomic_exchange_and_add): Fix gUSA sequence.
32928         (atomic_add): Likewise.
32929         (atomic_add_negative): Likewise.
32930         (atomic_add_zero): Likewise.
32931         (atomic_bit_test_set): Likewise.
32932
32933 2012-06-22  Andreas Schwab  <schwab@redhat.com>
32934
32935         [BZ #13579]
32936         * include/link.h (struct link_map): Add l_free_initfini.
32937         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32938         l_initfini.
32939         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32940         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32941         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32942         set.
32943
32944 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
32945
32946         * configure.in: Use AC_LANG_SOURCE.
32947         * configure: Regenerate.
32948
32949 2012-06-22  Roland McGrath  <roland@hack.frob.com>
32950
32951         * configure.in (libc_cv_localstatedir): New substituted variable.
32952         * configure: Regenerated.
32953         * config.make.in (localstatedir): New variable, substituted from
32954         libc_cv_localstatedir.
32955         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32956         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32957         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32958         * sysdeps/gnu/configure: Regenerated.
32959
32960 2012-06-21  Jeff Law  <law@redhat.com>
32961
32962         [BZ #14277]
32963         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32964         free.  Simplify list management for _LIBC case.
32965
32966 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
32967
32968         [BZ #14273]
32969         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32970         Clear sign bit of 64-bit integer value before comparing against
32971         overflow value.
32972
32973         * sysdeps/mach/configure: Regenerated.
32974
32975 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
32976
32977         [BZ #14278]
32978         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32979
32980 2012-06-21  Jeff Law  <law@redhat.com>
32981
32982         [BZ #13882]
32983         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
32984         uint16_t for elements in the "seen" array to avoid char overflows.
32985         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32986         * elf/dl-open.c (dl_open_worker): Likewise.
32987
32988 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
32989
32990         * scripts/list-sources.sh: Scan PORTS for translations.
32991         * po/libc.pot: Regenerated.
32992
32993 2012-06-21  Andreas Jaeger  <aj@suse.de>
32994
32995         [BZ #12194]
32996         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32997         warning.
32998         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32999         * bits/byteswap-16.h (__bswap_16): Likewise.
33000         * bits/byteswap.h (__bswap_constant_16): Likewise.
33001
33002 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
33003
33004         [BZ #14117]
33005         * sysdeps/i386/fpu_control.h: Removed.
33006         * sysdeps/x86_64/fpu_control.h: Moved to ...
33007         * sysdeps/x86/fpu_control.h: Here.
33008
33009         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33010         (_FPU_SETCW): Likewise.
33011
33012 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
33013
33014         [BZ #14117]
33015         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33016         * sysdeps/x86/fpu/bits/mathinline.h: This.
33017         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33018
33019         [BZ #14050]
33020         [BZ #14117]
33021         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33022         functions if __x86_64__ is defined.
33023
33024 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
33025
33026         * string/endian.h: Add !__ASSEMBLER__ condition for including
33027         conversion interfaces.
33028
33029 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
33030
33031         [BZ #14241]
33032         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33033         of ABS(x) in calculating zero to negative powers other than odd
33034         integers.
33035         * math/libm-test.inc (pow_test): Add more tests.
33036
33037 2012-06-15  Andreas Jaeger  <aj@suse.de>
33038
33039         * manual/contrib.texi (Contributors): Update entry of Liubov
33040         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33041         Machado Filho.
33042
33043 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
33044
33045         * string/string.h: Add __wur to GNU version of strerror_r.
33046
33047 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
33048
33049         [BZ #14229]
33050         * string/Makefile (tests): Add tst-strtok_r.
33051         * string/tst-strtok_r.c: New file.
33052         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33053         RAX_LP/RDX_LP on SAVE_PTR.
33054
33055 2012-06-14  Roland McGrath  <roland@hack.frob.com>
33056
33057         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33058
33059 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
33060
33061         * libm_test.inc (csqrt_test): Allow more spurious underflow
33062         exceptions.
33063         (j0_test): Likewise.
33064         (j1_test): Likewise.
33065         (y0_test): Likewise.
33066         (y1_test): Likewise.
33067
33068 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
33069
33070         * po/Makefile (libc.pot): Use UTF-8 charset.
33071
33072 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
33073
33074         [BZ #14210]
33075         Suppress sign-conversion warning from FD_SET.
33076         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33077         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33078         not unsigned long int.
33079         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33080
33081 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
33082
33083         [BZ #14050]
33084         [BZ #14117]
33085         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33086         __extern_always_inline instead of __extern_inline.
33087         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33088         (__signbit): Likewise.
33089         (__signbitl): Support C++ namespace.
33090         (lrintf): New inline function.
33091         (lrint): Likewise.
33092         (llrintf): Likewise.
33093         (llrint): Likewise.
33094         (fmaxf): Likewise.
33095         (fmax): Likewise.
33096         (fminf): Likewise.
33097         (fmin): Likewise.
33098         (rint): Likewise.
33099         (rintf): Likewise.
33100         (ceil): Likewise.
33101         (ceilf): Likewise.
33102         (floor): Likewise.
33103         (floorf): Likewise.
33104         (nearbyint): Likewise.
33105         (nearbyintf): Likewise.
33106
33107 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
33108
33109         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33110         non-default versions.
33111
33112 2012-06-11  Roland McGrath  <roland@hack.frob.com>
33113
33114         [BZ #14218]
33115         * manual/argp.texi (Argp): Reword argp_parse description slightly.
33116
33117 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
33118
33119         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33120         (FE_UPWARD, FE_DOWNWARD): Don't define.
33121         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33122         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33123
33124         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33125         reading it.
33126         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33127         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33128
33129 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33130
33131         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33132         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33133         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33134         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33135
33136 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
33137
33138         [BZ #14117]
33139         * sysdeps/i386/fpu/bits/fenv.h: Removed.
33140         * sysdeps/i386/fpu/Implies: New file.
33141         * sysdeps/x86_64/fpu/Implies: Likewise.
33142         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33143         * sysdeps/x86/fpu/bits/fenv.h: This.
33144
33145         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33146         __SSE_MATH__.
33147
33148 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33149
33150         [BZ #14134]
33151         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33152         character 0xffff that matches the last element of the
33153         conversion table.
33154
33155 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33156
33157         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33158         fmodl commit.
33159
33160 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33161
33162         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33163         values higher than 25.6283.
33164
33165 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33166
33167         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33168         subnormal exponent extraction and add some __builtin_expect.
33169         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33170         Fix for subnormal mantissa calculation.
33171
33172 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
33173
33174         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33175         cpu2 is -1 and errno is not ENOSYS.
33176
33177 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
33178
33179         [BZ #14117]
33180         * sysdeps/i386/i486/bits/string.h: Renamed to ...
33181         * sysdeps/x86/bits/string.h: This.
33182         * sysdeps/x86_64/bits/string.h: Removed.
33183
33184         * sysdeps/i386/i486/bits/string.h: Define inline functions only
33185         if not compiling for x86-64, but compiling for >= i486.
33186
33187         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33188         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33189
33190         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33191         New macro from Linux kernel 3.4.0.
33192         (FP_XSTATE_MAGIC2): Likewise.
33193         (FP_XSTATE_MAGIC2_SIZE): Likewise.
33194         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33195         (struct _fpx_sw_bytes): New struct.
33196         (struct _xsave_hdr): Likewise.
33197         (struct _ymmh_state): Likewise.
33198         (struct _xstate): Likewise.
33199
33200         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33201         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33202         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33203         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33204         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33205         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33206
33207         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33208         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33209         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33210         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33211         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33212         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33213
33214 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33215
33216         [BZ #13743]
33217         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33218         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33219         (sysdep_headers): Include sys/platform/ppc.h.
33220         * sysdeps/powerpc/test-gettimebase.c: Test for
33221         __ppc_get_timebase() to catch future ISA opcode/insn changes.
33222         * manual/Makefile (appendices): Include platform.texi.
33223         * manual/contrib.texi (Contributors): Update @node pointers.
33224         * manual/maint.texi (Maintenance): Likewise.
33225         (Platform): New node.
33226         * manual/platform.texi: New file.  Document the new features.
33227
33228 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33229             Jakub Jelinek  <jakub@redhat.com>
33230
33231         [BZ #14188]
33232         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33233         where __builtin_expect is unavailable.
33234
33235 2012-06-03  David S. Miller  <davem@davemloft.net>
33236
33237         * stdlib/longlong.h: Updated from GCC.
33238
33239 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
33240
33241         [BZ #14042]
33242         * sysdeps/powerpc/powerpc32/mcount.c: New file.
33243         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33244         __mcount_internal.
33245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33246         (GLIBC_2.16): Likewise.
33247
33248 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33249
33250         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33251
33252 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33253
33254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33255         (default-abi): New variable.
33256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33257         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33258         variable.
33259         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33260         Likewise.
33261         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33262         Likewise.
33263         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33264         Likewise.
33265
33266         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33267         definition.  Document in comment.
33268
33269 2012-06-01  David S. Miller  <davem@davemloft.net>
33270
33271         * stdlib/longlong.h: Updated from GCC.
33272
33273 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33274
33275         [BZ #14117]
33276         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33277         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33278         sys/debugreg.h sys/io.h here.
33279         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33280         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33281         sys/io.h.
33282         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33283         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33284         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33285         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33286         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33287         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33288
33289         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33290         Define only if __x86_64__ is defined.
33291
33292 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33293
33294         [BZ #14048]
33295         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33296         Use int64_t for variable i.
33297         * math/libm-test.inc (fmod_test): Add more tests.
33298
33299         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33300         z computation is not scheduled after fetestexcept.
33301         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33302         Use math_force_eval instead of asm to ensure calculation scheduled
33303         before exception test.
33304         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33305         Ensure a1 + u.d computation is not scheduled after fetestexcept.
33306
33307 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
33308
33309         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33310         computation is not scheduled after fetestexcept.
33311
33312 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33313
33314         [BZ #14117]
33315         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33316         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33317
33318 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33319
33320         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33321         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33322
33323 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33324
33325         [BZ #14117]
33326         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33327         <bits/wordsize.h>.
33328         (__WCHAR_MIN): Support __WORDSIZE == 64.
33329         (__WCHAR_MAX): Likewise.
33330
33331         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33332         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33333
33334         [BZ #14183]
33335         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33336         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33337
33338         [BZ #14117]
33339         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33340         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33341
33342         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33343         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33344
33345         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33346         Defined to 1 if __x86_64__ isn't defined.
33347         (_STAT_VER_LINUX_OLD): New.
33348         (st_atime): Remove duplicate.
33349         (st_mtime): Likewise.
33350         (st_ctime): Likewise.
33351
33352 2012-05-31  David S. Miller  <davem@davemloft.net>
33353
33354         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33355         entries.
33356
33357 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
33358
33359         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33360         gen-libm-test.pl.
33361
33362         [BZ #14132]
33363         * elf/dl-reloc.c: Include <_itoa.h>.
33364         (_dl_reloc_bad_type): Remove use of INTUSE.
33365         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33366         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33367         * stdio-common/psiginfo.c (psiginfo): Likewise.
33368         * stdio-common/psignal.c (psignal): Likewise.
33369         * string/strsignal.c (strsignal): Likewise.
33370         * include/signal.h (_sys_siglist): Declare hidden proto.
33371         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
33372         INTVARDEF with libc_hidden_data_def.
33373         * stdio-common/itoa-udigits.c: Likewise.
33374         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33375         (_itoa_lower_digits_internal): Remove declaration.
33376         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33377         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33378         (_sys_sigabbrev_internal): Remove aliases.
33379         (_sys_siglist): Define hidden alias.
33380
33381 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
33382
33383         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33384         bits/sysctl.h.
33385
33386 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33387
33388         [BZ #14117]
33389         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33390         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33391
33392         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33393         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33394         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33395         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33396         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33397         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33398
33399         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33400         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33401         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33402
33403         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33404         with __addr.
33405         (insw): Likewise.
33406         (insl): Likewise.
33407         (outsb): Likewise.
33408         (outsw): Likewise.
33409         (outsl): Likewise.
33410
33411         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33412         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33413         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33414
33415         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33416         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33417         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33418         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33419         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33420         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33421
33422         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33423         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33424
33425         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33426         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33427
33428         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33429         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33430         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33431
33432         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33433         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33434         to ...
33435         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33436
33437         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33438         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33439         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33440
33441         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33442         for x86-64.
33443         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33444
33445 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
33446
33447         * math/math.h (M_El): Use two more decimal places.
33448         (M_LOG2El): Likewise.
33449         (M_LOG10El): Likewise.
33450         (M_LN2l): Likewise.
33451         (M_LN10l): Likewise.
33452         (M_PIl): Likewise.
33453         (M_PI_2l): Likewise.
33454         (M_PI_4l): Likewise.
33455         (M_1_PIl): Likewise.
33456         (M_2_PIl): Likewise.
33457         (M_2_SQRTPIl): Likewise.
33458         (M_SQRT2l): Likewise.
33459         (M_SQRT1_2l): Likewise.
33460
33461 2012-05-31  David S. Miller  <davem@davemloft.net>
33462
33463         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33464         values between float registers.
33465         * sysdeps/sparc/sparc64/memset.S: Likewise.
33466         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33467
33468 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
33469
33470         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33471         -D_FORTIFY_SOURCE=1.
33472         (CPPFLAGS-tst-longjmp_chk.c): Define.
33473         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33474         (CPPFLAGS-tst-longjmp_chk2.c): Define.
33475         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33476         CFLAGS-tst-wchar-h.c.
33477
33478 2012-05-31  Marek Polacek  <polacek@redhat.com>
33479
33480         [BZ #14132]
33481         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33482         __endmntent_internal): Remove declaration.
33483         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33484         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33485         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33486
33487 2012-05-30  David S. Miller  <davem@davemloft.net>
33488
33489         * sysdeps/sparc/sparc32/soft-fp/q_util.c
33490         (___Q_simulate_exceptions): Use real FP ops rather than writing
33491         into the %fsr.
33492         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33493         Likewise.
33494
33495 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33496
33497         [BZ #14117]
33498         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33499         * sysdeps/x86/bits/xtitypes.h: This.
33500
33501         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33502         * sysdeps/x86/bits/wordsize.h: This.
33503
33504         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33505         * sysdeps/x86/bits/huge_vall.h: This.
33506
33507         * sysdeps/i386/bits/select.h: Removed.
33508         * sysdeps/x86_64/bits/select.h: Renamed to ...
33509         * sysdeps/x86/bits/select.h: This.
33510
33511         * sysdeps/i386/bits/setjmp.h: Removed.
33512         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33513         * sysdeps/x86/bits/setjmp.h: This.
33514
33515         * sysdeps/i386/bits/mathdef.h: Removed.
33516         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33517         * sysdeps/x86/bits/mathdef.h: This.
33518
33519 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
33520
33521         [BZ #14132]
33522         * include/sys/socket.h (__connect_internal)
33523         (__libc_sa_len_internal): Remove declaration.
33524         (__connect, __libc_sa_len): Declare hidden_proto.
33525         (SA_LEN): Remove use of INTUSE.
33526         * socket/connect.c: Add libc_hidden_def.
33527         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33528         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33529         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33530         alias.
33531         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33532         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33533         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33534         of adding _internal alias.
33535
33536 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33537
33538         [BZ #14117]
33539         * sysdeps/i386/bits/link.h: Removed.
33540         * sysdeps/i386/bits/linkmap.h: Likewise.
33541         * sysdeps/x86_64/bits/link.h: Renamed to ...
33542         * sysdeps/x86/bits/link.h: This.
33543         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33544         * sysdeps/x86/bits/linkmap.h: This.
33545
33546         * sysdeps/i386/bits/endian.h: Removed.
33547         * sysdeps/x86_64/bits/endian.h: Renamed to ...
33548         * sysdeps/x86/bits/endian.h: This.
33549
33550         * sysdeps/i386/bits/byteswap.h: Removed.
33551         * sysdeps/i386/bits/byteswap-16.h: Likewise.
33552         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33553         * sysdeps/x86/bits/byteswap.h: This.
33554         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33555         * sysdeps/x86/bits/byteswap-16.h: This.
33556         * sysdeps/i386/Implies: Add x86.
33557         * sysdeps/x86_64/Implies: Likewise.
33558
33559 2012-05-30  David S. Miller  <davem@davemloft.net>
33560
33561         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33562         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33563         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33564         (FP_TRAPPING_EXCEPTIONS): Define.
33565         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33566         (FP_TRAPPING_EXCEPTIONS): Define.
33567         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33568         subnormals only when inexact has been signalled or underflow
33569         exceptions are enabled.
33570         (_FP_PACK_CANONICAL): Likewise.
33571
33572 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33573
33574         [BZ #14183]
33575         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33576         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33577
33578 2012-05-30  Richard Henderson  <rth@twiddle.net>
33579
33580         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33581         with #ifndef NOT_IN_libc.
33582
33583         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
33584         marked to avoid plt entry.
33585
33586 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33587
33588         [BZ #14112]
33589         * Makeconfig (default-abi): New macro.
33590         (abi-includes): Likewise.
33591         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
33592         $(abi-$(default-abi)-lib-soname) for soname if defined.
33593         ($(common-objpfx)gnu/lib-names.stmp): Generate from
33594         abi-variants.
33595         * Makefile (installed-stubs): Likewise.
33596         * include/stubs-biarch.h: Removed.
33597         * scripts/lib-names.awk: Only handle one library at a time.
33598         * scripts/soversions.awk: Remove WORDSIZE support.
33599         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33600         entries.
33601         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33602         Removed.
33603         (syscall-list-default-condition): Likewise.
33604         (syscall-list-default-condition): Likewise.
33605         (syscall-list-includes): Likewise.
33606         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33607         syscall-list-* with abi-*.  Handle undefined abi-variants.
33608         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33609         * sysdeps/unix/sysv/linux/i386/Implies: New file.
33610         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33611         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33612         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33613         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33614         Removed.
33615         (syscall-list-32-options): Likewise.
33616         (syscall-list-32-condition): Likewise.
33617         (syscall-list-64-options): Likewise.
33618         (syscall-list-64-condition): Likewise.
33619         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33620         macro.
33621         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33622         Renamed to ...
33623         (abi-*): This.
33624         (abi-64-ld-soname): New macro.
33625         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33626         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33627         Renamed to ...
33628         (abi-*): This.
33629         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33630         * sysdeps/x86_64/x32/shlib-versions: Likewise.
33631
33632 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
33633
33634         * sysdeps/unix/sysv/linux/kernel-features.h
33635         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33636         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33637         include <kernel-features.h>.
33638         [!__NR_ftruncate64]: Remove conditional code.
33639         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33640         [__NR_ftruncate64]: Make code unconditional.
33641         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33642         * sysdeps/unix/sysv/linux/truncate64.c: Do not
33643         include <kernel-features.h>.
33644         [!__NR_ftruncate64]: Remove conditional code.
33645         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33646         [__NR_ftruncate64]: Make code unconditional.
33647         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33649         include <kernel-features.h>.
33650         [!__NR_ftruncate64]: Remove conditional code.
33651         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33652         [__NR_ftruncate64]: Make code unconditional.
33653         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33655         include <kernel-features.h>.
33656         [!__NR_ftruncate64]: Remove conditional code.
33657         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33658         [__NR_ftruncate64]: Make code unconditional.
33659         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33660
33661         * configure.in (libc_cv_fpie): Weaken to a compile test using
33662         LIBC_TRY_CC_OPTION.
33663         * configure: Regenerated.
33664
33665 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33666
33667         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33668         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33669         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33670         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33671         Refreshed.
33672         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33673         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33674         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33675         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33676         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33677         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33678         Refreshed.
33679
33680 2012-05-27  David S. Miller  <davem@davemloft.net>
33681
33682         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33683         (___Q_zero): New.
33684         (__Q_simulate_exceptions): Return void.  Change to simulate
33685         exceptions by writing into the %fsr.
33686         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33687         (__Qp_handle_exceptions): Likewise.
33688         (numbers): Delete.
33689         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33690         __Qp_handle_exceptions.
33691         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33692         __Qp_handle_exceptions.
33693         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33694         as unused and give dummy FP_RND_NEAREST initializer.
33695         (FP_INHIBIT_RESULTS): Define.
33696         (___Q_simulate_exceptions): Update declaration.
33697         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33698         formatting.
33699         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33700         as unused and give dummy FP_RND_NEAREST initializer.
33701         (__Qp_handle_exceptions): Update declaration.
33702         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33703         formatting.
33704
33705 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
33706
33707         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33708         the temporary FPU control word.
33709         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33710         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33711         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33712         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33713         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33714         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33715         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33716         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33717         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33718         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33719         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33720
33721 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33722
33723         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33724         fields.
33725
33726 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
33727
33728         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33729         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33730         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33731         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33732         Likewise.
33733         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33734         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33735         Likewise.
33736
33737 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
33738
33739         * po/h.po: Update from translation team.
33740
33741 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
33742
33743         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33744
33745         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33746         handling of denormals.
33747         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33748         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33749         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33750         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33751         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33752         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33753         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33754         Likewise.
33755
33756 2012-05-26  Marek Polacek  <polacek@redhat.com>
33757
33758         [BZ #14152]
33759         * math/libm-test.inc (fma_test): Don't always expect underflow
33760         exception.
33761
33762 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33763
33764         [BZ #12416]
33765         * elf/tst-execstack.c: Include stackinfo.h.
33766         (do_test): Adjust test case to ensure that pthread_getattr_np
33767         behaviour remains the same after marking stack executable.
33768
33769 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
33770
33771         * sysdeps/unix/sysv/linux/kernel-features.h
33772         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33773         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33774         kernel-features.h.
33775         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33776         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33777         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33778         kernel-features.h.
33779         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33780         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33781
33782 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
33783
33784         * configure.in: Define the default includes to being none.
33785         * configure: Regenerated.
33786
33787 2012-05-25  Roland McGrath  <roland@hack.frob.com>
33788
33789         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33790         * sysdeps/x86_64/setjmp.S: Likewise.
33791         * sysdeps/i386/bsd-setjmp.S: Likewise.
33792         * sysdeps/i386/bsd-_setjmp.S: Likewise.
33793         * sysdeps/i386/setjmp.S: Likewise.
33794         * sysdeps/i386/__longjmp.S: Likewise.
33795         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33796         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33797
33798         * include/stap-probe.h: New file.
33799         * configure.in: Handle --enable-systemtap.
33800         * configure: Regenerated.
33801         * config.h.in (USE_STAP_PROBE): New #undef.
33802         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33803         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33804         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33805
33806 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
33807
33808         [BZ #13717]
33809         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33810         to 2.4.0 where earlier.
33811         * sysdeps/unix/sysv/linux/configure: Regenerated.
33812         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33813         <kernel-features.h>.
33814         [__ASSUME_32BITUIDS]: Make code unconditional.
33815         [!__ASSUME_32BITUIDS]: Remove conditional code.
33816         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33817         <kernel-features.h>.
33818         [__ASSUME_32BITUIDS]: Make code unconditional.
33819         [!__ASSUME_32BITUIDS]: Remove conditional code.
33820         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33821         [__ASSUME_32BITUIDS]: Make code unconditional.
33822         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33823         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33824         <kernel-features.h>.
33825         [__ASSUME_32BITUIDS]: Make code unconditional.
33826         [!__ASSUME_32BITUIDS]: Remove conditional code.
33827         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33828         <kernel-features.h>.
33829         [__ASSUME_32BITUIDS]: Make code unconditional.
33830         [!__ASSUME_32BITUIDS]: Remove conditional code.
33831         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33832         <kernel-features.h>.
33833         [__ASSUME_32BITUIDS]: Make code unconditional.
33834         [!__ASSUME_32BITUIDS]: Remove conditional code.
33835         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33836         <kernel-features.h>.
33837         [__ASSUME_32BITUIDS]: Make code unconditional.
33838         [!__ASSUME_32BITUIDS]: Remove conditional code.
33839         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33840         <kernel-features.h>.
33841         [__ASSUME_32BITUIDS]: Make code unconditional.
33842         [!__ASSUME_32BITUIDS]: Remove conditional code.
33843         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33844         <kernel-features.h>.
33845         [__ASSUME_32BITUIDS]: Make code unconditional.
33846         [!__ASSUME_32BITUIDS]: Remove conditional code.
33847         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33848         <kernel-features.h>.
33849         [__ASSUME_32BITUIDS]: Make code unconditional.
33850         [!__ASSUME_32BITUIDS]: Remove conditional code.
33851         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33852         <kernel-features.h>.
33853         [__ASSUME_32BITUIDS]: Make code unconditional.
33854         [!__ASSUME_32BITUIDS]: Remove conditional code.
33855         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33856         <kernel-features.h>.
33857         [__ASSUME_32BITUIDS]: Make code unconditional.
33858         [!__ASSUME_32BITUIDS]: Remove conditional code.
33859         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33860         <kernel-features.h>.
33861         [__ASSUME_32BITUIDS]: Make code unconditional.
33862         [!__ASSUME_32BITUIDS]: Remove conditional code.
33863         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33864         <kernel-features.h>.
33865         [__NR_setresgid] (__setresgid): Do not declare.
33866         [__ASSUME_32BITUIDS]: Make code unconditional.
33867         [!__ASSUME_32BITUIDS]: Remove conditional code.
33868         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33869         <kernel-features.h>.
33870         [__NR_setresuid] (__setresuid): Do not declare.
33871         [__ASSUME_32BITUIDS]: Make code unconditional.
33872         [!__ASSUME_32BITUIDS]: Remove conditional code.
33873         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
33874         <kernel-features.h>.
33875         [__ASSUME_32BITUIDS]: Make code unconditional.
33876         [!__ASSUME_32BITUIDS]: Remove conditional code.
33877         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33878         <kernel-features.h>.
33879         [__ASSUME_32BITUIDS]: Make code unconditional.
33880         [!__ASSUME_32BITUIDS]: Remove conditional code.
33881         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33882         <kernel-features.h>.
33883         [__ASSUME_32BITUIDS]: Make code unconditional.
33884         [!__ASSUME_32BITUIDS]: Remove conditional code.
33885         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33886         <kernel-features.h>.
33887         [__ASSUME_32BITUIDS]: Make code unconditional.
33888         [!__ASSUME_32BITUIDS]: Remove conditional code.
33889         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33890         <kernel-features.h>.
33891         [__ASSUME_32BITUIDS]: Make code unconditional.
33892         [!__ASSUME_32BITUIDS]: Remove conditional code.
33893         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33894         <kernel-features.h>.
33895         [__ASSUME_32BITUIDS]: Make code unconditional.
33896         [!__ASSUME_32BITUIDS]: Remove conditional code.
33897         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33898         <kernel-features.h>.
33899         [__ASSUME_32BITUIDS]: Make code unconditional.
33900         [!__ASSUME_32BITUIDS]: Remove conditional code.
33901         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33902         <kernel-features.h>.
33903         [__ASSUME_32BITUIDS]: Make code unconditional.
33904         [!__ASSUME_32BITUIDS]: Remove conditional code.
33905         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33906         <kernel-features.h>.
33907         [__ASSUME_32BITUIDS]: Make code unconditional.
33908         [!__ASSUME_32BITUIDS]: Remove conditional code.
33909         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33910         <kernel-features.h>.
33911         [__ASSUME_32BITUIDS]: Make code unconditional.
33912         [!__ASSUME_32BITUIDS]: Remove conditional code.
33913         * sysdeps/unix/sysv/linux/kernel-features.h
33914         (__ASSUME_SETRESUID_SYSCALL): Remove.
33915         (__ASSUME_SETRESGID_SYSCALL): Likewise.
33916         (__ASSUME_32BITUIDS): Likewise.
33917         (__ASSUME_LDT_WORKS): Likewise.
33918         (__ASSUME_O_DIRECTORY): Likewise.
33919         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33920         architecture but not kernel version.
33921         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33922         (__ASSUME_MMAP2_SYSCALL): Likewise.
33923         (__ASSUME_STAT64_SYSCALL): Likewise.
33924         (__ASSUME_IPC64): Likewise.
33925         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33926         <kernel-features.h>.
33927         [__ASSUME_32BITUIDS]: Make code unconditional.
33928         [!__ASSUME_32BITUIDS]: Remove conditional code.
33929         * sysdeps/unix/sysv/linux/opendir.c: Do not include
33930         <kernel-features.h>.
33931         [__ASSUME_O_DIRECTORY]: Make code unconditional.
33932         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33933         132096]: Remove conditional code.
33934         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33935         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33936         <kernel-features.h>.
33937         [__ASSUME_32BITUIDS]: Make code unconditional.
33938         [!__ASSUME_32BITUIDS]: Remove conditional code.
33939         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33940         <kernel-features.h>.
33941         [__ASSUME_32BITUIDS]: Make code unconditional.
33942         [!__ASSUME_32BITUIDS]: Remove conditional code.
33943         * sysdeps/unix/sysv/linux/setegid.c: Do not include
33944         <kernel-features.h>.
33945         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33946         unconditional.
33947         (__setresgid): Do not declare.
33948         [__ASSUME_32BITUIDS]: Make code unconditional.
33949         [!__ASSUME_32BITUIDS]: Remove conditional code.
33950         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33951         <kernel-features.h>.
33952         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33953         unconditional.
33954         (__setresuid): Do not declare.
33955         [__ASSUME_32BITUIDS]: Make code unconditional.
33956         [!__ASSUME_32BITUIDS]: Remove conditional code.
33957         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33958         <kernel-features.h>.
33959         [__ASSUME_32BITUIDS]: Make code unconditional.
33960         [!__ASSUME_32BITUIDS]: Remove conditional code.
33961         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33962         <kernel-features.h>.
33963         [__ASSUME_32BITUIDS]: Make code unconditional.
33964         [!__ASSUME_32BITUIDS]: Remove conditional code.
33965
33966 2012-05-25  Richard Henderson  <rth@twiddle.net>
33967
33968         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33969         dl_hwcap to ifunc resolver.
33970         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33971         elf_ifunc_invoke.
33972         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33973         dl_hwcap to ifunc resolver.
33974         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33975
33976 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33977
33978         [BZ #14153]
33979         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33980         for |x| <= 2**-26, not 2**-57.
33981         * math/libm-test.inc (acos_test): Do not allow spurious underflow
33982         exception.
33983
33984 2012-05-24  Jeff Law  <law@redhat.com>
33985
33986         * stdio-common/Makefile (tests): Add bug25.
33987         * stdio-common/bug25.c: New test.
33988
33989 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
33990
33991         [BZ #13576]
33992         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33993         multiple of MALLOC_ALIGNMENT in size.
33994         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33995
33996 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33997
33998         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33999         Require >= 256.
34000         (FILENAME_MAX): Use macro-int-constant.
34001         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
34002         (_IOFBF): Use macro-int-constant.
34003         (_IOLBF): Likewise.
34004         (_IONBF): Likewise.
34005         (SEEK_CUR): Likewise.
34006         (SEEK_END): Likewise.
34007         (SEEK_SET): Likewise.
34008         (TMP_MAX): Likewise.
34009         (EOF): Use macro-int-constant.  Require < 0.
34010         (NULL): Use macro-constant.  Require == 0.
34011         (stdin): Require type to be FILE *.
34012         (stdout): Likewise.
34013         (stderr): Likewise.
34014         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34015         macro-int-constant.
34016         (EXIT_SUCCESS): Likewise.
34017         (NULL): Use macro-constant.  Require == 0.
34018         (RAND_MAX): Use macro-int-constant.
34019         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34020         [C99-based standards] (strtof): Require function.
34021         [C99-based standards] (strtold): Likewise.
34022         [C99-based standards] (strtoll): Likewise.
34023         [C99-based standards] (strtoull): Likewise.
34024         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34025         [ISO || ISO99 || ISO11] (limits.h): Likewise.
34026         [ISO || ISO99 || ISO11] (math.h): Likewise.
34027         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34028         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34029         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34030
34031 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
34032
34033         [BZ #14132]
34034         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34035         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34036         * intl/dgettext.c (DCGETTEXT): Likewise.
34037         * intl/gettext.c (DCGETTEXT): Likewise.
34038         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34039         * posix/regex_internal.h (gettext): Likewise.
34040         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34041         Remove declaration.
34042         * include/argz.h (__argz_count_internal)
34043         (__argz_stringify_internal): Remove declaration.
34044         (__argz_count, __argz_stringify): Declare hidden proto.
34045         * intl/dcgettext.c: Remove use of INTDEF.
34046         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34047         * string/argz-stringify.c: Likewise.
34048         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34049         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34050         Declare hidden proto.
34051         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34052         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34053         Declare hidden proto.
34054         * include/stdio.h (__asprintf_internal): Don't declare.
34055         (__asprintf): Don't define as macro.  Declare hidden proto.
34056         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34057         (__fsetlocking): Declare hidden proto.
34058         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34059         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34060         hidden proto.
34061         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34062         (_IO_setlinebuf): Remove use of INTUSE.
34063         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34064         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34065         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34066         Remove declaration.
34067         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34068         (_IO_do_flush): Remove use of INTUSE.
34069         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34070         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34071         (_IO_adjust_column, _IO_least_wmarker)
34072         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34073         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34074         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34075         (_IO_default_doallocate, _IO_wdefault_doallocate)
34076         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34077         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34078         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34079         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34080         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34081         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34082         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34083         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34084         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34085         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34086         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34087         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34088         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34089         proto.
34090         (_IO_flush_all_internal, _IO_adjust_column_internal)
34091         (_IO_default_uflow_internal, _IO_default_finish_internal)
34092         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34093         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34094         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34095         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34096         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34097         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34098         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34099         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34100         (_IO_file_close_internal, _IO_file_close_it_internal)
34101         (_IO_file_underflow_internal, _IO_file_overflow_internal)
34102         (_IO_file_init_internal, _IO_file_attach_internal)
34103         (_IO_file_fopen_internal, _IO_file_read_internal)
34104         (_IO_file_sync_internal, _IO_file_seek_internal)
34105         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34106         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34107         (_IO_str_underflow_internal, _IO_str_overflow_internal)
34108         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34109         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34110         (_IO_list_all_internal, _IO_link_in_internal)
34111         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34112         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34113         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34114         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34115         (_IO_do_write_internal, _IO_padn_internal)
34116         (_IO_getline_info_internal, _IO_getline_internal)
34117         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34118         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34119         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34120         (_IO_vfscanf_internal, _IO_vfprintf_internal)
34121         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34122         (_IO_init_internal, _IO_un_link_internal): Don't declare.
34123         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34124         with libc_hidden_ver, remove use of INTUSE.
34125         * libio/genops.c: Likewise.
34126         * libio/freopen.c: Likewise.
34127         * libio/freopen64.c: Likewise.
34128         * libio/iofclose.c: Likewise.
34129         * libio/iofdopen.c: Likewise.
34130         * libio/iofflush.c: Likewise.
34131         * libio/iofflush_u.c: Likewise.
34132         * libio/iofgets.c: Likewise.
34133         * libio/iofgets_u.c: Likewise.
34134         * libio/iofopen.c: Likewise.
34135         * libio/iofopncook.c: Likewise.
34136         * libio/iofread.c: Likewise.
34137         * libio/iofread_u.c: Likewise.
34138         * libio/ioftell.c: Likewise.
34139         * libio/iofwrite.c: Likewise.
34140         * libio/iogetline.c: Likewise.
34141         * libio/iogets.c: Likewise.
34142         * libio/iogetwline.c: Likewise.
34143         * libio/iopadn.c: Likewise.
34144         * libio/iopopen.c: Likewise.
34145         * libio/ioseekoff.c: Likewise.
34146         * libio/ioseekpos.c: Likewise.
34147         * libio/iosetbuffer.c: Likewise.
34148         * libio/iosetvbuf.c: Likewise.
34149         * libio/ioungetc.c: Likewise.
34150         * libio/ioungetwc.c: Likewise.
34151         * libio/iovdprintf.c: Likewise.
34152         * libio/iovsprintf.c: Likewise.
34153         * libio/iovsscanf.c: Likewise.
34154         * libio/memstream.c: Likewise.
34155         * libio/obprintf.c: Likewise.
34156         * libio/oldfileops.c: Likewise.
34157         * libio/oldiofclose.c: Likewise.
34158         * libio/oldiofdopen.c: Likewise.
34159         * libio/oldiofopen.c: Likewise.
34160         * libio/oldiopopen.c: Likewise.
34161         * libio/oldstdfiles.c: Likewise.
34162         * libio/putc.c: Likewise.
34163         * libio/setbuf.c: Likewise.
34164         * libio/setlinebuf.c: Likewise.
34165         * libio/stdfiles.c: Likewise.
34166         * libio/strops.c: Likewise.
34167         * libio/vasprintf.c: Likewise.
34168         * libio/vscanf.c: Likewise.
34169         * libio/vsnprintf.c: Likewise.
34170         * libio/vswprintf.c: Likewise.
34171         * libio/wfiledoalloc.c: Likewise.
34172         * libio/wfileops.c: Likewise.
34173         * libio/wgenops.c: Likewise.
34174         * libio/wmemstream.c: Likewise.
34175         * libio/wstrops.c: Likewise.
34176         * libio/__fpurge.c: Likewise.
34177         * libio/__fsetlocking.c: Likewise.
34178         * assert/assert.c: Likewise.
34179         * debug/fgets_chk.c: Likewise.
34180         * debug/fgets_u_chk.c: Likewise.
34181         * debug/fread_chk.c: Likewise.
34182         * debug/fread_u_chk.c: Likewise.
34183         * debug/gets_chk.c: Likewise.
34184         * debug/obprintf_chk.c: Likewise.
34185         * debug/vasprintf_chk.c: Likewise.
34186         * debug/vdprintf_chk.c: Likewise.
34187         * debug/vsnprintf_chk.c: Likewise.
34188         * debug/vsprintf_chk.c: Likewise.
34189         * malloc/mtrace.c: Likewise.
34190         * misc/error.c: Likewise.
34191         * misc/syslog.c: Likewise.
34192         * stdio-common/asprintf.c: Likewise.
34193         * stdio-common/fxprintf.c: Likewise.
34194         * stdio-common/getw.c: Likewise.
34195         * stdio-common/isoc99_fscanf.c: Likewise.
34196         * stdio-common/isoc99_scanf.c: Likewise.
34197         * stdio-common/isoc99_vfscanf.c: Likewise.
34198         * stdio-common/isoc99_vscanf.c: Likewise.
34199         * stdio-common/isoc99_vsscanf.c: Likewise.
34200         * stdio-common/printf-prs.c: Likewise.
34201         * stdio-common/printf_fp.c: Likewise.
34202         * stdio-common/printf_fphex.c: Likewise.
34203         * stdio-common/printf_size.c: Likewise.
34204         * stdio-common/putw.c: Likewise.
34205         * stdio-common/scanf.c: Likewise.
34206         * stdio-common/sprintf.c: Likewise.
34207         * stdio-common/tmpfile.c: Likewise.
34208         * stdio-common/vfprintf.c: Likewise.
34209         * stdio-common/vfscanf.c: Likewise.
34210         * stdlib/strfmon_l.c: Likewise.
34211         * sunrpc/openchild.c: Likewise.
34212         * sunrpc/xdr_stdio.c: Likewise.
34213         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34214         * sysdeps/mach/hurd/tmpfile.c: Likewise.
34215
34216 2012-05-24  Roland McGrath  <roland@hack.frob.com>
34217
34218         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34219
34220         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34221         in the third column, to generate for the shared library an IFUNC
34222         that uses _dl_vdso_vsym.
34223         * Makerules (COMPILE.c, compile-stdin.c): New variables.
34224         * Makeconfig (object-suffixes-noshared): New variable.
34225
34226         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34227         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34228         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34229         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34230
34231         [BZ #14132]
34232         * include/sys/time.h (__gettimeofday): Remove macro.
34233         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34234         * time/gettimeofday.c (__gettimeofday): Remove #undef.
34235         Remove INTDEF.
34236         (__gettimeofday): Add libc_hidden_def.
34237         (gettimeofday): Add libc_hidden_weak.
34238         * sysdeps/mach/gettimeofday.c: Likewise.
34239         * sysdeps/posix/gettimeofday.c: Likewise.
34240         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34241         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34242         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34243         (__gettimeofday_internal): Remove strong_alias.
34244         (__gettimeofday): Add libc_hidden_def.
34245         (gettimeofday): Add libc_hidden_weak.
34246         * sysdeps/unix/syscalls.list (gettimeofday):
34247         Remove __gettimeofday_internal alias.
34248
34249 2012-05-24  Daniel Jacobowitz  <drow@false.org>
34250             H.J. Lu  <hongjiu.lu@intel.com>
34251
34252         [BZ #12495]
34253         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34254         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34255         (largebin_index_32_big): New.
34256         (largebin_index): Use it for 16-byte alignment.
34257         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
34258         correction with front_misalign.
34259
34260 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34261
34262         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34263         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34264         Likewise.
34265         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34266         Likewise.
34267         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34268         Likewise.
34269         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34270         Likewise.
34271         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34272         Likewise.
34273         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34274         Likewise.
34275         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34276         Likewise.
34277         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34278         Likewise.
34279         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34280         Likewise.
34281         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34282         Likewise.
34283         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34284         Likewise.
34285         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34286         Likewise.
34287
34288         * scripts/data/c++-types-x32-linux-gnu.data: New file.
34289         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34290
34291 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34292
34293         [BZ #10846]
34294         [BZ #14036]
34295         * math/libm-test.inc (exp_test): Add test from bug 14036.
34296         (pow_test): Add test from bug 10846.
34297
34298         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34299         and other flags.
34300         (special_function): Do not include flags in test name.
34301         (parse_args): Likewise.
34302         * sysdeps/i386/fpu/libm-test-ulps: Update.
34303         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34304         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34305         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34307
34308         * math/gen-libm-test.pl (%beautify): Add entries for underflow
34309         exceptions.
34310         * math/libm-test.inc ("Philosophy"): Update comment about
34311         exception testing.
34312         (UNDERFLOW_EXCEPTION): New macro.
34313         (UNDERFLOW_EXCEPTION_OK): Likewise.
34314         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34315         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34316         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34317         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34318         (INVALID_EXCEPTION_OK): Update value.
34319         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34320         (OVERFLOW_EXCEPTION_OK): Likewise.
34321         (IGNORE_ZERO_INF_SIGN): Likewise.
34322         (test_exceptions): Handle underflow exceptions.
34323         (acos_test): Update for underflow exception expectations.
34324         (cexp_test): Likewise.
34325         (clog_test): Likewise.
34326         (clog10_test): Likewise.
34327         (csqrt_test): Likewise.
34328         (ctan_test): Likewise.
34329         (ctanh_test): Likewise.
34330         (exp_test): Likewise.
34331         (exp10_test): Likewise.
34332         (exp2_test): Likewise.
34333         (expm1_test): Likewise.
34334         (fma_test): Likewise.
34335         (j0_test): Likewise.
34336         (jn_test): Likewise.
34337         (nexttoward_test): Likewise.
34338         (pow_test): Likewise.
34339         (scalbn_test): Likewise.
34340         (scalbln_test): Likewise.
34341         (tan_test): Likewise.
34342         (y1_test): Likewise.
34343         * sysdeps/i386/fpu/libm-test-ulps: Update.
34344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34345
34346 2012-05-23  David S. Miller  <davem@davemloft.net>
34347
34348         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34349         (__libc_sigaction): Remove unused local variables.
34350
34351 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34352
34353         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34354
34355 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
34356
34357         mktime: avoid signed integer overflow
34358         * time/mktime.c (__mktime_internal): Do not mishandle the case
34359         where diff == INT_MIN.
34360
34361         mktime: simplify computation of average
34362         * time/mktime.c (ranged_convert): Use new time_t_avg function
34363         instead of rolling our own (probably-slower) code.
34364
34365         mktime: do not assume signed right shift propagates sign bit
34366         * time/mktime.c (isdst_differ): New static function.
34367         (__mktime_internal): No need to normalize tm_isdst now.
34368         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34369         tm_isdst values.
34370
34371         mktime: merge another wrapv change from gnulib
34372         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34373         from some compilers.
34374
34375         mktime: remove incorrect attempt at unusual arithmetics
34376         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34377         The code didn't really work on such machines anyway.
34378         (TYPE_MINIMUM): Assume two's complement.
34379         (twos_complement_arithmetic): Verify that long_int and time_t
34380         are two's complement (or unsigned, in the latter case).
34381
34382         mktime: check signed shifts on long_int and time_t, too
34383         * time/mktime.c (SHR): Check that shifts work as desired
34384         on the types long_int and time_t too, as SHR is used on
34385         such types.
34386
34387         mktime: do not assume 'long' is wide enough
34388         * time/mktime.c (verify): Move decl up.
34389         (long_int): New type.
34390         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34391         to remove assumption in the code that 'long' is wide enough to
34392         store year values.  This assumption is not true on x32 and on
34393         some non-glibc platforms.
34394
34395         mktime: merge wrapv change from gnulib
34396         * time/mktime.c (WRAPV): New macro.
34397         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34398         (guess_time_tm, __mktime_internal): Do not assume that signed
34399         integer overflow wraps around; modern compilers generate code
34400         where this assumption is no longer valid.
34401
34402 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34403
34404         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34405         Replace "jmp L(pseudo_end)" with "ret".
34406         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34407         Likewise.
34408
34409 2012-05-23  Andreas Jaeger  <aj@suse.de>
34410
34411         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34412         * sysdeps/unix/sysv/linux/poll.c: Remove file.
34413
34414 2012-05-23  Andreas Jaeger  <aj@suse.de>
34415             Maximilian Attems  <max@stro.at>
34416
34417         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34418         New macros.
34419
34420 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34421
34422         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34423         code so that pseudo_end is just ret and the stack pointer is
34424         correct also for static library in error case.
34425
34426 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
34427
34428         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34429         move to syscalls.list.
34430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34434
34435         * manual/install.texi (Running make install): Do not mention Linux
34436         kernel version for which pt_chown is not needed.
34437         (Linux): Do not mention problems with nscd with 2.0 kernels.
34438         * INSTALL: Regenerated.
34439
34440 2012-05-23  Andreas Jaeger  <aj@suse.de>
34441
34442         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34443         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34444         macro.
34445         * sysdeps/unix/sysv/linux/s390/bits/mman.h
34446         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34447         * sysdeps/unix/sysv/linux/sh/bits/mman.h
34448         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34449         * sysdeps/unix/sysv/linux/i386/bits/mman.h
34450         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34451         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34452         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34453         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34454         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34455         * sysdeps/unix/sysv/linux/bits/in.h
34456         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34457
34458 2012-05-22  Roland McGrath  <roland@hack.frob.com>
34459
34460         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34461         (PREPARE_VERSION): Just use assert instead, it will be elided
34462         under [NDEBUG] anyway.
34463
34464 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34465
34466         * sysdeps/unix/sysv/linux/Makefile: Include
34467         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34468         (sysdep_routines): Remove sysctl.
34469         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34470         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34471         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34472         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34473         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34474
34475 2012-05-22  Andreas Jaeger  <aj@suse.de>
34476
34477         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34478         that pseudo_end is just ret and the stack pointer is correct also
34479         for static library in error case.
34480
34481 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
34482
34483         [BZ #14122]
34484         * nss/nsswitch.c (defconfig_entries): New variable.
34485         (__nss_database_lookup): Don't leak defconfig entries.
34486         (nss_parse_service_list): Don't leak on error paths.
34487         (free_database_entries): New function.
34488         (free_defconfig): New function.
34489         (free_mem): Move common code to free_database_entries.
34490
34491 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34492
34493         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34494         Add arch_prctl.
34495         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34496
34497         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34498         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34499         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34500         New macro.
34501         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34502         (INTERNAL_SYSCALL_TYPES): Likewise.
34503         (LOAD_ARGS_TYPES_[1-6]): Likewise.
34504         (LOAD_REGS_TYPES_[1-6]): Likewise.
34505         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34506         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34507
34508 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34509
34510         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34511         copysignl for GLIBC_2_0.
34512         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34513         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34514         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34515         logbl for GLIBC_2_0.
34516         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34517         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34518
34519 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34520
34521         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34522         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34523
34524         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34525         Use "neg %eax".
34526
34527         * time/mktime.c: Update copyright years.
34528
34529 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
34530
34531         mktime: merge comment-quoting-style change from gnulib
34532         * time/mktime.c: Quote 'like this' in comments.
34533         The GNU coding standards suggest that we no longer quote `like this',
34534         as "`" and "'" are typically rendered asymmetrically nowadays.
34535         The typical gnulib style is to quote 'like this' when quoting
34536         code, and "like this" when quoting English.
34537
34538         * time/mktime.c (compile-command): Add "-I.".
34539
34540         mktime: merge mktime-internal.h change from gnulib
34541         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34542
34543         mktime: merge time_r change from gnulib
34544         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34545
34546         mktime: merge DEBUG change from gnulib
34547         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34548         case system <time.h> has a #define.
34549
34550         mktime: merge <sys/types.h> change from gnulib
34551         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34552         since <time.t> is now guaranteed to define time_t.
34553
34554         mktime: merge HAVE_CONFIG_H change from gnulib
34555         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34556
34557 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34558
34559         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34560         Use "neg %eax".
34561
34562         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34563         __rlim_t cast.
34564         (struct rusage): Use anonymous union to pad each field to
34565         __syscall_slong_t.
34566
34567 2012-05-21  David S. Miller  <davem@davemloft.net>
34568
34569         * Makefules (o-iterator): Remove .s cases.
34570         (compile-command.s): Delete.
34571         (COMPILE.s): Delete.
34572         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34573
34574 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
34575
34576         * configure.in (libc_cv_predef_stack_protector): Only consider
34577         "foobar" and "__stack_chk_fail" lines in libc_undefs.
34578         * configure: Regenerated.
34579
34580 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34581
34582         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34583         New macro.  Use R*LP on int and pointer.
34584         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34585         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34586         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34587         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34588
34589         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34590         [__WORDSIZE_TIME64_COMPAT32] instead of
34591         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34592         (struct utmp): Likewise.
34593         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34594         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34595         Renamed to ...
34596         (__WORDSIZE_TIME64_COMPAT32): This.
34597         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34598         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34599         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34600         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34601         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34602         (__WORDSIZE_TIME64_COMPAT32): New macro.
34603
34604 2012-05-21  Andreas Jaeger  <aj@suse.de>
34605
34606         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34607         only if [SHARED]. Add prototype for __wcschr_ia32.
34608
34609 2012-05-21  Roland McGrath  <roland@hack.frob.com>
34610
34611         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34612         of %rbp unmolested in the jmp_buf while mangling the low bits.
34613         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34614         unmolested high bits of %rbp while demangling the low bits.
34615         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34616
34617 2012-05-21  Andreas Jaeger  <aj@suse.de>
34618
34619         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34620         * sunrpc/svc_simple.c: Use it for registerrpc.
34621         * sunrpc/xcrypt.c: Use it for passwd2des.
34622
34623         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34624
34625 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34626
34627         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34628         Don't define if [__SYSCALL_WORDSIZE != 32].
34629         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34630         New macro.
34631
34632 2012-05-21  Bruno Haible  <bruno@clisp.org>
34633             Andreas Jaeger  <aj@suse.de>
34634
34635         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34636         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34637         inptr and inend for must_buffer_ch.
34638         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34639         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34640         * stdio-common/Makefile (tests): Remove bug15.
34641         (bug15-ENV): Remove macro.
34642         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34643         anymore.
34644
34645 2012-05-19  Andreas Jaeger  <aj@suse.de>
34646             Roland McGrath  <roland@hack.frob.com>
34647
34648         * manual/contrib.texi: Completely rewritten. It contains now an
34649         alphabetical list of contributors and their contributions.
34650
34651 2012-05-21  Richard Henderson  <rth@twiddle.net>
34652
34653         * misc/getauxval.c (__getauxval): Use unsigned long int.
34654         * misc/sys/auxv.h: Include <sys/cdefs.h>.
34655         (getauxval): Use unsigned long int.
34656
34657 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34658
34659         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34660
34661 2012-05-21  Roland McGrath  <roland@hack.frob.com>
34662
34663         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34664         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34665         __alignof__ (long double).
34666
34667 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34668
34669         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34670
34671 2012-05-20  Richard Henderson  <rth@twiddle.net>
34672
34673         * misc/getauxval.c: New file.
34674         * misc/sys/auxv.h: New file.
34675         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34676         (routines): Add getauxval.
34677         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34678         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34679         * elf/dl-sysdep.c (_dl_auxv): Remove.
34680         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34681         * elf/dl-support.c (_dl_auxv): New variable.
34682         (_dl_aux_init): Initialize it.
34683         * manual/startup.texi (Auxiliary Vector): New node.
34684         * sysdeps/generic/bits/hwcap.h: New file.
34685         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34686         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
34687         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34688         * sysdeps/sparc/sysdep.h: ... here.  Include it.
34689         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34690         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34692         Update.
34693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34694         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34695         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34696         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34697         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34698         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34699         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34700         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34701
34702 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34703
34704         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34705
34706 2012-05-19  David S. Miller  <davem@davemloft.net>
34707
34708         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34709
34710 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
34711
34712         [BZ #14123]
34713         * math/s_ccosh.c: Include <float.h>
34714         (__ccosh): Avoid internal overflow calculating sinh and cosh
34715         values before multiplying by sin and cos values.
34716         * math/s_ccoshf.c: Likewise.
34717         * math/s_ccoshl.c: Likewise.
34718         * math/s_csin.c: Likewise.
34719         * math/s_csinf.c: Likewise.
34720         * math/s_csinl.c: Likewise.
34721         * math/s_csinh.c: Likewise.
34722         * math/s_csinhf.c: Likewise.
34723         * math/s_csinhl.c: Likewise.
34724         * math/libm-test.inc (ccos_test): Add more tests.
34725         (ccosh_test): Likewise.
34726         (csin_test): Likewise.
34727         (csinh_test): Likewise.
34728         * sysdeps/i386/fpu/libm-test-ulps: Update.
34729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34730
34731 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
34732
34733         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34734         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34735
34736         * sysdeps/x86_64/x32/_itoa.h: Add comment.
34737
34738 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
34739
34740         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34741         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34742         * sysdeps/powerpc/soft-fp/Versions: Likewise.
34743         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34744         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34745         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34746         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34747         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34748         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34749         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34750         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34751         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34752         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34753         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34754         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34755         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34756         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34757         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34758         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34759         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34760         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34761         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34762         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34763         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34764         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34765         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34766         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34767         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34768         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34769         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34770         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34771
34772 2012-05-18  Andreas Jaeger  <aj@suse.de>
34773
34774         * csu/.gitignore: Delete.
34775
34776 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34777
34778         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34779         (timex): Use __syscall_slong_t.
34780
34781 2012-05-18  Andreas Jaeger  <aj@suse.de>
34782             Carlos O'Donell  <carlos_odonell@mentor.com>
34783
34784         * manual/install.texi (Configuring and compiling): Update
34785         description about files modified in the source directory.
34786         * INSTALL: Regenerated.
34787
34788 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34789
34790         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34791         value.  Use "or" to set return value to -1.
34792         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34793         negate return value.
34794
34795 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34796
34797         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34798         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
34799         failure if the compiler has Graphite support disabled.
34800         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34801         Likewise.
34802         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34803         (CFLAGS-memmove.c): Likewise.
34804         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34805         Likewise.
34806
34807 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34808
34809         * sysdeps/x86_64/x32/_itoa.h: New file.
34810
34811         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34812         getdents system call only if kernel and user dirents have the
34813         same d_ino and d_off.
34814
34815         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34816         LLONG_MAX != LONG_MAX.
34817         (_itoa_word): Use _ITOA_WORD_TYPE on value.
34818         (_fitoa_word): Likewise.
34819
34820         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34821         years.
34822         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34823         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34824         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34825
34826         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34827         include <bits/wordsize.h>.  Check __x86_64__ instead of
34828         __WORDSIZE.
34829         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34830         if __x86_64__ is defined.  Use anonymous union on fpstate.
34831
34832         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34833         anonymous union.
34834
34835 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
34836
34837         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34838         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34839         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34840         Refer to _rtld_local_ro instead of _rtld_global_ro.
34841         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34842         Likewise.
34843         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34844         Likewise.
34845         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34846         Likewise.
34847         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34848         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34849         of _rtld_global, and rtld_progname instead of _dl_argv[0].
34850
34851         * sysdeps/powerpc/powerpc32/dl-machine.c
34852         (__elf_machine_runtime_setup) [PROF]: Don't reference
34853         _dl_prof_resolve.
34854
34855 2012-05-18  Andreas Jaeger  <aj@suse.de>
34856
34857         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34858         function only available for GCCs before 3.4 since GCC 3.4
34859         introduced a builtin.
34860         (lrint): Likewise.
34861         (llrintf): Likewise.
34862         (llrint): Likewise.
34863         (fmaxf): Likewise.
34864         (fmax): Likewise.
34865         (fminf): Likewise.
34866         (fmin): Likewise.
34867         (rint): Likewise.
34868         (rintf): Likewise.
34869         (nearbyint): Likewise.
34870         (nearbyintf): Likewise.
34871         (ceil): Likewise.
34872         (ceilf): Likewise.
34873         (floor): Likewise.
34874         (floorf): Likewise.
34875
34876 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34877
34878         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34879         on both fields and cast pointer to __syscall_ulong_t.
34880
34881         * bits/types.h (__fsword_t): New type.
34882         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34883         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34884         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34885         (__FSWORD_T_TYPE): Likewise.
34886         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34887         (__FSWORD_T_TYPE): Likewise.
34888         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34889         (__FSWORD_T_TYPE): Likewise.
34890         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34891         (__FSWORD_T_TYPE): Likewise.
34892         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34893         __SWORD_TYPE with __fsword_t.
34894         (statfs64): Likewise.
34895
34896 2012-05-17  David S. Miller  <davem@davemloft.net>
34897
34898         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34899
34900 2012-05-17  Andreas Jaeger  <aj@suse.de>
34901
34902         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34903         warning.
34904
34905 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34906
34907         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34908
34909 2012-05-17  Andreas Jaeger  <aj@suse.de>
34910
34911         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34912         when it is used.
34913
34914 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
34915
34916         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34917
34918 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34919
34920         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34921         * sysdeps/x86_64/tst-mallocalign1.c: New file.
34922
34923 2012-05-17  Andreas Jaeger  <aj@suse.de>
34924             Carlos O'Donell  <carlos_odonell@mentor.com>
34925
34926         [BZ #14059]
34927         * sysdeps/x86_64/multiarch/init-arch.h
34928         (bit_YMM_Usable): Rename to...
34929         (bit_AVX_Usable): ... this.
34930         (bit_FMA4_Usable): New macro.
34931         (bit_XMM_state): New macro.
34932         (bit_YMM_state): New macro.
34933         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34934         [__ASSEMBLER__] (index_AVX_Usable): ... this.
34935         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34936         (CPUID_OSXSAVE): New macro.
34937         (CPUID_AVX): New macro.
34938         (CPUID_FMA4): New macro.
34939         (index_YMM_Usable): Rename to...
34940         (index_AVX_Usable): ... this.
34941         (HAS_AVX): Use HAS_ARCH_FEATURE.
34942         (HAS_FMA4): Likewise.
34943         (HAS_YMM_USABLE): Remove.
34944         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34945         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34946         are present.
34947         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34948         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34949         * sysdeps/x86_64/multiarch/Makefile: Likewise.
34950         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34951         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34952
34953 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
34954
34955         * math/libm-test.c: Support platforms without multiple rounding modes.
34956         * math/bug-nextafter.c: Support platforms without FP exceptions.
34957         * math/bug-nexttoward.c: Likewise.
34958         * math/test-fenv.c: Likewise.
34959         * math/test-misc.c: Likewise.
34960         * stdlib/bug-getcontext.c: Likewise.
34961
34962 2012-05-17  Andreas Jaeger  <aj@suse.de>
34963
34964         * manual/examples/search.c (critter_cmp): Change signature to
34965         avoid warnings.
34966         * manual/string.texi (Collation Functions): Likewise.
34967
34968 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34969
34970         * bits/types.h: Fold copyright years.
34971         * bits/typesizes.h: Likewise.
34972         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34973         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34974         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34975         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34976         * time/time.h: Likewise.
34977
34978 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
34979
34980         [BZ #208]
34981         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34982         in instead of returning them.  Return void.
34983         (__libc_mallinfo): Accumulate over all arenas.
34984         (__malloc_stats): Adjust for change in int_mallinfo interface.
34985
34986 2012-05-16  Roland McGrath  <roland@hack.frob.com>
34987
34988         [BZ #10375]
34989         * configure.in (NM): Add AC_CHECK_TOOL for it.
34990         (libc_extra_cflags): New substituted variable.
34991         Check for -fstack-protector being used implicitly.
34992         * configure: Regenerated.
34993         * config.make.in (config-extra-cflags): New variable,
34994         gets @libc_extra_cflags@.
34995         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34996
34997         [BZ #10375]
34998         * configure.in: Check for _FORTIFY_SOURCE being predefined.
34999         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35000         * configure: Regenerated.
35001         * config.make.in (CPPUNDEFS): New substituted variable.
35002         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35003         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35004         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35005
35006 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35007
35008         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35009         (mq_attr): Use __syscall_slong_t.
35010
35011 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35012
35013         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35014         Check __x86_64__ instead of __WORDSIZE.
35015         (_STAT_VER_LINUX): Likewise.
35016         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
35017         __syscall_ulong_t and __syscall_slong_t.
35018         (stat64): Likewise.
35019
35020 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35021
35022         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35023
35024 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35025
35026         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35027
35028 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35029
35030         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35031         __syscall_ulong_t.
35032
35033         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35034         include <bits/wordsize.h>.  Check __x86_64__ instead of
35035         __WORDSIZE.
35036         (greg_t): Use "__extension__ long long int" if __x86_64__ is
35037         defined.
35038         (mcontext_t): Replace "unsigned long" with "unsigned long long".
35039
35040         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35041         include <bits/wordsize.h>.  Check __x86_64__ instead of
35042         __WORDSIZE.
35043         (user_regs_struct): Use "__extension__ unsigned long long"
35044         instead of "unsigned long" if __x86_64__ is defined.
35045         (user): Likewise.  Pad after pointer field if __ILP32__ is
35046         defined.
35047
35048 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
35049
35050         * configure.in (makeinfo): Require version 4.5 or later.  Allow
35051         versions 5 to 9.
35052         * configure: Regenerated.
35053         * manual/install.texi (texinfo): Increase version requirement to
35054         4.5 or later.
35055         * INSTALL: Regenerated.
35056
35057         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35058
35059 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35060
35061         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35062
35063         * sysdeps/x86_64/x32/ffs.c: New file.
35064
35065         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35066         __syscall_ulong_t.
35067         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35068         defined.  Use __syscall_ulong_t.
35069         (shminfo): Use __syscall_ulong_t.
35070         (shm_info): Likewise.
35071
35072         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35073         __syscall_ulong_t.
35074
35075         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35076         <bits/wordsize.h>.
35077         (msgqnum_t): Use __syscall_ulong_t.
35078         (msglen_t): Likewise.
35079         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
35080         __syscall_ulong_t.
35081
35082         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35083         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35084
35085         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35086
35087         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35088         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35089
35090         * sysvipc/sys/msg.h (msgbuf): Replace long int with
35091         __syscall_slong_t.
35092
35093         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35094         include <bits/wordsize.h>.  Check __x86_64__ instead of
35095         __WORDSIZE.
35096
35097         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35098         "unsigned long long int" if __x86_64__ is defined.
35099         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35100
35101         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35102         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35103         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35104
35105         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35106         <stdint.h>.
35107         (GET_PC): Cast to uintptr_t first.
35108         (GET_FRAME): Likewise.
35109         (GET_STACK): Likewise.
35110
35111         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35112         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35113         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35114         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35115         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35116         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35117         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35118         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35119         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35120         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35121         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35122         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35123         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35124         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35125         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35126         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35127         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35128         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35129         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35130         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35131         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35132         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35133         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35134         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35135         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35136         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35137         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35138         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35139         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35140
35141 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
35142
35143         * Makerules (+depfiles): Also collect depfiles from .oS in
35144         $(extra-objs).
35145         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35146         .oS, $(libnldbl-routines)).
35147
35148         * Makerules (native-compile-mkdep-flags): Define.
35149         * sunrpc/Makefile (extra-objs): Add $(addprefix
35150         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35151         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35152         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
35153         calling $(make-target-directory).
35154
35155 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35156
35157         * bits/types.h (__snseconds_t): Removed.
35158         * time/time.h (struct timespec): Replace __snseconds_t with
35159         __syscall_slong_t.
35160         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35161         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35162         Likewise.
35163         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35164         (__SNSECONDS_T_TYPE): Likewise.
35165         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35166         (__SNSECONDS_T_TYPE): Likewise.
35167         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35168         (__SNSECONDS_T_TYPE): Likewise.
35169
35170 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35171
35172         * sysdeps/mach/hurd/bits/typesizes.h
35173         (__SYSCALL_SLONG_TYPE): New macro.
35174         (__SYSCALL_ULONG_TYPE): Likewise.
35175
35176 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35177
35178         * bits/types.h (__syscall_slong_t): New type.
35179         (__syscall_ulong_t): Likewise.
35180
35181         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35182         (__SYSCALL_ULONG_TYPE): Likewise.
35183         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35184         (__SYSCALL_SLONG_TYPE): Likewise.
35185         (__SYSCALL_ULONG_TYPE): Likewise.
35186         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35187         (__SYSCALL_SLONG_TYPE): Likewise.
35188         (__SYSCALL_ULONG_TYPE): Likewise.
35189         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35190         (__SYSCALL_SLONG_TYPE): Likewise.
35191         (__SYSCALL_ULONG_TYPE): Likewise.
35192
35193 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35194
35195         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35196         Add sigaltstack-offsets.sym.
35197         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35198         <sigaltstack-offsets.h>.
35199         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
35200         longjmp_msg pointer.
35201         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
35202         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35203         signal stack.
35204         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35205
35206 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35207
35208         * elf/stackguard-macros.h: Remove file.
35209         * sysdeps/generic/stackguard-macros.h: New file.
35210         * sysdeps/i386/stackguard-macros.h: Likewise.
35211         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35212         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35213         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35214         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35215         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35216         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35217         * sysdeps/x86_64/stackguard-macros.h: Likewise.
35218         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35219         <elf/stackguard-macros.h>.
35220
35221         [BZ #14109]
35222         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35223         __aligned__ in attribute.
35224         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35225         (gregset_t): Likewise.
35226
35227 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35228
35229         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35230         * sysdeps/x86_64/64/Implies-after: Here.  New file.
35231         * sysdeps/x86_64/x32/Implies-after: New file.
35232
35233 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35234
35235         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35236         and access return value for _dl_profile_fixup.  Use R10_LP to
35237         load frame size.
35238
35239 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35240
35241         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35242
35243 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35244
35245         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35246         * sysdeps/x86_64/x32/sysdep.h: New file.
35247
35248 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35249
35250         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35251         * sysdeps/x86_64/setjmp.S: Likewise.
35252
35253 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35254
35255         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35256         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35257         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35258         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35259         remove unused global constant.
35260
35261 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
35262
35263         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35264         include of <not-cancel.h>.
35265
35266 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35267
35268         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35269
35270 2012-05-15  Jeff Law  <law@redhat.com>
35271             Andreas Jaeger  <aj@suse.de>
35272
35273         [BZ #13594]
35274         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35275         out from...
35276         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35277         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35278         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35279         code changing __hst_map_handle.map.
35280
35281 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35282
35283         * configure.in (sysnames): Look for Implies-before and Implies-after
35284         files.
35285         * configure: Regenerated.
35286
35287 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35288
35289         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35290         8-byte data alignment with LP_SIZE alignment.
35291
35292 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35293
35294         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35295         into R10_LP.
35296
35297 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35298
35299         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35300
35301 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35302
35303         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35304         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35305         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35306         Likewise.
35307         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35308
35309 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35310
35311         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35312         (stackinfo_sub_sp): Likewise.
35313
35314 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35315
35316         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35317         RAX_LP.
35318
35319 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35320
35321         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35322         into R*_LP.
35323
35324 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35325
35326         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35327         sizes into R*_LP.
35328
35329 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35330
35331         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35332
35333 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35334
35335         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35336         into R11_LP and load __x86_64_shared_cache_size_half into
35337         R8_LP.
35338
35339 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35340
35341         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35342         R8_LP.
35343
35344 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35345
35346         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35347         logb for POWER7.
35348         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35349         logbf for POWER7.
35350         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35351         logbl for POWER7.
35352         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35353         powerpc32/power7/fpu/s_logb.c via #include.
35354         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35355         powerpc32/power7/fpu/s_logbf.c via #include.
35356         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35357         powerpc32/power7/fpu/s_logbl.c via #include.
35358
35359 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35360
35361         * README.libm: Remove file.
35362
35363 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35364
35365         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35366         count for x32.  Use R*_LP and omit operand-size suffix.
35367
35368 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35369
35370         * shlib-versions: Move x86_64-.*-linux.* entries to ...
35371         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
35372         * sysdeps/x86_64/x32/shlib-versions: New file.
35373
35374 2012-05-14  Roland McGrath  <roland@hack.frob.com>
35375
35376         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35377         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35378         Use _dl_fatal_printf instead.
35379
35380 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35381
35382         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35383         set if not set by the user.  Do not allow for being unset.
35384         * sysdeps/unix/sysv/linux/configure: Regenerated.
35385
35386 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35387
35388         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35389         the `q' suffix from lea and replace .quad with ASM_ADDR.
35390
35391 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35392
35393         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35394         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
35395         instead of $17.
35396         (PTR_DEMANGLE): Likewise.
35397
35398 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35399
35400         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35401         (LP_OP): Likewise.
35402         (ASM_ADDR): Likewise.
35403         (RAX_LP): Likewise.
35404         (RBP_LP): Likewise.
35405         (RBX_LP): Likewise.
35406         (RCX_LP): Likewise.
35407         (RDI_LP): Likewise.
35408         (RSI_LP): Likewise.
35409         (RSP_LP): Likewise.
35410         (R8_LP): Likewise.
35411         (R9_LP): Likewise.
35412         (R10_LP): Likewise.
35413         (R10_LP): Likewise.
35414         (R11_LP): Likewise.
35415         (R12_LP): Likewise.
35416         (R13_LP): Likewise.
35417         (R14_LP): Likewise.
35418         (R15_LP): Likewise.
35419
35420 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35421
35422         * sysdeps/x86_64/x32/dl-machine.h: New file.
35423
35424 2012-05-14  Andreas Jaeger  <aj@suse.de>
35425
35426         * manual/Makefile (subdir): Remove export of subdir.
35427         (all): Remove target.
35428         (.PHONY): Remove all from list.
35429         (mkinstalldirs): Remove.
35430         (.PHONY): Remove installdirs from list.
35431         ($(inst_infodir)/libc.info): Use make-target-directory.
35432         (installdirs): Remove.
35433         (subdir_%): Remove.
35434         (glibc-targets): Remove.
35435         (lib): Remove.
35436         (stubs): Remove.
35437         ($(objpfx)stubs ../po/manual.pot): Remove.
35438         ($(objpfx)stamp%): Remove.
35439         (make-target-directory): Remove.
35440         (subdir_install): Remove.
35441         (routines): Remove.
35442         (aux): Remove.
35443         (sources): Remove.
35444         (objects): Remove.
35445         (headers): Remove.
35446
35447         [BZ #13750]
35448         * manual/.gitignore: Remove, it's not needed anymore.
35449         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35450         all files in it.
35451         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35452         directory.
35453         (texis): Renamed to $(objpfx)texis.
35454         (texis-path): New, contains path to generated files.
35455         (chapters.%): Use texis-path for complete path, add extra argument
35456         libc-texinfo.sh.
35457         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35458         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35459         (summary,texi, stamp-summary): Use complete path of
35460         files. Generate files in build dir.
35461         (dir-add.texi): Build in build dir.
35462         (libm-err.texi,stamp-libm-err): Likewise.
35463         (version.texi, stamp-version): Likewise.
35464         (.%c.texi): Likewise.
35465         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35466         (mostlyclean): Remove target.
35467         (realclean): Remove target.
35468         (generated): Add new variable with contents from mostlyclean and
35469         realclean, remove entries duplicated in common-mostlyclean, add
35470         stamp-libm-err and stamp-version.
35471         (generated-dirs): Add libc directory.
35472         ($(inst_infodir)/libc.info): Install files from build dir.
35473
35474         * manual/install.texi (Configuring and compiling): Adjust since
35475         the info files are not part of the tar ball anymore.
35476
35477 2012-05-14  Andreas Jaeger  <aj@suse.de>
35478
35479         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35480         variable.
35481
35482 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35483
35484         [BZ #13717]
35485         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35486         to 2.2.0 where earlier.
35487         * sysdeps/unix/sysv/linux/configure: Regenerated.
35488         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35489         Remove conditional code.
35490         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35491         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35492         Remove conditional code.
35493         [!__NR_lchown]: Likewise.
35494         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35495         [__NR_lchown]: Likewise.
35496         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35497         comment referencing __ASSUME_LCHOWN_SYSCALL.
35498         * sysdeps/unix/sysv/linux/i386/sigaction.c
35499         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35500         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35501         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35502         Remove conditional code.
35503         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35504         (__protocol_available): Remove #if 0 code.
35505         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35506         conditional code.
35507         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35508         * sysdeps/unix/sysv/linux/kernel-features.h
35509         (__ASSUME_GETCWD_SYSCALL): Don't define.
35510         (__ASSUME_REALTIME_SIGNALS): Likewise.
35511         (__ASSUME_PREAD_SYSCALL): Likewise.
35512         (__ASSUME_PWRITE_SYSCALL): Likewise.
35513         (__ASSUME_POLL_SYSCALL): Likewise.
35514         (__ASSUME_LCHOWN_SYSCALL): Likewise.
35515         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35516         non-SPARC.
35517         (__ASSUME_SIOCGIFNAME): Don't define.
35518         (__ASSUME_MSG_NOSIGNAL): Likewise.
35519         (__ASSUME_SENDFILE): Define unconditionally.
35520         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35521         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35522         conditional code.
35523         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35524         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35525         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35526         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35527         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35528         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35529         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35531         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35532         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35534         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35535         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35537         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35538         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35540         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35541         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35543         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35544         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35546         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35547         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35549         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35550         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35552         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35553         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35554         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35555         Remove conditional code.
35556         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35557         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35558         Remove conditional code.
35559         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35560         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35561         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35562         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35563         Remove conditional code.
35564         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35565         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35566         Remove conditional code.
35567         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35568         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35569         Remove conditional code.
35570         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35571         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35572         Remove conditional code.
35573         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35574         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35575         Remove conditional code.
35576         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35577         * sysdeps/unix/sysv/linux/sh/pwrite64.c
35578         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35579         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35580         * sysdeps/unix/sysv/linux/sigaction.c
35581         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35582         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35583         * sysdeps/unix/sysv/linux/sigpending.c
35584         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35585         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35586         * sysdeps/unix/sysv/linux/sigprocmask.c
35587         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35588         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35589         * sysdeps/unix/sysv/linux/sigsuspend.c
35590         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35591         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35592         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35593         (__libc_missing_rt_sigs): Remove.
35594         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35595         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35596         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35597         Remove conditional code.
35598         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35599         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35600         return 1.
35601         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35602         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35603         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35604         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35605
35606 2012-05-14  Andreas Jaeger  <aj@suse.de>
35607
35608         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35609         it's not used in glibc.
35610         (__coshm1): Likewise.
35611         (__acosh1p): Likewise.
35612         (__sgn): Likewise.
35613
35614         * manual/string.texi (Copying and Concatenation): Add missing
35615         variable in concat example.
35616         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35617
35618 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35619
35620         [BZ #14103]
35621         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35622         __builtin_clzl with __builtin_clzll.
35623
35624 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35625
35626         [BZ #14104]
35627         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35628         libc_freeres_ptr.
35629
35630 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35631
35632         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35633         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35634         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35635         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35636
35637 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
35638
35639         * NEWS: Update ia64 info.
35640
35641 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
35642
35643         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35644         used as bcopy.
35645
35646 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
35647
35648         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35649         * sysdeps/unix/syscalls.list (dup3): Likewise.
35650         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35651         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35652
35653 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
35654
35655         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35656         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35657
35658 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
35659
35660         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35661         thread pointer.
35662         (TLS_IE): Use mov/add instead of movq/addq to load thread
35663         pointer.
35664         (TLS_GD_PREFIX): New.
35665         (TLS_GD): Use it.
35666
35667 2012-05-11  David S. Miller  <davem@davemloft.net>
35668
35669         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35670         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35671         (_FPU_SETCW): Likewise.
35672
35673 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35674
35675         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35676         is 32-byte aligned.
35677
35678 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
35679
35680         [BZ #11837]
35681         * iconvdata/gb18030.c: Update tables.
35682         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
35683         characters specially.
35684         (BODY for TO_LOOP): Add encoding of missing ranges.
35685
35686 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
35687
35688         [BZ #13673]
35689         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35690         * sysdeps/mach/hurd/dup3.c: Likewise.
35691         * sysdeps/mach/hurd/readlinkat.c: Likewise.
35692         * sysdeps/powerpc/memmove.c:: Likewise.
35693
35694 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35695
35696         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35697         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35698
35699 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35700
35701         * elf/elf.h (R_X86_64_RELATIVE64): New.
35702         (R_X86_64_NUM): Updated.
35703         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35704         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
35705         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35706         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35707         tst-quad1pie tst-quad2pie
35708         (modules-names): Add tst-quadmod1 tst-quadmod2.
35709         ($(objpfx)tst-quad1): New dependency.
35710         ($(objpfx)tst-quad2): Likewise.
35711         ($(objpfx)tst-quad1pie): Likewise.
35712         ($(objpfx)tst-quad2pie): Likewise.
35713         * sysdeps/x86_64/tst-quad1.c: New file.
35714         * sysdeps/x86_64/tst-quad1pie.c: New file.
35715         * sysdeps/x86_64/tst-quad2.c: Likewise.
35716         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35717         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35718         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35719         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35720         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35721
35722 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35723
35724         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35725         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35726         * streams/stropts.h (t_scalar_t): Define type.
35727
35728         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35729         (_PATH_PRESERVE): Set to "/var/lib".
35730         (_PATH_RWHODIR): Set to "/var/spool/rwho".
35731
35732         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35733         instead of int.
35734
35735         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35736         if __dir_mkfile succeeded.
35737
35738         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35739         checking for _hurd_dtablesize.  Unlock it right after having
35740         finished _hurd_dtable allocation.
35741
35742 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35743
35744         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35745         * sysdeps/mach/hurd/configure: Regenerated.
35746         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35747         special-casing to...
35748         * sysdeps/gnu/configure.in: ... this new file.
35749         * sysdeps/unix/sysv/linux/configure: Regenerated.
35750         * sysdeps/gnu/configure: New generated file.
35751
35752         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35753         for Linux: use nsec instead of usec, as well as:
35754         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35755         members of type struct timespec.
35756         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35757         New macros.
35758         (struct stat64): Likewise.
35759         (_STATBUF_ST_NSEC): New macro.
35760         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35761
35762         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35763         __strtoul_internal rather than strtoul.
35764
35765 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35766
35767         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35768         and reject them.
35769
35770 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35771
35772         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35773         which preserves existing values.
35774         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35775
35776 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35777
35778         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35779         TIMEOUT values.  Return EINVAL for NFDS values either negative or
35780         greater than FD_SETSIZE.
35781
35782 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35783
35784         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35785         allocated, call __vm_protect to finish enabling the existing space, and
35786         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35787         allocate the remainder.
35788
35789 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35790
35791         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35792         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
35793
35794 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35795
35796         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35797         sysdeps/mach/hurd/readlink.c.
35798
35799         * posix/tst-sysconf.c (posix_options): Only use
35800         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35801         _POSIX_SYNCHRONIZED_IO when they are defined
35802         * sysdeps/mach/hurd/bits/posix_opt.h:
35803         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35804         (_XOPEN_REALTIME): Undefine macro.
35805         (_XOPEN_REALTIME_THREADS): Undefine macro.
35806         (_XOPEN_SHM): Undefine macro.
35807         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35808         macro to -1.
35809         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35810         macro to -1.
35811         (_POSIX_ASYNC_IO): Undefine macro.
35812         (_POSIX_PRIORITIZED_IO): Undefine macro.
35813         (_POSIX_SPIN_LOCKS): Define macro to -1.
35814
35815         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35816         SA_NODEFER, SA_RESETHAND.
35817         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35818         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35819         F_DUPFD_CLOEXEC.
35820
35821 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35822
35823         * elf/Makefile (pldd-modules): Define unconditionally.
35824
35825 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35826
35827         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35828
35829 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35830
35831         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35832         Return ENOENT when name is empty.
35833         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35834
35835 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35836
35837         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35838
35839         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35840
35841 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35842
35843         Fix mlock in all cases except non-readable pages.
35844         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35845         instead of VM_PROT_ALL as parameter to __vm_wire function.
35846
35847         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35848         (__mkdir): When path is `/', just fail with EEXIST.
35849         * sysdeps/mach/hurd/mkdirat.c: Likewise.
35850
35851 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35852
35853         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35854         <sys/uio.h> (for writev).
35855         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35856         and <sys/param.h> (for MIN).
35857
35858 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35859
35860         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35861         REQUESTED_TIME.  Properly set the remaining time and return EINTR
35862         if interrupted.
35863
35864 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35865
35866         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35867         Depend on against $(link-rpcuserlibs).
35868
35869 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35870
35871         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35872         (__libc_stack_end): Do not use attribute_relro.
35873         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35874         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
35875         to libthread-provided value.
35876         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35877         attribute_relro.
35878
35879 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35880
35881         [BZ #3748]
35882         * bits/libc-lock.h (__libc_once_get): New macro.
35883         * sysdeps/mach/bits/libc-lock.h: Likewise.
35884         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35885         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35886         instead of using implementation details.
35887
35888         * libio/fileops.c: Unconditionally include <kernel-features.h>.
35889         * libio/freopen.c: Likewise.
35890         * libio/freopen64.c: Likewise.
35891         * misc/syslog.c: Likewise.
35892         * nscd/connections.c: Likewise.
35893         * nscd/netgroupcache.c: Likewise.
35894         * sysdeps/posix/getcwd.c: Likewise.
35895
35896 2012-05-10  Roland McGrath  <roland@hack.frob.com>
35897
35898         * math/w_ilogbf.c: Add #include <limits.h>.
35899
35900 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35901
35902         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
35903         path instead of returning without unlocking.
35904
35905         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35906         immediate-write ioctls.
35907         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35908
35909 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35910
35911         * sysdeps/mach/hurd/i386/init-first.c (init): Use
35912         __builtin_frame_address instead of making assumptions about the
35913         location of the return address relative to DATA.  Force early load of
35914         the return address.
35915         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35916         __builtin_frame_address.
35917
35918         dup3 for GNU Hurd.
35919         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35920         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
35921         implement dup3 and do some further code clean-ups.
35922         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35923         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35924
35925 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35926
35927         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35928
35929         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35930         HURD_CRITICAL_END around holding _hurd_dtable_lock.
35931         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35932         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35933         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35934         d->port.lock.
35935
35936         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35937         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
35938         when handler == SIG_ERR, not when handler != SIG_ERR.
35939
35940 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35941
35942         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35943         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35944         definitions.
35945
35946         accept4 for GNU Hurd.
35947         * include/sys/socket.h (__libc_accept4): New prototype.
35948         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
35949         to implement __libc_accept4.
35950         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35951         __libc_accept4.
35952         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35953
35954         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35955         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35956         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35957         signal-defines.sym.
35958
35959 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35960
35961         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35962
35963 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35964
35965         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35966         assertion on O_CLOEXEC flag.
35967         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35968         * hurd/intern-fd.c: Likewise.
35969         * hurd/port2fd.c: Likewise.
35970
35971 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35972
35973         [BZ #3906]
35974         * bits/in.h (IPV6_PKTINFO): Define new macro.
35975         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35976
35977 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35978
35979         [BZ #13954]
35980         [BZ #13955]
35981         [BZ #13956]
35982         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35983         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35984         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35985         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35986         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35987         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35988         * math/libm-test.inc (logb_test) : Additional logb tests.
35989
35990 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
35991             Andreas Jaeger  <aj@suse.de>
35992
35993         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35994         * configure: Regenerated.
35995         * config.h.in (LINK_OBSOLETE_RPC): New macro.
35996         * config.make.in (link-obsolete-rpc): New substituted variable.
35997         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35998         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35999         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36000         (shared-only-routines): Don't set it under [link-obsolete-rpc],
36001         so that libc.a contains the symbols.
36002         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36003         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36004         * sunrpc/auth_none.c: Likewise.
36005         * sunrpc/auth_unix.c: Likewise.
36006         * sunrpc/authdes_prot.c: Likewise.
36007         * sunrpc/authuxprot.c: Likewise.
36008         * sunrpc/clnt_gen.c: Likewise.
36009         * sunrpc/clnt_perr.c: Likewise.
36010         * sunrpc/clnt_raw.c: Likewise.
36011         * sunrpc/clnt_simp.c: Likewise.
36012         * sunrpc/clnt_tcp.c: Likewise.
36013         * sunrpc/clnt_udp.c: Likewise.
36014         * sunrpc/clnt_unix.c: Likewise.
36015         * sunrpc/des_crypt.c: Likewise.
36016         * sunrpc/des_soft.c: Likewise.
36017         * sunrpc/get_myaddr.c: Likewise.
36018         * sunrpc/key_call.c: Likewise.
36019         * sunrpc/key_prot.c: Likewise.
36020         * sunrpc/netname.c: Likewise.
36021         * sunrpc/pm_getmaps.c: Likewise.
36022         * sunrpc/pm_getport.c: Likewise.
36023         * sunrpc/pmap_clnt.c: Likewise.
36024         * sunrpc/pmap_prot.c: Likewise.
36025         * sunrpc/pmap_prot2.c: Likewise.
36026         * sunrpc/pmap_rmt.c: Likewise.
36027         * sunrpc/publickey.c: Likewise.
36028         * sunrpc/rpc_cmsg.c: Likewise.
36029         * sunrpc/rpc_common.c: Likewise.
36030         * sunrpc/rpc_dtable.c: Likewise.
36031         * sunrpc/rpc_prot.c: Likewise.
36032         * sunrpc/rpc_thread.c: Likewise.
36033         * sunrpc/rtime.c: Likewise.
36034         * sunrpc/svc.c: Likewise.
36035         * sunrpc/svc_auth.c: Likewise.
36036         * sunrpc/svc_raw.c: Likewise.
36037         * sunrpc/svc_run.c: Likewise.
36038         * sunrpc/svc_tcp.c: Likewise.
36039         * sunrpc/svc_udp.c: Likewise.
36040         * sunrpc/svc_unix.c: Likewise.
36041         * sunrpc/svcauth_des.c: Likewise.
36042         * sunrpc/xcrypt.c: Likewise.
36043         * sunrpc/xdr.c: Likewise.
36044         * sunrpc/xdr_array.c: Likewise.
36045         * sunrpc/xdr_float.c: Likewise.
36046         * sunrpc/xdr_intXX_t.c: Likewise.
36047         * sunrpc/xdr_mem.c: Likewise.
36048         * sunrpc/xdr_rec.c: Likewise.
36049         * sunrpc/xdr_ref.c: Likewise.
36050         * sunrpc/xdr_sizeof.c: Likewise.
36051         * sunrpc/xdr_stdio.c: Likewise.
36052
36053 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36054
36055         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36056         change.  Update copyright years.
36057
36058 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36059
36060         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36061
36062 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
36063             Joseph Myers  <joseph@codesourcery.com>
36064             Paul Pluzhnikov  <ppluzhnikov@google.com>
36065
36066         [BZ #14012]
36067         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36068         requiring rpcgen.
36069         [cross-compiling] (extra-libs): Likewise.
36070         [cross-compiling] (extra-libs-others): Likewise.
36071         [cross-compiling] (librpcsvc-routines): Likewise.
36072         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36073         [cross-compiling] (omit-deps): Likewise.
36074         (sunrpc-CPPFLAGS): New variable.
36075         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36076         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36077         (cross-rpcgen-objs): New variable.
36078         (extra-objs): Append $(cross-rpcgen-objs).
36079         ($(cross-rpcgen-objs)): New rule.
36080         ($(objpfx)cross-rpcgen): Likewise.
36081         (rpcgen-cmd): Define to use $(built-program-file).  Expand
36082         comment.
36083         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36084         ($(objpfx)x%.stmp): Likewise.
36085         * sunrpc/proto.h [IS_IN_build] (_): Define.
36086         [IS_IN_build] (_libc_intl_domainname): Likewise.
36087
36088 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36089
36090         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36091         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36092         and R_X86_64_TPOFF64.
36093
36094 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36095
36096         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36097         sysdeps/unix/sysv/syscalls.list.
36098         (stime): Likewise.
36099         (utime): Likewise.
36100         * sysdeps/unix/sysv/syscalls.list: Remove file.
36101
36102 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
36103
36104         [BZ #3440]
36105         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36106         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36107         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36108         (__LC_IDENTIFICATION): Make these macros useful in #if
36109         expressions, as required by C99.
36110
36111 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
36112
36113         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36114         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
36115         after this.
36116
36117 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
36118
36119         * stdlib/longlong.h: Updated from GCC.
36120
36121 2012-05-09  Andreas Jaeger  <aj@suse.de>
36122
36123         * nscd/nscd.c (run_modes): Make named enum, reorder so that
36124         default is first entry.
36125         (run_mode): Set type.
36126         (main): Remove informal message about syslog.
36127         (options): Fix typo.
36128
36129         [BZ #14053]
36130         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36131         to asm.
36132         (lrint): Likewise.
36133         (llrintf): Likewise.
36134         (llrint): Likewise.
36135         (rint): Likewise.
36136         (rintf): Likewise.
36137         (nearbyint): Likewise.
36138         (nearbyintf): Likewise.
36139
36140 2012-05-09  Andreas Jaeger  <aj@suse.de>
36141             Pedro Alves  <palves@redhat.com>
36142
36143         * nscd/nscd.c (run_mode): Use enum.
36144         (main): Cleanup coding style issue.
36145
36146 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
36147             Andreas Jaeger  <aj@suse.de>
36148
36149         * nscd/nscd.c (go_background): Replaced with...
36150         (run_mode): ... this.
36151         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36152         (options): Add -F --foreground.
36153         (main): Implement it.
36154         (parse_opt): Parse it.
36155
36156 2012-05-09  Andreas Jaeger  <aj@suse.de>
36157
36158         [BZ #14083]
36159         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36160         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36161         -Wconversion warning.
36162         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36163         Likewise.
36164
36165 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
36166
36167         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
36168         == 0.
36169         (LC_ALL): Use macro-int-constant.
36170         (LC_COLLATE): Likewise.
36171         (LC_CTYPE): Likewise.
36172         (LC_MESSAGES): Likewise.
36173         (LC_MONETARY): Likewise.
36174         (LC_NUMERIC): Likewise.
36175         (LC_TIME): Likewise.
36176         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36177         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36178         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36179         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36180         Specify type.
36181         [C99-based standards] (float_t): Expect type.
36182         [C99-based standards] (double_t): Expect type.
36183         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
36184         type.
36185         [C99-based standards] (HUGE_VALL): Likewise.
36186         [C99-based standards] (INFINITY): Likewise.
36187         [C99-based standards] (NAN): Likewise.
36188         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36189         [C99-based standards] (FP_NAN): Likewise.
36190         [C99-based standards] (FP_NORMAL): Likewise.
36191         [C99-based standards] (FP_SUBNORMAL): Likewise.
36192         [C99-based standards] (FP_ZERO): Likewise.
36193         [C99-based standards] (FP_FAST_FMA): Use
36194         optional-macro-int-constant.  Specify type.  Require == 1.
36195         [C99-based standards] (FP_FAST_FMAF): Likewise.
36196         [C99-based standards] (FP_FAST_FMAL): Likewise.
36197         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36198         [C99-based standards] (FP_ILOGBNAN): Likewise.
36199         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36200         Specify type.
36201         [C99-based standards] (MATH_ERREXCEPT): Likewise.
36202         [C99-based standards] (math_errhandling): Specify type.
36203         [ISO99 || ISO11] (signgam): Do not allow.
36204         [non-C99-based standards] (copysignf): Do not allow.
36205         [non-C99-based standards] (exp2f): Likewise.
36206         [non-C99-based standards] (log2f): Likewise.
36207         [non-C99-based standards] (modff): Allow.
36208         [non-C99-based standards] (erff): Do not allow.
36209         [non-C99-based standards] (erfcf): Likewise.
36210         [non-C99-based standards] (gammaf): Likewise.
36211         [non-C99-based standards] (hypotf): Likewise.
36212         [non-C99-based standards] (j0f): Likewise.
36213         [non-C99-based standards] (j1f): Likewise.
36214         [non-C99-based standards] (jnf): Likewise.
36215         [non-C99-based standards] (lgammaf): Likewise.
36216         [non-C99-based standards] (tgammaf): Likewise.
36217         [non-C99-based standards] (y0f): Likewise.
36218         [non-C99-based standards] (y1f): Likewise.
36219         [non-C99-based standards] (ynf): Likewise.
36220         [non-C99-based standards] (isnanf): Likewise.
36221         [non-C99-based standards] (acoshf): Likewise.
36222         [non-C99-based standards] (asinhf): Likewise.
36223         [non-C99-based standards] (atanhf): Likewise.
36224         [non-C99-based standards] (cbrtf): Likewise.
36225         [non-C99-based standards] (expm1f): Likewise.
36226         [non-C99-based standards] (ilogbf): Likewise.
36227         [non-C99-based standards] (log1pf): Likewise.
36228         [non-C99-based standards] (logbf): Likewise.
36229         [non-C99-based standards] (nextafterf): Likewise.
36230         [non-C99-based standards] (remainderf): Likewise.
36231         [non-C99-based standards] (rintf): Likewise.
36232         [non-C99-based standards] (scalbf): Likewise.
36233         [non-C99-based standards] (copysignl): Likewise.
36234         [non-C99-based standards] (exp2l): Likewise.
36235         [non-C99-based standards] (log2l): Likewise.
36236         [non-C99-based standards] (modfl): Allow.
36237         [non-C99-based standards] (erfl): Do not allow.
36238         [non-C99-based standards] (erfcl): Likewise.
36239         [non-C99-based standards] (gammal): Likewise.
36240         [non-C99-based standards] (hypotl): Likewise.
36241         [non-C99-based standards] (j0l): Likewise.
36242         [non-C99-based standards] (j1l): Likewise.
36243         [non-C99-based standards] (jnl): Likewise.
36244         [non-C99-based standards] (lgammal): Likewise.
36245         [non-C99-based standards] (tgammal): Likewise.
36246         [non-C99-based standards] (y0l): Likewise.
36247         [non-C99-based standards] (y1l): Likewise.
36248         [non-C99-based standards] (ynl): Likewise.
36249         [non-C99-based standards] (isnanl): Likewise.
36250         [non-C99-based standards] (acoshl): Likewise.
36251         [non-C99-based standards] (asinhl): Likewise.
36252         [non-C99-based standards] (atanhl): Likewise.
36253         [non-C99-based standards] (cbrtl): Likewise.
36254         [non-C99-based standards] (expm1l): Likewise.
36255         [non-C99-based standards] (ilogbl): Likewise.
36256         [non-C99-based standards] (log1pl): Likewise.
36257         [non-C99-based standards] (logbl): Likewise.
36258         [non-C99-based standards] (nextafterl): Likewise.
36259         [non-C99-based standards] (remainderl): Likewise.
36260         [non-C99-based standards] (rintl): Likewise.
36261         [non-C99-based standards] (scalbl): Likewise.
36262         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36263         [non-C99-based standards] (FP_*): Do not allow.
36264         [C99-based standards] (FP_*): Change to
36265         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36266         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36267         allow.
36268         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36269         (SIG_ERR): Likewise.
36270         [X/Open-based standards] (SIG_HOLD): Likewise.
36271         (SIG_IGN): Likewise.
36272         (SIGABRT): Use macro-int-constant.  Specify type.  Require
36273         positive value.
36274         (SIGFPE): Likewise.
36275         (SIGILL): Likewise.
36276         (SIGINT): Likewise.
36277         (SIGSEGV): Likewise.
36278         (SIGTER): Likewise.
36279         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36280         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36281         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36282         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36283         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36284         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36285         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36286         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36287         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36288         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36289         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36290         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36291         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36292         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36293         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36294         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36295         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36296         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36297         [X/Open-based standards] (SIGTRAP): Likewise.
36298         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36299         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36300         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36301         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36302         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36303         allow.
36304
36305 2012-05-08  Ian Wienand  <ianw@vmware.com>
36306
36307         [BZ #14080]
36308         * time/tzset.c (__tzset_parse_tz): Update default rules for
36309         daylight time changes in the Energy Policy Act of 2005.
36310
36311 2012-05-09  Andreas Jaeger  <aj@suse.de>
36312
36313         [BZ #13983]
36314         * elf/ldconfig.c (parse_conf): Change string to make clear that
36315         ldconfig only issued a warning if ld.so.conf does not exist.
36316
36317 2012-05-08  David S. Miller  <davem@davemloft.net>
36318
36319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36320         movxtod instead of popping the value on the stack.
36321
36322         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36323
36324 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
36325
36326         * config.h.in: Add HAVE_ARM_PCS_VFP.
36327
36328 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
36329
36330         [BZ #13979]
36331         * include/features.h: Warn if user requests __FORTIFY_SOURCE
36332         checking but the checks are disabled for any reason.
36333
36334 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
36335
36336         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36337         and ELF64_R_TYPE with ELFW(R_TYPE).
36338
36339 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
36340
36341         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36342         (ulimit): Likewise.
36343
36344         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36345         (settimeofday): Likewise.
36346
36347 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
36348
36349         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
36350         a struct th_u2 inside the union, and move tu_block/tu_code into
36351         a new th_u3 union of tu_block/tu_code inside of that.  Move
36352         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
36353         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
36354         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36355         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36356         (th_stuff): Change to th_u1.tu_stuff.
36357         (th_data): Define.
36358         (th_msg): Change to th_u1.th_u2.tu_data.
36359
36360 2012-05-07  David S. Miller  <davem@davemloft.net>
36361
36362         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36363
36364         [BZ #14074]
36365         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36366         (SETUP_PIC_REG): Use it.
36367         (SETUP_PIC_REG_LEAF): Use it.
36368
36369 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
36370
36371         [BZ #13885]
36372         [BZ #13923]
36373         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36374         USE_AS_EXPM1L.
36375         (EXPL_FINITE): Likewise.
36376         (FLDLOG): Likewise.
36377         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36378         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36379         e_expl.S.
36380         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36381         USE_AS_EXPM1L.
36382         (EXPL_FINITE): Likewise.
36383         (FLDLOG): Likewise.
36384         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36385         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36386         e_expl.S.
36387         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
36388         test of -max_value argument for long double.
36389         * sysdeps/i386/fpu/libm-test-ulps: Update.
36390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36391
36392 2012-05-06  David S. Miller  <davem@davemloft.net>
36393
36394         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36395         quad soft-float symbols whose references which are compiler
36396         generated.
36397         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36398
36399 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
36400
36401         [BZ #13884]
36402         [BZ #13914]
36403         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36404         USE_AS_EXP10L.
36405         (EXPL_FINITE): Likewise.
36406         (FLDLOG): Likewise.
36407         (c0): Likewise.
36408         (c1): Likewise.
36409         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36410         Adjust comments for base varying.
36411         (__expl_finite): Change alias to EXPL_FINITE.
36412         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36413         e_expl.S.
36414         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36415         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36416         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36417         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36418         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36419         USE_AS_EXP10L.
36420         (EXPL_FINITE): Likewise.
36421         (FLDLOG): Likewise.
36422         (c0): Likewise.
36423         (c1): Likewise.
36424         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36425         Adjust comments for base varying.
36426         (__expl_finite): Change alias to EXPL_FINITE.
36427         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
36428         tests for bugs.
36429         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36430
36431         [BZ #14064]
36432         * math/libm-test.inc (check_float_internal): Correct ulp
36433         calculation for subnormal expected results.
36434
36435 2012-05-06  Andreas Jaeger  <aj@suse.de>
36436
36437         * Makeconfig (+math-flags): New, set to -frounding-math.
36438         (+cflags): Add +math-flags so that all of glibc gets compiled with
36439         it.
36440
36441         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36442
36443 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
36444
36445         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36446         Disable one test.
36447
36448         [BZ #13787]
36449         [BZ #13922]
36450         [BZ #14036]
36451         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36452         (__ieee754_expl): Allow for and saturate large arguments.
36453         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36454         (u_threshold): Likewise.
36455         (__exp): Call __ieee754_exp before checking for overflow and
36456         underflow.
36457         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36458         (u_threshold): Likewise.
36459         (__expf): Call __ieee754_expf before checking for overflow and
36460         underflow.
36461         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36462         (u_threshold): Likewise.
36463         (__expl): Call __ieee754_expl before checking for overflow and
36464         underflow.
36465         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36466         (__ieee754_expl): Allow for and saturate large arguments.
36467         * math/libm-test.inc (exp_test): Add another test.  Do not allow
36468         missing overflow exception on overflow.
36469         (expm1_test): Do not allow missing overflow exception on overflow.
36470
36471         * sysdeps/i386/fpu/e_expl.c: Move to ...
36472         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
36473         rather than using inline asm.
36474         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36475         * sysdeps/x86_64/fpu/e_expl.S: Copy from
36476         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36477
36478         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36479         (nice): Likewise.
36480         (poll): Likewise.
36481         (signal): Likewise.
36482         (time): Likewise.
36483         (times): Likewise.
36484
36485 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36486
36487         * sysdeps/unix/syscalls.list (adjtime): Add entry from
36488         sysdeps/unix/common/syscalls.list.
36489         (fchmod): Likewise.
36490         (fchown): Likewise.
36491         (ftruncate): Likewise.
36492         (getrusage): Likewise.
36493         (gettimeofday): Likewise.
36494         (setpgid): Likewise.
36495         (setregid): Likewise.
36496         (setreuid): Likewise.
36497         (sigaction): Likewise.
36498         (truncate): Likewise.
36499         (vhangup): Likewise.
36500         * sysdeps/unix/common/syscalls.list: Remove file.
36501         * sysdeps/unix/bsd/Implies: Don't include unix/common.
36502         * sysdeps/unix/sysv/linux/Implies: Likewise.
36503
36504 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
36505
36506         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36507         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36508         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36509         Moved to ...
36510         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36511         Here.
36512         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36513         to ...
36514         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36515         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36516         to ...
36517         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36518         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36519         to ...
36520         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36521         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36522         to ...
36523         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36524         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36525         to ...
36526         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36527         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36528         to ...
36529         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36530         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36531         to ...
36532         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36533         Here.
36534         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36535         to ...
36536         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36537         Here.
36538         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36539         to ...
36540         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36541         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36542         Moved to ...
36543         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36544         Here.
36545         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36546         to ...
36547         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36548
36549 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36550
36551         * sysdeps/unix/common/bits/dirent.h: Remove file.
36552         * sysdeps/unix/common/bits/fcntl.h: Likewise.
36553
36554         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36555         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36556         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36557         * sysdeps/unix/bsd/isatty.c: Likewise.
36558         * sysdeps/unix/bsd/tcdrain.c: Likewise.
36559         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36560         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36561
36562 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36563
36564         [BZ #13563]
36565         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36566         long double comparison inaccuracies.
36567         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36568         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36569
36570 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
36571
36572         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36573         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36574
36575 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36576
36577         [BZ #14049]
36578         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36579         nonzero digits before rounding a hex value.
36580         * stdlib/tst-strtod.c (tests): Add another test.
36581
36582 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36583
36584         * sysdeps/s390/fpu/libm-test-ulps: Update.
36585
36586 2012-05-03  Andreas Jaeger  <aj@suse.de>
36587
36588         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36589         does not get optimized out.
36590         (malloc_opt_barrier): New.
36591
36592 2012-05-03  Andreas Jaeger  <aj@suse.de>
36593             Roland McGrath  <roland@hack.frob.com>
36594
36595         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36596         intermediate file deletion.
36597         (generated): Add .symlist files.
36598
36599 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
36600
36601         [BZ #13775]
36602         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36603         Redirect under this condition.
36604         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36605         [__USE_GNU] (__dprintf_chk): Not under this condition.
36606         [__USE_GNU] (__vdprintf_chk): Likewise.
36607         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36608         under this condition.
36609         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36610         [__USE_XOPEN2K8] (dprintf): Define under this condition.
36611         [__USE_XOPEN2K8] (vdprintf): Likewise.
36612         [__USE_GNU] (__dprintf_chk): Not under this condition.
36613         [__USE_GNU] (__vdprintf_chk): Likewise.
36614         [__USE_GNU] (dprintf): Likewise.
36615         [__USE_GNU] (vdprintf): Likewise.
36616
36617 2012-05-03  Roland McGrath  <roland@hack.frob.com>
36618
36619         * elf/Makefile (common-generated): Set this instead of generated for
36620         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
36621         $(all-built-dso)-derived lists.
36622
36623 2012-05-03  Andreas Jaeger  <aj@suse.de>
36624
36625         * sysdeps/i386/fpu/libm-test-ulps: Update.
36626
36627         * FAQ: Removed.
36628         * FAQ.in: Likewise.
36629         * scripts/gen-FAQ.pl: Likewise.
36630         * manual/install.texi (Installation): Point to online location of
36631         FAQ.
36632         * Makefile (files-for-dist): Remove FAQ.
36633         (FAQ): Remove.
36634
36635 2012-05-02  Allan McRae  <allan@archlinux.org>
36636
36637         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36638         (LDFLAGS-reldepmod5.so): Likewise.
36639         (LDFLAGS-reldep6mod1.so): Likewise.
36640         (LDFLAGS-reldep6mod4.so): Likewise.
36641         (LDFLAGS-reldep8mod3.so): Likewise.
36642         (LDFLAGS-unload4mod1.so): Likewise.
36643         (LDFLAGS-unload4mod2.so): Likewise.
36644         (LDFLAGS-tst-initorder): Likewise.
36645         (LDFLAGS-tst-initordera2.so): Likewise.
36646         (LDFLAGS-tst-initordera3.so): Likewise.
36647         (LDFLAGS-tst-initordera4.so): Likewise.
36648         (LDFLAGS-tst-initorderb2.so): Likewise.
36649         (LDFLAGS-noload): Likewise.
36650         (LDFLAGS-next): Likewise.
36651         (LDFLAGS-order2mod1.so): Likewise.
36652         (LDFLAGS-order2mod2.so): Likewise.
36653         (LDFLAGS-tst-initorder2): Likewise.
36654         (LDFLAGS-tst-initorder2a.so): Likewise.
36655         (LDFLAGS-tst-initorder2b.so): Likewise.
36656         (LDFLAGS-tst-initorder2c.so): Likewise.
36657         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36658
36659 2012-05-02  David S. Miller  <davem@davemloft.net>
36660
36661         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36662
36663 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
36664
36665         [BZ #14055]
36666         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36667
36668 2012-05-02  Andreas Jaeger  <aj@suse.de>
36669
36670         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36671         since we manipulate rounding mode.
36672         (CPPFLAGS-test-idouble.c): Likewise.
36673         (CPPFLAGS-test-ifloat.c): Likewise.
36674         (CFLAGS-test-ldouble.c): Likewise.
36675         (CFLAGS-test-double.c): Likewise.
36676         (CFLAGS-test-float.c): Likewise.
36677         (CFLAGS-test-misc.c): Likewise.
36678         (CFLAGS-test-test-fenv.c): Likewise.
36679
36680 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36681
36682         [BZ #2550]
36683         [BZ #2570]
36684         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36685         comparisons to determine direction to adjust input.
36686
36687 2012-05-01  Roland McGrath  <roland@hack.frob.com>
36688
36689         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36690         output to the target.
36691
36692         * scripts/localplt.awk: New file.
36693         * elf/Makefile ($(objpfx)check-localplt): Target removed.
36694         (check-localplt-CFLAGS): Variable removed.
36695         ($(all-built-dso:=.jmprel)): New static pattern rule.
36696         (generated): Add those targets.
36697         (localplt-built-dso): New variable.
36698         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36699
36700         * elf/check-localplt.c: File removed.
36701
36702         * scripts/check-execstack.awk: New file.
36703         * elf/Makefile ($(objpfx)check-execstack): Target removed.
36704         (check-execstack-CFLAGS): Variable removed.
36705         ($(objpfx)check-execstack.h): Target removed.
36706         ($(objpfx)execstack-default): New target.
36707         (generated): Add that instead of check-execstack.h.
36708         ($(all-built-dso:=.phdr)): New static pattern rule.
36709         (generated): Add those targets.
36710         * elf/check-execstack.c: File removed.
36711
36712         * scripts/check-textrel.awk: New file.
36713         * elf/Makefile ($(objpfx)check-textrel): Target removed.
36714         (check-textrel-CFLAGS): Variable removed.
36715         (all-built-dso): Use := to define.o
36716         ($(all-built-dso:=.dyn)): New static pattern rule.
36717         (generated): Add those targets.
36718         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36719         * config.make.in (READELF): New substituted variable.
36720         * elf/check-textrel.c: File removed.
36721
36722 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
36723
36724         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36725         allow.
36726         * conform/data/ctype.h-data [C99-based standards] (isblank):
36727         Expect function.
36728         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36729         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36730         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36731         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36732         Specify type.  Require positive value.
36733         (EILSEQ): Likewise.
36734         (ERANGE): Likewise.
36735         [ISO || POSIX] (EILSEQ): Do not expect.
36736         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36737         Specify type.  Require positive value.
36738         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36739         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36740         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36741         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36742         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36743         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36744         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36745         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36746         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36747         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36748         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36749         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36750         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36751         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36752         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36753         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36754         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36755         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36756         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36757         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36758         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36759         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36760         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36761         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36762         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36763         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36764         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36765         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36766         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36767         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36768         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36769         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36770         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36771         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36772         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36773         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36774         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36775         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36776         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36777         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36778         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36779         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36780         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36781         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36782         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36783         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36784         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36785         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36786         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36787         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36788         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36789         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36790         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36791         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36792         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36793         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36794         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36795         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36796         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36797         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36798         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36799         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36800         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36801         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36802         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36803         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36804         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36805         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36806         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36807         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36808         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36809         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36810         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36811         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36812         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36813         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36814         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36815         Require >= 2.
36816         (FLT_ROUNDS): Expect as macro, not constant.
36817         (FLT_MANT_DIG): Use macro-int-constant.
36818         (DBL_MANT_DIG): Likewise.
36819         (LDBL_MANT_DIG): Likewise.
36820         (FLT_DIG): Likewise.
36821         (DBL_DIG): Likewise.
36822         (LDBL_DIG): Likewise.
36823         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
36824         (DBL_MIN_EXP): Likewise.
36825         (LDBL_MIN_EXP): Likewise.
36826         (FLT_MAX_EXP): Use macro-int-constant.
36827         (DBL_MAX_EXP): Likewise.
36828         (LDBL_MAX_EXP): Likewise.
36829         (FLT_MAX_10_EXP): Likewise.
36830         (DBL_MAX_10_EXP): Likewise.
36831         (LDBL_MAX_10_EXP): Likewise.
36832         (FLT_MAX): Use macro-constant.
36833         (DBL_MAX): Likewise.
36834         (LDBL_MAX): Likewise.
36835         (FLT_EPSILON): Use macro-constant.  Give upper bound.
36836         (DBL_EPSILON): Likewise.
36837         (LDBL_EPSILON): Likewise.
36838         (FLT_MIN): Likewise.
36839         (DBL_MIN): Likewise.
36840         (LDBL_MIN): Likewise.
36841         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36842         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36843         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36844         [ISO11] (FLT_HAS_SUBNORM): Likewise.
36845         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36846         [ISO11] (DBL_DECIMAL_DIG): Likewise.
36847         [ISO11] (FLT_DECIMAL_DIG): Likewise.
36848         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36849         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36850         [ISO11] (FLT_TRUE_MIN): Likewise.
36851         [ISO11] (LDBL_TRUE_MIN): Likewise.
36852         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36853         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36854         (SCHAR_MIN): Use macro-int-constant.  Specify type.
36855         (SCHAR_MAX): Likewise.
36856         (UCHAR_MAX): Likewise.
36857         (CHAR_MIN): Likewise.
36858         (CHAR_MAX): Likewise.
36859         (MB_LEN_MAX): Use macro-int-constant.
36860         (SHRT_MIN): Use macro-int-constant.  Specify type.
36861         (SHRT_MAX): Likewise.
36862         (USHRT_MAX): Likewise.
36863         (INT_MAX): Likewise.
36864         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
36865         bound negative.
36866         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
36867         bound with "U".
36868         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
36869         bound with "L".
36870         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
36871         bound negative.  Suffix upper bound with "L".
36872         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
36873         bound with "UL".
36874         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36875         Specify type.
36876         [C99-based standards] (LLONG_MAX): Likewise.
36877         [C99-based standards] (ULLONG_MAX): Likewise.
36878         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
36879         == 0.
36880         [ISO11] (max_align_t): Require type.
36881         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36882
36883         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36884         from $CFLAGS, without defining away __attribute__ calls.
36885         (checknamespace): Use $CFLAGS_namespace.
36886
36887         * conform/conformtest.pl (@keywords): Only include C99 keywords
36888         for standards based on C99 or C11.
36889
36890         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36891         Disable tests.
36892         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36893         UNIX98]: Likewise.
36894
36895         * conform/conformtest.pl: Handle "macro-int-constant" and test for
36896         usability of symbols in #if.
36897
36898         * conform/conformtest.pl: If macro or constant types start
36899         "promoted:", expect the symbol to be of the following type
36900         promoted by the integer promotions.
36901
36902         * conform/conformtest.pl: Parse all "constant" and "macro" lines
36903         in one place.  Also handle "macro-constant".
36904
36905         * conform/conformtest.pl: Only accept expected macro values with
36906         "==".  Parse all "macro" lines in one place.
36907         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36908
36909         * conform/conformtest.pl: Handle braced types on "constant" lines
36910         instead of handling "typed-constant".
36911         * conform/data/signal.h-data: Use "constant" instead of
36912         "typed-constant".
36913
36914         * conform/conformtest.pl: Handle "optional-" at start of lines in
36915         one place rather than duplicating several cases.  Handle each
36916         format of "macro" line with initial "optional-".
36917
36918         * conform/conformtest.pl: Only accept expected constant or
36919         optional-constant values with "==".  Parse all "constant" lines in
36920         one place.  Parse all "optional-constant" lines in one place.
36921         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36922         * conform/data/fmtmsg.h-data: Likewise.
36923         * conform/data/netinet/in.h-data: Likewise.
36924         * conform/data/tar.h-data: Likewise.
36925         * conform/data/limits.h-data: Use "==" form on "constant" and
36926         "optional-constant" lines.
36927
36928         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36929         Use -std=c99 for XOPEN2K.
36930         (@knownproblems): Remove.
36931         (newtoken): Don't check %isknown.
36932
36933         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36934         Do not expect macro.
36935         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36936         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36937         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36938         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36939         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36940         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36941         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36942         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36943         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36944         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36945         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36946         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36947         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36948         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36949         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36950         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36951         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36952         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36953         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36954         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36955         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36956         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36957         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36958         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36959         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36960         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36961         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36962         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36963         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36964         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36965         [XPG3] (acosh): Likewise.
36966         [XPG3] (asinh): Likewise.
36967         [XPG3] (atanh): Likewise.
36968         [XPG3] (cbrt): Likewise.
36969         [XPG3] (expm1): Likewise.
36970         [XPG3] (ilogb): Likewise.
36971         [XPG3] (log1p): Likewise.
36972         [XPG3] (logb): Likewise.
36973         [XPG3] (nextafter): Likewise.
36974         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36975         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36976         [XPG3] (remainder): Likewise.
36977         [XPG3] (rint): Likewise.
36978         [XPG3 || XPG4 || UNIX98] (round): Likewise.
36979         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36980         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36981         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36982         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36983         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36984         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36985         [UNIX98 || XOPEN2K] (scalb): Expect.
36986         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36987         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36988         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36989         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36990         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36991         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36992         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36993         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36994         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36995         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36996         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36997         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36998         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36999         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37000         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37001         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37002         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37003         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37004         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37005         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37006         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37007         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37008         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37009         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37010         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37011         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37012         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37013         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37014         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37015         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37016         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37017         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37018         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37019         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37020         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37021         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37022         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37023         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37024         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37025         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37026         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37027         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37028         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37029         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37030         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37031         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37032         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37033         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37034         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37035         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37036         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37037         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37038         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37039         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37040         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37041         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37042         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37043         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37044         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37045         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37046         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37047         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37048         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37049         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37050         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37051         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37052         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37053         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37054         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37055         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37056         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37057         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37058         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37059         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37060         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37061         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37062         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37063         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37064         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37065         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37066         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37067         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37068         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37069         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37070         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37071         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37072         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37073         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37074         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37075         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37076         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37077         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37078         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37079         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37080         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37081         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37082         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37083         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37084         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37085         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37086         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37087         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37088         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37089         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37090         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37091         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37092         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37093         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37094         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37095         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37096         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37097         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37098         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37099         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37100         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37101         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37102         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37103         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37104         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37105         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37106         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37107         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37108         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37109         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37110         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37111         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37112         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37113         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37114         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37115         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37116         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37117         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37118         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37119         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37120         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37121         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37122         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37123
37124         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37125         _XOPEN_SOURCE_EXTENDED for XPG4.
37126
37127         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37128
37129         * Makeconfig (localtime): Remove variable.
37130         (inst_localtime-file): Likewise.
37131
37132 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37133
37134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37135         Update.
37136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37137         Update.
37138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37139         Update.
37140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37141         Update.
37142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37143         Update.
37144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37145         Update.
37146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37147         Update.
37148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37149         Update.
37150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37151         Update.
37152
37153 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37154
37155         [BZ #2550]
37156         [BZ #2570]
37157         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37158         comparisons to determine direction to adjust input.
37159         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37160         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37161         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37162         Likewise.
37163         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37164         Likewise.
37165         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37166         Likewise.
37167         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37168         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37169         Likewise.
37170         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37171         Likewise.
37172         * math/libm-test.inc (nexttoward_test): Add more tests.
37173
37174 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37175
37176         [BZ #14040]
37177         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37178         in version GLIBC_2.1, not GLIBC_2.0.
37179         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37180         Likewise.
37181
37182 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
37183
37184         [BZ #13942]
37185         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37186         (1 - x) * (1 + x).
37187         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37188         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37189         * math/libm-test.inc (acos_test): Add more tests.
37190         (asin_test): Likewise.
37191         * sysdeps/i386/fpu/libm-test-ulps: Update.
37192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37193
37194         [BZ #14034]
37195         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37196         of square root.
37197         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37198         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37199         * math/libm-test.inc (acos_test_tonearest): New function.
37200         (acos_test_towardzero): Likewise.
37201         (acos_test_downward): Likewise.
37202         (acos_test_upward): Likewise.
37203         (asin_test_tonearest): Likewise.
37204         (asin_test_towardzero): Likewise.
37205         (asin_test_downward): Likewise.
37206         (asin_test_upward): Likewise.
37207         (main): Call the new functions.
37208         * sysdeps/i386/fpu/libm-test-ulps: Update.
37209         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37210
37211         [BZ #13884]
37212         [BZ #13924]
37213         * math/e_exp10.c: Include <float.h>.
37214         (__ieee754_exp10): Handle underflow here rather than multiplying
37215         large negative argument by M_LN10.
37216         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37217         of __ieee754_expf.
37218         * math/e_exp10l.c: Include <float.h>.
37219         (__ieee754_exp10l): Handle underflow here rather than multiplying
37220         large negative argument by M_LN10l.
37221         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
37222         spurious overflow exception on underflow.
37223
37224 2012-04-29  Marek Polacek  <polacek@redhat.com>
37225
37226         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37227         (__fortify_function): New macro.
37228         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37229         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37230         __extern_always_inline.
37231         * libio/bits/stdio2.h: Likewise.
37232         * libio/bits/stdio.h: Likewise.
37233         * string/string.h: Likewise.
37234         * string/bits/string3.h: Likewise.
37235         * include/stdio.h: Likewise.
37236         * stdlib/bits/stdlib.h: Likewise.
37237         * stdlib/stdlib.h: Likewise.
37238         * rt/bits/mqueue2.h: Likewise.
37239         * rt/mqueue.h: Likewise.
37240         * posix/bits/unistd.h: Likewise.
37241         * posix/unistd.h: Likewise.
37242         * io/bits/poll2.h: Likewise.
37243         * io/bits/fcntl2.h: Likewise.
37244         * io/fcntl.h: Likewise.
37245         * io/sys/poll.h: Likewise.
37246         * misc/bits/syslog.h: Likewise.
37247         * misc/bits/syslog-ldbl.h: Likewise.
37248         * misc/sys/syslog.h: Likewise.
37249         * socket/bits/socket2.h: Likewise.
37250         * socket/sys/socket.h: Likewise.
37251         * debug/tst-chk1.c: Likewise.
37252         * wcsmbs/bits/wchar2.h: Likewise.
37253         * wcsmbs/bits/wchar-ldbl.h: Likewise.
37254         * wcsmbs/wchar.h: Likewise.
37255
37256 2012-04-29  Andreas Jaeger  <aj@suse.de>
37257
37258         * Makerules (tests): Remove enable-check-abi protection.
37259         (check-abi-warn): Remove.
37260         (check-abi-%): Remove check-abi-warn usage.
37261
37262         * configure.in: Remove check-abi configure option.
37263         * configure: Regenerated.
37264         * config.make.in (enable-check-abi): Remove.
37265
37266 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
37267
37268         [BZ #14033]
37269         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37270         double functions to double *_finite functions.
37271
37272         [BZ #13941]
37273         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37274         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37275         LDBL_MIN_EXP.
37276         * stdio-common/Makefile (tests): Add tst-sprintf3.
37277         * stdio-common/tst-sprintf3.c: New file.
37278
37279         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37280         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37281
37282 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37283
37284         * conform/conformtest.pl: Remove duplicate typed-constant
37285         handling.
37286
37287 2012-04-28  David S. Miller  <davem@davemloft.net>
37288
37289         * Makerules (%.abilist): Add vpath on sysdep_dirs.
37290         (check-abi-%): Remove AWK script prerequisite and explicit
37291         abilist directory.
37292         (check-abi): Rewrite to just diff the symlist with the abilist.
37293         (config-tls, config-abi-config): Delete, no longer used.
37294         (update-abi-%): Remove AWK script and explicit abilist directory.
37295         (update-abi): Rewrite to simply compare and conditionally copy the
37296         symlist and the sysdep abilist file.  Remove update-abi-config
37297         checks.
37298         * abilist/ld.abilist: Remove.
37299         * abilist/libBrokenLocale.abilist: Remove.
37300         * abilist/libanl.abilist: Remove.
37301         * abilist/libcrypt.abilist: Remove.
37302         * abilist/libdl.abilist: Remove.
37303         * abilist/librt.abilist: Remove.
37304         * abilist/libthread_db.abilist: Remove.
37305         * abilist/libutil.abilist: Remove.
37306         * scripts/extract-abilist.awk: Remove.
37307         * scripts/merge-abilist.awk: Remove.
37308         * sysdeps/generic/libcidn.abilist: New file.
37309         * sysdeps/generic/libnss_compat.abilist: New file.
37310         * sysdeps/generic/libnss_db.abilist: New file.
37311         * sysdeps/generic/libnss_dns.abilist: New file.
37312         * sysdeps/generic/libnss_files.abilist: New file.
37313         * sysdeps/generic/libnss_hesiod.abilist: New file.
37314         * sysdeps/generic/libnss_nis.abilist: New file.
37315         * sysdeps/generic/libnss_nisplus.abilist: New file.
37316         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37317         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37318         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37319         file.
37320         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37321         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37322         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37323         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37324         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37325         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37326         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37327         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37328         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37329         file.
37330         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37331         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37332         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37333         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37334         file.
37335         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37336         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37337         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37338         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37339         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37340         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37341         file.
37342         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37343         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37344         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37345         file.
37346         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37347         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37348         New file.
37349         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37350         New file.
37351         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37352         New file.
37353         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37354         New file.
37355         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37356         New file.
37357         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37358         New file.
37359         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37360         New file.
37361         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37362         New file.
37363         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37364         New file.
37365         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37366         New file.
37367         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37368         New file.
37369         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37370         New file.
37371         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37372         New file.
37373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37374         file.
37375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37376         New file.
37377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37378         New file.
37379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37380         file.
37381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37382         New file.
37383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37384         New file.
37385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37386         file.
37387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37388         New file.
37389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37390         New file.
37391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37392         New file.
37393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37394         New file.
37395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37396         New file.
37397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37398         New file.
37399         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37400         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37401         file.
37402         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37403         New file.
37404         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37405         file.
37406         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37407         file.
37408         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37409         file.
37410         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37411         file.
37412         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37413         file.
37414         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37415         New file.
37416         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37417         file.
37418         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37419         file.
37420         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37421         New file.
37422         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37423         file.
37424         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37425         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37426         file.
37427         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37428         New file.
37429         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37430         file.
37431         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37432         file.
37433         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37434         file.
37435         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37436         file.
37437         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37438         file.
37439         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37440         New file.
37441         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37442         file.
37443         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37444         file.
37445         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37446         New file.
37447         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37448         file.
37449         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37450         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37451         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37452         file.
37453         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37454         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37455         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37456         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37457         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37458         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37459         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37460         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37461         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37462         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37463         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37464         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37465         file.
37466         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37467         New file.
37468         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37469         file.
37470         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37471         file.
37472         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37473         file.
37474         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37475         file.
37476         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37477         file.
37478         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37479         New file.
37480         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37481         New file.
37482         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37483         file.
37484         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37485         New file.
37486         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37487         file.
37488         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37489         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37490         file.
37491         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37492         New file.
37493         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37494         file.
37495         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37496         file.
37497         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37498         file.
37499         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37500         file.
37501         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37502         file.
37503         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37504         New file.
37505         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37506         New file.
37507         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37508         file.
37509         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37510         New file.
37511         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37512         file.
37513
37514 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37515
37516         * conform/conformtest.pl: Fix typo in handling typed-constant from
37517         allow-header.
37518
37519 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
37520
37521         * README: Cut down references to pre-2.6 Linux kernels and
37522         Linuxthreads.  Update lists of configurations in libc and ports
37523         and sort alphabetically.  Say "or newer" with Linux kernel version
37524         requirements.
37525
37526         * config.h.in [IS_IN_build]: Allow compiling without optimization.
37527
37528 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37529
37530         [BZ #887]
37531         * math/libm-test.inc (logb_test_downward): New test to expose
37532         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37533         rounding mode.
37534
37535 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
37536
37537         [BZ #14027]
37538         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37539         to be done.
37540         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37541         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37542
37543 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
37544
37545         * sysdeps/unix/i386/brk.S: Remove file.
37546         * sysdeps/unix/i386/dl-brk.S: Likewise.
37547         * sysdeps/unix/i386/pipe.S: Likewise.
37548         * sysdeps/unix/i386/sigreturn.S: Likewise.
37549         * sysdeps/unix/i386/syscall.S: Likewise.
37550         * sysdeps/unix/i386/vfork.S: Likewise.
37551         * sysdeps/unix/i386/wait.S: Likewise.
37552
37553         * sysdeps/unix/common/tcsendbrk.c: Move to ...
37554         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37555
37556         * configure.in (arm*-none*): Do not allow without
37557         --enable-hacker-mode.
37558         (netbsd*): Remove case setting base_os.
37559         (386bsd*): Likewise.
37560         (freebsd*): Likewise.
37561         (bsdi*): Likewise.
37562         (osf*): Likewise.
37563         (sunos*): Likewise.
37564         (ultrix*): Likewise.
37565         (newsos*): Likewise.
37566         (dynix*): Likewise.
37567         (*bsd*): Likewise.
37568         (sysv*): Likewise.
37569         (isc*): Likewise.
37570         (esix*): Likewise.
37571         (sco*): Likewise.
37572         (minix*): Likewise.
37573         (irix4*): Likewise.
37574         (irix6*): Likewise.
37575         (solaris[2-9]*): Likewise.
37576         (none): Likewise.
37577         * configure: Regenerated.
37578
37579 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37580
37581         [BZ #11521]
37582         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37583         overflow or cancellation in calculating denominator.
37584         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37585         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37586         down expression to avoid unexpected rounding in newer GCCs.
37587         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37588
37589 2012-04-26  David S. Miller  <davem@davemloft.net>
37590
37591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37592         long-double compat symbols.
37593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37598         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37599         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37600         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37601         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37602         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37603         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37604         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37605         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37606
37607 2012-04-25  David S. Miller  <davem@davemloft.net>
37608
37609         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37610         HWCAP_* values only after the memory barriers have been defined.
37611         (atomic_full_barrier): Define.
37612         (atomic_read_barrier): Define.
37613         (atomic_write_barrier): Define.
37614
37615 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37616
37617         * shlib-versions: Add libgcc_s version information.
37618         * sysdeps/generic/libgcc_s.h: Remove.
37619         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37620         libgcc_s.h.
37621         * sysdeps/gnu/unwind-resume.c: Likewise.
37622         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37623
37624 2012-04-25  David S. Miller  <davem@davemloft.net>
37625
37626         * sysdeps/unix/sparc/brk.S: Delete.
37627         * sysdeps/unix/sparc/dl-brk.S: Delete.
37628         * sysdeps/unix/sparc/pipe.S: Delete.
37629         * sysdeps/unix/sparc/sysdep.S: Delete.
37630         * sysdeps/unix/sparc/sysdep.h: Delete.
37631         * sysdeps/unix/sparc/vfork.S: Delete.
37632         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37633         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37634         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37635         (ret_ERRVAL, r0, r1, MOVE): Define.
37636         (JUMPTARGET): Remove.
37637         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37638         sysdeps/unix/sparc/sysdep.h
37639         (ENTRY, END): Remove.
37640         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37641
37642 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
37643
37644         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37645         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37646         -DIS_IN_build.
37647
37648         * timezone/README: Update upstream location and email address for
37649         tzcode and tzdata.
37650         * timezone/zdump.c: Update from tzcode 2012b.
37651         * timezone/zic.c: Likewise.
37652
37653         * configure.in (libc_cv_as_needed): Remove test.
37654         * configure: Regenerated.
37655         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37656         conditional definition.
37657         [$(have-as-needed) != yes] (no-as-needed): Likewise.
37658         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37659         * config.make.in (have-as-needed): Remove variable.
37660
37661 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37662             Paul Pluzhnikov  <ppluzhnikov@google.com>
37663
37664         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37665         strings correctly.
37666
37667 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
37668
37669         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37670         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37671         * sysdeps/sh/strlen.S: Likewise.
37672
37673 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37674
37675         * sysdeps/unix/fork.S: Remove file.
37676         * sysdeps/unix/i386/fork.S: Likewise.
37677         * sysdeps/unix/sparc/fork.S: Likewise.
37678
37679         * sysdeps/unix/system.c: Remove file.
37680         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37681
37682         * sysdeps/unix/getegid.S: Remove file.
37683         * sysdeps/unix/geteuid.S: Likewise.
37684
37685 2012-04-24  Roland McGrath  <roland@hack.frob.com>
37686
37687         * scripts/check-localplt.awk: New file.
37688         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37689         of diff.
37690         * scripts/data/localplt-generic.data: Add a comment.
37691
37692         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37693         NODE when __dir_mkfile failed.
37694         * sysdeps/mach/hurd/symlinkat.c: Likewise.
37695         Reported by Ludovic Courtès <ludo@gnu.org>.
37696
37697 2012-04-24  Andreas Jaeger  <aj@suse.de>
37698
37699         * Makerules (common-clean): Also remove gen-as-const-headers
37700         files.
37701
37702 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37703
37704         * Makerules (native-compile): Do not change working directory for
37705         build.  Use $(OUTPUT_OPTION) in command.
37706         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37707
37708 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37709
37710         [BZ #13886]
37711         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37712         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37713         * math/libm-test.inc (floor_test): Add more tests.
37714         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37715
37716 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37717
37718         * sysdeps/unix/getdents.c: Remove file.
37719         * sysdeps/unix/sysv/getdents.c: Likewise.
37720         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37721
37722         * sysdeps/unix/syscalls.list (madvise): Add syscall from
37723         sysdeps/unix/mman/syscalls.list.
37724         (mmap): Likewise.
37725         (mprotect): Likewise.
37726         (msync): Likewise.
37727         (munmap): Likewise.
37728         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37729         * sysdeps/unix/mman/syscalls.list: Remove.
37730         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37731
37732         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37733         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37734         * configure: Regenerated.
37735         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37736         $(libgcc_s_suffix).
37737         * config.make.in (libgcc_s_suffix): Remove variable.
37738
37739 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
37740
37741         * sysdeps/unix/sysv/gethostname.c: Move to ...
37742         * sysdeps/posix/gethostname.c: ... here.
37743
37744         * sysdeps/unix/execve.S: Remove file.
37745
37746         * sysdeps/unix/_exit.S: Remove file.
37747
37748 2012-04-23  Andreas Jaeger  <aj@suse.de>
37749
37750         [BZ #13739]
37751         * manual/Makefile: Remove make dist support, there's no
37752         need for a stand-alone documentation tar ball.
37753         (TEXI2DVI): Define always, it's not in Makeconfig.
37754         (dist): Removed.
37755         (tar-it): Removed.
37756         (edition): Removed.
37757         (glibc-doc-$(edition).tar): Removed
37758         (%.Z): Removed.
37759         (%.gz): Removed.
37760         (%.uu): Removed.
37761         (ETAGS): Remove, it's in Makeconfig.
37762         (move-if-change): Remove, it's in Makeconfig.
37763
37764 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
37765
37766         [BZ #13970]
37767         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37768         (strtod, strtof, strtold, strtol, strtoul, strtoq)
37769         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37770         (strtod_l, strtof_l, strtold_l): Remove __wur.
37771         It is not necessarily an error to ignore strtol's return value.
37772         One can reliably look at the stored endptr to decide whether
37773         the number had valid syntax.
37774
37775 2012-04-21  Andreas Jaeger  <aj@suse.de>
37776
37777         [BZ #13739]
37778         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37779
37780 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
37781
37782         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37783         * sysdeps/unix/sysv/Versions: Remove file.
37784
37785 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
37786
37787         [BZ #13927]
37788         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37789
37790 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
37791
37792         [BZ #7064]
37793         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37794         version from __vm86.
37795
37796 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
37797
37798         * sysdeps/unix/common/lxstat.c: Remove file.
37799         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37800
37801         * sysdeps/unix/sysv/Makefile: Remove file.
37802
37803         * sysdeps/unix/sysv/direct.h: Remove file.
37804
37805         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37806         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37807         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37808         * sysdeps/unix/sysv/bits/signum.h: Likewise.
37809         * sysdeps/unix/sysv/bits/stat.h: Likewise.
37810         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37811         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37812
37813         * sysdeps/unix/sysv/setrlimit.c: Remove file.
37814
37815         * sysdeps/unix/xmknod.c: Remove file.
37816         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37817
37818         * sysdeps/unix/sysv/settimeofday.c: Remove file.
37819
37820         * sysdeps/unix/sysv/i386/time.S: Remove file.
37821
37822         * sysdeps/unix/fxstat.c: Remove file.
37823         * sysdeps/unix/xstat.c: Likewise.
37824         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37825
37826         * sysdeps/unix/sysv/sigaction.c: Remove file.
37827
37828         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37829         (sysdep_headers): Remove variable.
37830         [termio.h not in sysdep_headers] (generated): Likewise.
37831         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37832         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37833         * sysdeps/unix/sysv/tcdrain.c: Likewise.
37834         * sysdeps/unix/sysv/tcflow.c: Likewise.
37835         * sysdeps/unix/sysv/tcflush.c: Likewise.
37836         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37837         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37838         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37839         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37840         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37841
37842         * sysdeps/unix/siglist.c: Remove file.
37843
37844         * sysdeps/unix/getppid.S: Remove file.
37845
37846         * sysdeps/unix/mkdir.c: Remove file.
37847         * sysdeps/unix/rmdir.c: Likewise.
37848
37849 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
37850
37851         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37852         ERR_MAX value.
37853         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37854         errlist-compat value.
37855
37856 2012-04-18  David S. Miller  <davem@davemloft.net>
37857
37858         * sysdeps/generic/memcopy.h (reg_char): Delete.
37859         * debug/strcat_chk.c: Use char, not reg_char.
37860         * debug/strcpy_chk.c: Likewise.
37861         * debug/strncat_chk.c: Likewise.
37862         * debug/strncpy_chk.c: Likewise.
37863         * string/memchr.c: Likewise.
37864         * string/memrchr.c: Likewise.
37865         * string/rawmemchr.c: Likewise.
37866         * string/strcat.c: Likewise.
37867         * string/strchr.c: Likewise.
37868         * string/strchrnul.c: Likewise.
37869         * string/strcmp.c: Likewise.
37870         * string/strcpy.c: Likewise.
37871         * string/strncat.c: Likewise.
37872         * string/strncmp.c: Likewise.
37873         * string/strncpy.c: Likewise.
37874
37875 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
37876
37877         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37878         __builtin_memcopy is called when src and dest ranges are known to not
37879         overlap.
37880
37881 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
37882
37883         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37884         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37885         fwd_align_merge macro call.
37886         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37887         bwd_align_merge macro call.
37888         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37889
37890 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
37891
37892         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37893         bwd_align_merge macros.
37894         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37895         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37896         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37897
37898 2012-04-18  David S. Miller  <davem@davemloft.net>
37899
37900         * sysdeps/sparc/sparc64/memcopy.h: Delete.
37901
37902 2012-04-18  Andreas Jaeger  <aj@suse.de>
37903
37904         [BZ# 6794]
37905         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37906         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37907         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37908
37909         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37910         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37911         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37912
37913         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37914         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37915         Adjust for changed ldbl-128 files.
37916
37917         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37918         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37919         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37920
37921 2012-04-17  David S. Miller  <davem@davemloft.net>
37922
37923         * sysdeps/sparc/sparc32/memcopy.h: Delete.
37924
37925 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
37926
37927         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37928         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37929         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37930         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37931         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37932         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37933
37934 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37935
37936         [BZ #6794]
37937         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37938         * math/libm-test.inc: Add ilogb errno and exception tests.
37939         * math/w_ilogb.c: New file: ilogb wrapper.
37940         * math/w_ilogbf.c: New file: ilogbf wrapper.
37941         * math/w_ilogbl.c: New file: ilogbl wrapper.
37942         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37943         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37944         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37945         exception being thrown with 0.0 as argument.
37946         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37947         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37948         exception being thrown with 0.0 as argument.
37949         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37950         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37951         exception being thrown with 0.0 as argument.
37952         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37953         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37954         exception being thrown with 0.0 as argument.
37955         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37956         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37957         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37958         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37959         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37960         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37961         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37962         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37963         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37964
37965 2012-04-17  Petr Baudis  <pasky@ucw.cz>
37966
37967         * include/sys/uio.h: Change __vector to __iovec to avoid clash
37968         with altivec.
37969
37970 2012-04-16  Marek Polacek  <polacek@redhat.com>
37971
37972         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37973
37974 2012-04-16  Marek Polacek  <polacek@redhat.com>
37975
37976         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37977         operands of fdivp instruction.
37978
37979 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
37980
37981         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37982         * elf/tst-auditmod3b.c: Likewise.
37983         * elf/tst-auditmod4b.c: Likewise.
37984         * elf/tst-auditmod5b.c: Likewise.
37985         * elf/tst-auditmod6b.c: Likewise.
37986         * elf/tst-auditmod6c.c: Likewise.
37987         * elf/tst-auditmod7b.c: Likewise.
37988         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37989         * sysdeps/x86_64/preconfigure.in: Likewise.
37990         * sysdeps/x86_64/preconfigure: Regenerated.
37991
37992 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
37993
37994         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37995         __ILP32__.
37996
37997 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
37998
37999         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38000         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38001
38002 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
38003
38004         [BZ #13973]
38005         * locale/iso-639.def: Fix gl language name. Spotted by
38006         Yaron Shahrabani.
38007
38008 2012-04-12  Roland McGrath  <roland@hack.frob.com>
38009
38010         [BZ #2074]
38011         * libio/libio.h (__io_write_fn): Update comment.
38012
38013 2012-04-12  Petr Baudis  <pasky@ucw.cz>
38014
38015         [BZ #2074]
38016         * stdio.texi (Hook Functions): The user provided writer function
38017         is not allowed to return -1.
38018
38019 2012-04-11  David S. Miller  <davem@davemloft.net>
38020
38021         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38022
38023 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
38024
38025         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38026         Add a leading slash to rtkaio.
38027
38028 2012-04-11  Jim Meyering  <meyering@redhat.com>
38029
38030         [BZ #11959]
38031         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38032         It is not necessarily an error to ignore fwrite's return
38033         value.  One can reliably use ferror to test for errors after
38034         the fact.
38035
38036 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38037
38038         * bits/types.h (__snseconds_t): New type.
38039         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38040
38041         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38042         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38043         (__SNSECONDS_T_TYPE): Likewise.
38044         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38045         (__SNSECONDS_T_TYPE): Likewise.
38046         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38047         (__SNSECONDS_T_TYPE): Likewise.
38048
38049 2012-04-10  Andreas Jaeger  <aj@suse.de>
38050
38051         [BZ #2636]
38052         * manual/time.texi (Processor Time): Return type of times is
38053         elapsed real time since an arbitrary point in the past.
38054         (CPU Time): Move CLK_TCK from here...
38055         (Processor Time): ...to here.  Correct description.
38056         * manual/conf.texi (Constants for Sysconf): Correct description of
38057         _SC_CLK_TCK.
38058
38059 2012-04-10  David S. Miller  <davem@davemloft.net>
38060
38061         [BZ #13967]
38062         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38063         where the is a gap between DT_REL(A) and DT_JMPREL.
38064
38065 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38066
38067         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38068         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38069         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38070
38071 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38072
38073         * elf/dl-support.c (_dl_inhibit_cache): New variable.
38074         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38075         (dl_main): Handle --inhibit-cache.
38076         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38077         _dl_inhibit_cache.
38078         * elf/dl-load.c (_dl_map_object): Use it.
38079         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38080
38081 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38082
38083         [BZ #13872]
38084         * sysdeps/i386/fpu/e_powl.S (p78): New object.
38085         (__ieee754_powl): Saturate large exponents rather than testing for
38086         overflow of y*log2(x).
38087         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38088         * math/libm-test.inc (pow_test): Do not permit spurious overflow
38089         exceptions.
38090
38091         [BZ #11521]
38092         * math/s_ctan.c: Include <float.h>.
38093         (__ctan): Avoid internal overflow or cancellation in calculating
38094         denominator.
38095         * math/s_ctanf.c: Likewise.
38096         * math/s_ctanl.c: Likewise.
38097         * math/s_ctanh.c: Likewise.
38098         * math/s_ctanhf.c: Likewise.
38099         * math/s_ctanhl.c: Likewise.
38100         * math/libm-test.inc (ctan_test): Add more tests.
38101         (ctanh_test): Likewise.
38102         * sysdeps/i386/fpu/libm-test-ulps: Update.
38103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38104
38105 2012-04-09  Andreas Jaeger  <aj@suse.de>
38106
38107         [BZ #6894]
38108         * manual/filesys.texi (Directory Entries): Mention that d_namlen
38109         is an optional BSD extension.
38110
38111         [BZ #10254]
38112         * manual/stdio.texi (Opening Streams): Document additional fopen
38113         parameters.
38114
38115 2012-04-09  Roland McGrath  <roland@hack.frob.com>
38116
38117         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38118         %eax without telling the compiler.
38119
38120 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
38121
38122         [BZ # 13963]
38123         * manual/install.texi: Use sourceware.org.
38124
38125 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38126
38127         [BZ #13873]
38128         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38129         (__ieee754_pow): Generate overflow and underflow using huge*huge
38130         and tiny*tiny rather than just returning constant infinity or zero
38131         for large exponents.
38132         * math/libm-test.inc (pow_test): Require overflow exceptions for
38133         applicable cases of large exponents.
38134
38135         [BZ #706]
38136         * sysdeps/i386/fpu/e_pow.S (p10): New object.
38137         (__ieee754_pow): Use iterative multiplication algorithm only for
38138         integer exponents with absolute value below 1024.  Check for odd
38139         integer exponents when using algorithm for real exponents.
38140         * math/libm-test.inc (pow_test): Add more tests.
38141         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38142
38143 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
38144
38145         [BZ #13705]
38146         * math/libm-test.inc (exp_test): Do not allow overflow exception
38147         on underflow test.
38148
38149 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
38150
38151         [BZ #13705]
38152         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38153         instead of __kernel_standard_f.
38154
38155 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
38156
38157         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38158         * sysdeps/x86_64/memset_chk.S: Likewise.
38159
38160 2012-04-08  Andreas Jaeger  <aj@suse.de>
38161
38162         [BZ #10153]
38163         * manual/startup.texi (Environment Access): Describe return value
38164         for putenv and setenv.
38165
38166         [BZ #6895]
38167         * manual/filesys.texi (Directory Entries): Add description for
38168         DT_LNK.
38169
38170         [BZ #6890]
38171         * manual/filesys.texi (Directory Entries): Clarify that it's file
38172         system not operating system in the description of DT_UNKNOWN.
38173
38174         [BZ #6578]
38175         * manual/syslog.texi (closelog): Fix reference, it's openlog.
38176
38177 2012-04-08  Stephen Compall  <s11@member.fsf.org>
38178
38179         [BZ #6649]
38180         * manual/llio.texi (Opening and Closing Files): Add cross
38181         reference to explain mode argument.
38182
38183 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
38184
38185         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38186         * sysdeps/x86_64/memset_chk.S: Likewise.
38187
38188 2012-04-07  David S. Miller  <davem@davemloft.net>
38189
38190         * elf/elf.h (R_SPARC_WDISP10): Define.
38191         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38192         R_SPARC_SIZE32.
38193         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38194         R_SPARC_SIZE64 and R_SPARC_H34.
38195
38196 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
38197
38198         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38199         conditions and remove no longer applicable assertion.
38200
38201 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38202
38203         * bits/byteswap.h: Include <features.h>.
38204         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38205         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38206
38207 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38208
38209         * bits/byteswap.h (__bswap_16): Removed.
38210         Include <bits/byteswap-16.h> to get __bswap_16.
38211         * sysdeps/i386/bits/byteswap.h: Likewise.
38212         * sysdeps/s390/bits/byteswap.h: Likewise.
38213         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38214         * bits/byteswap-16.h: New file.
38215         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38216         * sysdeps/s390/bits/byteswap-16.h: Likewise.
38217         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38218         * string/Makefile (headers): Add bits/byteswap-16.h.
38219
38220 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
38221
38222         [BZ #13895]
38223         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38224         extra indirection.
38225         * nss/Makefile (tests-static, tests): Add tst-nss-static.
38226         * nss/tst-nss-static.c: New.
38227
38228 2012-04-06  Robert Millan  <rmh@gnu.org>
38229
38230         [BZ #6486]
38231         * manual/llio.texi (File Position Primitive): lseek
38232         refers to WHENCE when it really means OFFSET.
38233
38234 2012-04-06  Andreas Jaeger  <aj@suse.de>
38235
38236         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38237         strncmp declarations.
38238
38239         * abilist/libc.abilist: Add __poll and __ppoll.
38240
38241 2012-04-05  David S. Miller  <davem@davemloft.net>
38242
38243         * scripts/check-local-headers.sh: Accept a host triplet in the
38244         path matched by the exclude regexp.
38245
38246         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38247         definition.
38248         * sysdeps/powerpc/powerpc32/dl-machine.h
38249         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38250         * sysdeps/s390/s390-32/dl-machine.h
38251         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38252         * sysdeps/sparc/sparc32/dl-machine.h
38253         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38254         * sysdeps/sparc/sparc64/dl-machine.h
38255         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38256
38257         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38258         lazy binding.
38259         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38260         undefined symbol errors.
38261
38262         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38263         DT_NEEDED entries.
38264
38265 2012-04-05  Michael Matz  <matz@suse.de>
38266
38267         [BZ #13592]
38268         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38269
38270 2012-04-05  Andreas Jaeger  <aj@suse.de>
38271
38272         [BZ #13908]
38273         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38274         comment.
38275
38276 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38277
38278         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38279         which ROUND is no valid rounding mode.
38280
38281 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38282
38283         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38284         read again.
38285         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38286
38287 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38288
38289         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38290         an exception using FPU order intentionally.
38291
38292 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38293
38294         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38295         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38296         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38297         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38298
38299 2012-04-05  Simon Josefsson  <simon@josefsson.org>
38300
38301         [BZ #12340]
38302         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38303         EINVAL when BUFLEN is too smal.
38304
38305 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
38306
38307         [BZ #13553]
38308         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38309         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38310
38311 2012-04-03  Andreas Jaeger  <aj@suse.de>
38312
38313         [BZ #13938]
38314         * manual/setjmp.texi (System V contexts): Fix sentence.
38315
38316         [BZ #13926]
38317         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38318         New macro for this case.
38319         [!__GNUC__] (__bswap_64): New inline function for this case.
38320         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38321         * bits/byteswap.h: Likewise.
38322         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38323         ull, guard with __GLIBC_HAVE_LONG_LONG.
38324
38325         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38326         __GLIBC_HAVE_LONG_LONG.
38327
38328         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38329         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38330
38331 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38332
38333         [BZ #13691]
38334         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38335         inptr and inend, rather than using last_ch.
38336
38337 2012-04-02  David S. Miller  <davem@davemloft.net>
38338
38339         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38340         * stdio-common/printf-parse.h (read_int): Change return type to
38341         'int', return -1 on INT_MAX overflow.
38342         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38343         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
38344         overflows INT_MAX.  Check for overflow of in-format-string precision
38345         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
38346         SIZE_MAX not INT_MAX for integer overflow test.
38347         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38348         skip the construct in the format string but do not record anything.
38349         * stdio-common/bug22.c: Adjust to test both width/prevision
38350         INT_MAX overflow as well as total length INT_MAX overflow.  Check
38351         explicitly for proper errno values.
38352
38353 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
38354
38355         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38356         CHAR_MAX.
38357         * string/test-strcmp.c [! WIDE]: Likewise.
38358         * time/tst-mktime2.c: Likewise for INT_MAX.
38359         * string/test-string.h: #include <sys/param.h> for MIN.
38360
38361         * csu/init-first.c (__libc_init_first): Call __ctype_init.
38362         * sysdeps/i386/init-first.c (init): Likewise.
38363         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38364         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38365         * sysdeps/sh/init-first.c (init): Likewise.
38366
38367 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
38368
38369         * po/ru.po: Update from translation team.
38370         * po/vi.po: Likewise.
38371
38372 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38373
38374         * resolv/nss_dns/dns-host.c: Merge copyright years.
38375
38376 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38377
38378         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38379         Optimize memcpy with prefetch if
38380         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
38381         src, dst pointers have unequal 16 byte alignments.
38382
38383 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38384
38385         [BZ #13928]
38386         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38387         from a CNAME entry and return the minimum ttl for the query.
38388         (gaih_getanswer_slice): Likewise.
38389
38390 2012-03-30  Jeff Law  <law@redhat.com>
38391
38392         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38393         due to long keys.
38394         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38395         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38396
38397         * resolv/nss_dns/dns-host.c: Update copyright year.
38398
38399 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
38400
38401         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38402         requests to save a system call.  Fix check that all bytes are sent.
38403
38404         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38405         comments for sendmmsg.
38406
38407 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38408
38409         [BZ #13691]
38410         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38411         with only 1 character between 0x0041 and 0x01b0.
38412         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38413         * wcsmbs/tst-mbsnrtowcs.c: New file.
38414
38415 2012-03-29  David S. Miller  <davem@davemloft.net>
38416
38417         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38418         small copies by hand.
38419
38420 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38421
38422         [BZ #13761]
38423         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38424         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38425         group memberships.
38426
38427 2012-03-28  David S. Miller  <davem@davemloft.net>
38428
38429         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38430         that branches into memcpy.
38431         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38432         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38433         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38434         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38435         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38436         bits.
38437         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38438         implementation too.
38439         * sysdeps/sparc/mempcpy.S: New file.
38440
38441         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38442         the IFUNC routine in the libc case.
38443         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38444
38445         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38446         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38447         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38448         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38449         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38450         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38451         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38452         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38453
38454         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38455         loop to 256 bytes instead of 64 bytes and fix test signedness.
38456
38457         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38458         * sysdeps/sparc/sparc32/Makefile: rather than here...
38459         * sysdeps/sparc/sparc64/Makefile: and here.
38460
38461 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
38462
38463         * malloc/mallocbug.c: Avoid warnings about unused variables.
38464
38465 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38466
38467         [BZ #13760]
38468         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38469         in the right place. Discard and retry query if response is
38470         larger than input buffer size.
38471
38472 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
38473
38474         [BZ #369]
38475         [BZ #2678]
38476         [BZ #3866]
38477         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38478         x for large integer exponent.
38479         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38480         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
38481         sign of result as needed afterwards.
38482         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38483         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38484         result for underflowing pow the same as for overflow.
38485         (__kernel_standard_l): Handle powl overflow and underflow here
38486         rather than calling __kernel_standard.
38487         * math/libm-test.inc (pow_test): Add more tests.
38488
38489         [BZ #3868]
38490         [BZ #13879]
38491         [BZ #13910]
38492         [BZ #13911]
38493         [BZ #13912]
38494         [BZ #13913]
38495         [BZ #13915]
38496         [BZ #13916]
38497         [BZ #13917]
38498         [BZ #13918]
38499         [BZ #13919]
38500         [BZ #13920]
38501         [BZ #13921]
38502         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38503         * sysdeps/ieee754/k_standard.c: Include <float.h>.
38504         (__kernel_standard_l): New function.
38505         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38506         __kernel_standard.
38507         * math/w_acosl.c (__acosl): Likewise.
38508         * math/w_asinl.c (__asinl): Likewise.
38509         * math/w_atan2l.c (__atan2l): Likewise.
38510         * math/w_atanhl.c (__atanhl): Likewise.
38511         * math/w_coshl.c (__coshl): Likewise.
38512         * math/w_exp10l.c (__exp10l): Likewise.
38513         * math/w_exp2l.c (__exp2l): Likewise.
38514         * math/w_fmodl.c (__fmodl): Likewise.
38515         * math/w_hypotl.c (__hypotl): Likewise.
38516         * math/w_j0l.c (__j0l, __y0l): Likewise.
38517         * math/w_j1l.c (__j1l, __y1l): Likewise.
38518         * math/w_jnl.c (__jnl, __ynl): Likewise.
38519         * math/w_lgammal.c (__lgammal): Likewise.
38520         * math/w_log10l.c (__log10l): Likewise.
38521         * math/w_log2l.c (__log2l): Likewise.
38522         * math/w_logl.c (__logl): Likewise.
38523         * math/w_powl.c (__powl): Likewise.
38524         * math/w_remainderl.c (__remainderl): Likewise.
38525         * math/w_scalbl.c (sysv_scalbl): Likewise.
38526         * math/w_sinhl.c (__sinhl): Likewise.
38527         * math/w_sqrtl.c (__sqrtl): Likewise.
38528         * math/w_tgammal.c (__tgammal): Likewise.
38529         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38530         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38531         * math/libm-test.inc (acos_test): Add more tests.
38532         (acosh_test): Likewise.
38533         (asin_test): Likewise.
38534         (atanh_test): Likewise.
38535         (exp_test): Likewise.
38536         (exp10_test): Likewise.
38537         (exp2_test): Likewise.
38538         (expm1_test): Likewise.
38539         (lgamma_test): Likewise.
38540         (log_test): Likewise.
38541         (log10_test): Likewise.
38542         (log1p_test): Likewise.
38543         (log2_test): Likewise.
38544         (pow_test): Do not allow some spurious overflow exceptions.
38545         (sqrt_test): Add more tests.
38546         (tgamma_test): Likewise.
38547         (y0_test): Likewise.
38548         (y1_test): Likewise.
38549         (yn_test): Likewise.
38550
38551 2012-03-27  Anton Blanchard  <anton@samba.org>
38552
38553         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38554         MAP_HUGETLB.
38555         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38556         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38557         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38558
38559 2012-03-27  David S. Miller  <davem@davemloft.net>
38560
38561         * conform/Makefile: Run run-conformtest.sh using $(BASH).
38562
38563         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38564         have-as-vis3 check.
38565
38566 2012-03-27  Andreas Jaeger  <aj@suse.de>
38567
38568         * sysdeps/x86_64/elf/configure.in: Moved to ...
38569         * sysdeps/x86_64/configure.in: ... here.
38570         * sysdeps/x86_64/elf/start.S: Moved to ...
38571         * sysdeps/x86_64/start.S: ... here.
38572         * sysdeps/x86_64/elf/configure: Delete.
38573
38574         * sysdeps/x86_64/configure.in: Merge contents from
38575         sysdeps/i386/configure.in (without i686 check).
38576
38577         * sysdeps/i386/elf/Versions: Merge into ...
38578         * sysdeps/i386/Versions: ... this.
38579         * sysdeps/i386/elf/Versions: Delete file.
38580         * sysdeps/i386/elf/start.S: Moved to ...
38581         * sysdeps/i386/start.S: ...here.
38582         * sysdeps/i386/elf/configure.in: Merge into...
38583         * sysdeps/i386/configure.in: ...here.
38584         * sysdeps/i386/elf/configure.in: Delete file.
38585         * sysdeps/i386/elf/configure: Delete file.
38586
38587         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38588         * debug/backtracesyms.c: ... here.
38589         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38590         * debug/backtracesymsfd.c: ... here.
38591         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38592         * sysdeps/generic/ifunc-sel.h: ... here.
38593
38594         * sysdeps/unix/i386/start.c: Delete file.
38595         * sysdeps/unix/sparc/start.c: Delete file.
38596         * sysdeps/unix/start.c: Delete file.
38597
38598         * sysdeps/sh/elf/configure.in: Moved to ...
38599         * sysdeps/sh/configure.in: ... here.
38600         * sysdeps/sh/elf/start.S: Moved to ...
38601         * sysdeps/sh/start.S: ... here.
38602         * sysdeps/sh/elf/configure: Delete file.
38603
38604         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38605         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38606         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38607         * sysdeps/powerpc/powerpc64/entry.h: ... here.
38608         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38609         * sysdeps/powerpc/powerpc64/start.S: here.
38610         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38611         * sysdeps/powerpc/powerpc64/Makefile: ... this.
38612         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38613         * sysdeps/powerpc/powerpc64/configure.in: ... this.
38614         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38615
38616         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38617         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38618         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38619         * sysdeps/powerpc/powerpc32/start.S: ... here.
38620         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38621         * sysdeps/powerpc/powerpc32/configure.in: ... this.
38622         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38623
38624         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38625         * sysdeps/powerpc/ifunc-sel.h: ... here.
38626         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38627         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38628
38629         * sysdeps/sparc/elf/configure.in: Moved to ...
38630         * sysdeps/sparc/configure.in: ... here.
38631         * sysdeps/sparc/elf/configure: Delete file.
38632         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38633         * sysdeps/sparc/sparc32/start.S: ... here.
38634         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38635         * sysdeps/sparc/sparc64/start.S: ... here.
38636         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38637         * sysdeps/sparc/sparc32/Makefile: ... this.
38638         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38639         * sysdeps/sparc/sparc64/Makefile: ... this.
38640
38641         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38642         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38643         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38644         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38645         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38646         * sysdeps/s390/s390-32/setjmp.S: ... here.
38647         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38648         * sysdeps/s390/s390-32/configure.in: ... here.
38649         * sysdeps/s390/s390-32/elf/configure: Delete file.
38650         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38651         * sysdeps/s390/s390-32/start.S: ... here.
38652
38653         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38654         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38655         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38656         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38657         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38658         * sysdeps/s390/s390-64/setjmp.S: ... here.
38659         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38660         * sysdeps/s390/s390-64/configure.in: ... here
38661         * sysdeps/s390/s390-64/elf/configure: Delete file.
38662         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38663         * sysdeps/s390/s390-64/start.S: ... here.
38664         * sysdeps/s390/s390-64/elf/configure: Delete.
38665
38666         * configure.in: Remove support for elf directories in sysdeps.
38667
38668         * configure: Regenerated.
38669         * sysdeps/i386/configure: Regenerated.
38670         * sysdeps/powerpc/powerpc32/configure: Regenerated.
38671         * sysdeps/powerpc/powerpc64/configure: Regenerated.
38672         * sysdeps/s390/s390-32/configure: Regenerated.
38673         * sysdeps/s390/s390-64/configure: Regenerated.
38674         * sysdeps/sh/configure: Regenerated.
38675         * sysdeps/sparc/configure: Regenerated.
38676         * sysdeps/x86_64/configure: Regenerated.
38677
38678 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
38679
38680         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38681
38682         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38683         denormal result into account.
38684
38685 2012-03-25  Roland McGrath  <roland@hack.frob.com>
38686
38687         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38688         Reported by Allan McRae <allan@archlinux.org>.
38689
38690 2012-03-23  Jeff Law  <law@redhat.com>
38691
38692         * nss/getnssent.c (__nss_getent): Fix typo.
38693
38694 2012-03-23  David S. Miller  <davem@davemloft.net>
38695
38696         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38697
38698 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
38699
38700         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38701         to pad to uint64_t for each field.
38702         (dl_tls_index): Replace unsigned long with uint64_t.
38703
38704 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
38705         Paul Pluzhnikov  <ppluzhnikov@google.com>
38706
38707         [BZ #6528]
38708         * grp/Makefile (otherlibs): Don't set it.
38709         * inet/Makefile (otherlibs): Likewise.
38710         * login/Makefile (otherlibs): Likewise.
38711         * nscd/Makefile (otherlibs): Likewise.
38712         * posix/Makefile (otherlibs): Likewise.
38713         * pwd/Makefile (otherlibs): Likewise.
38714         * rt/Makefile (otherlibs): Likewise.
38715         * sunrpc/Makefile (otherlibs): Likewise.
38716         * nss/Makefile (otherlibs): Likewise.
38717         Add libnss_files to routines and static-only-routines.
38718         ($(objpfx)getent): Remove rule.
38719         * resolv/Makefile: Add libnss_dns and libresolv to routines and
38720         static-only-routines.
38721
38722 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
38723
38724         [BZ #13892]
38725         * math/s_cexp.c: Include <float.h>.
38726         (__cexp): Handle exp result overflowing not necessarily
38727         overflowing both real and imaginary parts of result.
38728         * math/s_cexpf.c: Likewise.
38729         * math/s_cexpl.c: Likewise.
38730         * math/libm-test.inc (cexp_test): Add more tests.
38731         * sysdeps/i386/fpu/libm-test-ulps: Update.
38732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38733
38734 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38735
38736         * include/link.h (ELFW): New macro.
38737         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38738         Replace ELF64_R_TYPE with ELFW(R_TYPE).
38739
38740 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38741
38742         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38743         with uint64_t.
38744
38745 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38746
38747         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38748         declaration.
38749         (struct La_x32_retval): Likewise.
38750
38751 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38752
38753         * sysdeps/x86_64/preconfigure.in: New file.
38754         * sysdeps/x86_64/preconfigure: New generated file.
38755
38756 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
38757
38758         [BZ #13824]
38759         * math/e_exp2l.c: Include <float.h>.
38760         (__ieee754_exp2l): Handle overflow and underflow cases
38761         separately.  Only pass fractional part of argument to
38762         __ieee754_expl.
38763         * math/libm-test.inc (exp2_test): Add more tests.
38764
38765         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38766         negating x to take absolute value.
38767         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38768         Likewise.
38769         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38770         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38771         Likewise.
38772         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38773         computing low part if x was negated.
38774         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38775
38776 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38777
38778         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38779         la_x32_gnu_pltexit.
38780         (pltexit): Cast int_retval to ptrdiff_t.
38781         * elf/tst-auditmod3b.c: Likewise.
38782         * elf/tst-auditmod4b.c: Likewise.
38783         * elf/tst-auditmod5b.c: Likewise.
38784         * elf/tst-auditmod6b.c: Likewise.
38785         * elf/tst-auditmod6c.c: Likewise.
38786         * elf/tst-auditmod7b.c: Likewise.
38787
38788         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38789         and x32_gnu_pltexit.
38790
38791         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38792         __ELF_NATIVE_CLASS.
38793         (La_x32_regs): New macro.
38794         (La_x32_retval): Likewise.
38795         (la_x32_gnu_pltenter): New function prototype.
38796         (la_x32_gnu_pltexit): Likewise.
38797
38798 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
38799
38800         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38801         exponent.
38802
38803         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38804
38805         * configure.in (libc_cv_cc_nofma): Check for option to disable
38806         generation of FMA instructions.
38807         * configure: Regenerate.
38808         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38809         * sysdeps/ieee754/dbl-64/Makefile: New file.
38810         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38811         Remove brandred-fma4.
38812         (CFLAGS-brandred-fma4.c): Remove.
38813         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38814         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38815         define.
38816         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38817         define.
38818
38819 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38820
38821         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38822         LLONG_MAX != LONG_MAX.
38823         (_itoa_word): Use _ITOA_WORD_TYPE on value.
38824         (_fitoa_word): Likewise.
38825         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38826         LLONG_MAX != LONG_MAX.
38827         * stdio-common/_itowa.h: Include <_itoa.h>.
38828         (_itowa_word): Use _ITOA_WORD_TYPE on value.
38829         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
38830         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
38831         only if not defined.
38832         (_ITOA_WORD_TYPE): Likewise.
38833         (_itoa_word): Use _ITOA_WORD_TYPE on value.
38834         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38835
38836 2012-03-21  David S. Miller  <davem@davemloft.net>
38837
38838         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38839
38840 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38841
38842         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38843         of x86_64 when setting libc_cv_slibdir, libdir and
38844         libc_cv_localedir.
38845         * sysdeps/unix/sysv/linux/configure: Regenerated.
38846
38847 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38848
38849         * manual/lang.texi (Old Varargs): Remove section.
38850         (How Variadic): Update menu.
38851         (va_start): Do not mention varargs.h.
38852
38853 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
38854             Joseph Myers  <joseph@codesourcery.com>
38855
38856         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38857         link test.
38858         * configure: Regenerated.
38859
38860 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
38861
38862         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38863         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38864         conformtest.pl
38865
38866 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38867
38868         * NOTES: Remove.
38869         * Makefile (files-for-dist): Remove NOTES.
38870         (NOTES): Remove rule.
38871         * README: Don't refer to NOTES.
38872         * manual/creature.texi: Don't include macros.texi.
38873         * manual/intro.texi (creature.texi): Remove comment referring to
38874         NOTES.
38875
38876         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38877         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38878         * configure: Regenerated.
38879         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38880         LIBC_TRY_CC_OPTION.
38881         (libc_cv_as_i686): Likewise.
38882         (libc_cv_cc_avx): Likewise.
38883         (libc_cv_cc_sse2avx): Likewise.
38884         (libc_cv_cc_fma4): Likewise.
38885         (libc_cv_cc_novzeroupper): Likewise.
38886         * sysdeps/i386/configure: Regenerated.
38887
38888         [BZ #13883]
38889         * sysdeps/i386/fpu/s_cexp.S: Remove.
38890         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38891         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38892         * math/libm-test.inc (cexp_test): Add more tests.
38893         * sysdeps/i386/fpu/libm-test-ulps: Update.
38894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38895
38896 2012-03-21  Allan McRae  <allan@archlinux.org>
38897
38898         * timezone/Makefile: Do not install iso3166.tab and zone.tab
38899
38900 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38901
38902         [BZ #13871]
38903         * math/w_exp2.c: Do not include <float.h>.
38904         (o_threshold, u_threshold): Remove.
38905         (__exp2): Calculate result before checking finiteness and calling
38906         __kernel_standard.
38907         * math/w_exp2f.c: Likewise.
38908         * math/w_exp2l.c: Likewise.
38909         * math/libm-test.inc (exp2_test): Require overflow exception for
38910         1e6 input.
38911
38912         [BZ #3866]
38913         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38914         range of signed 64-bit integers before using fistpll.  Remove
38915         checks for whether integers fit in mantissa bits.
38916         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38917         the range of signed 32-bit integers before using fistpl.  Remove
38918         checks for whether integers fit in mantissa bits.
38919         * sysdeps/i386/fpu/e_powl.S (p64): New object.
38920         (__ieee754_powl): Test for y outside the range of signed 64-bit
38921         integers before using fistpll.  Reduce 64-bit values to 63-bit
38922         ones as needed.
38923         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38924         divide-by-zero is raised for zero to large negative powers.
38925         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38926         (__ieee754_powl): Test for y outside the range of signed 64-bit
38927         integers before using fistpll.  Reduce 64-bit values to 63-bit
38928         ones as needed.
38929         * math/libm-test.inc (pow_test): Add more tests.
38930
38931 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38932
38933         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38934         <stdio-common/_itoa.h>.
38935         * debug/segfault.c: Likewise.
38936         * elf/dl-cache.c: Likewise.
38937         * elf/dl-minimal.c: Likewise.
38938         * elf/dl-misc.c: Likewise.
38939         * elf/dl-sysdep.c: Likewise.
38940         * elf/dl-version.c: Likewise.
38941         * elf/rtld.c: Likewise.
38942         * hurd/hurdsock.c: Likewise.
38943         * hurd/lookup-retry.c: Likewise.
38944         * malloc/malloc.c: Likewise.
38945         * malloc/mtrace.c: Likewise.
38946         * nscd/nscd_getgr_r.c: Likewise.
38947         * nscd/nscd_getpw_r.c: Likewise.
38948         * nscd/nscd_getserv_r.c: Likewise.
38949         * posix/getopt_init.c: Likewise.
38950         * posix/wordexp.c: Likewise.
38951         * stdio-common/_itoa.c: Likewise.
38952         * stdio-common/printf_fphex.c: Likewise.
38953         * stdio-common/vfprintf.c: Likewise.
38954         * string/_strerror.c: Likewise.
38955         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38956         * sysdeps/i386/i686/hp-timing.h: Likewise.
38957         * sysdeps/mach/_strerror.c: Likewise.
38958         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38959         * sysdeps/mach/hurd/sethostid.c: Likewise.
38960         * sysdeps/mach/hurd/xmknodat.c: Likewise.
38961         * sysdeps/mach/xpg-strerror.c: Likewise.
38962         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38963         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38964         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38965         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38966         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38967         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38968         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38969         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38970         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38971         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38972         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38973         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38974         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38975         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38976         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38977         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38978         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38979         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38980         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38981         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38982         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38983
38984         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38985
38986         * stdio-common/_itoa.h: Moved to ...
38987         * sysdeps/generic/_itoa.h: Here.
38988
38989         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38990
38991         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38992         instead of "_itoa.h" and "_itowa.h".
38993         * stdio-common/vfprintf.: Likewise.
38994
38995 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38996
38997         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38998         <bits/wordsize.h>.
38999         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39000         (__signbit): Likwise.
39001         (llrintf): Likwise.
39002         (llrint): Likwise.
39003
39004 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39005
39006         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39007         __WORDSIZE != 64.
39008
39009 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
39010
39011         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39012         OVERFLOW_EXCEPTION_OK.
39013         * math/libm-test.inc ("Philosophy"): Update comment about
39014         exception testing.
39015         (OVERFLOW_EXCEPTION): Define.
39016         (OVERFLOW_EXCEPTION_OK): Likewise.
39017         (INVALID_EXCEPTION_OK): Renumber.
39018         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39019         (IGNORE_ZERO_INF_SIGN): Likewise.
39020         (test_exceptions): Handle FE_OVERFLOW.
39021         (exp10_test): Expect overflow exceptions.
39022         (exp2_test): Likewise.
39023         (expm1_test): Likewise.
39024         (nextafter_test): Likewise.
39025         (pow_test): Likewise.
39026         (scalbn_test): Likewise.
39027         (scalbln_test): Likewise.
39028
39029 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39030
39031         * sysdeps/x86_64/bits/atomic.h
39032         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39033         64bit integer.
39034         (atomic_exchange_acq): Likewise.
39035         (__arch_exchange_and_add_body): Likewise.
39036         (__arch_add_body): Likewise.
39037         (atomic_add_negative): Likewise.
39038         (atomic_add_zero): Likewise.
39039
39040 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39041
39042         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39043         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39044
39045 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39046
39047         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39048         Check __x86_64__ instead of __WORDSIZE.
39049
39050 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39051
39052         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39053
39054 2012-03-19  David S. Miller  <davem@davemloft.net>
39055
39056         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39057
39058         * sysdeps/sparc/fpu/fenv_private.h: New file.
39059         * sysdeps/sparc/fpu/math_private.h: Use it.
39060         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39061         Remove.
39062         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39063         (libc_feholdexcept_setroundl): Remove.
39064         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39065         Remove.
39066         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39067         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39068
39069 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39070
39071         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39072         int64_t instead of long int.
39073         (INSERT_WORDS64): Likwise.
39074
39075 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39076
39077         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39078         _Unwind_GetCFA return to _Unwind_Ptr first.
39079
39080 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
39081
39082         [BZ #13629]
39083         * math/s_clog.c: Include <float.h>.
39084         (__clog): Scale large or subnormal inputs.
39085         * math/s_clogf.c: Likewise.
39086         * math/s_clogl.c: Likewise.
39087         * math/s_clog10.c: Include <float.h>.
39088         (M_LOG10_2): Define.
39089         (__clog10): Scale large or subnormal inputs.
39090         * math/s_clog10f.c: Likewise.
39091         * math/s_clog10l.c: Likewise.
39092         * math/libm-test.inc (clog_test): Add more tests.
39093         (clog10_test): Likewise.
39094         * sysdeps/i386/fpu/libm-test-ulps: Update.
39095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39096
39097         [BZ #11451]
39098         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39099         x and y.
39100         * math/libm-test.inc (atan2_test): Add another test.
39101
39102         * Makerules (common-objdir-compile): Remove.
39103         * sysdeps/unix/Makefile (config-generated): Do not add
39104         $(unix-generated) to variable.
39105         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39106         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39107         Remove rule.
39108         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39109         Likewise.
39110         [generic bits/local_lim.h] (before-compile): Do not append to
39111         variable.
39112         [generic bits/local_lim.h] (common-generated): Likewise.
39113         [generic sys/param.h] (before-compile): Do not append to variable.
39114         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39115         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39116         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39117         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39118         include.
39119         [generic sys/param.h] (sys/param.h-includes): Remove variable.
39120         [generic sys/param.h] (sys/param.h-includes): Remove rule.
39121         [generic sys/param.h] ($(addprefix
39122         $(common-objpfx),$(sys/param.h-includes))): Likewise.
39123         [generic sys/param.h] (common-generated): Do not append to
39124         variable.
39125         [generic sys/param.h] (sysdep_headers): Likewise.
39126         [generic bits/errno.h] (before-compile): Do not append to
39127         variable.
39128         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39129         rule.
39130         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39131         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39132         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39133         [generic bits/errno.h] (common-generated): Do not append to
39134         variable.
39135         [generic bits/ioctls.h] (before-compile): Do not append to
39136         variable.
39137         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39138         rule.
39139         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39140         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39141         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39142         rule.
39143         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39144         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39145         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39146         [generic bits/ioctls.h] (common-generated): Do not append to
39147         variable.
39148         [generic sys/syscall.h] (syscall.h): Remove variable.
39149         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39150         rule.
39151         [generic sys/syscall.h] (before-compile): Do not append to
39152         variable.
39153         [generic sys/syscall.h] (common-generated): Likewise.
39154         * sysdeps/unix/errnos-tmpl.c: Remove file.
39155         * sysdeps/unix/errnos.awk: Likewise.
39156         * sysdeps/unix/ioctls-tmpl.c: Likewise.
39157         * sysdeps/unix/ioctls.awk: Likewise.
39158         * sysdeps/unix/mk-local_lim.c: Likewise.
39159         * sysdeps/unix/snarf-ioctls: Likewise.
39160
39161 2012-03-19  Richard Henderson  <rth@twiddle.net>
39162
39163         * sysdeps/i386/fpu/fenv_private.h: New file.
39164         * sysdeps/i386/fpu/math_private.h: Use it.
39165         (math_opt_barrier, math_force_eval): Remove.
39166         (libc_feholdexcept_setround_53bit): Remove.
39167         (libc_feupdateenv_53bit): Remove.
39168         * sysdeps/x86_64/fpu/math_private.h: Likewise.
39169         (math_opt_barrier, math_force_eval): Remove.
39170         (libc_feholdexcept): Remove.
39171         (libc_feholdexcept_setround): Remove.
39172         (libc_fetestexcept, libc_fesetenv): Remove.
39173         (libc_feupdateenv_test): Remove.
39174         (libc_feupdateenv, libc_feholdsetround): Remove.
39175         (libc_feresetround): Remove.
39176
39177         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39178         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39179
39180         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39181         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39182         (libc_feupdateenv_testl): New.
39183         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39184         (libc_feupdateenv_testf): New.
39185         (libc_feupdateenv): Use libc_feupdateenv_test.
39186         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39187         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39188
39189         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39190         (libc_feholdsetroundf, libc_feholdsetroundl): New.
39191         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39192         (libc_feresetround_noex): New.
39193         (libc_feresetround_noexf): New.
39194         (libc_feresetround_noexl): New.
39195         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39196         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39197         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39198         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39199         SET_RESTORE_ROUND.
39200         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39201         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39202         (__cos): Likewise.
39203         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39204         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39205         SET_RESTORE_ROUND_NOEX.
39206         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39207         SET_RESTORE_ROUND_NOEXF.
39208         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39209         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39210         (libc_feholdsetroundf): New.
39211         (libc_feresetround, libc_feresetroundf): New.
39212
39213         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39214         (libc_feholdexcept_setround_53bit): Convert from macro to function.
39215         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
39216
39217         * sysdeps/generic/math_private.h: Include <fenv.h>.
39218         (default_libc_feholdexcept): New.
39219         (default_libc_feholdexcept_setround): New.
39220         (default_libc_fesetenv, default_libc_feupdateenv): New.
39221         (libc_feholdexcept): Only define if undefined.
39222         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39223         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39224         (libc_feholdexcept_setroundl): Likewise.
39225         (libc_feholdexcept_setround_53bit): Likewise.
39226         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39227         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39228         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39229         (libc_feupdateenv_53bit): Likewise.
39230         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39231         (libc_feholdexcept): Convert from macro to inline function.
39232         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39233         (libc_fesetenv, libc_feupdateenv): Likewise.
39234
39235         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39236         not previously defined.
39237         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39238         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39239         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39240         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39241         * sysdeps/ieee754/flt-32/math_private.h: New file.
39242         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39243         math_private.h below SET_FLOAT_WORD.
39244         (__isnan, __isinf_ns, __finite): Remove.
39245         (__isnanf, __isinf_nsf, __finitef): Remove.
39246
39247 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
39248
39249         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39250
39251 2012-03-17  David S. Miller  <davem@davemloft.net>
39252
39253         [BZ #6471]
39254         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39255         for 2.16.
39256
39257 2012-03-16  David S. Miller  <davem@davemloft.net>
39258
39259         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39260         warnings.
39261
39262         [BZ #6471]
39263         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39264         properly.
39265         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39266         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39267         sysdep_routines when subdir is sysvipc.
39268         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39269         __getshmlba helper.
39270
39271         * sysdeps/sparc/fpu/libm-test/ulps: Update.
39272
39273 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39274
39275         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39276         [__LP64__].
39277
39278 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39279
39280         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39281         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39282         (__lround): Renamed to ...
39283         (__llround): This.  Replace long int with long long int.
39284         Define lround functions as aliases of llround functions.
39285         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39286
39287 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39288
39289         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39290         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
39291         adresses to uintptr_t.  Replace "long int" and "unsigned long
39292         int" with "greg_t" on va_arg.
39293
39294 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39295
39296         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39297         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39298
39299         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39300         Move e_machine check before EI_CLASS check.  Handle x32
39301         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39302         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39303         SKIP_EM_IA_64 and include
39304         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39305
39306         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39307         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39308         (add_system_dir): New macro.
39309
39310         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39311         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39312
39313 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39314
39315         [BZ #2551]
39316         [BZ #2552]
39317         [BZ #2553]
39318         [BZ #2554]
39319         [BZ #2562]
39320         [BZ #2563]
39321         [BZ #2565]
39322         [BZ #2566]
39323         [BZ #2576]
39324         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39325         (y0): Likewise.
39326         * math/w_j0f.c (j0f): Likewise.
39327         (y0f): Likewise.
39328         * math/w_j0l.c (__j0l): Likewise.
39329         (__y0l): Likewise.
39330         * math/w_j1.c (j1): Likewise.
39331         (y1): Likewise.
39332         * math/w_j1f.c (j1f): Likewise.
39333         (y1f): Likewise.
39334         * math/w_j1l.c (__j1l): Likewise.
39335         (__y1l): Likewise.
39336         * math/w_jn.c (jn): Likewise.
39337         (yn): Likewise.
39338         * math/w_jnf.c (jnf): Likewise.
39339         (ynf): Likewise.
39340         * math/w_jnl.c (__jnl): Likewise.
39341         (__ynl): Likewise.
39342         * math/libm-test.inc (j0_test): Add more tests.
39343         (j1_test): Likewise.
39344         (jn_test): Likewise.  Add trailing semicolon to existing test.
39345         (y0_test): Likewise.
39346         (y1_test): Likewise.
39347         * sysdeps/i386/fpu/libm-test-ulps: Update.
39348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39349
39350         [BZ #13851]
39351         [BZ #13854]
39352         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39353         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39354         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39355         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39356         (__tanl): Set errno for infinite argument.
39357         * sysdeps/i386/fpu/mptan.c: Remove.
39358         * sysdeps/i386/fpu/s_tan.S: Likewise.
39359         * sysdeps/i386/fpu/s_tanl.S: Likewise.
39360         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39361         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39362         * math/libm-test.inc (tan_test): Add more tests and enable more
39363         tests for double and long double.
39364         * sysdeps/i386/fpu/libm-test-ulps: Update.
39365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39366
39367 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
39368
39369         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39370         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39371
39372 2012-03-16  Roland McGrath  <roland@hack.frob.com>
39373
39374         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39375         * configure.in: Use it for both main tree and add-ons.
39376         * configure: Regenerated.
39377
39378 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39379
39380         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39381
39382 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39383
39384         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39385         in comment.
39386
39387         [BZ #13851]
39388         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39389         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39390         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39391         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39392         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39393         infinite argument.
39394         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39395         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39396         != 0 for prec == 2.
39397         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39398         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39399         * sysdeps/i386/fpu/s_cosl.S: Likewise.
39400         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39401         * sysdeps/i386/fpu/s_sinl.S: Likewise.
39402         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39403         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39404         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39405         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39406         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39407         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39408         * math/libm-test.inc (cos_test): Add more tests and enable more
39409         tests for long double.
39410         (sin_test): Likewise.
39411         (sincos_test): Likewise.
39412         * sysdeps/i386/fpu/libm-test-ulps: Update.
39413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39414
39415 2012-03-16  David S. Miller  <davem@davemloft.net>
39416
39417         * sysdeps/sparc/fpu/math_private.h: New file.
39418
39419 2012-03-15  David S. Miller  <davem@davemloft.net>
39420
39421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39422         file.
39423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39425         file.
39426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39427         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39428         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39429         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39430         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39431         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39432         sysdep routines.
39433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39434
39435         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39436         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39437
39438         * sysdeps/sparc/sparc-ifunc.h: New file.
39439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39440         sparc-ifunc.h
39441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39443         Likewise.
39444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39445         Likewise.
39446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39450         Likewise.
39451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39456         Likewise.
39457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39458         Likewise.
39459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39463         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39464         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39465         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39466         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39467         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39468         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39469         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39470         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39471         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39472         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39473         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39474         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39475         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39476         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39477         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39478         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39479         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39480         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39481         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39482         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39483
39484 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
39485
39486         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39487         scaling.
39488         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39489
39490 2012-03-15  Andreas Jaeger  <aj@suse.de>
39491
39492         [BZ #13852]
39493         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39494         ieee754/flt-32 implementation for sin, cos and sincos.
39495         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39496         * sysdeps/i386/fpu/s_cosf.S: Likewise.
39497         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39498         * sysdeps/i386/fpu/s_sinf.S: Likewise.
39499         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39500         ieee754/flt-32 implementation for tan.
39501
39502         * math/libm-test.inc (cos_test): Enable some large input tests for
39503         float as well
39504         (sin_test): Likewise.
39505         (sincos_test): Likewise.
39506         (tan_test): Add tests for large input.
39507
39508         * sysdeps/i386/fpu/libm-test-ulps: Update.
39509
39510 2012-03-15  Andreas Jaeger  <aj@suse.de>
39511
39512         [BZ #13658]
39513         * math/libm-test.inc (cos_test): Add more test cases.
39514         (sin_test): Likewise.
39515         (sincos_test): Likewise.
39516
39517 2012-03-15  Andreas Jaeger  <aj@suse.de>
39518
39519         [BZ #13837]
39520         * math/libm-test.inc (cos_test): Add a test case for large input
39521         value.
39522         (sin_test): Likewise.
39523         (sincos_test): Likewise.
39524
39525 2012-03-15  Andreas Jaeger  <aj@suse.de>
39526             Joseph Myers  <joseph@codesourcery.com>
39527
39528         [BZ #13658]
39529         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39530         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39531         * sysdeps/i386/fpu/branred.c: Likewise.
39532         * sysdeps/i386/fpu/dosincos.c: Likewise.
39533         * sysdeps/i386/fpu/mpa.c: Likewise.
39534         * sysdeps/i386/fpu/s_cos.S: Likewise.
39535         * sysdeps/i386/fpu/s_sin.S: Likewise.
39536         * sysdeps/i386/fpu/s_sincos.S: Likewise.
39537         * sysdeps/i386/fpu/sincos32.c: Likewise.
39538
39539         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39540         Define.
39541         (libc_feupdateenv_53bit): Define.
39542         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39543         Define.
39544         (libc_feupdateenv_53bit): Define.
39545
39546         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39547         53 bit (without extend i386 double precision).
39548
39549         * math/libm-test.inc (sincos_test): Add tests for large input.
39550         (sin): Likewise.
39551         (cos): Likewise.
39552
39553         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39554
39555 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
39556
39557         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39558
39559 2012-03-15  David S. Miller  <davem@davemloft.net>
39560
39561         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39562         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39563         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39564         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39565         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39566         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39567         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39568         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39569         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39570         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39571         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39572         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39573         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39574         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39575         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39577         file.
39578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39580         file.
39581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39583         file.
39584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39586         file.
39587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39588         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39589         fmin/fmax sysdep routines.
39590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39591
39592 2012-03-14  David S. Miller  <davem@davemloft.net>
39593
39594         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39595         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39596         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39597         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39598         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39599         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39600         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39601         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39602         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39603         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39604         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39605         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39606         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39607         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39608         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39609         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39610         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39611         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39612         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39613         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39614         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39615         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39616         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39617         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39618         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39619         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39620         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39621         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39622         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39623         routines.
39624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39625         file.
39626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39628         file.
39629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39631         file.
39632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39634         file.
39635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39637         file.
39638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39640         file.
39641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39642         file.
39643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39644         file.
39645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39646         file.
39647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39648         New file.
39649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39650         file.
39651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39652         file.
39653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39655         file.
39656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39658         file.
39659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39661         file.
39662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39664         VIS3 routines.
39665
39666         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39667         New file.
39668
39669         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39670
39671         * sysdeps/sparc/configure.in: New file.
39672         * sysdeps/sparc/configure: Generate.
39673         * configure.in (libc_cv_sparc_as_vis3): Substitute.
39674         * configure: Regenerate.
39675         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39676         * config.make.in (have-as-vis3): New.
39677         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39678         available use -Av9d instead of -Av9a.
39679         * sysdeps/sparc/sparc64/Makefile: Likewise.
39680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39682         New file.
39683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39684         file.
39685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39686         New file.
39687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39688         file.
39689         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39690         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39691         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39692         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39693         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39694
39695         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39696         fzeros/fnegs to load 0x80000000 into a float register instead of
39697         using the stack.
39698         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39699
39700 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
39701
39702         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39703         bits/syscall.h.
39704         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39705         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39706         ($(inst_includedir)/bits/syscall.h): Remove rule.
39707         ($(objpfx)bits/syscall.d): Include instead of
39708         $(objpfx)syscall-list.d.
39709         (generated): Change syscall-list.h and syscall-list.d to
39710         bits/syscall.h and bits/syscall.d.
39711
39712 2012-03-14  Roland McGrath  <roland@hack.frob.com>
39713
39714         [BZ #13846]
39715         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39716
39717 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
39718
39719         [BZ #13841]
39720         * math/s_csqrt.c: Include <float.h>.
39721         (__csqrt): Scale large or subnormal inputs.
39722         * math/s_csqrtf.c: Likewise.
39723         * math/s_csqrtl.c: Likewise.
39724         * math/libm-test.inc (csqrt_test): Add more tests.
39725         * sysdeps/i386/fpu/libm-test-ulps: Update.
39726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39727
39728         [BZ #13840]
39729         * math/libm-test.inc (hypot_test): Add more tests.
39730
39731 2012-03-13  David S. Miller  <davem@davemloft.net>
39732
39733         [BZ #13840]
39734         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39735         double-precision for the calculation instead of scaling.
39736
39737 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
39738
39739         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39740         manipulate bits before adding and subtracting TWO52[sx].
39741         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39742         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39743         Likewise.
39744         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39745
39746 2012-03-13  David S. Miller  <davem@davemloft.net>
39747
39748         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39749         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39750         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39751         rtld-global-offsets.h
39752         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39753
39754         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39755         large parameters.
39756
39757         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39758
39759         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39760         'err' in the ifdef scope in which it is actually used.
39761
39762         * nss/nss_db/db-init.c: Include string.h
39763
39764 2012-03-12  David S. Miller  <davem@davemloft.net>
39765
39766         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39767         masking out of the most significant byte of random value used.
39768         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39769         Fix coding style in previous change.
39770
39771         * sysdeps/unix/sysv/linux/kernel-features.h
39772         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39773         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39774         expression.
39775         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39776         later.
39777
39778 2012-03-11  David S. Miller  <davem@davemloft.net>
39779
39780         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39781         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39782         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39783         for 'resultvar' otherwise things get truncated on 64-bit.
39784
39785         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39786         Fix masking out of the most significant byte of random value used.
39787
39788         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39789
39790 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
39791
39792         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39793
39794 2012-03-09  David S. Miller  <davem@davemloft.net>
39795
39796         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39797         variables with appropriate CPP guards.
39798         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39799         from the frame pointer, not the stack pointer.  Correct layout
39800         comments.  Fix test on resulting framesize and the management of
39801         the outregs buffer for pltexit.  Preserve floating point return
39802         values across _dl_call_pltexit call.
39803         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39804         framesize and the management of the outregs buffer for pltexit.
39805         Preserve floating point return values across _dl_call_pltexit
39806         call.
39807         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39808         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39809         (la_sparc64_gnu_pltexit): New functions.
39810         (print_exit): Fix format string for return register value.
39811
39812 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
39813
39814         * sunrpc/Makefile (others): Add rpcgen.
39815         ($(objpfx)rpcgen): Remove special build rule and dependency on
39816         libc.
39817         * sunrpc/rpcgen.c: New file.
39818
39819 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
39820
39821         [BZ #13673]
39822         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39823         * stdio-common/bug-vfprintf-nargs.c: Likewise.
39824         * sysdeps/i386/crti.S: Likewise.
39825         * sysdeps/i386/crtn.S: Likewise.
39826         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39827         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39828         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39829         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39830         * sysdeps/sh/crti.S: Likewise.
39831         * sysdeps/sh/crtn.S: Likewise.
39832         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39833
39834         [BZ #13673]
39835         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39836         with URL.
39837         * locale/programs/locfile-kw.gperf: Likewise.
39838         * locale/programs/charmap-kw.h: Regenerated.
39839         * locale/programs/locfile-kw.h: Likewise.
39840
39841         [BZ #13673]
39842         * intl/plural.y: Replace FSF snail mail address with URL.
39843         * intl/plural.c: Regenerated.
39844
39845 2012-03-09  Richard Henderson  <rth@twiddle.net>
39846
39847         * include/math_private.h: Remove file.
39848         * math/math_private.h: Move file ...
39849         * sysdeps/generic/math_private.h: ... here.
39850
39851         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39852         * sysdeps/powerpc/fpu/math_private.h: Likewise.
39853         * sysdeps/x86_64/fpu/math_private.h: Likewise.
39854
39855         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
39856         and <math_private.h>.
39857         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39858         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39859         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39860         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39861         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39862         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39863         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39864         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39865         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39866         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39867         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39868         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39869         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39870         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39871         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39872         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39873         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39874         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39875         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39876         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39877         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39878         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39879         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39880         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39881         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39882         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39883         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39884         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39885         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39886         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39887         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39888         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39889         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39890         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39891         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39892         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39893         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39894         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39895         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39896         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39897         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39898         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39899         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39900         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39901         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39902         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39903         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39904         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39905         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39906         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39907         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39908         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39909         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39910         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39911         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39912         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39913         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39914         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39915         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39916         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39917         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39918         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39919         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39920         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39921         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39922         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39923         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39924         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39925         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39926         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39927         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39928         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39929         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39930         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39931         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39932         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39933         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39934         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39935         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39936         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39937         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39938         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39939         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39940         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39941         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39942         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39943         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39944         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39945         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39946         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39947         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39948         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39949         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39950         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39951         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39952         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39953         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39954         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39955         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39956         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39957         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39958         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39959         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39960         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39961         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39962         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39963         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39964         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39965         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39966         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39967         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39968         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39969         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39970         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39971         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39972         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39973         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39974         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39975         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39976         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39977         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39978         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39979         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39980         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39981         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39982         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39983         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39984         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39985         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39986         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39987         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39988         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39989         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39990         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39991         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39992         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39993         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39994         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39995         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39996         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39997         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39998         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39999         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40000         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40001         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40002         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40003         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40004         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40005         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40006         * sysdeps/ieee754/k_standard.c: Likewise.
40007         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40008         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40009         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40010         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40011         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40012         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40013         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40014         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40015         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40016         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40017         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40018         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40019         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40020         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40021         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40022         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40023         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40024         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40025         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40026         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40027         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40028         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40029         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40030         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40031         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40032         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40033         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40034         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40035         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40036         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40037         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40038         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40039         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40040         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40041         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40042         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40043         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40044         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40045         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40046         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40047         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40048         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40049         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40050         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40051         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40052         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40053         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40054         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40055         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40056         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40057         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40058         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40059         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40060         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40061         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40062         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40063         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40064         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40065         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40066         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40067         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40068         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40069         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40070         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40071         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40072         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40073         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40074         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40075         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40076         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40077         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40078         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40079         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40080         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40081         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40082         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40083         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40084         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40085         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40086         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40087         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40088         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40089         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40090         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40091         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40092         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40093         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40094         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40095         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40096         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40097         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40098         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40099         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40100         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40101         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40102         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40103         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40104         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40105         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40106         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40107         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40108         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40109         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40110         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40111         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40112         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40113         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40114         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40115         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40116         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40117         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40118         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40119         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40120         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40121         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40122         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40123         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40124         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40125         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40126         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40127         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40128         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40129         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40130         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40131         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40132         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40133         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40134         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40135         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40136         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40137         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40138         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40139         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40140         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40141         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40142         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40143         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40144         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40145         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40146         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40147         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40148         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40149         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40150         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40151         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40152         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40153         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40154         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40155         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40156         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40157         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40158         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40159         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40160         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40161         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40162         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40163         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40164         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40165         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40166         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40167         * sysdeps/ieee754/s_lib_version.c: Likewise.
40168         * sysdeps/ieee754/s_matherr.c: Likewise.
40169         * sysdeps/ieee754/s_signgam.c: Likewise.
40170         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40171         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40172         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40173         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40174         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40175         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40176         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40177         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40178         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40179         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40180         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40181         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40182         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40183         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40184         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40185         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40186         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40187         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40188         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40189         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40190         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40191
40192 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40193
40194         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40195         * sunrpc/rpc_main.c: Likewise.
40196         * sunrpc/rpc_svcout.c: Likewise.
40197
40198 2012-03-09  David S. Miller  <davem@davemloft.net>
40199
40200         * include/math_private.h: New file.
40201
40202 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40203
40204         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40205         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40206         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40207         from <bits/socket_type.h>.
40208         (enum __socket_type): Don't define here.
40209         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40210         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40211         bits/socket_type.h.
40212
40213         [BZ #13566]
40214         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40215         checking __USE_GNU.
40216
40217         * Makerules ($(inst_includedir)/%.h): New rule.
40218         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40219         (install-others): Remove variable setting.
40220         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40221
40222 2012-03-08  Richard Henderson  <rth@twiddle.net>
40223
40224         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40225         from macro to inline function; merge with the
40226         !__LIBC_INTERNAL_MATH_INLINES version.
40227         (__ieee754_sqrtf): Likewise.
40228
40229         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40230         to inline function.
40231         (__rintf, __floor, __floorf): Likewise.
40232
40233         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40234         macro to inline function.
40235         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40236
40237         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40238         not <math/math_private.h>.
40239
40240 2012-03-08  David S. Miller  <davem@davemloft.net>
40241
40242         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40243         copyright year.
40244         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40245
40246 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
40247
40248         * resolv/gai_misc.c (handle_requests): Fix struct timespec
40249         normalization.
40250         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40251         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40252
40253 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
40254
40255         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
40256         be defined individually, they must be defined as a block.  Define
40257         S for printing a string instead of hidint the different by using a
40258         macro for adding the 'l'.
40259         * stdio-common/tst-fphex-wide.c: Adjust.
40260
40261 2012-03-07  Marek Polacek  <polacek@redhat.com>
40262
40263         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40264
40265 2012-03-08  Marek Polacek  <polacek@redhat.com>
40266
40267         [BZ #13806]
40268         * stdio-common/Makefile (tests): Add tst-fphex-wide.
40269         * stdio-common/tst-fphex.c: Define a few macros to make the
40270         test reusable.  Use them.
40271         * stdio-common/tst-fphex-wide.c: New file.
40272
40273 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
40274
40275         [BZ #6911]
40276         * manual/macros.texi (gnusystems): New macro.
40277         (nongnusystems): Likewise.
40278         (gnulinuxhurdsystems): Likewise.
40279         (gnuhurdsystems): Likewise..
40280         (gnulinuxsystems): Likewise.
40281         * manual/charset.texi: Use new macros or @theglibc{} to refer to
40282         variants of the GNU system, not "GNU system".
40283         * manual/conf.texi: Likewise.
40284         * manual/errno.texi: Likewise.  Update example of errno macro
40285         expansion.
40286         * manual/filesys.texi: Likewise.
40287         (getumask): Document as specific to GNU/Hurd.
40288         * manual/install.texi: Likewise.  Reword some references to
40289         GNU/Linux.
40290         * manual/intro.texi: Likewise.
40291         * manual/io.texi: Likewise.
40292         (File Name Portability): Detail which constraints are inapplicable
40293         to all GNU systems and which are only inapplicable to GNU/Hurd.
40294         * manual/job.texi: Likewise.
40295         * manual/llio.texi: Likewise.
40296         (O_NOCTTY): Document as present on GNU/Linux.
40297         * manual/maint.texi: Likewise.
40298         * manual/memory.texi: Likewise.
40299         * manual/pattern.texi: Likewise.
40300         * manual/pipe.texi: Likewise.
40301         * manual/process.texi: Likewise.
40302         * manual/resource.texi: Likewise.
40303         (RUSAGE_CHILDREN): Remove statement about specifying a particular
40304         child on GNU/Hurd.
40305         * manual/setjmp.texi: Likewise.
40306         * manual/signal.texi: Likewise.
40307         * manual/startup.texi: Likewise.
40308         * manual/stdio.texi: Likewise.
40309         * manual/terminal.texi: Likewise.
40310         (ONLCR): Document as POSIX.
40311         (OXTABS): Document availability on GNU/Linux as XTABS.
40312         (ONOEOT): Document availability separately from other bits.
40313         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40314         * manual/time.texi: Likewise.
40315         * manual/users.texi: Likewise.
40316         * INSTALL: Regenerated.
40317         * sysdeps/gnu/errlist.c: Regenerated.
40318
40319         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40320         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40321         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
40322         puts.
40323         * configure: Regenerated.
40324
40325 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
40326
40327         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40328         default includes instead of AC_HEADER_CHECK.
40329         * sysdeps/i386/configure: Regenerated.
40330
40331         [BZ #10716]
40332         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40333         * math/s_cacoshf.c (__cacoshf): Likewise.
40334         * math/s_cacoshl.c (__cacoshl): Likewise.
40335         * math/s_casinh.c (__casinh): Set signs of result from argument.
40336         * math/s_casinhf.c (__casinhf): Likewise.
40337         * math/s_casinhl.c (__casinhl): Likewise.
40338         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40339         (casinh_test): Add more tests.
40340         * sysdeps/i386/fpu/libm-test-ulps: Update.
40341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40342
40343 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
40344
40345         * po/zh_TW.po: Update from translation team.
40346
40347         * login/Makefile (distribute): Remove variable.
40348         * catgets/Makefile: Likewise.
40349         * mach/Makefile: Likewise.
40350         * malloc/Makefile: Likewise.
40351         * misc/Makefile: Likewise.
40352         * iconv/Makefile: Likewise.
40353         * nscd/Makefile: Likewise.
40354         * hurd/Makefile: Likewise.
40355         * manual/Makefile: Likewise.
40356         * locale/Makefile: Likewise.
40357         * intl/Makefile: Likewise.
40358         * conform/Makefile: Likewise.
40359         * nss/Makefile: Likewise.
40360         * time/Makefile: Likewise.
40361         * soft-fp/Makefile: Likewise.
40362         * dirent/Makefile: Likewise.
40363         * gmon/Makefile: Likewise.
40364         * po/Makefile: Likewise.
40365         * rt/Makefile: Likewise.
40366         * socket/Makefile: Likewise.
40367         * math/Makefile: Likewise.
40368         * signal/Makefile: Likewise.
40369         * debug/Makefile: Likewise.
40370         * elf/Makefile: Likewise.
40371         * timezone/Makefile: Likewise.
40372         * stdlib/Makefile: Likewise.
40373         * iconvdata/Makefile: Likewise.
40374         * sunrpc/Makefile: Likewise.
40375         * io/Makefile: Likewise.
40376         * argp/Makefile: Likewise.
40377         * inet/Makefile: Likewise.
40378         * hesiod/Makefile: Likewise.
40379         * grp/Makefile: Likewise.
40380         * csu/Makefile: Likewise.
40381         * wctype/Makefile: Likewise.
40382         * crypt/Makefile: Likewise.
40383         * libio/Makefile: Likewise.
40384         * string/Makefile: Likewise.
40385         * nis/Makefile: Likewise.
40386         * resolv/Makefile: Likewise.
40387         * stdio-common/Makefile: Likewise.
40388         * wcsmbs/Makefile: Likewise.
40389         * dlfcn/Makefile: Likewise.
40390         * posix/Makefile: Likewise.
40391
40392         [BZ #6959]
40393         * timezone/Makefile: Don't install timezone files, just the programs
40394         and scripts.
40395
40396 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
40397
40398         * nss/databases.def: Add missing gshadow entry.
40399
40400         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
40401
40402 2012-03-06  Marek Polacek  <polacek@redhat.com>
40403
40404         [BZ #13726]
40405         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40406         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40407         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40408         * stdio-common/tst-long-dbl-fphex.c: New file.
40409
40410 2012-03-06  David S. Miller  <davem@davemloft.net>
40411
40412         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40413         (set_obp_int): New function.
40414         (get_obp_int): New function.
40415         (__get_clockfreq_via_dev_openprom): Likewise.
40416         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40417         Avoid unused variable warnings on 'val' and use builtin_expect.
40418         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40419         __builtin_expect.
40420         (INLINE_CLONE_SYSCALL): Likewise.
40421
40422 2012-03-05  David S. Miller  <davem@davemloft.net>
40423
40424         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40425
40426 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
40427
40428         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40429
40430         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40431         only for |x| >= 40.
40432         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40433
40434 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
40435
40436         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40437         Replace gettimeofday with __vdso_gettimeofday.
40438
40439         * sysdeps/unix/sysv/linux/x86_64/init-first.c
40440         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40441         __vdso_clock_gettime and __vdso_getcpu.
40442
40443         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40444         time with __vdso_time.
40445
40446 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
40447
40448         * manual/lang.texi (size_t): Note types to which size_t may be
40449         equivalent with the GNU C Library, but do not describe when
40450         differences between them are significant.
40451
40452 2012-03-05  Andreas Jaeger  <aj@suse.de>
40453
40454         * sysdeps/i386/fpu/libm-test-ulps: Update.
40455
40456 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
40457
40458         [BZ #3976]
40459         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40460         (__ieee754_pow): Save and restore rounding mode and use
40461         round-to-nearest for main computations.
40462         * math/libm-test.inc (pow_test_tonearest): New function.
40463         (pow_test_towardzero): Likewise.
40464         (pow_test_downward): Likewise.
40465         (pow_test_upward): Likewise.
40466         (main): Call the new functions.
40467         * sysdeps/i386/fpu/libm-test-ulps: Update.
40468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40469
40470         [BZ #3976]
40471         * math/libm-test.inc (cosh_test_tonearest): New function.
40472         (cosh_test_towardzero): Likewise.
40473         (cosh_test_downward): Likewise.
40474         (cosh_test_upward): Likewise.
40475         (sinh_test_tonearest): Likewise.
40476         (sinh_test_towardzero): Likewise.
40477         (sinh_test_downward): Likewise.
40478         (sinh_test_upward): Likewise.
40479         (main): Call the new functions.
40480         * sysdeps/i386/fpu/libm-test-ulps: Update.
40481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40482
40483 2012-03-05  Tom de Vries  <tom@codesourcery.com>
40484
40485         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40486         default stack guard is set in last bytes.
40487         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40488
40489 2012-03-05  Kees Cook  <keescook@chromium.org>
40490
40491         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40492
40493         [BZ #13656]
40494         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40495         possibly allocate from heap instead of stack.
40496         * stdio-common/bug-vfprintf-nargs.c: New file.
40497         * stdio-common/Makefile (tests): Add nargs overflow test.
40498
40499 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
40500
40501         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40502
40503 2012-03-03  Marek Polacek  <polacek@redhat.com>
40504
40505         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40506         * math/math_private.h: Likewise.
40507         * stdlib/tst-strtod.c: Likewise.
40508         * sysdeps/i386/i486/bits/atomic.h: Likewise.
40509         * sysdeps/x86_64/bits/atomic.h: Likewise.
40510
40511 2012-03-02  David S. Miller  <davem@davemloft.net>
40512
40513         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40514         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40516         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40517         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40518         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40519         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40520         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40521
40522 2012-03-02  Roland McGrath  <roland@hack.frob.com>
40523
40524         [BZ #13792]
40525         * manual/examples/README: New file, says the example source files
40526         can be used under GPL>=2.
40527         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40528         line containing just "*/".
40529         * manual/examples/add.c: Add copyright header (GPL>=2).
40530         * manual/examples/argp-ex1.c: Likewise.
40531         * manual/examples/argp-ex2.c: Likewise.
40532         * manual/examples/argp-ex3.c: Likewise.
40533         * manual/examples/argp-ex4.c: Likewise.
40534         * manual/examples/atexit.c: Likewise.
40535         * manual/examples/db.c: Likewise.
40536         * manual/examples/dir.c: Likewise.
40537         * manual/examples/dir2.c: Likewise.
40538         * manual/examples/execinfo.c: Likewise.
40539         * manual/examples/filecli.c: Likewise.
40540         * manual/examples/filesrv.c: Likewise.
40541         * manual/examples/fmtmsgexpl.c: Likewise.
40542         * manual/examples/genpass.c: Likewise.
40543         * manual/examples/inetcli.c: Likewise.
40544         * manual/examples/inetsrv.c: Likewise.
40545         * manual/examples/isockad.c: Likewise.
40546         * manual/examples/longopt.c: Likewise.
40547         * manual/examples/memopen.c: Likewise.
40548         * manual/examples/memstrm.c: Likewise.
40549         * manual/examples/mkfsock.c: Likewise.
40550         * manual/examples/mkisock.c: Likewise.
40551         * manual/examples/mygetpass.c: Likewise.
40552         * manual/examples/pipe.c: Likewise.
40553         * manual/examples/popen.c: Likewise.
40554         * manual/examples/rprintf.c: Likewise.
40555         * manual/examples/search.c: Likewise.
40556         * manual/examples/select.c: Likewise.
40557         * manual/examples/setjmp.c: Likewise.
40558         * manual/examples/sigh1.c: Likewise.
40559         * manual/examples/sigusr.c: Likewise.
40560         * manual/examples/stpcpy.c: Likewise.
40561         * manual/examples/strdupa.c: Likewise.
40562         * manual/examples/strftim.c: Likewise.
40563         * manual/examples/strncat.c: Likewise.
40564         * manual/examples/subopt.c: Likewise.
40565         * manual/examples/swapcontext.c: Likewise.
40566         * manual/examples/termios.c: Likewise.
40567         * manual/examples/testopt.c: Likewise.
40568         * manual/examples/testpass.c: Likewise.
40569         * manual/examples/timeval_subtract.c: Likewise.
40570
40571         [BZ #13792]
40572         * manual/time.texi (Elapsed Time): Move timeval_subtract example
40573         function to ...
40574         * manual/timeval_subtract.c.texi: ... here, new file.
40575
40576 2012-03-02  David S. Miller  <davem@davemloft.net>
40577
40578         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40579
40580 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
40581
40582         [BZ #3976]
40583         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40584         (__sin): Save and restore rounding mode and use round-to-nearest
40585         for all computations.
40586         (__cos): Save and restore rounding mode and use round-to-nearest
40587         for all computations.
40588         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40589         <fenv.h>.
40590         (tan): Save and restore rounding mode and use round-to-nearest for
40591         all computations.
40592         * math/libm-test.inc (cos_test_tonearest): New function.
40593         (cos_test_towardzero): Likewise.
40594         (cos_test_downward): Likewise.
40595         (cos_test_upward): Likewise.
40596         (sin_test_tonearest): Likewise.
40597         (sin_test_towardzero): Likewise.
40598         (sin_test_downward): Likewise.
40599         (sin_test_upward): Likewise.
40600         (tan_test_tonearest): Likewise.
40601         (tan_test_towardzero): Likewise.
40602         (tan_test_downward): Likewise.
40603         (tan_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.
40607
40608         [BZ #10135]
40609         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40610         small n, then large n, before computing and testing k+n.
40611         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40612         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40613         Likewise.
40614         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40615         Likewise.
40616         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40617         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40618         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40619         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40620         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40621         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40622         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40623         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40624         * math/libm-test.inc (scalbn_test): Add more tests.
40625         (scalbln_test): Likewise.
40626
40627         * manual/filesys.texi (mode_t): Describe constraints on size and
40628         signedness, not exact equivalence to a particular type.
40629         (ino_t): Likewise.
40630         (ino64_t): Likewise.
40631         (dev_t): Likewise.
40632         (nlink_t): Likewise.
40633         (blkcnt_t): Likewise.
40634         (blkcnt64_t): Likewise.
40635         * manual/llio.texi (off_t): Likewise.
40636
40637         [BZ #3976]
40638         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40639         (__ieee754_exp): Save and restore rounding mode and use
40640         round-to-nearest for all computations.
40641         * math/libm-test.inc (exp_test_tonearest): New function.
40642         (exp_test_towardzero): Likewise.
40643         (exp_test_downward): Likewise.
40644         (exp_test_upward): Likewise.
40645         (main): Call the new functions.
40646         * sysdeps/i386/fpu/libm-test-ulps: Update.
40647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40648
40649 2012-03-01  Chris Demetriou  <cgd@google.com>
40650
40651         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40652         have predictable order.
40653
40654 2012-03-01  David S. Miller  <davem@davemloft.net>
40655
40656         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40657
40658         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40659         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40660         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40661         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40662
40663         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40664         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40665         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40666         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40667         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40668         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40669         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40670         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40671         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40672
40673         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40674
40675         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40676         * sysdeps/sparc/fpu/libm-test-ulps: to here.
40677         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40678
40679         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40680         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40681         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40682         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40683         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40684         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40685         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40686         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40687         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40688         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40689         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40690         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40691         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40692         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40693         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40694         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40695         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40696         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40697         * sysdeps/sparc/elf/configure: Regenerated.
40698
40699 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
40700
40701         * configure.in (AS, LD): Require binutils 2.20 or later.
40702         * configure: Regenerated.
40703         * manual/install.texi (Tools for Compilation): Give binutils 2.20
40704         as required minimum version.
40705         * INSTALL: Regenerated.
40706
40707         [BZ #2541]
40708         [BZ #4108]
40709         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40710         before squaring exponent.
40711         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40712         bottom long double and 27 bits of top long double before squaring
40713         exponent.
40714         * math/libm-test.inc (erfc_test): Add more tests.
40715         * sysdeps/i386/fpu/libm-test-ulps: Update.
40716         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40718
40719 2012-03-01  Kai Tietz  <ktietz@redhat.com>
40720
40721         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40722         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40723         containing bit-fields.
40724         * soft-fp/extended.h (_FP_UNION_E): Likewise.
40725         * soft-fp/single.h (_FP_UNION_S): Likewise.
40726         * soft-fp/double.h (_FP_UNION_D): Likewise.
40727
40728 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
40729
40730         [BZ #13786]
40731         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40732         not include ../strcmp.S.
40733         [USE_AS_STRNCASECMP_L]: Likewise.
40734         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40735         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40736         * sysdeps/i386/i686/multiarch/strncase_l-c.c
40737         (__strncasecmp_l_ia32): Define as alias to
40738         __strncasecmp_l_nonascii.
40739
40740         [BZ #5794]
40741         * math/libm-test.inc (expm1_test): Add test for bug 5794.
40742         * sysdeps/i386/fpu/libm-test-ulps: Update.
40743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40744
40745         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40747
40748 2012-02-29  Jeff Law  <law@redhat.com>
40749
40750         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40751         out of bounds read.
40752
40753 2012-02-29  Marek Polacek  <polacek@redhat.com>
40754
40755         [BZ #13706]
40756         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40757         * elf/Makefile: Add rules to run tst-unused-dep.out.
40758
40759 2012-02-28  David S. Miller  <davem@davemloft.net>
40760
40761         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40762         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40763         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40764         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40765         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40766         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40767
40768 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
40769
40770         * math/libm-test.inc (llround_test): Move one test from
40771         lround_test.  Use TEST_f_L in moved test.
40772         (lround_test): Move misplaced test to llround_test.  Add testcase
40773         from bug 2561.
40774
40775 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
40776
40777         * sysdeps/x86_64/fpu/e_expf.S: New file.
40778         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40779
40780 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
40781
40782         [BZ #13637]
40783         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40784         of remain_len that may cause incomplete multi-byte character and
40785         false match.
40786         * posix/bug-regex33.c: New file.
40787         * posix/Makefile (tests): Add bug-regex33.
40788
40789 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
40790
40791         * manual/macros.texi: New file.
40792         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40793         * manual/libc.texinfo: Include macros.texi.
40794         * manual/creatute.texi: Likewise.
40795         * manual/install.texi: Likewise.
40796         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40797         @glibcadj{} in references to the GNU C Library.
40798         * manual/charset.texi: Likewise.
40799         * manual/conf.texi: Likewise.
40800         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
40801         when not using those macros.
40802         * manual/creature.texi: Likewise.
40803         * manual/crypt.texi: Likewise.
40804         * manual/errno.texi: Likewise.
40805         * manual/filesys.texi: Likewise.
40806         * manual/header.texi: Likewise.
40807         * manual/install.texi: Likewise.
40808         * manual/intro.texi: Likewise.
40809         * manual/io.texi: Likewise.
40810         * manual/job.texi: Likewise.
40811         * manual/lang.texi: Likewise.
40812         * manual/libc.texiinfo: Likewise.
40813         * manual/llio.texi: Likewise.
40814         * manual/locale.texi: Likewise.
40815         * manual/maint.texi: Likewise.
40816         * manual/math.texi: Likewise.
40817         * manual/memory.texi: Likewise.
40818         * manual/message.texi: Likewise.
40819         * manual/nss.texi: Likewise.
40820         * manual/pattern.texi: Likewise.
40821         * manual/process.texi: Likewise.
40822         * manual/resource.texi: Likewise.
40823         * manual/search.texi: Likewise.
40824         * manual/setjmp.texi: Likewise.
40825         * manual/signal.texi: Likewise.
40826         * manual/socket.texi: Likewise.
40827         * manual/startup.texi: Likewise.
40828         * manual/stdio.texi: Likewise.
40829         * manual/string.texi: Likewise.
40830         * manual/sysinfo.texi: Likewise.
40831         * manual/syslog.texi: Likewise.
40832         * manual/terminal.texi: Likewise.
40833         * manual/time.texi: Likewise.
40834         * manual/users.texi: Likewise.
40835         * INSTALL: Regenerated.
40836         * NOTES: Regenerated.
40837         * sysdeps/gnu/errlist.c: Regenerated.
40838
40839 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
40840
40841         * include/dirent.h: Include <dirstream.h> before
40842         <dirent/dirent.h>.
40843
40844 2012-02-28  David S. Miller  <davem@davemloft.net>
40845
40846         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40847         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40848         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40849         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40850
40851 2012-02-27  David S. Miller  <davem@davemloft.net>
40852
40853         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40854         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40855         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40856         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40857
40858         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40859         frame pointer instead of stack pointer relative arg slot.
40860         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40861         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40862         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40863
40864 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
40865
40866         [BZ #3992]
40867         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40868
40869 2012-02-27  David S. Miller  <davem@davemloft.net>
40870
40871         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40872         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40873         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40874         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40875         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40876         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40877         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40878         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40879
40880 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
40881
40882         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40883         later.  Allow versions 5-9.
40884         * configure: Regenerated.
40885         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40886         required minimum version and 4.6 as recommended version.  Do not
40887         mention bugs in GCC 2.7 and 2.8.
40888         * INSTALL: Regenerated.
40889
40890 2012-02-27  David S. Miller  <davem@davemloft.net>
40891
40892         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40893         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40894         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40895         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40896         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40897         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40898         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40899         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40900
40901         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40902         manipulate bits before adding and subtracting TWO112[sx].
40903         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40904
40905 2012-02-27  Roland McGrath  <roland@hack.frob.com>
40906
40907         [BZ #13775]
40908         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40909         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40910         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40911         being in POSIX, because they are in 1003.1-2008.
40912
40913         * rt/tst-aio.c: Include <fcntl.h>.
40914         * rt/tst-aio7.c: Likewise.
40915         * rt/tst-aio64.c: Likewise.
40916
40917         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40918
40919 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
40920
40921         * manual/install.texi (--with-headers): Describe headers as
40922         interface headers, not private headers.
40923         (Specific advice for GNU/Linux systems): Describe use of headers
40924         from "make headers_install", not private headers from older
40925         kernels.
40926         * INSTALL: Regenerated.
40927         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40928         Change to 2.6.19.
40929         * sysdeps/unix/sysv/linux/configure: Regenerated.
40930
40931         * manual/llio.texi (fclean): Remove documentation.
40932
40933         * manual/Makefile (libc-texi-generated): New variable.  Include
40934         version.texi.
40935         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40936         $(libc-texi-generated), not duplicated list of files.
40937         (version.texi, stamp-version): New rules.
40938         (realclean): Remove $(libc-texi-generated), not individual files
40939         from that list.  Do not remove dir-add.texinfo.
40940         * manual/libc.texinfo: Comment out uses of edition numbers and
40941         references to printed manual.  Remove last-updated dates.
40942         (EDITION): Comment out.
40943         (ISBN): Likewise.
40944         (VERSION, UPDATED): Remove.
40945         (version.texi): Include.
40946
40947 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
40948
40949         * sysdeps/posix/spawni.c: Include <signal.h>.
40950         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40951         * sysdeps/pthread/aio_fsync.c: Likewise.
40952
40953 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
40954
40955         * conform/Makefile (tests): Run only when not cross-compiling and
40956         when fast-check is not defined.
40957
40958         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40959         * conform/data/limits.h-data: Fixes for POSIX2008.
40960         * conform/run-conformtest.sh: Run all tests.
40961         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40962         headers.
40963         * include/bits/dlfcn.h: Likewise.
40964         * include/langinfo.h: Likewise.
40965         * include/monetary.h: Likewise.
40966         * include/sys/poll.h: Likewise.
40967
40968         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40969         for __USE_GNU.
40970         * posix/spawn.h: Define __need_sigset_t.
40971         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40972         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40973         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
40974         to get sigevent_t only.
40975         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40976         only for __USE_GNU.
40977         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40978         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40979         process_vm_writev only for __USE_GNU.
40980         * termios/termios.h: Declare tcgetsid also for POSIX2008.
40981
40982         * conform/Makefile: For now ignore errors from run-conformtest.
40983         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
40984         POSIX to avoid namespace pollution.  Don't prepend headers.
40985         * conform/data/aio.h-data: Fixes for POSIX testing.
40986         * conform/data/fcntl.h-data: Likewise.
40987         * conform/data/glob.h-data: Likewise.
40988         * conform/data/grp.h-data: Likewise.
40989         * conform/data/pthread.h-data: Likewise.
40990         * conform/data/pwd.h-data: Likewise.
40991         * conform/data/signal.h-data: Likewise.
40992         * conform/data/spawn.h-data: Likewise.
40993         * conform/data/stdio.h-data: Likewise.
40994         * conform/data/stdlib.h-data: Likewise.
40995         * conform/data/stropts.h-data: Likewise.
40996         * conform/data/sys/mman.h-data: Likewise.
40997         * conform/data/sys/stat.h-data: Likewise.
40998         * conform/data/sys/types.h-data: Likewise.
40999         * conform/data/sys/wait.h-data: Likewise.
41000         * conform/data/time.h-data: Likewise.
41001         * conform/data/unistd.h-data: Likewise.
41002         * conform/data/utime.h-data: Likewise.
41003
41004         * io/sys/stat.h: fchmod was always in POSIX.
41005         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41006         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41007         * rt/aio.h: Define __need_timespec before including <time.h>.
41008         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41009         struct.  Add forward declaration of pthread_attr_t and use it in
41010         sigevent.
41011         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41012         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41013         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41014         always remove CLK_TCK definition.
41015
41016 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
41017
41018         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41019
41020 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
41021
41022         * conform/run-conformtest.sh: New file.
41023         * conform/Makefile: Run run-conformtest for tests.
41024         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
41025         support.
41026
41027         * conform/data/uchar.h-data: New file.
41028         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41029         * conform/data/arpa/inet.h-data: Likewise.
41030         * conform/data/assert.h-data: Likewise.
41031         * conform/data/complex.h-data: Likewise.
41032         * conform/data/cpio.h-data: Likewise.
41033         * conform/data/ctype.h-data: Likewise.
41034         * conform/data/dirent.h-data: Likewise.
41035         * conform/data/dlfcn.h-data: Likewise.
41036         * conform/data/errno.h-data: Likewise.
41037         * conform/data/fcntl.h-data: Likewise.
41038         * conform/data/float.h-data: Likewise.
41039         * conform/data/fmtmsg.h-data: Likewise.
41040         * conform/data/fnmatch.h-data: Likewise.
41041         * conform/data/ftw.h-data: Likewise.
41042         * conform/data/glob.h-data: Likewise.
41043         * conform/data/grp.h-data: Likewise.
41044         * conform/data/iconv.h-data: Likewise.
41045         * conform/data/inttypes.h-data: Likewise.
41046         * conform/data/langinfo.h-data: Likewise.
41047         * conform/data/libgen.h-data: Likewise.
41048         * conform/data/limits.h-data: Likewise.
41049         * conform/data/locale.h-data: Likewise.
41050         * conform/data/math.h-data: Likewise.
41051         * conform/data/monetary.h-data: Likewise.
41052         * conform/data/mqueue.h-data: Likewise.
41053         * conform/data/ndbm.h-data: Likewise.
41054         * conform/data/net/if.h-data: Likewise.
41055         * conform/data/netdb.h-data: Likewise.
41056         * conform/data/netinet/in.h-data: Likewise.
41057         * conform/data/nl_types.h-data: Likewise.
41058         * conform/data/poll.h-data: Likewise.
41059         * conform/data/pthread.h-data: Likewise.
41060         * conform/data/pwd.h-data: Likewise.
41061         * conform/data/regex.h-data: Likewise.
41062         * conform/data/sched.h-data: Likewise.
41063         * conform/data/search.h-data: Likewise.
41064         * conform/data/semaphore.h-data: Likewise.
41065         * conform/data/setjmp.h-data: Likewise.
41066         * conform/data/signal.h-data: Likewise.
41067         * conform/data/spawn.h-data: Likewise.
41068         * conform/data/stdarg.h-data: Likewise.
41069         * conform/data/stdio.h-data: Likewise.
41070         * conform/data/stdlib.h-data: Likewise.
41071         * conform/data/string.h-data: Likewise.
41072         * conform/data/strings.h-data: Likewise.
41073         * conform/data/stropts.h-data: Likewise.
41074         * conform/data/sys/ipc.h-data: Likewise.
41075         * conform/data/sys/mman.h-data: Likewise.
41076         * conform/data/sys/msg.h-data: Likewise.
41077         * conform/data/sys/resource.h-data: Likewise.
41078         * conform/data/sys/select.h-data: Likewise.
41079         * conform/data/sys/sem.h-data: Likewise.
41080         * conform/data/sys/shm.h-data: Likewise.
41081         * conform/data/sys/socket.h-data: Likewise.
41082         * conform/data/sys/stat.h-data: Likewise.
41083         * conform/data/sys/statvfs.h-data: Likewise.
41084         * conform/data/sys/time.h-data: Likewise.
41085         * conform/data/sys/timeb.h-data: Likewise.
41086         * conform/data/sys/times.h-data: Likewise.
41087         * conform/data/sys/types.h-data: Likewise.
41088         * conform/data/sys/uio.h-data: Likewise.
41089         * conform/data/sys/un.h-data: Likewise.
41090         * conform/data/sys/utsname.h-data: Likewise.
41091         * conform/data/sys/wait.h-data: Likewise.
41092         * conform/data/syslog.h-data: Likewise.
41093         * conform/data/tar.h-data: Likewise.
41094         * conform/data/termios.h-data: Likewise.
41095         * conform/data/utime.h-data: Likewise.
41096         * conform/data/utmpx.h-data: Likewise.
41097         * conform/data/varargs.h-data: Likewise.
41098         * conform/data/wchar.h-data: Likewise.
41099         * conform/data/wctype.h-data: Likewise.
41100         * conform/data/wordexp.h-data: Likewise.
41101
41102         * include/stropts.h: New file.
41103         * include/uchar.h: New file.
41104         * include/aio.h: Changes to allow conformtest.pl to use the headers.
41105         * include/assert.h: Likewise.
41106         * include/ctype.h: Likewise.
41107         * include/dirent.h: Likewise.
41108         * include/dlfcn.h: Likewise.
41109         * include/fcntl.h: Likewise.
41110         * include/fnmatch.h: Likewise.
41111         * include/glob.h: Likewise.
41112         * include/grp.h: Likewise.
41113         * include/libio.h: Likewise.
41114         * include/locale.h: Likewise.
41115         * include/math.h: Likewise.
41116         * include/net/if.h: Likewise.
41117         * include/netdb.h: Likewise.
41118         * include/netinet/in.h: Likewise.
41119         * include/pthread.h: Likewise.
41120         * include/pwd.h: Likewise.
41121         * include/regex.h: Likewise.
41122         * include/sched.h: Likewise.
41123         * include/search.h: Likewise.
41124         * include/setjmp.h: Likewise.
41125         * include/signal.h: Likewise.
41126         * include/stdio.h: Likewise.
41127         * include/stdlib.h: Likewise.
41128         * include/string.h: Likewise.
41129         * include/sys/cdefs.h: Likewise.
41130         * include/sys/mman.h: Likewise.
41131         * include/sys/msg.h: Likewise.
41132         * include/sys/resource.h: Likewise.
41133         * include/sys/select.h: Likewise.
41134         * include/sys/socket.h: Likewise.
41135         * include/sys/stat.h: Likewise.
41136         * include/sys/statvfs.h: Likewise.
41137         * include/sys/time.h: Likewise.
41138         * include/sys/times.h: Likewise.
41139         * include/sys/uio.h: Likewise.
41140         * include/sys/utsname.h: Likewise.
41141         * include/sys/wait.h: Likewise.
41142         * include/termios.h: Likewise.
41143         * include/time.h: Likewise.
41144         * include/ulimit.h: Likewise.
41145         * include/unistd.h: Likewise.
41146         * include/utime.h: Likewise.
41147         * include/wchar.h: Likewise.
41148         * include/wctype.h: Likewise.
41149         * include/wordexp.h: Likewise.
41150
41151         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41152
41153         * time/time.h: TIME_UTC must be a macro.
41154         Make timespec_get available for ISO C11 only as well.
41155
41156 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
41157
41158         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41159         Reported by Peng Haitao <penght@cn.fujitsu.com>.
41160
41161 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41162
41163         * configure.in: Use -o not -a in test for unsupported multi-arch.
41164
41165 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41166
41167         * manual/texinfo.tex: Update to version 2012-01-19.16.
41168
41169 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41170
41171         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41172
41173 2012-02-24  Roland McGrath  <roland@hack.frob.com>
41174
41175         [BZ #13738]
41176         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41177         * manual/fdl-1.3.texi: New file.
41178         * manual/fdl-1.1.texi: File removed.
41179
41180         [BZ #13738]
41181         * manual/libc.texinfo (FDL_VERSION): New @set.
41182         Use it for mention of FDL in cover text.
41183         (Documentation License): Use it in @include file name.
41184
41185 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41186             Roland McGrath  <roland@hack.frob.com>
41187
41188         [BZ #5461]
41189         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41190         (not LONG_LONG_MAX and LONG_LONG_MIN.
41191         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41192         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
41193         name.
41194         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41195
41196 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41197
41198         [BZ #2547]
41199         [BZ #11365]
41200         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41201         manipulate bits before adding and subtracting TWO23[sx].
41202         * math/libm-test.inc (nearbyint_test): Add more tests.
41203
41204 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41205
41206         [BZ #2548]
41207         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41208         bits before adding and subtracting TWO23[sx].
41209         * math/libm-test.inc (rint_test): Add more tests.
41210         (rint_test_tonearest): Likewise.
41211         (rint_test_towardzero): Likewise.
41212         (rint_test_downward): Likewise.
41213         (rint_test_upward: Likewise.
41214
41215 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41216
41217         [BZ #10110]
41218         * include/stdc-predef.h: New file.  Extracted from features.h.
41219         * include/features.h: Include stdc-predef.h.
41220         * Makefile (headers): Add stdc-predef.h.
41221         * CONFORMANCE (Compiler limitations): Update.
41222
41223 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41224
41225         * manual/libc.texinfo (VERSION, UPDATED): Revert.
41226
41227 2012-02-21  David S. Miller  <davem@davemloft.net>
41228
41229         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41230         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41231
41232 2012-02-20  David S. Miller  <davem@davemloft.net>
41233
41234         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41235         using a normal save/restore sequence, rather than allocating a
41236         dummy stack frame just to store a frame pointer and restore.
41237         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41238
41239 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41240
41241         * manual/install.texi: Fix stray word in line-wrapped comment.
41242
41243 2012-02-20  David S. Miller  <davem@davemloft.net>
41244
41245         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41246         both binutils and gcc support GOTDATA.
41247
41248         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41249         "rd %pc" in the PIC register setup sequences.
41250
41251         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41252         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41253         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41254         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41255         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41256         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41257         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41258         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41259         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41260         (SYSCALL_ERROR_HANDLER): Likewise.
41261         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41262         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41263         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41264         (SYSCALL_ERROR_HANDLER): Likewise.
41265
41266         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41267         (HAVE_GCC_GOTDATA): New.
41268         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41269         relocation support in both binutils and gcc.
41270         * sysdeps/sparc/elf/configure: Regenerate.
41271
41272         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41273         * sysdeps/sparc/sparc32/elf/configure: Delete.
41274         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41275         * sysdeps/sparc/sparc64/elf/configure: Delete.
41276         * sysdeps/sparc/elf/configure.in: New file.
41277         * sysdeps/sparc/elf/configure: Generate.
41278
41279         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41280         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41281         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41282         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41283         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41284
41285 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41286
41287         * manual/install.texi: Do not mention specific glibc version
41288         numbers.
41289         * manual/libc.texinfo (VERSION, UPDATED): Update.
41290         (@copying): Use @copyright{} and range of years.
41291
41292 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41293
41294         [BZ #13695]
41295         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41296         [crti.S not in sysdirs] (generated): Do not append.
41297         [crti.S not in sysdirs] (omit-deps): Likewise.
41298         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41299         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41300         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41301         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41302         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41303         Likewise.
41304         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41305         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41306         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41307         * csu/defs.awk: Remove file.
41308         * sysdeps/generic/initfini.c: Likewise.
41309         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41310         variable.
41311         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41312         Likewise.
41313
41314 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41315
41316         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41317         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41318         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41319         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41320         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41321         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41322         <bits/epoll.h>.
41323         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41324         (__EPOLL_PACKED): Define to empty if not defined by
41325         <bits/epoll.h>.
41326         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41327         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41328         bits/epoll.h.
41329
41330 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41331
41332         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41333         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41334         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41335         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41336         <bits/timerfd.h>.
41337         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41338         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41339         bits/timerfd.h.
41340
41341 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41342
41343         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41344         in C locale.
41345         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41346         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41347         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41349
41350 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
41351
41352         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41353         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41354
41355 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
41356
41357         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41358         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41359         defined.
41360         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41361         Likewise.
41362         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41363         entry for 2.16.
41364
41365 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
41366
41367         * math/w_acos.c: Use non-signaling floating-point comparisons.
41368         * math/w_acosf.c: Likewise.
41369         * math/w_acosh.c: Likewise.
41370         * math/w_acoshf.c: Likewise.
41371         * math/w_acoshl.c: Likewise.
41372         * math/w_acosl.c: Likewise.
41373         * math/w_asin.c: Likewise.
41374         * math/w_asinf.c: Likewise.
41375         * math/w_asinl.c: Likewise.
41376         * math/w_atanh.c: Likewise.
41377         * math/w_atanhf.c: Likewise.
41378         * math/w_atanhl.c: Likewise.
41379         * math/w_exp2.c: Likewise.
41380         * math/w_exp2f.c: Likewise.
41381         * math/w_exp2l.c: Likewise.
41382         * math/w_j0.c: Likewise.
41383         * math/w_j0f.c: Likewise.
41384         * math/w_j0l.c: Likewise.
41385         * math/w_j1.c: Likewise.
41386         * math/w_j1f.c: Likewise.
41387         * math/w_j1l.c: Likewise.
41388         * math/w_jn.c: Likewise.
41389         * math/w_jnf.c: Likewise.
41390         * math/w_log.c: Likewise.
41391         * math/w_log10.c: Likewise.
41392         * math/w_log10f.c: Likewise.
41393         * math/w_log10l.c: Likewise.
41394         * math/w_log2.c: Likewise.
41395         * math/w_log2f.c: Likewise.
41396         * math/w_log2l.c: Likewise.
41397         * math/w_logf.c: Likewise.
41398         * math/w_logl.c: Likewise.
41399         * math/w_sqrt.c: Likewise.
41400         * math/w_sqrtf.c: Likewise.
41401         * math/w_sqrtl.c: Likewise.
41402         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41403         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41404         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41405         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41406         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41407
41408 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41409
41410         [BZ #9739]
41411         * manual/string.texi (strnlen): Use correct parameter name in
41412         equivalent expression.
41413
41414 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41415
41416         [BZ #11174]
41417         * manual/users.texi (seteuid): Consistently use neweuid for
41418         argument name.
41419
41420 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41421
41422         [BZ #13704]
41423         * manual/nss.texi (Services in the NSS configuration): Correct
41424         list of services in example configuration file.
41425
41426 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
41427
41428         [BZ #11322]
41429         * manual/arith.texi: Remove statements about negative zero
41430         behaving identically to zero.
41431
41432 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41433
41434         [BZ #5993]
41435         * manual/install.texi: Do not document upgrading from libc5.
41436
41437 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41438
41439         [BZ #4596]
41440         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41441
41442 2012-02-18  David S. Miller  <davem@davemloft.net>
41443
41444         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41445         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41446         %o7 across the call.
41447         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41448         instead.
41449         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41450         SETUP_PIC_REG_LEAF.
41451         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41452         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41453         * sysdeps/sparc/crtn.S: Likewise.
41454
41455 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
41456
41457         * aout/Makefile: Remove.
41458
41459 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
41460
41461         [BZ #13058]
41462         * manual/examples/argp-ex1.c (main): Format definition in GNU
41463         style.
41464         * manual/examples/argp-ex2.c (main): Likewise.
41465         * manual/examples/argp-ex3.c (main): Likewise.
41466         * manual/examples/argp-ex4.c (main): Likewise.
41467         * manual/examples/longopt.c (main): Use new-style prototype
41468         definition.
41469         * manual/examples/strncat.c (main): Specify return type and use
41470         (void) for arguments.
41471         * manual/examples/subopt.c (main): Use char **argv argument.
41472
41473 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41474
41475         [BZ #5077]
41476         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41477         rounding modes.
41478
41479 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
41480
41481         [BZ #6907]
41482         * manual/string.texi (strchr): Change when strchrnul is
41483         recommended.
41484
41485 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
41486
41487         [BZ #174]
41488         * manual/locale.texi (setlocale): Document LOCPATH.
41489
41490 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41491
41492         [BZ #10210]
41493         * manual/process.texi (execle): Move @dots{} before last argument.
41494
41495 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
41496
41497         [BZ #12047]
41498         * manual/charset.texi (Generic Charset Conversion): Fix typo
41499         (LC_TYPE -> LC_CTYPE).
41500
41501 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
41502
41503         [BZ #5805]
41504         * manual/arith.texi (scalbn): Use @var{} on parameter names.
41505         (scalbnf): Likewise.
41506         (scalbnl): Likewise.
41507         (scalbln): Likewise.
41508         (scalblnf): Likewise.
41509         (scalblnl): Likewise.
41510         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41511         (vwarnx): Likewise.
41512         (verr): Likewise.
41513         (verrx): Likewise.
41514         * manual/filesys.texi (telldir): Use braces around return type.
41515         * manual/llio.texi (mmap): Add space after comma.
41516         (mmap64): Likewise.
41517         * manual/math.texi (jn): Use @var{} on parameter names.
41518         (jnf): Likewise.
41519         (jnl): Likewise.
41520         (yn): Likewise.
41521         (ynf): Likewise.
41522         (ynl): Likewise.
41523         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41524         line.
41525         * manual/resource.texi (ulimit): Use @dots{} instead of literal
41526         "...".
41527         (sched_get_priority_min): Remove semicolon on @deftypefun line.
41528         (sched_get_priority_max): Likewise.
41529         * manual/signal.texi (sigvec): Add space after comma.
41530         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41531         names.
41532         (if_indextoname): Likewise.
41533         (if_freenameindex): Likewise.
41534         (sendto): Use ',' instead of '.' in prototype.
41535         * manual/startup.texi (syscall): Use @dots{} instead of literal
41536         "...".
41537         * manual/stdio.texi (__fpending): Separate initial words of
41538         paragraph from @deftypefun line.
41539         * manual/syslog.texi (syslog): Use @dots{} instead of literal
41540         "...".
41541         (vsyslog): Use @var{} on parameter names.
41542         * manual/terminal.texi (stty): Use @var{} on parameter names.
41543         * manual/users.texi (getutmp): Use @var{} on parameter names.
41544         (getutmpx): Likewise.
41545
41546 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41547
41548         [BZ #6884]
41549         * manual/stdio.texi (fopen): Fix typos in description of
41550         ",ccs=STRING".
41551
41552 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
41553
41554         [BZ #4026]
41555         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41556         get clock_id definition.
41557
41558 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
41559
41560         [BZ #4822]
41561         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41562         (madvise): Cast every argument to void on its own.
41563
41564 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41565
41566         [BZ #9902]
41567         * manual/startup.texi (Exit Status): Fix typo.
41568
41569 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41570
41571         [BZ #10140]
41572         * manual/examples/argp-ex1.c: Include <stdlib.h>.
41573         * manual/examples/argp-ex2.c: Likewise.
41574         * manual/examples/argp-ex3.c: Likewise.
41575
41576 2012-02-16  Richard Henderson  <rth@redhat.com>
41577
41578         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41579         * sysdeps/s390/s390-32/initfini.c: Remove.
41580         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41581         * sysdeps/s390/s390-64/initfini.c: Remove.
41582
41583 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41584
41585         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41586         compiler output for sysdeps/generic/initfini.c.
41587         * sysdeps/sh/elf/initfini.c: Remove file.
41588
41589 2012-02-16  David S. Miller  <davem@davemloft.net>
41590
41591         [BZ #11494]
41592         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41593
41594         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41595         * sysdeps/sparc/crti.S: New file.
41596         * sysdeps/sparc/crtn.S: New file.
41597         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41598         * sysdeps/sparc/sparc64/Makefile: Likewise.
41599
41600 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
41601
41602         [BZ #3335]
41603         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41604
41605 2012-02-15  Roland McGrath  <roland@hack.frob.com>
41606
41607         [BZ #4822]
41608         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41609
41610         * mach/devstream.c (cookie_io_functions_t): Macro removed.
41611         (write, read, close): Likewise.
41612         Patch by Aurelien Jarno <aurelien@aurel32.net>.
41613
41614 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
41615
41616         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41617         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41618         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41619         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41620         <bits/signalfd.h>.
41621         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41622         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41623         bits/signalfd.h.
41624
41625 2012-02-14  Marek Polacek  <polacek@redhat.com>
41626
41627         * sysdeps/x86_64/crti.S: New file.
41628         * sysdeps/x86_64/crtn.S: New file.
41629         * sysdeps/x86_64/elf/initfini.c: Remove file.
41630
41631 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
41632
41633         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41634         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41635         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41636         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41637         <bits/inotify.h>.
41638         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41639         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41640         bits/inotify.h.
41641
41642 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
41643
41644         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41645         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41646         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41647         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41648         <bits/eventfd.h>.
41649         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41650         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41651         bits/eventfd.h.
41652
41653 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
41654
41655         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41656         __feraiseexcept instead of feraiseexcept.
41657
41658         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41659         nanosleep invocations.
41660         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41661         strings, and add error checking for a nanosleep invocations.
41662
41663 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
41664
41665         Replace FSF snail mail address with URLs, as per GNU coding standards.
41666         Most of the snail mail addresses were wrong anyway, and omitting
41667         them makes the source code easier to maintain.  Almost all of the
41668         changes are to license notices and to locale LC_IDENTIFICATION
41669         addresses, except for this one:
41670         * manual/libc.texinfo: In "Published by", give the FSF's URL,
41671         not its snail mail address.
41672
41673 2012-02-09  Richard Henderson  <rth@twiddle.net>
41674
41675         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41676         of kernel-features.h.
41677
41678         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41679
41680 2012-02-08  Marek Polacek  <polacek@redhat.com>
41681
41682         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41683         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41684         * sysdeps/gnu/_G_config.h: Likewise.
41685         * sysdeps/generic/_G_config.h: Likewise.
41686
41687 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
41688
41689         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41690         tests.
41691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41692
41693         * sysdeps/powerpc/powerpc32/crti.S: New file.
41694         * sysdeps/powerpc/powerpc32/crtn.S: New file.
41695         * sysdeps/powerpc/powerpc64/crti.S: New file.
41696         * sysdeps/powerpc/powerpc64/crtn.S: New file.
41697
41698         * Makeconfig (have-initfini): Don't set.
41699         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41700         * configure.in (nopic_initfini): Don't substitute.
41701         * config.h.in (HAVE_INITFINI): Don't #undef.
41702         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41703         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41704
41705 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
41706
41707         Support crti.S and crtn.S provided directly by architectures.
41708         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41709         [crti.S in sysdirs] (omit-deps): Likewise.
41710         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41711         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41712         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41713         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41714         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41715         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41716         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41717         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41718         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41719         compiler output for sysdeps/generic/initfini.c.
41720         * sysdeps/i386/elf/Makefile: Remove file.
41721         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41722
41723 2012-02-07  Marek Polacek  <polacek@redhat.com>
41724
41725         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41726         * sysdeps/gnu/_G_config.h: Likewise.
41727         * sysdeps/mach/hurd/_G_config.h: Likewise.
41728
41729 2012-02-07  Marek Polacek  <polacek@redhat.com>
41730
41731         * math/Makefile (tests): Add tst-CMPLX2.
41732         * math/tst-CMPLX2.c: New file.
41733
41734 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
41735
41736         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41737
41738         * math/libm-test.inc (jn_test): Add missing L suffix.
41739
41740 2012-02-06  Marek Polacek  <polacek@redhat.com>
41741
41742         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41743         * sysdeps/i386/fpu/e_powf.S: Likewise.
41744         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41745         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41746         * sysdeps/i386/fpu/e_acosh.S: Likewise.
41747         * sysdeps/i386/fpu/e_pow.S: Likewise.
41748         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41749         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41750         * sysdeps/i386/fpu/s_expm1.S: Likewise.
41751         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41752         * sysdeps/i386/fpu/e_log2.S: Likewise.
41753         * sysdeps/i386/fpu/e_log2l.S: Likewise.
41754         * sysdeps/i386/fpu/e_scalb.S: Likewise.
41755         * sysdeps/i386/fpu/e_powl.S: Likewise.
41756         * sysdeps/i386/fpu/s_log1p.S: Likewise.
41757         * sysdeps/i386/fpu/e_log10f.S: Likewise.
41758         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41759         * sysdeps/i386/fpu/e_logl.S: Likewise.
41760         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41761         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41762         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41763         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41764         * sysdeps/i386/fpu/e_log2f.S: Likewise.
41765         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41766         * sysdeps/i386/fpu/e_log.S: Likewise.
41767         * sysdeps/i386/fpu/s_cexp.S: Likewise.
41768         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41769         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41770         * sysdeps/i386/fpu/e_logf.S: Likewise.
41771         * sysdeps/i386/fpu/e_log10l.S: Likewise.
41772         * sysdeps/i386/fpu/e_atanh.S: Likewise.
41773         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41774         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41775         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41776         * sysdeps/i386/fpu/e_log10.S: Likewise.
41777         * sysdeps/i386/fpu/s_frexp.S: Likewise.
41778         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41779         * sysdeps/i386/fpu/s_asinh.S: Likewise.
41780         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41781         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41782         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41783         * sysdeps/i386/asm-syntax.h: Likewise.
41784         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41785         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41786         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41787         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41788         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41789         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41790         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41791         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41792         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41793         * sysdeps/powerpc/sysdep.h: Likewise.
41794         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41795         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41796
41797 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
41798
41799         [BZ #411]
41800         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41801
41802 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
41803
41804         * sysdeps/i386/sysdep.h: Include <features.h>.
41805         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41806         version.
41807
41808 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
41809
41810         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41811         Define.
41812         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41813         LOAD_PIC_REG_STR.
41814
41815 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41816
41817         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41818         (SETUP_PIC_REG): Use GET_PC_THUNK.
41819         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41820         macro.
41821
41822 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41823
41824         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41825         for non-PIC compilation.
41826         (SETUP_PIC_REG): Add .p2align directive.
41827         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41828         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41829         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41830         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41831         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41832         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41833         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41834         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41835         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41836         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41837         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41838         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41839         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41840         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41841         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41842         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41843         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41844         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41845         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41846         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41847         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41848         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41849         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41850         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41851         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41852         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41853         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41854         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41855         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41856         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41857         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41858         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41859         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41860         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41861         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41862         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41863         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41864         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41865         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41866         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41867         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41868
41869 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41870
41871         * math/tst-CMPLX.c: Include <stdio.h>.
41872
41873 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
41874
41875         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41876         float.
41877         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41878         * sysdeps/sparc/bits/mathdef.h: Likewise.
41879
41880 2012-01-31  Marek Polacek  <polacek@redhat.com>
41881
41882         * libio/libio.h: Don't define _PARAMS.
41883         * locale/programs/config.h: Don't define PARAMS.
41884         * stdlib/strtol_l.c: Likewise.
41885         (__strtol_l): Remove PARAMS from the prototype.
41886
41887 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
41888
41889         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
41890         names.  Just use the correct names.  Remove unnecessary wrapper
41891         functions.
41892         * malloc/arena.c: Likewise.
41893         * malloc/hooks.c: Likewise.
41894
41895         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41896         ARENA_TEST says not to.  Simplify test for creation of a new arena.
41897         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41898
41899 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
41900
41901         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41902         into tail calls.
41903         (update_get_addr): New function.
41904         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41905         GET_ADDR_MODULE parameter.
41906
41907 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
41908
41909         * crypt/cert.c: Remove __STDC__ conditionals.
41910         * crypt/crypt-entry.c: Likewise.
41911         * crypt/crypt_util.c: Likewise.
41912         * libio/filedoalloc.c: Likewise.
41913         * libio/fileops.c: Likewise.
41914         * libio/genops.c: Likewise.
41915         * libio/iofclose.c: Likewise.
41916         * libio/iofdopen.c: Likewise.
41917         * libio/iofopen.c: Likewise.
41918         * libio/iofopen64.c: Likewise.
41919         * libio/iogetdelim.c: Likewise.
41920         * libio/iopopen.c: Likewise.
41921         * libio/obprintf.c: Likewise.
41922         * libio/oldfileops.c: Likewise.
41923         * libio/oldiofclose.c: Likewise.
41924         * libio/oldiofdopen.c: Likewise.
41925         * libio/oldiofopen.c: Likewise.
41926         * libio/oldiopopen.c: Likewise.
41927         * libio/wfiledoalloc.c: Likewise.
41928         * libio/wgenops.c: Likewise.
41929         * locale/programs/xmalloc.c: Likewise.
41930         * misc/syslog.c: Likewise.
41931         * stdio-common/xbug.c: Likewise.
41932         * string/memchr.c: Likewise.
41933         * string/memcmp.c: Likewise.
41934         * string/memrchr.c: Likewise.
41935         * string/rawmemchr.c: Likewise.
41936         * sysdeps/posix/getcwd.c: Likewise.
41937         * time/strftime_l.c: Likewise.
41938
41939 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
41940
41941         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41942         * config.make.in (config-cflags-sse2avx): Define.
41943         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41944         Fix typo.
41945
41946 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
41947
41948         * scripts/config.guess: Update from upstream config git repository.
41949         * scripts/config.sub: Likewise.
41950
41951 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
41952
41953         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41954         (EM_NUM): Update.
41955         (R_TILEPRO_*, R_TILEGX_*): New macros.
41956
41957         * scripts/firstversions.awk: Fix bug in version range handling.
41958
41959         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41960
41961         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41962
41963         * include/sys/epoll.h: New file.
41964         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41965         libc_hidden_def.
41966
41967 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
41968
41969         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41970         Avoid unnecessary __WORDSIZE == 64 test.
41971         (fmaxf): Use VEX format if possible.
41972         (fmax): Likewise.
41973         (fminf): Likewise.
41974         (fmin): Likewise.
41975
41976         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41977         * math/math_private.h: Remove libc_fegetround* and
41978         libc_fesetround*.
41979         * sysdeps/i386/configure.in: Check for -msse2avx.
41980         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41981         also if SSE2AVX is defined.
41982         Remove libc_fegetround* and libc_fesetround*.
41983         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41984         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
41985         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41986         of HAS_YMM_USABLE.
41987         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41988         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41989         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41990         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41991         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41992
41993         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41994
41995 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41996
41997         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41998         size is not set.
41999         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42000
42001 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
42002
42003         [BZ #13618]
42004         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42005         relocation.
42006         * Makeconfig (libm): Define.
42007         * elf/Makefile: Add rules to build and run tst-relsort1.
42008         * elf/tst-relsort1.c: New file.
42009         * elf/tst-relsort1mod1.c: New file.
42010         * elf/tst-relsort1mod2.c: New file.
42011
42012 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
42013
42014         * math/s_ldexp.c: Remove __STDC__ conditionals.
42015         * math/s_ldexpf.c: Likewise.
42016         * math/s_ldexpl.c: Likewise.
42017         * math/s_nextafter.c: Likewise.
42018         * math/s_nexttowardf.c: Likewise.
42019         * math/s_significand.c: Likewise.
42020         * math/s_significandf.c: Likewise.
42021         * math/s_significandl.c: Likewise.
42022         * math/w_jnl.c: Likewise.
42023         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42024         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42025         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42026         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42027         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42028         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42029         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42030         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42031         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42032         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42033         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42034         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42035         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42036         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42037         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42038         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42039         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42040         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42041         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42042         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42043         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42044         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42045         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42046         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42047         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42048         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42049         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42050         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42051         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42052         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42053         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42054         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42055         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42056         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42057         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42058         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42059         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42060         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42061         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42062         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42063         * sysdeps/ieee754/k_standard.c: Likewise.
42064         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42065         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42066         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42067         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42068         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42069         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42070         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42071         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42072         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42073         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42074         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42075         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42076         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42077         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42078         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42079         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42080         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42081         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42082         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42083         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42084         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42085         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42086         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42087         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42088         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42089         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42090         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42091         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42092         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42093         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42094         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42095         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42096         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42097         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42098         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42099         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42100         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42101         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42102         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42103         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42104         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42105         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42106         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42107         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42108         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42109         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42110         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42111         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42112         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42113         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42114         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42115         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42116         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42117         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42118         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42119         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42120         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42121         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42122         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42123         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42124         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42125         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42126         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42127         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42128         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42129         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42130         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42131         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42132         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42133         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42134         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42135         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42136         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42137         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42138         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42139         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42140         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42141         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42142         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42143         * sysdeps/ieee754/s_matherr.c: Likewise.
42144         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42145         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42146         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42147         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42148
42149 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42150
42151         * crypt/md5.h: Remove __STDC__ conditionals.
42152         * libio/libioP.h: Likewise.
42153         * locale/programs/config.h: Likewise.
42154         * sysdeps/generic/sysdep.h: Likewise.
42155         * sysdeps/i386/asm-syntax.h: Likewise.
42156         * sysdeps/s390/asm-syntax.h: Likewise.
42157         * sysdeps/unix/sysdep.h: Likewise.
42158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42160
42161 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42162
42163         * libio/libio.h: Remove __STDC__ conditionals.
42164         * malloc/obstack.h: Likewise.
42165         * math/complex.h: Likewise.
42166         * math/math.h: Likewise.
42167         * sysdeps/generic/_G_config.h: Likewise.
42168         * sysdeps/gnu/_G_config.h: Likewise.
42169         * sysdeps/mach/hurd/_G_config.h: Likewise.
42170         * sysdeps/powerpc/bits/mathdef.h: Likewise.
42171         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42172         * sysdeps/sparc/bits/mathdef.h: Likewise.
42173
42174 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
42175
42176         [BZ #13583]
42177         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42178         Clean up HAS_* macros.
42179         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42180         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42181         possible.
42182         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42183         HAS_AVX.
42184         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42185         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42186         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42187         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42188         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42189
42190 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
42191
42192         * elf/tst-unique3.cc (gets): Remove declaration.
42193         * elf/tst-unique3lib.cc (gets): Likewise.
42194         * elf/tst-unique3lib2.cc (gets): Likewise.
42195         * elf/tst-unique4.cc (gets): Likewise.
42196
42197 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
42198
42199         * include/stdio.h: Add C++ protection.  Add gets declarations and
42200         definitions.
42201         * debug/tst-chk1.c: Don't declare gets here.
42202         * stdio-common/tst-gets.c: Likewise.
42203
42204 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42205
42206         * posix/glob: Remove directory.
42207
42208 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42209
42210         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42211
42212 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
42213
42214         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42215         of the non-standard EPFNOSUPPORT.
42216
42217 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42218
42219         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42220         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42221         ANYWHERE set to 1 only on KERN_NO_SPACE error.
42222
42223 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
42224
42225         * wcsmbs/uchar.h: Test __STDC_VERSION__.
42226
42227 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
42228
42229         * nscd/aicache.c (addhstaiX): Do not cache negative results of
42230         transient errors.
42231         * nscd/grpcache.c (cache_addgr): Likewise.
42232         * nscd/hstcache.c (cache_addhst): Likewise.
42233         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42234         * nscd/pwdcache.c (cache_addpw): Likewise.
42235         * nscd/servicescache.c (cache_addserv): Likewise.
42236
42237 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
42238
42239         * malloc/malloc.c: Various cleanups.
42240         * malloc/hooks.c: Likewise.
42241
42242         * stdlib/Makefile (tests): Add bug-fmtmsg1.
42243         * stdlib/bug-fmtmsg1.c: New file.
42244
42245         * stdlib/fmtmsg.c (init): Add missing unlock.
42246         Patch by Peng Haitao <penght@cn.fujitsu.com>.
42247
42248 2012-01-12  Marek Polacek  <polacek@redhat.com>
42249
42250         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42251         and _GNU_SOURCE.
42252
42253 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
42254
42255         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42256         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42257         macro to ensure uniqueness of label name.
42258         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42259         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42260
42261 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
42262
42263         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42264
42265         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42266         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42267         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42268         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42269
42270 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
42271
42272         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42273
42274         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42275         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42276         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42277
42278         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42279
42280         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42281         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42282         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42283         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42284
42285         * math/bits/math-finite.h: Add ldexp support.
42286
42287 2012-01-10  Marek Polacek  <polacek@redhat.com>
42288
42289         * locale/programs/localedef.h (show_archive_content): Add noreturn
42290         attribute.
42291
42292 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
42293
42294         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42295
42296 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42297
42298         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42299
42300         * io/Makefile (headers): Add bits/poll2.h.
42301
42302 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
42303
42304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42305         typo #include statement.
42306
42307 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42308
42309         * include/sys/cdefs.h: Define __attribute_alloc_size.
42310         * catgets/gencat.c: Add alloc_size attribute and apply consistently
42311         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42312         * elf/pldd.c: Likewise.
42313         * iconv/iconv_charmap.c: Likewise.
42314         * iconv/iconvconfig.c: Likewise.
42315         * iconv/strtab.c: Likewise.
42316         * locale/programs/locale.c: Likewise.
42317         * locale/programs/localedef.h: Likewise.
42318         * locale/programs/simple-hash.c: Likewise.
42319         * nscd/nscd.h: Likewise.
42320         * nss/makedb.c: Likewise.
42321         * sysdeps/generic/ldconfig.h: Likewise.
42322         * locale/programs/localedef.c: Remove xmalloc prototype.
42323         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42324
42325 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42326
42327         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42328         appropriate.
42329
42330 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42331
42332         * math/Makefile (tests): Add tst-CMPLX.
42333         * math/tst-CMPLX.c: New file.
42334
42335         * math/complex.h (CMPLXL): Fix typo.
42336
42337         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42338         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42339         GLIBC_2.16.
42340         * debug/tst-chk1.c: Add poll and ppoll tests.
42341         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42342         * include/sys/poll.h: Add hidden proto for ppoll.
42343         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42344         * sysdeps/mach/hurd/ppoll.c: Likewise.
42345         * io/ppoll.c: Likewise.
42346         * debug/poll_chk.c: New file.
42347         * debug/ppoll_chk.c: New file.
42348         * include/bits/poll2.h: New file.
42349         * io/bits/poll2.h: New file.
42350
42351         [BZ #1350]
42352         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42353
42354         * configure.in: static is always set to yes.  Remove.
42355         * config.make.in: Don't set build-static.
42356         * Makeconfig: Remove use of build-static.
42357         * dlfcn/Makefile: Likewise.
42358         * elf/Makefile: Likewise.
42359         * math/Makefile: Likewise.
42360         * misc/Makefile: Likewise.
42361         * nptl/Makefile: Likewise.
42362         * sysdeps/mach/hurd/Makefile: Likewise.
42363
42364         * configure.in: PWD_P is not used anymore.
42365         * config.make.in: Remove PWD_P entry.
42366
42367         * configure.in: Remove last remnants of RANLIB.
42368         No need to check for signed size_t anymore.
42369         Don't set libc_commonpagesize and libc_relro_required here for Alpha
42370         and IA-64.
42371         Remove __builtin_expect test because we require at least gcc 3.4.
42372         * aclocal.m4: Likewise.
42373
42374         * wcsmbs/mbrtoc16.c: Implement using towc function.
42375         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42376         * wcsmbs/wcsmbsload.c: Likewise.
42377         * iconv/gconv_simple.c: Likewise.
42378         * iconv/gconv_int.h: Likewise.
42379         * iconv/gconv_builtin.h: Likewise.
42380         * iconv/iconv_prog.c: Remove CHAR16 handling.
42381
42382         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42383
42384         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42385
42386         * configure.in: Remove --with-elf and --enable-bounded options.
42387         Dont set base_machine for ia64.  More non-ELF conditions removed.
42388         Remove testing and setting of leading underscore information.
42389         * config.make.in (build-bounded): Set to no.
42390         * config.h.in: Remove NO_UNDERSCORES entry.
42391         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
42392         them.
42393         * csu/start.c: Remove !NO_UNDERSCORE code.
42394         * locale/localeinfo.h: Likewise.
42395         * sysdeps/generic/machine-gmon.h: Likewise.
42396         * sysdeps/generic/sysdep.h: Likewise.
42397         * sysdeps/i386/sysdep.h: Likewise.
42398         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42399         * sysdeps/mach/sysdep.h: Likewise.
42400         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42401         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42402         * sysdeps/sh/sysdep.h: Likewise.
42403         * sysdeps/sparc/sparc32/alloca.S: Likewise.
42404         * sysdeps/unix/i386/sysdep.S: Likewise.
42405         * sysdeps/unix/sparc/start.c: Likewise.
42406         * sysdeps/unix/sparc/sysdep.S: Likewise.
42407         * sysdeps/unix/sparc/sysdep.h: Likewise.
42408         * sysdeps/unix/start.c: Likewise.
42409         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42410         * sysdeps/x86_64/sysdep.h: Likewise.
42411
42412 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
42413
42414         [BZ #13553]
42415         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42416         for non-gcc.
42417         * argp/argp-fmtstream.h: Use const instead __const.
42418         * argp/argp.h: Likewise.
42419         * assert/assert.h: Likewise.
42420         * bits/fenv.h: Likewise.
42421         * bits/sched.h: Likewise.
42422         * bits/sigset.h: Likewise.
42423         * bits/sigthread.h: Likewise.
42424         * catgets/nl_types.h: Likewise.
42425         * conform/data/pthread.h-data: Likewise.
42426         * crypt/crypt-private.h: Likewise.
42427         * crypt/crypt.h: Likewise.
42428         * crypt/crypt_util.c: Likewise.
42429         * ctype/ctype.h: Likewise.
42430         * debug/execinfo.h: Likewise.
42431         * debug/mbsnrtowcs_chk.c: Likewise.
42432         * debug/mbsrtowcs_chk.c: Likewise.
42433         * debug/wcsnrtombs_chk.c: Likewise.
42434         * debug/wcsrtombs_chk.c: Likewise.
42435         * debug/wcstombs_chk.c: Likewise.
42436         * dirent/dirent.h: Likewise.
42437         * dlfcn/dlfcn.h: Likewise.
42438         * elf/neededtest4.c: Likewise.
42439         * grp/grp.h: Likewise.
42440         * gshadow/gshadow.h: Likewise.
42441         * iconv/gconv.h: Likewise.
42442         * iconv/gconv_int.h: Likewise.
42443         * iconv/gconv_simple.c: Likewise.
42444         * iconv/iconv.h: Likewise.
42445         * iconv/loop.c: Likewise.
42446         * iconv/skeleton.c: Likewise.
42447         * include/aio.h: Likewise.
42448         * include/aliases.h: Likewise.
42449         * include/argz.h: Likewise.
42450         * include/arpa/inet.h: Likewise.
42451         * include/assert.h: Likewise.
42452         * include/dirent.h: Likewise.
42453         * include/dlfcn.h: Likewise.
42454         * include/execinfo.h: Likewise.
42455         * include/fcntl.h: Likewise.
42456         * include/fenv.h: Likewise.
42457         * include/glob.h: Likewise.
42458         * include/grp.h: Likewise.
42459         * include/libintl.h: Likewise.
42460         * include/mntent.h: Likewise.
42461         * include/netdb.h: Likewise.
42462         * include/pwd.h: Likewise.
42463         * include/rpc/netdb.h: Likewise.
42464         * include/sched.h: Likewise.
42465         * include/search.h: Likewise.
42466         * include/shadow.h: Likewise.
42467         * include/signal.h: Likewise.
42468         * include/stdio.h: Likewise.
42469         * include/stdlib.h: Likewise.
42470         * include/string.h: Likewise.
42471         * include/sys/socket.h: Likewise.
42472         * include/sys/stat.h: Likewise.
42473         * include/sys/statfs.h: Likewise.
42474         * include/sys/statvfs.h: Likewise.
42475         * include/sys/syslog.h: Likewise.
42476         * include/sys/time.h: Likewise.
42477         * include/sys/uio.h: Likewise.
42478         * include/time.h: Likewise.
42479         * include/unistd.h: Likewise.
42480         * include/utmp.h: Likewise.
42481         * include/wchar.h: Likewise.
42482         * include/wctype.h: Likewise.
42483         * inet/aliases.h: Likewise.
42484         * inet/arpa/inet.h: Likewise.
42485         * inet/netinet/ether.h: Likewise.
42486         * inet/netinet/in.h: Likewise.
42487         * intl/libintl.h: Likewise.
42488         * io/bits/fcntl2.h: Likewise.
42489         * io/fcntl.h: Likewise.
42490         * io/ftw.h: Likewise.
42491         * io/sys/poll.h: Likewise.
42492         * io/sys/stat.h: Likewise.
42493         * io/sys/statfs.h: Likewise.
42494         * io/sys/statvfs.h: Likewise.
42495         * io/utime.h: Likewise.
42496         * libio/bits/stdio.h: Likewise.
42497         * libio/bits/stdio2.h: Likewise.
42498         * libio/libio.h: Likewise.
42499         * libio/libioP.h: Likewise.
42500         * libio/stdio.h: Likewise.
42501         * locale/lc-ctype.c: Likewise.
42502         * locale/locale.h: Likewise.
42503         * login/utmp.h: Likewise.
42504         * malloc/arena.c: Likewise.
42505         * malloc/malloc.c: Likewise.
42506         * malloc/malloc.h: Likewise.
42507         * malloc/mcheck.c: Likewise.
42508         * malloc/mtrace.c: Likewise.
42509         * math/bits/mathcalls.h: Likewise.
42510         * math/fenv.h: Likewise.
42511         * math/math_private.h: Likewise.
42512         * misc/bits/error.h: Likewise.
42513         * misc/bits/syslog.h: Likewise.
42514         * misc/err.h: Likewise.
42515         * misc/error.h: Likewise.
42516         * misc/fstab.h: Likewise.
42517         * misc/mntent.h: Likewise.
42518         * misc/regexp.h: Likewise.
42519         * misc/search.h: Likewise.
42520         * misc/sgtty.h: Likewise.
42521         * misc/sys/mman.h: Likewise.
42522         * misc/sys/syslog.h: Likewise.
42523         * misc/sys/uio.h: Likewise.
42524         * misc/sys/xattr.h: Likewise.
42525         * misc/ttyent.h: Likewise.
42526         * nis/rpcsvc/ypclnt.h: Likewise.
42527         * nss/nss.h: Likewise.
42528         * posix/bits/unistd.h: Likewise.
42529         * posix/fnmatch.h: Likewise.
42530         * posix/glob.h: Likewise.
42531         * posix/sched.h: Likewise.
42532         * posix/spawn.h: Likewise.
42533         * posix/sys/wait.h: Likewise.
42534         * posix/unistd.h: Likewise.
42535         * posix/wordexp.h: Likewise.
42536         * pwd/pwd.h: Likewise.
42537         * resolv/netdb.h: Likewise.
42538         * resource/sys/resource.h: Likewise.
42539         * rt/aio.h: Likewise.
42540         * rt/bits/mqueue2.h: Likewise.
42541         * rt/mqueue.h: Likewise.
42542         * shadow/shadow.h: Likewise.
42543         * signal/signal.h: Likewise.
42544         * socket/send.c: Likewise.
42545         * socket/sendto.c: Likewise.
42546         * socket/sys/socket.h: Likewise.
42547         * stdio-common/printf.h: Likewise.
42548         * stdlib/bits/stdlib.h: Likewise.
42549         * stdlib/fmtmsg.h: Likewise.
42550         * stdlib/monetary.h: Likewise.
42551         * stdlib/stdlib.h: Likewise.
42552         * stdlib/ucontext.h: Likewise.
42553         * streams/stropts.h: Likewise.
42554         * string/argz.h: Likewise.
42555         * string/bits/string2.h: Likewise.
42556         * string/string.h: Likewise.
42557         * string/strings.h: Likewise.
42558         * sunrpc/rpc/auth.h: Likewise.
42559         * sunrpc/rpc/auth_des.h: Likewise.
42560         * sunrpc/rpc/clnt.h: Likewise.
42561         * sunrpc/rpc/netdb.h: Likewise.
42562         * sunrpc/rpc/pmap_clnt.h: Likewise.
42563         * sunrpc/rpc/xdr.h: Likewise.
42564         * sysdeps/generic/inttypes.h: Likewise.
42565         * sysdeps/generic/net/if.h: Likewise.
42566         * sysdeps/generic/sys/swap.h: Likewise.
42567         * sysdeps/gnu/net/if.h: Likewise.
42568         * sysdeps/gnu/utmpx.h: Likewise.
42569         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42570         * sysdeps/i386/i486/bits/string.h: Likewise.
42571         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42572         * sysdeps/s390/bits/string.h: Likewise.
42573         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42574         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42575         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42576         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42577         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42578         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42579         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42580         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42581         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42582         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42583         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42584         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42585         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42586         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42587         * sysdeps/unix/sysv/linux/readv.c: Likewise.
42588         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42589         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42590         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42591         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42592         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42593         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42594         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42595         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42596         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42597         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42598         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42599         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42600         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42601         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42602         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42603         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42604         * sysvipc/sys/ipc.h: Likewise.
42605         * sysvipc/sys/msg.h: Likewise.
42606         * sysvipc/sys/sem.h: Likewise.
42607         * sysvipc/sys/shm.h: Likewise.
42608         * termios/termios.h: Likewise.
42609         * time/sys/time.h: Likewise.
42610         * time/time.h: Likewise.
42611         * wcsmbs/bits/wchar2.h: Likewise.
42612         * wcsmbs/uchar.h: Likewise.
42613         * wcsmbs/wchar.h: Likewise.
42614         * wctype/wctype.h: Likewise.
42615
42616         [BZ #13551]
42617         * Makeconfig: Remove all but ELF support including AIX support.
42618         * Makerules: Likewise.
42619         * config.h.in: Likewise.
42620         * config.make.in: Likewise.
42621         * configure: Likewise.
42622         * configure.in: Likewise.
42623         * csu/Makefile: Likewise.
42624         * csu/version.c: Likewise.
42625         * debug/Makefile: Likewise.
42626         * dlfcn/Makefile: Likewise.
42627         * elf/Makefile: Likewise.
42628         * extra-lib.mk: Likewise.
42629         * iconv/Makefile: Likewise.
42630         * include/libc-symbols.h: Likewise.
42631         * include/shlib-compat.h: Likewise.
42632         * resolv/Makefile: Likewise.
42633         * resolv/res_libc.c: Likewise.
42634         * rt/Makefile: Likewise.
42635         * sysdeps/i386/asm-syntax.h: Likewise.
42636         * sysdeps/i386/sysdep.h: Likewise.
42637         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42638         * sysdeps/mach/sysdep.h: Likewise.
42639         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42640         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42641         * sysdeps/s390/asm-syntax.h: Likewise.
42642         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42643         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42644         * sysdeps/sh/sysdep.h: Likewise.
42645         * sysdeps/unix/sparc/sysdep.h: Likewise.
42646         * sysdeps/wordsize-32/divdi3.c: Likewise.
42647         * sysdeps/x86_64/sysdep.h: Likewise.
42648
42649         * argp/Versions: Remove _argp_unlock_xxx.
42650
42651         [BZ #13559]
42652         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
42653         * abilist/libBrokenLocale.abilist: Likewise.
42654         * abilist/libanl.abilist: Likewise.
42655         * abilist/libc.abilist: Likewise.
42656         * abilist/libcrypt.abilist: Likewise.
42657         * abilist/libdl.abilist: Likewise.
42658         * abilist/libm.abilist: Likewise.
42659         * abilist/libnsl.abilist: Likewise.
42660         * abilist/libpthread.abilist: Likewise.
42661         * abilist/libresolv.abilist: Likewise.
42662         * abilist/librt.abilist: Likewise.
42663         * abilist/libthread_db.abilist: Likewise.
42664         * abilist/libutil.abilist: Likewise.
42665         * abilist/libnss_db.abilist: New file.
42666
42667         * scripts/abilist.awk: Add support for indirect functions.
42668
42669         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42670
42671         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42672
42673         * shlib-versions: Remove entries for ports architectures.
42674
42675         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
42676         files in ports.
42677         * elf/stackguard-macros.h: Remove support for IA-64.
42678         * elf/tst-auditmod1.c: Likewise.
42679         * sysdeps/generic/ldsodefs.h: Likewise.
42680
42681         * sysdeps/unix/sysv/linux/configure.in: Ports should define
42682         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42683         configure files.
42684
42685         [BZ #13552]
42686         * configure.in: Remove --enable-omitfp support.
42687         * FAQ.in: Adjust.
42688         * config.make.in: Likewise.
42689         * Makeconfig: Likewise.
42690         * manual/install.texi: Likewise.
42691
42692         In case anyone cares, the IA-64 architecture could move to ports.
42693         * sysdeps/ia64/*: Removed.
42694         * sysdeps/unix/sysv/linux/ia64/*: Removed.
42695         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42696
42697         [BZ #13555]
42698         * configure.in: Remove entries for unsupported architectures.
42699
42700         [BZ #13533]
42701         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42702         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
42703         routines.
42704         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42705         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42706         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
42707         fall back to using wcrtomb.
42708         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42709         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
42710         renaming.
42711         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42712         * wcsmbs/tst-c16c32-1.c: New file.
42713
42714         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42715         local variable.
42716
42717         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42718
42719         * elf/tst-unique3.cc: Add explicit declaration of gets.
42720         * elf/tst-unique3lib.cc: Likewise.
42721         * elf/tst-unique3lib2.cc: Likewise.
42722         * elf/tst-unique4.cc: Likewise.
42723
42724         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42725
42726 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
42727
42728         [BZ #13566]
42729         * assert/assert.h (static_assert): Don't define for C++.
42730         * libio/stdio.h (gets): Do declare for C++ <= C++11.
42731         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42732
42733 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
42734
42735         * iconv/loop.c (single loop): Fix assertion in storing of
42736         remaining bytes.
42737
42738         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42739
42740 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
42741
42742         * posix/getconf.c: Update copyright year.
42743         * nss/getent.c: Likewise.
42744         * nss/makedb.c: Likewise.
42745         * iconv/iconvconfig.c: Likewise.
42746         * iconv/iconv_prog.c: Likewise.
42747         * elf/ldconfig.c: Likewise.
42748         * elf/pldd.c: Likewise.
42749         * elf/sotruss.ksh: Likewise.
42750         * catgets/gencat.c: Likewise.
42751         * csu/version.c: Likewise.
42752         * elf/ldd.bash.in: Likewise.
42753         * elf/sprof.c (print_version): Likewise.
42754         * locale/programs/locale.c: Likewise.
42755         * locale/programs/localedef.c: Likewise.
42756         * login/programs/pt_chown.c: Likewise.
42757         * nscd/nscd.c (print_version): Likewise.
42758         * debug/xtrace.sh: Likewise.
42759         * malloc/memusage.sh: Likewise.
42760         * malloc/mtrace.pl: Likewise.
42761         * debug/catchsegv.sh: Likewise.
42762
42763 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
42764
42765         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42766         pure attribute.
42767
42768 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
42769
42770         [BZ #13533]
42771         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42772         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42773         transformations.
42774         * iconv/gconv_int.h: Likewise.
42775         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42776         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42777         from libc for GLIBC_2.16.
42778         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42779         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42780         * wcsmbs/uchar.h: Really define mbstate_t.
42781         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42782         * wcsmbs/c16rtomb.c: New file.
42783         * wcsmbs/mbrtoc16.c: New file.
42784         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42785         for C/POSIX locale.
42786         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42787         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42788
42789         * wcsmbs/wchar.h: Add missing __restrict.
42790
42791 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
42792
42793         [BZ #13532]
42794         * time/Makefile (routines): Add timespec_get.
42795         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42796         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
42797         timespec for ISO C11.
42798         * time/timespec_get.c: New file.
42799         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42800         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42801
42802         [BZ #13531]
42803         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42804         * stdlib/stdlib.h: Declare aligned_alloc.
42805         * Versions.def: Add GLIBC_2.16 for libc.
42806         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42807
42808         [BZ 13527]
42809         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42810         ISO C11.
42811
42812         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
42813         code.
42814
42815         [BZ #13528]
42816         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42817
42818         [BZ #13529]
42819         * assert/assert.h (static_assert): Define.
42820
42821         * version.h: Update for 2.16 development version.
42822
42823         [BZ #13526]
42824         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42825         _ISOC11_SOURCE.
42826
42827         * version.h (RELEASE): Bump for 2.15 release.
42828         * include/features.h (__GLIBC_MINOR__): Bump to 15.
42829
42830         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42831         Patch by Marek Polacek <mpolacek@redhat.com>.
42832
42833         * bits/byteswap.h: Protect long long constants with __extension__.
42834         * sysdeps/i386/bits/byteswap.h: Likewise.
42835         * sysdeps/ia64/bits/byteswap.h: Likewise.
42836         * sysdeps/s390/bits/byteswap.h: Likewise.
42837         * sysdeps/x86_64/bits/byteswap.h: Likewise.
42838
42839 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42840
42841         [BZ #13540]
42842         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42843         destination buffer.
42844         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42845
42846 2011-12-23  Marek Polacek  <polacek@redhat.com>
42847
42848         * elf/dl-addr.c (determine_info): Add inline keyword.
42849         * elf/tst-auditmod4b.c (check_avx): Likewise.
42850         * elf/tst-auditmod6b.c (check_avx): Likewise.
42851         * elf/tst-auditmod6c.c (check_avx): Likewise.
42852         * elf/tst-auditmod7b.c (check_avx): Likewise.
42853
42854 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
42855
42856         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42857         !__SSE_MATH__.
42858
42859 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42860
42861         [BZ #13540]
42862         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42863         processing for last bytes.
42864
42865 2011-08-06  Bruno Haible  <bruno@clisp.org>
42866
42867         [BZ #13061]
42868         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42869         U+0385, not to U+1FEE.
42870
42871         [BZ #13062]
42872         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42873         entry for U+00A5 U+0301.
42874
42875 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
42876
42877         [BZ #13166]
42878         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42879         buffer for the output is too small.
42880
42881         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42882         optimization.
42883
42884         [BZ #13185]
42885         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42886         SSE flags if possible.
42887
42888 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42889
42890         [BZ #13540]
42891         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42892         processing for last bytes.
42893
42894 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
42895
42896         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42897         (syscall-list-default-options, syscall-list-default-condition)
42898         (syscall-list-includes): Define.
42899         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42900         list of ABIs and options and #if conditions for each ABI.  Do not
42901         handle common syscalls between ABIs specially.
42902         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42903         Remove.
42904         (syscall-list-variants, syscall-list-32bit-options)
42905         (syscall-list-32bit-condition, syscall-list-64bit-options)
42906         (syscall-list-64bit-condition): Define.
42907         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42908         (syscall-list-variants, syscall-list-32bit-options)
42909         (syscall-list-32bit-condition, syscall-list-64bit-options)
42910         (syscall-list-64bit-condition): Define.
42911         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42912         Remove.
42913         (syscall-list-variants, syscall-list-32bit-options)
42914         (syscall-list-32bit-condition, syscall-list-64bit-options)
42915         (syscall-list-64bit-condition): Define.
42916         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42917         Remove.
42918         (syscall-list-variants, syscall-list-32bit-options)
42919         (syscall-list-32bit-condition, syscall-list-64bit-options)
42920         (syscall-list-64bit-condition): Define.
42921
42922 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
42923
42924         * locale/iso-639.def: Add brx entry.
42925
42926         [BZ #13328]
42927         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42928         Proposed by Mariusz_Cukr <marcukr@op.pl>.
42929
42930         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42931         __feraiseexcept_renamed.
42932
42933 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
42934
42935         [BZ #13538]
42936         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42937         EPOLLET with unsigned values.
42938         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42939         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42940
42941         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42942         to large cancellation.
42943         * math/s_cacoshf.c: Likewise.
42944         * math/s_cacoshl.c: Likewise.
42945
42946 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
42947
42948         [BZ #13305]
42949         [BZ #12786]
42950         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42951         * math/s_cacoshf.c: Likewise.
42952         * math/s_cacoshl.c: Likewise.
42953
42954 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
42955
42956         [BZ #13439]
42957         * iconv/gconv.h: Define __GCONV_SWAP.
42958         * iconvdata/unicode.c: The swap bit must be stored in __flags.
42959         * iconvdata/utf-16.c: Likewise.
42960         * iconvdata/utf-32.c: Likewise.
42961
42962 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
42963
42964         [BZ #13524]
42965         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42966         numerator after shifting it by one limb.
42967
42968 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
42969
42970         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42971         under [__USE_EXTERN_INLINES].
42972
42973 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
42974
42975         [BZ #13446]
42976         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42977
42978 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42979
42980         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42981         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42982         optimized code.
42983         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42984         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42985         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42986         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42987         for strncasecmp/strncasecmp_l compilation.
42988         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42989         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42990
42991 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
42992
42993         [BZ #13484]
42994         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42995         of __asm__.
42996
42997 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
42998
42999         [BZ #13506]
43000         * time/tzfile.c (__tzfile_read): Check values from file header.
43001
43002 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43003
43004         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43005         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43006         * powerpc/powerpc32/dl-start.S: Likewise.
43007         * powerpc/powerpc32/elf/start.S: Likewise.
43008         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43009         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43010         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43011         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43012         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43013         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43014         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43015         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43016         * powerpc/powerpc32/fpu/s_round.S: Likewise.
43017         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43018         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43019         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43020         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43021         * powerpc/powerpc32/memset.S: Likewise.
43022         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43023         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43024         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43025         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43026         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43027         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43028         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43029         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43030         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43031         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43032         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43033         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43034         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43035
43036 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43037
43038         * math/libm-test.inc: Added more nearbyint tests.
43039         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43040         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43041         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43042         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43043
43044 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
43045
43046         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43047         FD_CLOEXEC.
43048
43049 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43050
43051         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43052         Add wcscpy-ssse3 wcscpy-c.
43053         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43054         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43055         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43056         * sysdeps/x86_64/wcschr.S: New file.
43057         * sysdeps/x86_64/wcsrchr.S: New file.
43058         * string/test-strcmp.c: Remove checking of wcscmp function for
43059         wrong alignments.
43060         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43061         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43062         wcsrchr-sse2 wcsrchr-c.
43063         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43064         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43065         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43066         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43067         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43068         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43069         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43070         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43071         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43072         * wcsmbc/wcschr.c (WCSCHR): New macro.
43073
43074 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43075
43076         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43077         * wcsmbs/test-wcsrchr.c: New file.
43078         * string/test-strrchr.c: Add wcsrchr support.
43079         (WIDE): New macro.
43080         * wcsmbs/test-wcscpy.c: New file.
43081         * string/test-strcpy.c: Add wcscpy support.
43082         (WIDE): New macro.
43083
43084 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
43085
43086         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43087         the inner loop.
43088
43089 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
43090
43091         [BZ #13472]
43092         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43093
43094 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
43095
43096         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43097         Minor optimizations.
43098
43099         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43100         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43101         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43102
43103 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
43104
43105         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43106         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43107         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43108         for gcc to avoid warnings.
43109         * inet/Makefile (tests): Add tst-checks.
43110         * inet/tst-checks.c: New file.
43111
43112         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43113         warning.
43114
43115         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43116         __wmemcmp_sse2.
43117
43118         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43119         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43120
43121         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43122
43123 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
43124
43125         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43126         problem.
43127
43128         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43129
43130 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
43131
43132         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43133         conditional on GCC version.
43134         (__arch_compare_and_exchange_val_8_acq)
43135         (__arch_compare_and_exchange_val_16_acq)
43136         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43137         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43138         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43139
43140 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
43141
43142         * sysdeps/sh/backtrace.c: New file.
43143
43144 2011-12-02  Andreas Schwab  <schwab@redhat.com>
43145
43146         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
43147         parenthesis.
43148
43149 2011-12-01  Andreas Schwab  <schwab@redhat.com>
43150
43151         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43152         falling back to utime.
43153
43154 2011-11-30  Andreas Schwab  <schwab@redhat.com>
43155
43156         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43157         expectations for float.
43158
43159 2011-11-29  Andreas Schwab  <schwab@redhat.com>
43160
43161         * locale/weight.h (findidx): Add parameter len.
43162         * locale/weightwc.h (findidx): Likewise.
43163         * posix/fnmatch_loop.c (FCT): Adjust caller.
43164         * posix/regcomp.c (build_equiv_class): Likewise.
43165         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43166         * posix/regexec.c (check_node_accept_bytes): Likewise.
43167         * string/strcoll_l.c (STRCOLL): Likewise.
43168         * string/strxfrm_l.c (STRXFRM): Likewise.
43169
43170 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
43171
43172         * Makefile.in: Remove CVSOPT handling.
43173         * configure.in: Remove use of AC_REVISION.
43174         * iconvdata/Makefile (distribute): No need to filter out CVS.
43175         * scripts/list-sources.sh: Remove CVS, subversion and monotone
43176         handling.
43177
43178 2011-11-16  Andreas Schwab  <schwab@redhat.com>
43179
43180         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43181         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43182         [USE_AS_STRNCASECMP_L]: Likewise.
43183         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43184         NO_TLS_DIRECT_SEG_REFS.
43185         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43186         Fix argument offsets for non-PIC.
43187         [USE_AS_STRNCASECMP_L]: Likewise.
43188         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43189         NO_TLS_DIRECT_SEG_REFS.
43190
43191 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43192
43193         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43194         O_CLOEXEC.
43195         * locale/loadlocale.c (_nl_load_locale): Likewise.
43196
43197 2011-11-15  Andreas Schwab  <schwab@redhat.com>
43198
43199         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43200         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43201         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43202         (SYSCALL_GETTIME): Set errno on error.
43203
43204         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43205         count references to noai6ai_cached.
43206
43207 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43208
43209         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43210
43211         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43212         FD_CLOEXEC for /proc/self/maps.
43213
43214         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43215         FD_CLOEXEC for /proc/meminfo.
43216
43217         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43218         gai.conf.
43219
43220         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
43221         FD_CLOEXEC for given file.
43222
43223         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43224
43225         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43226         FD_CLOEXEC for /etc/hosts.
43227         (_gethtent): Likewise.
43228
43229         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43230
43231         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43232         cancellation and set FD_CLOEXEC for /etc/netgroup.
43233
43234         * nss/nss_files/files-key.c (search): Don't allow cancellation when
43235         reading /etc/publickey.
43236
43237         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43238         allow cancellation when reading /etc/group.
43239
43240         * nss/nss_files/files-alias.c (internal_setent): Don't allow
43241         cancellation.
43242         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
43243
43244         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43245         when using data file.
43246
43247         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43248
43249         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43250         (write_nis_obj): Use "c" and "e" in fopen.
43251
43252         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43253
43254         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43255
43256         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43257
43258         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43259
43260         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43261         locale.alias.
43262
43263         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43264
43265         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43266
43267         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43268
43269         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43270         file parsing and set FD_CLOEXEC.
43271
43272 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43273
43274         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43275
43276 2011-11-14  Andreas Schwab  <schwab@redhat.com>
43277
43278         * malloc/arena.c (arena_get2): Don't call reused_arena when
43279         _int_new_arena failed.
43280
43281 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43282
43283         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43284         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43285         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43286         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43287         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43288         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43289         to compile strcasecmp and strncasecmp.
43290         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43291         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43292
43293         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43294
43295 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
43296
43297         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43298         locale-defines.sym to gen-as-const-headers.
43299         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43300         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43301         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43302         to compile strcasecmp and strncasecmp.
43303         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43304         strcasecmp_l and strncasecmp_l.
43305         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43306         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43307         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43308         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43309         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43310         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43311         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43312         * sysdeps/i386/i686/multiarch/strncase.S: New file.
43313         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43314         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43315         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43316
43317 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
43318
43319         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43320         result of SYSDEP_GETTIME_CPU to retval.
43321         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43322         parameter list to macro.  Remove trailing semicolon.  Adjust users.
43323
43324         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43325         variable.
43326
43327         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43328         mantissa words.
43329         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43330
43331         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43332         from unused variable.
43333
43334         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43335         DWARF definitions.
43336         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43337         for assembling.
43338
43339         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43340         over namespaces.
43341
43342         * sunrpc/rpc_prot.c (rejected): Fix case value.
43343
43344         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43345         unsigned long long int to avoid warnings in shift.
43346
43347         * posix/regex_internal.c (re_string_reconstruct): Actually use result
43348         of use of trans.
43349         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43350         variable tmp.
43351
43352         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43353         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43354         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43355
43356         * nis/nis_table.c (nis_list): Use variable of correct type for
43357         result of __follow_path call.
43358
43359 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43360
43361         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43362         of math functions ceil, trunc, floor, round, and sqrt, when
43363         avaliable on the platform.
43364         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43365         name clash.
43366         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43367         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43368         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43369
43370 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
43371
43372         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43373         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43374
43375 2011-11-11  Roland McGrath  <roland@hack.frob.com>
43376
43377         * include/unistd.h: Fix __readlink return type.
43378         Reported by Chris Metcalf <cmetcalf@tilera.com>.
43379
43380 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
43381
43382         * stdlib/ucontext.h: Undo last change for makecontext.
43383
43384 2011-11-11  Andreas Schwab  <schwab@redhat.com>
43385
43386         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43387
43388         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43389         * setjmp/setjmp.h: Mark functions as non-leaf.
43390         * setjmp/bits/setjmp2.h: Likewise.
43391         * stdlib/ucontext.h: Likewise.
43392
43393 2011-11-10  Andreas Schwab  <schwab@redhat.com>
43394
43395         * malloc/arena.c (_int_new_arena): Don't increment narenas.
43396         (reused_arena): Don't check arena limit.
43397         (arena_get2): Atomically check arena limit.
43398
43399 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
43400
43401         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43402         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43403
43404         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43405         instructions.
43406
43407 2011-11-07  Andreas Schwab  <schwab@redhat.com>
43408
43409         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43410         handler when locking.
43411
43412         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43413         Fix size of allocated buffer.
43414
43415 2011-11-04  Andreas Schwab  <schwab@redhat.com>
43416
43417         [BZ #10103]
43418         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43419         declarations for long double functions.
43420         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43421
43422         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43423
43424 2011-11-03  Andreas Schwab  <schwab@redhat.com>
43425
43426         * nscd/nscd.c (main): Don't start AVC thread until credentials are
43427         installed.
43428
43429         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43430         is disabled.
43431
43432 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43433
43434         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43435
43436 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43437
43438         * include/alloca.h (stackinfo_alloca_round): Define.
43439         (extend_alloca): Use it.
43440         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43441         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43442         here.
43443
43444         * scripts/check-local-headers.sh: Ignore libaudit.h.
43445
43446         * nscd/Makefile (extra-objs): Make recursively expanded.
43447
43448 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
43449
43450         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43451         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43452
43453         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43454         * posix/tst-rfc3484-2.c: Likewise.
43455         * posix/tst-rfc3484-3.c: Likewise.
43456
43457         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43458         process_vm_writev.
43459         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43460         process_vm_writev.
43461         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43462         process_vm_writev from libc using GLIBC_2.15 version.
43463
43464         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43465
43466 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
43467
43468         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43469         stack usage.
43470
43471 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
43472
43473         [BZ #13367]
43474         * nss/getent.c (initgroups_keys): Show error message in case no group
43475         names are given.
43476
43477         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43478         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43479         __bump_nl_timestamp.
43480         * nscd/connections (nscd_init): When host database is served open
43481         netlink socket and request notification about configuration changes.
43482         (main_loop_poll): Track netlink file descriptor and bump timestamp
43483         in case data becomes available.
43484         (main_loop_epoll): Likewise.
43485         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43486         (database_pers_head): Add extra_data fileds.
43487         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43488         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43489         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43490         Adjust caller.
43491         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43492         in6ai data, call __free_in6ai.
43493         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43494         Add -DHAVE_NETLINK.
43495         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
43496         interface information.  Reuse previous data if netlink timestamp
43497         is not changed.
43498         (__bump_nl_timestamp): New function.
43499         (__free_in6ai): New function.
43500
43501 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
43502
43503         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43504         close_not_cancel_no_status here.
43505         (__check_pf): Reorganize code a bit to not call close twice if OOM.
43506
43507 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
43508
43509         [BZ #13276]
43510         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43511         return value.
43512
43513         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43514         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43515         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43516
43517 2011-07-03  Andreas Jaeger  <aj@suse.de>
43518
43519         [BZ #10709]
43520         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43521         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43522         * math/libm-test.inc (sin_test): Add test case.
43523
43524 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
43525
43526         [BZ #13337]
43527         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43528         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43529
43530         * elf/chroot_canon.c (chroot_canon): Cleanups.
43531
43532         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43533
43534         [BZ #13335]
43535         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43536         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43537
43538         * string/test-strchr.c: Make usable for strchrnul testing.
43539         * string/test-strchrnul.c: New file.
43540         * string/Makefile (strop-tests): Add strchrnul.
43541
43542         * po/it.po: Update from translation team.
43543         * po/es.po: Likewise.
43544
43545 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
43546
43547         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43548         the three constants needed as parameters.  Drop the others.
43549         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43550         __m128i_strloadu_tolower.
43551         Create and initialize variable zero and use it in all the places
43552         where _mm_setzero_si128 was used.
43553
43554         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43555         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43556         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43557         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43558         anymore.
43559         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43560         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43561         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43562         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43563         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43564         __mpranred, __mptan.
43565         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43566         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43567         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43568         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43569         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43570         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43571         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43572         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43573         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43574
43575 2011-10-28  Andreas Schwab  <schwab@redhat.com>
43576
43577         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43578         redefine if SHARED.
43579         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43580
43581         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43582         wide char related routines to wcsmbs subdir.
43583
43584 2011-10-27  Andreas Schwab  <schwab@redhat.com>
43585
43586         [BZ #13344]
43587         * misc/sys/cdefs.h (__THROWNL): Define.
43588         * posix/unistd.h: Use __THREADNL instead of __THREAD
43589         for memory synchronization functions.
43590
43591 2011-10-26  Roland McGrath  <roland@hack.frob.com>
43592
43593         [BZ #13349]
43594         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43595         doesn't exist.
43596         * manual/stdio.texi (Obstack Streams): Node removed.
43597
43598 2011-10-26  Andreas Schwab  <schwab@redhat.com>
43599
43600         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43601         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43602         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43603
43604         * math/math_private.h (math_force_eval): Allow non-addressable
43605         arguments.
43606         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43607
43608 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43609
43610         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43611         file is not needed.
43612
43613         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43614         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43615         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43616         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43617         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43618         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43619         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43620         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43621         Add AVX variants.
43622         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43623         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43624         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43625         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43626         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43627         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43628         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43629         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43630         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43631         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43632         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43633         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43634         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43635         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43636         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43637         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43638         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43639         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43640         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43641
43642         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43643         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
43644
43645         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43646         place.  Use VEX encoding when compiling for AVX.
43647
43648 2011-10-25  Andreas Schwab  <schwab@redhat.com>
43649
43650         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43651         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43652
43653         * string/test-strchr.c (do_test): Don't generate NUL bytes.
43654
43655 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43656
43657         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43658         useless if() expression.
43659         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43660         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43661         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43662         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43663         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43664         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43665         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43666         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43667         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43668         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43669         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43670         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43671         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43672         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43673         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43674         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43675         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43676         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43677         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43678
43679         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43680
43681 2011-10-25  Andreas Schwab  <schwab@redhat.com>
43682
43683         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43684         condition.
43685         * elf/dl-fini.c (_dl_sort_fini): Likewise.
43686
43687 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43688
43689         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43690         .text section.  Avoid duplicate constants.
43691         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43692         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43693         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43694         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43695         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43696         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43697         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43698         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43699         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43700         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43701         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43702         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43703         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43704         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43705         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43706         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43707         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43708         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43709         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43710         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43711         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43712         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43713         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43714         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43715         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43716         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43717         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43718         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43719         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43720         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43721         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43722         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43723         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43724         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43725         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43726         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43727         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43728         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43729         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43730         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43731         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43732         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43733         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43734         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43735         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43736
43737 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
43738
43739         * sysdeps/x86_64/dla.h: Move to ...
43740         * sysdeps/x86_64/fpu/dla.h: ...here.
43741         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43742         situations.  Use __builtin_fma only for gcc 4.6 and up.
43743
43744         * config.make.in: Add have-mfma4 entry.
43745         * configure.in: Substitute libc_cv_cc_fma4.
43746         * math/Makefile (dbl-only-routines): Add sincostab.
43747         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43748         Use __sincostab not sincos.
43749         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43750         name is a macro.
43751         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43752         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43753         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43754         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
43755         using __copysign.
43756         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
43757         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
43758         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43759         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43760         and __inv.
43761         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43762         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43763         __copysign.
43764         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
43765         define aliases when function name is a macro.
43766         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43767         sysdeps/ieee754/dbl-64/sincos.tbl.
43768         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43769         fma4-enabled routines.
43770         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43771         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43772         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43773         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43774         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43775         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43776         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43777         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43778         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43779         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43780         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43781         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43782         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43783         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43784         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43785         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43786         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43787         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43788         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43789         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43790         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43791         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43792         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43793         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43794         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43795         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43796         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43797         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43798         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43799         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43800
43801         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43802         rename.
43803         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43804         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43805         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43806         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43807         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43808         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43809         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43810         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43811
43812 2011-10-24  Andreas Schwab  <schwab@redhat.com>
43813
43814         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43815
43816 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43817
43818         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43819
43820         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43821         prediction.
43822         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43823
43824         * string/strnlen.c: Don't define STRNLEN, reverse logic.
43825         Remove unused variable magic_bits.
43826         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43827
43828         * string/strnlen.c: Define and use STRNLEN macro.
43829         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43830         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43831         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43832         * wcsmbs/wcslen.c: Define and use WCSLEN.
43833         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43834         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43835         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43836         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43837         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43838         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43839         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43840
43841 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43842
43843         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43844         strnlen-sse2-no-bsf.
43845         Rename strlen-no-bsf to strlen-sse2-no-bsf.
43846         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43847         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43848         Add strnlen support.
43849         (USE_AS_STRNLEN): New macro.
43850         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43851         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43852         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43853         * sysdeps/x86_64/wcslen.S: New file.
43854
43855 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
43856
43857         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43858         XMM-moves are used for copying on small sizes.
43859
43860 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43861
43862         * wcsmbs/Makefile (strop-tests): Add wcschr.
43863         * wcsmbs/test-wcschr.c: New file.
43864         * string/test-strchr.c: Update.
43865         Add wcschr support.
43866         (WIDE): New macro.
43867
43868 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43869
43870         * wcsmbs/Makefile (strop-tests): Add wcslen.
43871         * wcsmbs/test-wcslen.c: New file.
43872         * string/test-strlen.c: Update.
43873         Add wcslen support.
43874         (WIDE): New macro.
43875
43876 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43877
43878         * po/it.po: Update from translation team.
43879
43880 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43881
43882         * sysdeps/x86_64/wcscmp.S: Update.
43883         Fix wrong comparison semantics.
43884         wcscmp shall use signed comparison not unsigned.
43885         Don't use substraction to avoid overflow bug.
43886         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43887         * wcsmbc/wcscmp.c: Likewise.
43888         * string/test-strcmp.c: Likewise.
43889         Add new tests to check cases with negative values.
43890
43891 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43892
43893         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43894         * sysdeps/x86_64/dla.h: ...here.  New file.
43895         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43896         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43897         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43898         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43899         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43900         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43901         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43902         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43903         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43904
43905 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
43906
43907         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43908         __ynl_finite aliases.
43909
43910 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
43911
43912         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43913
43914         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43915         define DLA_FMA.
43916         [DLA_FMA] (EMULV): Use DLA_FMA.
43917         [DLA_FMA] (MUL12): Use EMULV.
43918         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43919         that are not needed.
43920         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43921         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43922         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43923         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43924         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43925         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43926         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43927
43928 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
43929
43930         * math/s_nan.c: Undef __nan.
43931         * math/s_nanf.c: Undef __nanf.
43932         * math/s_nanl.c: Undef __nanl.
43933         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43934         "math_private.h".
43935
43936 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
43937
43938         * math/s_catan.c: Add branch predictions.
43939         * math/s_catanf.c: Likewise.
43940         * math/s_catanh.c: Likewise.
43941         * math/s_catanhf.c: Likewise.
43942         * math/s_catanhl.c: Likewise.
43943         * math/s_catanl.c: Likewise.
43944         * math/s_cexp.c: Likewise.
43945         * math/s_cexpf.c: Likewise.
43946         * math/s_cexpl.c: Likewise.
43947         * math/s_clog.c: Likewise.
43948         * math/s_clog10.c: Likewise.
43949         * math/s_clog10f.c: Likewise.
43950         * math/s_clog10l.c: Likewise.
43951         * math/s_clogf.c: Likewise.
43952         * math/s_clogl.c: Likewise.
43953         * math/s_csqrt.c: Likewise.
43954         * math/s_csqrtf.c: Likewise.
43955         * math/s_csqrtl.c: Likewise.
43956         * math/s_ctanf.c: Likewise.
43957         * math/s_ctanh.c: Likewise.
43958         * math/s_ctanhf.c: Likewise.
43959         * math/s_ctanhl.c: Likewise.
43960         * math/s_ctanl.c: Likewise.
43961
43962         * math/math_private.h: Define __nan, __nanf, __nanl.
43963         * math/s_cacosh.c: Include <math_private.h>.
43964         * math/s_cacoshl.c: Likewise.
43965         * math/s_casinh.c: Likewise.
43966         * math/s_casinhf.c: Likewise.
43967         * math/s_casinhl.c: Likewise.
43968         * math/s_ccos.c: Rely entire on ccosh.
43969         * math/s_ccosf.c: Rely entire on ccoshf.
43970         * math/s_ccosl.c: Rely entirely on ccoshl.
43971         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
43972         Remove tests for FE_INVALID.
43973         * math/s_ccoshf.c: Likewise.
43974         * math/s_ccoshl.c: Likewise.
43975         * math/s_csin.c: Likewise.
43976         * math/s_csinf.c: Likewise.
43977         * math/s_csinh.c Likewise.
43978         * math/s_csinhf.c: Likewise.
43979         * math/s_csinhl.c: Likewise.
43980         * math/s_csinl.c: Likewise.
43981         * math/s_ctan.c: Likewise.
43982         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43983         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43984         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43985
43986 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
43987
43988         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43989         compilation problems.
43990
43991         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43992         __builtin_expect.
43993
43994 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
43995
43996         * sysdeps/i386/configure.in: Test for -mfma4 option.
43997         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43998         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43999         COMMON_CPUID_INDEX_80000001.
44000         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44001         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44002         use it if FMA3 is not supported.
44003         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44004
44005         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44006         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44007
44008 2011-10-20  Andreas Schwab  <schwab@redhat.com>
44009
44010         [BZ #12892]
44011         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44012         it would create a cycle with a link time dependency.
44013
44014 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
44015
44016         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44017         instruction.
44018         * string/Makefile (strop-tests): Add rawmemchr.
44019         * string/test-rawmemchr.c: New file.
44020
44021         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44022         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
44023         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
44024         when compiling str{,n}casecmp and when AVX is available.  Hook up
44025         new optimized code in initializers.
44026
44027 2011-10-19  Andreas Schwab  <schwab@redhat.com>
44028
44029         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44030         __feraiseexcept instead of feraiseexcept.
44031
44032 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
44033
44034         * math/math_private.h: Define defaults for libc_fetestexcept and
44035         libc_feupdateenv.
44036         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44037         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44038         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44039         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44040         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44041         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44042         libc_fetestexcept and libc_feupdateenv.
44043
44044         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44045         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44046         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44047         * sysdeps/x86_64/fpu/math_private.h: Define special version of
44048         libc_feholdexcept_setround.
44049
44050         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44051         Add s_nearbyint-c and s_nearbyintf-c.
44052         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44053         nearbyintf inlines.
44054         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44055         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44056         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44057         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44058
44059         * math/math_private.h: Define defaults for libc_fegetround,
44060         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44061         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44062         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44063         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44064         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44065         standard functions.
44066         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44067         Remove comments and hacks for old compiler versions.
44068         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44069         libc_fegetround, libc_fesetround, libc_feholdexcept, and
44070         libc_feholdexceptl.
44071
44072 2011-10-18  Andreas Schwab  <schwab@redhat.com>
44073
44074         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44075         (__feraiseexcept_renamed): Add __NTH.
44076         (feraiseexcept): Add __NTH.  Rename local variables to fix
44077         namespace violations.
44078
44079 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
44080
44081         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44082
44083         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44084
44085         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44086         recently added interfaces.
44087         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44088
44089         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44090         about macro parameter expansion.
44091
44092         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44093         __NO_MATH_INLINES is defined.  Cleanups.
44094
44095         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44096         and __floorf is target has SSE4.1.
44097         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44098         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44099         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44100         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44101
44102         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44103         name.
44104         (floorf): Likewise.
44105
44106         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44107
44108 2011-10-17  Andreas Schwab  <schwab@redhat.com>
44109
44110         * misc/sys/cdefs.h: Fix last change.
44111
44112         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44113         database lookup.
44114
44115 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
44116
44117         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44118
44119         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44120         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44121         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44122         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44123         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44124         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44125         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44126         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44127         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44128         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44129         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44130         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44131         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44132         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44133         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44134         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44135         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44136         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44137         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44138         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44139         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44140         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44141
44142         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44143         ceil, ceilf, floor, floorf.
44144
44145         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44146         Perform IRELATIVE relocations last.
44147
44148         * elf/do-rel.h: Add another parameter nrelative, replacing the
44149         local variable with the same name.  Change name of the function
44150         to end in Rel or Rela (uppercase).
44151         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44152         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
44153         elf_dynamic_do_##reloc function.
44154
44155 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44156
44157         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44158         is sufficient, at least on modern CPUs.
44159
44160         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44161
44162         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44163         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44164
44165         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44166         __expl_finite.
44167         * math/bits/math-finite.h: Add entries for exp.
44168         * math/e_expl.c: Add __*_finite alias.
44169         * sysdeps/i386/fpu/e_exp.S: Likewise.
44170         * sysdeps/i386/fpu/e_expf.S: Likewise.
44171         * sysdeps/i386/fpu/e_expl.c: Likewise.
44172         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44173         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44174         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44175         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44176         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44177         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44178         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44179
44180         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44181         is sufficient, at least on modern CPUs.
44182
44183         * ctype/ctype-info.c (__ctype_init): Define.
44184         * include/ctype.h (__ctype_init): Declare.
44185         (__ctype_b_loc): The variable is always initialized.
44186         (__ctype_toupper_loc): Likewise.
44187         (__ctype_tolower_loc): Likewise.
44188         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44189         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44190
44191 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
44192
44193         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44194
44195         * configure.in: Also look in $cxxmachine/include for C++ system
44196         headers.
44197
44198 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44199
44200         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44201         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44202         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44203         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
44204         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44205         (USE_AS_WMEMCMP): New macro.
44206         Fixing indents.
44207         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44208         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44209         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44210         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44211         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44212         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44213         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44214         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44215         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44216         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44217         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44218         (USE_AS_WMEMCMP): New macro.
44219         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44220         * sysdeps/string/test-memcmp.c: Update.
44221         Fix simple_wmemcmp.
44222         Add new tests.
44223         * wcsmbs/wmemcmp.c: Update.
44224         (WMEMCMP): New macro.
44225         Fix overflow bug.
44226
44227 2011-10-12  Andreas Jaeger  <aj@suse.de>
44228
44229         [BZ #13268]
44230         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44231
44232 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44233
44234         * libio/iofwide.c (do_length): Avoid warning.
44235
44236         * ctype/ctype.h (__isctype_f): Add missing __THROW.
44237
44238 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
44239
44240         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44241
44242         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44243         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44244         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44245         * sysdeps/i386/i686/fpu/e_log.S: New file.
44246         * sysdeps/i386/i686/fpu/e_logf.S: New file.
44247         * sysdeps/i386/i686/fpu/e_logl.S: New file.
44248
44249         * ctype/ctype.h: Add support for inlined isXXX functions when
44250         compiling C++ code.
44251
44252 2011-10-14  Andreas Schwab  <schwab@redhat.com>
44253
44254         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44255
44256         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44257
44258 2011-10-13  Roland McGrath  <roland@hack.frob.com>
44259
44260         [BZ #13291]
44261         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44262
44263 2011-10-13  Andreas Schwab  <schwab@redhat.com>
44264
44265         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44266         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44267         feraiseexcept.
44268
44269         * sysdeps/x86_64/memrchr.S: Check for zero size.
44270
44271         * string/stratcliff.c: Add memrchr tests.
44272
44273 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44274
44275         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44276         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44277         rawmemchr-sse2 rawmemchr-sse2-bsf.
44278         * sysdeps/i386/i686/multiarch/memchr.S: New file.
44279         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44280         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44281         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44282         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44283         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44284         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44285         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44286         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44287         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44288         * string/memrchr.c (MEMRCHR): New macro.
44289
44290 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
44291
44292         Add integration with gcc's -ffinite-math-only and optimize wrapper
44293         functions in libm.
44294         * Versions.def: Define GLIBC_2.15 version for libm.
44295         * math/Makefile (headers): Add bits/math-finite.h.
44296         * math/bits/math-finite.h: New file.
44297         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44298         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44299         * math/e_acoshl.c: Add __*_finite alias.
44300         * math/e_acosl.c: Likewise.
44301         * math/e_asinl.c: Likewise.
44302         * math/e_atan2l.c: Likewise.
44303         * math/e_atanhl.c: Likewise.
44304         * math/e_coshl.c: Likewise.
44305         * math/e_exp10.c: Likewise.
44306         * math/e_exp10f.c: Likewise.
44307         * math/e_exp10l.c: Likewise.
44308         * math/e_exp2l.c: Likewise.
44309         * math/e_fmodl.c: Likewise.
44310         * math/e_gammal_r.c: Likewise.
44311         * math/e_hypotl.c: Likewise.
44312         * math/e_j0l.c: Likewise.
44313         * math/e_j1l.c: Likewise.
44314         * math/e_jnl.c: Likewise.
44315         * math/e_lgammal_r.c: Likewise.
44316         * math/e_log10l.c: Likewise.
44317         * math/e_log2l.c: Likewise.
44318         * math/e_logl.c: Likewise.
44319         * math/e_powl.c: Likewise.
44320         * math/e_sinhl.c: Likewise.
44321         * math/e_sqrtl.c: Likewise.
44322         * math/e_scalb.c: Completely rewritten and optimized.
44323         * math/e_scalbf.c: Likewise.
44324         * math/e_scalbl.c: Likewise.
44325         * math/w_acos.c: Likewise.
44326         * math/w_acosf.c: Likewise.
44327         * math/w_acosl.c: Likewise.
44328         * math/w_acosh.c: Likewise.
44329         * math/w_acoshf.c: Likewise.
44330         * math/w_acoshl.c: Likewise.
44331         * math/w_asin.c: Likewise.
44332         * math/w_asinf.c: Likewise.
44333         * math/w_asinl.c: Likewise.
44334         * math/w_atan2.c: Likewise.
44335         * math/w_atan2f.c: Likewise.
44336         * math/w_atan2l.c: Likewise.
44337         * math/w_atanh.c: Likewise.
44338         * math/w_atanhf.c: Likewise.
44339         * math/w_atanhl.c: Likewise.
44340         * math/w_exp10.c: Likewise.
44341         * math/w_exp10f.c: Likewise.
44342         * math/w_exp10l.c: Likewise.
44343         * math/w_fmod.c: Likewise.
44344         * math/w_fmodf.c: Likewise.
44345         * math/w_fmodl.c: Likewise.
44346         * math/w_j0.c: Likewise.
44347         * math/w_j0f.c: Likewise.
44348         * math/w_j0l.c: Likewise.
44349         * math/w_j1.c: Likewise.
44350         * math/w_j1f.c: Likewise.
44351         * math/w_j1l.c: Likewise.
44352         * math/w_jn.c: Likewise.
44353         * math/w_jnf.c: Likewise.
44354         * math/w_log.c: Likewise.
44355         * math/w_logf.c: Likewise.
44356         * math/w_logl.c: Likewise.
44357         * math/w_log10.c: Likewise.
44358         * math/w_log10f.c: Likewise.
44359         * math/w_log10l.c: Likewise.
44360         * math/w_log2.c: Likewise.
44361         * math/w_log2f.c: Likewise.
44362         * math/w_log2l.c: Likewise.
44363         * math/w_pow.c: Likewise.
44364         * math/w_powf.c: Likewise.
44365         * math/w_powl.c: Likewise.
44366         * math/w_remainder.c: Likewise.
44367         * math/w_remainderf.c: Likewise.
44368         * math/w_remainderl.c: Likewise.
44369         * math/w_scalb.c: Likewise.
44370         * math/w_scalbf.c: Likewise.
44371         * math/w_scalbl.c: Likewise.
44372         * math/w_sqrt.c: Likewise.
44373         * math/w_sqrtf.c: Likewise.
44374         * math/w_sqrtl.c: Likewise.
44375         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44376         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
44377         used.
44378         * math/math_private.h: Declare __kernel_standard_f.
44379         * math/w_cosh.c: Remove cruft and optimize a bit.
44380         * math/w_coshf.c: Likewise.
44381         * math/w_coshl.c: Likewise.
44382         * math/w_exp2.c: Likewise.
44383         * math/w_exp2f.c: Likewise.
44384         * math/w_exp2l.c: Likewise.
44385         * math/w_hypot.c: Likewise.
44386         * math/w_hypotf.c: Likewise.
44387         * math/w_hypotl.c: Likewise.
44388         * math/w_lgamma.c: Likewise.
44389         * math/w_lgamma_r.c: Likewise.
44390         * math/w_lgammaf.c: Likewise.
44391         * math/w_lgammaf_r.c: Likewise.
44392         * math/w_lgammal.c: Likewise.
44393         * math/w_lgammal_r.c: Likewise.
44394         * math/w_sinh.c: Likewise.
44395         * math/w_sinhf.c: Likewise.
44396         * math/w_sinhl.c: Likewise.
44397         * math/w_tgamma.c: Likewise.
44398         * math/w_tgammaf.c: Likewise.
44399         * math/w_tgammal.c: Likewise.
44400         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44401         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44402         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44403         Minor optimizations.  Pretty printing.  Remove cruft.
44404         * sysdeps/i386/fpu/e_acosf.S: Likewise.
44405         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44406         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44407         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44408         * sysdeps/i386/fpu/e_acosl.c: Likewise.
44409         * sysdeps/i386/fpu/e_asin.S: Likewise.
44410         * sysdeps/i386/fpu/e_asinf.S: Likewise.
44411         * sysdeps/i386/fpu/e_atan2.S: Likewise.
44412         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44413         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44414         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44415         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44416         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44417         * sysdeps/i386/fpu/e_exp10.S: Likewise.
44418         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44419         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44420         * sysdeps/i386/fpu/e_exp2.S: Likewise.
44421         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44422         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44423         * sysdeps/i386/fpu/e_fmod.S: Likewise.
44424         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44425         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44426         * sysdeps/i386/fpu/e_hypot.S: Likewise.
44427         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44428         * sysdeps/i386/fpu/e_log.S: Likewise.
44429         * sysdeps/i386/fpu/e_log10.S: Likewise.
44430         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44431         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44432         * sysdeps/i386/fpu/e_log2.S: Likewise.
44433         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44434         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44435         * sysdeps/i386/fpu/e_logf.S: Likewise.
44436         * sysdeps/i386/fpu/e_logl.S: Likewise.
44437         * sysdeps/i386/fpu/e_pow.S: Likewise.
44438         * sysdeps/i386/fpu/e_powf.S: Likewise.
44439         * sysdeps/i386/fpu/e_powl.S: Likewise.
44440         * sysdeps/i386/fpu/e_remainder.S: Likewise.
44441         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44442         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44443         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44444         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44445         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44446         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44447         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44448         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44449         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44450         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44451         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44452         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44453         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44454         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44455         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44456         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44457         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44458         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44459         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44460         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44461         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44462         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44463         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44464         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44465         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44466         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44467         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44468         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44469         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44470         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44471         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44472         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44473         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44474         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44475         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44476         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44477         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44478         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44479         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44480         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44481         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44482         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44483         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44484         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44485         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44486         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44487         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44488         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44489         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44490         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44491         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44492         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44493         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44494         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44495         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44496         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44497         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44498         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44499         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44500         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44501         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44502         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44503         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44504         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44505         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44506         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44507         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44508         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44509         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44510         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44511         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44512         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44513         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44514         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44515         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44516         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44517         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44518         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44519         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44520         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44521         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44522         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44523         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44524         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44525         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44526         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44527         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44528         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44529         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44530         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44531         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44532         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44533         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44534         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44535         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44536         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44537         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44538         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44539         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44540         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44541         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44542         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44543         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44544         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44545         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44546         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44547         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44548         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44549         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44550         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44551         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44552         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44553         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44554         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44555         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44556         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44557         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44558         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44559         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
44560         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44561         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44562         (__isnanf): Likewise.
44563         (__isinf_ns): Likewise.
44564         (__isinf_nsf): Likewise.
44565         (__finite): Likewise.
44566         (__finitef): Likewise.
44567         (__ieee754_sqrt): Define as macro.
44568         (__ieee754_sqrtf): Define as macro.
44569         (__ieee754_sqrtl): Define as macro.
44570         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44571         inlined copy.
44572         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44573         __FINITE_MATH_ONLY__ consistent.
44574         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44575
44576 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
44577
44578         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44579         of rawmemchr.
44580
44581         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44582
44583 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
44584
44585         * po/ja.po: Update from translation team.
44586
44587 2011-10-08  Roland McGrath  <roland@hack.frob.com>
44588
44589         * locale/programs/locarchive.c (prepare_address_space): New function.
44590         (create_archive, enlarge_archive, open_archive): Use it.
44591
44592         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44593         inside [SHARED], where it is used.
44594
44595         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44596
44597         * nss/getent.c (netgroup_keys): Remove unused variable.
44598         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44599
44600 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
44601
44602         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44603         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44604         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44605         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44606         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44607         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44608         * math/Makefile (libm-calls): Add s_isinf_ns.
44609         * math/divtc3.c: Use __isinf_nsl instead of isinf.
44610         * math/multc3.c: Likewise.
44611         * math/s_casin.c: Likewise.
44612         * math/s_casinf.c: Likewise.
44613         * math/s_casinl.c: Likewise.
44614         * math/s_ccos.c: Likewise.
44615         * math/s_ccosf.c: Likewise.
44616         * math/s_ccosl.c: Likewise.
44617         * math/s_ctan.c: Likewise.
44618         * math/s_ctanf.c: Likewise.
44619         * math/s_ctanh.c: Likewise.
44620         * math/s_ctanhf.c: Likewise.
44621         * math/s_ctanhl.c: Likewise.
44622         * math/s_ctanl.c: Likewise.
44623         * math/w_fmod.c: Likewise.
44624         * math/w_fmodf.c: Likewise.
44625         * math/w_fmodl.c: Likewise.
44626         * math/w_remainder.c: Likewise.
44627         * math/w_remainderf.c: Likewise.
44628         * math/w_remainderl.c: Likewise.
44629         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44630         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44631         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44632         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44633         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44634         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44635         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44636         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44637
44638         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44639         of the number.
44640         * stdio-common/printf_fphex.c: Likewise.
44641         * stdio-common/printf_size.c: Likewise.
44642
44643         * math/e_exp10.c: Include math_private.h using <...> not "...".
44644         * math/e_exp10f.c: Likewise.
44645         * math/e_exp10l.c: Likewise.
44646         * math/e_exp2l.c: Likewise.
44647         * math/e_j0l.c: Likewise.
44648         * math/e_j1l.c: Likewise.
44649         * math/e_jnl.c: Likewise.
44650         * math/e_lgammal_r.c: Likewise.
44651         * math/e_rem_pio2l.c: Likewise.
44652         * math/e_scalb.c: Likewise.
44653         * math/e_scalbf.c: Likewise.
44654         * math/e_scalbl.c: Likewise.
44655         * math/k_cosl.c: Likewise.
44656         * math/k_sinl.c: Likewise.
44657         * math/k_tanl.c: Likewise.
44658         * math/s_cacoshf.c: Likewise.
44659         * math/s_catan.c: Likewise.
44660         * math/s_catanf.c: Likewise.
44661         * math/s_catanh.c: Likewise.
44662         * math/s_catanhf.c: Likewise.
44663         * math/s_catanhl.c: Likewise.
44664         * math/s_catanl.c: Likewise.
44665         * math/s_ccosh.c: Likewise.
44666         * math/s_ccoshf.c: Likewise.
44667         * math/s_ccoshl.c: Likewise.
44668         * math/s_cexp.c: Likewise.
44669         * math/s_cexpf.c: Likewise.
44670         * math/s_cexpl.c: Likewise.
44671         * math/s_clog.c: Likewise.
44672         * math/s_clog10.c: Likewise.
44673         * math/s_clog10f.c: Likewise.
44674         * math/s_clog10l.c: Likewise.
44675         * math/s_clogf.c: Likewise.
44676         * math/s_clogl.c: Likewise.
44677         * math/s_csin.c: Likewise.
44678         * math/s_csinf.c: Likewise.
44679         * math/s_csinh.c: Likewise.
44680         * math/s_csinhf.c: Likewise.
44681         * math/s_csinhl.c: Likewise.
44682         * math/s_csinl.c: Likewise.
44683         * math/s_csqrt.c: Likewise.
44684         * math/s_csqrtf.c: Likewise.
44685         * math/s_csqrtl.c: Likewise.
44686         * math/s_ctan.c: Likewise.
44687         * math/s_ctanf.c: Likewise.
44688         * math/s_ctanh.c: Likewise.
44689         * math/s_ctanhf.c: Likewise.
44690         * math/s_ctanhl.c: Likewise.
44691         * math/s_ctanl.c: Likewise.
44692         * math/s_ldexp.c: Likewise.
44693         * math/s_ldexpf.c: Likewise.
44694         * math/s_ldexpl.c: Likewise.
44695         * math/s_significand.c: Likewise.
44696         * math/s_significandf.c: Likewise.
44697         * math/s_significandl.c: Likewise.
44698         * math/w_acos.c: Likewise.
44699         * math/w_acosf.c: Likewise.
44700         * math/w_acosh.c: Likewise.
44701         * math/w_acoshf.c: Likewise.
44702         * math/w_acoshl.c: Likewise.
44703         * math/w_acosl.c: Likewise.
44704         * math/w_asin.c: Likewise.
44705         * math/w_asinf.c: Likewise.
44706         * math/w_asinl.c: Likewise.
44707         * math/w_atan2.c: Likewise.
44708         * math/w_atan2f.c: Likewise.
44709         * math/w_atan2l.c: Likewise.
44710         * math/w_atanh.c: Likewise.
44711         * math/w_atanhf.c: Likewise.
44712         * math/w_atanhl.c: Likewise.
44713         * math/w_cosh.c: Likewise.
44714         * math/w_coshf.c: Likewise.
44715         * math/w_coshl.c: Likewise.
44716         * math/w_dremf.c: Likewise.
44717         * math/w_exp10.c: Likewise.
44718         * math/w_exp10f.c: Likewise.
44719         * math/w_exp10l.c: Likewise.
44720         * math/w_exp2.c: Likewise.
44721         * math/w_exp2f.c: Likewise.
44722         * math/w_fmod.c: Likewise.
44723         * math/w_fmodf.c: Likewise.
44724         * math/w_fmodl.c: Likewise.
44725         * math/w_hypot.c: Likewise.
44726         * math/w_hypotf.c: Likewise.
44727         * math/w_hypotl.c: Likewise.
44728         * math/w_j0.c: Likewise.
44729         * math/w_j0f.c: Likewise.
44730         * math/w_j0l.c: Likewise.
44731         * math/w_j1.c: Likewise.
44732         * math/w_j1f.c: Likewise.
44733         * math/w_j1l.c: Likewise.
44734         * math/w_jn.c: Likewise.
44735         * math/w_jnf.c: Likewise.
44736         * math/w_jnl.c: Likewise.
44737         * math/w_lgamma.c: Likewise.
44738         * math/w_lgamma_r.c: Likewise.
44739         * math/w_lgammaf.c: Likewise.
44740         * math/w_lgammaf_r.c: Likewise.
44741         * math/w_lgammal.c: Likewise.
44742         * math/w_lgammal_r.c: Likewise.
44743         * math/w_log.c: Likewise.
44744         * math/w_log10.c: Likewise.
44745         * math/w_log10f.c: Likewise.
44746         * math/w_log10l.c: Likewise.
44747         * math/w_log2.c: Likewise.
44748         * math/w_log2f.c: Likewise.
44749         * math/w_log2l.c: Likewise.
44750         * math/w_logf.c: Likewise.
44751         * math/w_logl.c: Likewise.
44752         * math/w_pow.c: Likewise.
44753         * math/w_powf.c: Likewise.
44754         * math/w_powl.c: Likewise.
44755         * math/w_remainder.c: Likewise.
44756         * math/w_remainderf.c: Likewise.
44757         * math/w_remainderl.c: Likewise.
44758         * math/w_scalb.c: Likewise.
44759         * math/w_scalbf.c: Likewise.
44760         * math/w_scalbl.c: Likewise.
44761         * math/w_sinh.c: Likewise.
44762         * math/w_sinhf.c: Likewise.
44763         * math/w_sinhl.c: Likewise.
44764         * math/w_sqrt.c: Likewise.
44765         * math/w_sqrtf.c: Likewise.
44766         * math/w_sqrtl.c: Likewise.
44767         * math/w_tgamma.c: Likewise.
44768         * math/w_tgammaf.c: Likewise.
44769         * math/w_tgammal.c: Likewise.
44770
44771         * po/ja.po: Update from translation team.
44772
44773 2011-09-29  Andreas Jaeger  <aj@suse.de>
44774
44775         [BZ #13179]
44776         * sunrpc/netname.c (netname2host): Fix logic.
44777
44778         [BZ #6779]
44779         [BZ #6783]
44780         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44781         correctly.
44782         * math/w_remainder.c (__remainder): Likewise.
44783         * math/w_remainderf.c (__remainderf): Likewise.
44784         * math/libm-test.inc (remainder_test): Add test cases.
44785
44786 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44787
44788         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
44789         sdiv_qrnnd.
44790
44791 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
44792
44793         * string/test-memcmp.c: Avoid unncessary #defines.
44794         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44795
44796 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44797
44798         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44799         Use new sse2 version for core i3 - i7 as it's faster
44800         than sse42 version.
44801         (bit_Prefer_PMINUB_for_stringop): New.
44802         * sysdeps/x86_64/rawmemchr.S: Update.
44803         Replace with faster SSE2 version.
44804         * sysdeps/x86_64/memrchr.S: New file.
44805         * sysdeps/x86_64/memchr.S: Update.
44806         Replace with faster SSE2 version.
44807
44808 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
44809
44810         * elf/dl-load.c (lose): Add cast to avoid warning.
44811
44812 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
44813
44814         * po/ca.po: Update from translation team.
44815
44816         * inet/getnetgrent_r.c: Hook up nscd.
44817         * nscd/Makefile (routines): Add nscd_netgroup.
44818         (nscd-modules): Add netgroupcache.
44819         (CFLAGS-netgroupcache.c): Define.
44820         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44821         (cache_search): Add const to second parameter.
44822         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44823         INNETGR.
44824         (dbs): Add netgrdb entry.
44825         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44826         (verify_persistent_db): Handle netgrdb.
44827         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44828         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44829         GETFDNETGR.
44830         (netgroup_response_header): Define.
44831         (innetgroup_response_header): Define.
44832         (datahead): Add netgroup_response_header and innetgroup_response_header
44833         elements.
44834         * nscd/nscd.conf: Add entries for netgroup cache.
44835         * nscd/nscd.h (dbtype): Add netgrdb.
44836         (_PATH_NSCD_NETGROUP_DB): Define.
44837         (netgroup_iov_disabled): Declare.
44838         (xmalloc, xcalloc, xrealloc): Move declarations here.
44839         (cache_search): Adjust prototype.
44840         Add netgroup-related prototypes.
44841         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44842         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44843         (__nscd_innetgr): Declare.
44844         * nscd/selinux.c (perms): Use access_vector_t as element type and
44845         add netgroup-related initializers.
44846         * nscd/netgroupcache.c: New file.
44847         * nscd/nscd_netgroup.c: New file.
44848         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44849         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44850         For four parameters use innetgr.
44851         * nss/nss_files/files-init.c: Add definition and callback for netgr.
44852         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44853         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44854         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44855
44856         * nscd/connections.c (register_traced_file): Don't register file
44857         for disabled databases.
44858
44859 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
44860
44861         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44862
44863         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44864         from tree and freeing node.
44865
44866 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
44867
44868         * nss/nsswitch.c (__nss_database_lookup): Handle
44869         nss_parse_service_list out of memory case.
44870
44871 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
44872
44873         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44874         out of memory case.
44875
44876 2011-10-04  Andreas Schwab  <schwab@redhat.com>
44877
44878         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44879         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44880         pass it down.
44881         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44882         elf_machine_rela, elf_machine_lazy_rel.
44883         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44884         (ELF_DYNAMIC_DO_REL): Likewise.
44885         (ELF_DYNAMIC_DO_RELA): Likewise.
44886         (ELF_DYNAMIC_RELOCATE): Likewise.
44887         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44888         to ELF_DYNAMIC_DO_REL.
44889         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44890         (dl_main): In trace mode always set __RTLD_NOIFUNC.
44891         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44892         elf_machine_rela.
44893         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44894         skip_ifunc, don't call ifunc function if non-zero.
44895         (elf_machine_rela): Likewise.
44896         (elf_machine_lazy_rel): Likewise.
44897         (elf_machine_lazy_rela): Likewise.
44898         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44899         (elf_machine_lazy_rel): Likewise.
44900         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44901         Likewise.
44902         (elf_machine_lazy_rel): Likewise.
44903         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44904         Likewise.
44905         (elf_machine_lazy_rel): Likewise.
44906         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44907         (elf_machine_lazy_rel): Likewise.
44908         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44909         (elf_machine_lazy_rel): Likewise.
44910         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44911         (elf_machine_lazy_rel): Likewise.
44912         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44913         (elf_machine_lazy_rel): Likewise.
44914         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44915         (elf_machine_lazy_rel): Likewise.
44916         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44917         (elf_machine_lazy_rel): Likewise.
44918
44919 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
44920
44921         * nss/nss_files/files-init.c (_nss_files_init): Use static
44922         initialization for all the *_traced_file variables.
44923
44924 2011-09-28  Andreas Schwab  <schwab@redhat.com>
44925
44926         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44927
44928 2011-09-27  Roland McGrath  <roland@hack.frob.com>
44929
44930         [BZ #13226]
44931         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44932
44933 2011-09-27  Andreas Schwab  <schwab@redhat.com>
44934
44935         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44936         Reread the line before reparsing it.
44937
44938 2011-09-26  Andreas Schwab  <schwab@redhat.com>
44939
44940         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44941
44942 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
44943             Maxim Kuvyrkov  <maxim@codesourcery.com>
44944             Joseph Myers  <joseph@codesourcery.com>
44945
44946         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44947         if needed for __stack_chk_guard.
44948
44949 2011-09-19  Roland McGrath  <roland@hack.frob.com>
44950
44951         * sysdeps/posix/spawni.c (script_execute): Always define it.
44952         It will be optimized away if unused.
44953         (maybe_script_execute): New function.
44954         (__spawni): Call it.
44955
44956         * Makerules: Don't include tls.make.
44957         (config-tls): Always set to thread.
44958         * tls.make.c: File removed.
44959
44960 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
44961
44962         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44963         * config.make.in (CPPFLAGS-config): New substituted variable.
44964
44965 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
44966
44967         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44968
44969         [BZ #13192]
44970         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44971         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44972
44973 2011-09-15  Roland McGrath  <roland@hack.frob.com>
44974
44975         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44976         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44977         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44978         (CALL_FAIL): Likewise.
44979         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44980         (CALL_FAIL): Macro removed.
44981         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44982
44983 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
44984
44985         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44986         for __FINITE_MATH_ONLY__ == 1.
44987
44988 2011-09-15  Andreas Schwab  <schwab@redhat.com>
44989
44990         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44991         __ieee754_sqrt instead of sqrt.
44992         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44993         __ieee754_sqrtf instead of sqrtf.
44994         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44995         __floorf instead of floorf.
44996         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44997         __floorf, __truncf instead of floorf, truncf.
44998
44999 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
45000
45001         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45002
45003         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45004         __extern_always_inline.
45005         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45006         32-bit.
45007
45008 2011-09-14  Andreas Schwab  <schwab@redhat.com>
45009
45010         * elf/rtld.c (dl_main): Also relocate in dependency order when
45011         doing symbol dependency testing.
45012
45013 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
45014
45015         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45016         Always define `refsym'.
45017
45018 2011-09-13  Andreas Schwab  <schwab@redhat.com>
45019
45020         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45021         (__FD_ELT): Renamed from __FDELT.
45022         * misc/bits/select2.h (__FD_ELT): Likewise.
45023         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45024         __FD_MASK instead of __FDELT, __FDMASK.
45025         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45026         Likewise.
45027         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45028         Likewise.
45029
45030         * elf/Makefile (gen-ldd): Fix pattern.
45031
45032         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45033         (init_tls): Likewise.
45034
45035 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
45036
45037         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45038
45039 2011-09-12  Andreas Schwab  <schwab@redhat.com>
45040
45041         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45042         `struct cmsghdr *' instead of `void *'.
45043         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45044         Likewise.
45045
45046 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
45047
45048         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45049         if non-absolute.
45050         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45051         ldd_rewrite_script.
45052
45053 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
45054
45055         * configure.in: Remove --with-tls option.
45056         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45057         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45058         out in case it is missing.
45059         * sysdeps/ia64/elf/configure.in: Likewise.
45060         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45061         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45062         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45063         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45064         * sysdeps/sh/elf/configure.in: Likewise.
45065         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45066         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45067         * sysdeps/x86_64/elf/configure.in: Likewise.
45068         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45069         * sysdeps/mach/hurd/tls.h: Likewise.
45070
45071         [BZ #13067]
45072         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45073
45074         [BZ #13090]
45075         * configure.in: Fix use of AC_INIT.
45076
45077         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45078
45079 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
45080
45081         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45082         __set_errno.
45083         * malloc/hooks.c: Likewise.
45084
45085         [BZ #11929]
45086         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
45087         variables statically.
45088         (narenas): Initialize.
45089         (list_lock): Initialize.
45090         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
45091         initializtion of main_arena and list_lock.  Small cleanups.
45092         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45093         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
45094         Add initializers to main_arena and mp_.
45095         (malloc_state): Remove pagesize member.  Change all users to use
45096         GLRO(dl_pagesize).
45097
45098         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45099         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
45100         is always initialized.
45101
45102         * malloc/malloc.c: Removed unused configurations and dead code.
45103         * malloc/arena.c: Likewise.
45104         * malloc/hooks.c: Likewise.
45105         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45106
45107         * include/tls.h: Removed.  USE___THREAD must always be defined.
45108         * bits/libc-tsd.h: Don't handle !USE___THREAD.
45109         * elf/dl-libc.c: Likewise.
45110         * elf/dl-tsd.c: Likewise.
45111         * include/errno.h: Likewise.
45112         * include/netdb.h: Likewise.
45113         * include/resolv.h: Likewise.
45114         * inet/herrno-loc.c: Likewise.
45115         * inet/herrno.c: Likewise.
45116         * malloc/arena.c: Likewise.
45117         * malloc/hooks.c: Likewise.
45118         * malloc/malloc.c: Likewise.
45119         * resolv/res-state.c: Likewise.
45120         * resolv/res_libc.c: Likewise.
45121         * sysdeps/i386/dl-machine.h: Likewise.
45122         * sysdeps/ia64/dl-machine.h: Likewise.
45123         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45124         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45125         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45126         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45127         * sysdeps/sh/dl-machine.h: Likewise.
45128         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45129         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45130         * sysdeps/unix/i386/sysdep.S: Likewise.
45131         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45132         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45133         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45134         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45135         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45136         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45137         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45138         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45139         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45140         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45141         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45142         * sysdeps/x86_64/dl-machine.h: Likewise.
45143         * tls.make.c: Likewise.
45144
45145         * configure.in: Remove --with-__thread option.  Make tests for
45146         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45147         tls_model attribute fail if no support is available.  Remove
45148         USE_IN_LIBIO.
45149         * Makeconfig: Adjust for dropped configure option.  All features are
45150         now mandatory.
45151         * Makerules: Likewise.
45152         * Versions.def: Likewise.
45153         * argp/argp-fmtstream.c: Likewise.
45154         * argp/argp-fmtstream.h: Likewise.
45155         * argp/argp-help.c: Likewise.
45156         * assert/assert.c: Likewise.
45157         * config.h.in: Likewise.
45158         * config.make.in: Likewise.
45159         * configure: Likewise.
45160         * configure.in: Likewise.
45161         * csu/Versions: Likewise.
45162         * csu/init.c: Likewise.
45163         * elf/tst-audit2.c: Likewise.
45164         * elf/tst-tls10.c: Likewise.
45165         * elf/tst-tls10.h: Likewise.
45166         * elf/tst-tls11.c: Likewise.
45167         * elf/tst-tls12.c: Likewise.
45168         * elf/tst-tls14.c: Likewise.
45169         * elf/tst-tlsmod11.c: Likewise.
45170         * elf/tst-tlsmod12.c: Likewise.
45171         * elf/tst-tlsmod13.c: Likewise.
45172         * elf/tst-tlsmod13a.c: Likewise.
45173         * elf/tst-tlsmod14a.c: Likewise.
45174         * elf/tst-tlsmod15b.c: Likewise.
45175         * elf/tst-tlsmod16a.c: Likewise.
45176         * elf/tst-tlsmod16b.c: Likewise.
45177         * elf/tst-tlsmod7.c: Likewise.
45178         * elf/tst-tlsmod8.c: Likewise.
45179         * elf/tst-tlsmod9.c: Likewise.
45180         * gmon/gmon.c: Likewise.
45181         * grp/fgetgrent_r.c: Likewise.
45182         * grp/putgrent.c: Likewise.
45183         * hurd/fopenport.c: Likewise.
45184         * include/libc-symbols.h: Likewise.
45185         * include/tls.h: Likewise.
45186         * intl/gettextP.h: Likewise.
45187         * intl/loadinfo.h: Likewise.
45188         * locale/global-locale.c: Likewise.
45189         * locale/localeinfo.h: Likewise.
45190         * mach/devstream.c: Likewise.
45191         * malloc/arena.c: Likewise.
45192         * malloc/set-freeres.c: Likewise.
45193         * misc/err.c: Likewise.
45194         * misc/getttyent.c: Likewise.
45195         * misc/mntent_r.c: Likewise.
45196         * posix/getopt.c: Likewise.
45197         * posix/wordexp.c: Likewise.
45198         * pwd/fgetpwent_r.c: Likewise.
45199         * resolv/Versions: Likewise.
45200         * resolv/res_hconf.c: Likewise.
45201         * shadow/fgetspent_r.c: Likewise.
45202         * shadow/putspent.c: Likewise.
45203         * stdio-common/printf_fphex.c: Likewise.
45204         * stdio-common/tmpfile.c: Likewise.
45205         * stdlib/abort.c: Likewise.
45206         * stdlib/fmtmsg.c: Likewise.
45207         * sunrpc/auth_unix.c: Likewise.
45208         * sunrpc/clnt_perr.c: Likewise.
45209         * sunrpc/clnt_tcp.c: Likewise.
45210         * sunrpc/clnt_udp.c: Likewise.
45211         * sunrpc/clnt_unix.c: Likewise.
45212         * sunrpc/openchild.c: Likewise.
45213         * sunrpc/svc_simple.c: Likewise.
45214         * sunrpc/svc_tcp.c: Likewise.
45215         * sunrpc/svc_udp.c: Likewise.
45216         * sunrpc/svc_unix.c: Likewise.
45217         * sunrpc/xdr.c: Likewise.
45218         * sunrpc/xdr_array.c: Likewise.
45219         * sunrpc/xdr_rec.c: Likewise.
45220         * sunrpc/xdr_ref.c: Likewise.
45221         * sunrpc/xdr_stdio.c: Likewise.
45222
45223 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45224
45225         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45226
45227 2011-07-03  Andreas Jaeger  <aj@suse.de>
45228
45229         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45230         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45231         regenerate with gen-libm-tests.pl.
45232
45233 2010-05-12  Petr Baudis  <pasky@suse.cz>
45234
45235         [BZ #11589]
45236         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45237         around j0() zero points by switching to j1().
45238         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45239         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45240         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45241         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45242
45243 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45244
45245         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45246         instead of 0.
45247         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45248         instead of 0.
45249         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45250         Patch in part by Pavel Roskin <proski@gnu.org>.
45251
45252         [BZ #13138]
45253         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45254         realloc.
45255         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
45256         Free memory block if necessary.
45257
45258         [BZ #12847]
45259         * libio/genops.c (INTDEF): For string streams the _lock pointer can
45260         be NULL.  Don't lock in this case.
45261
45262 2011-09-09  Roland McGrath  <roland@hack.frob.com>
45263
45264         * elf/elf.h (ELFOSABI_GNU): New macro.
45265         (ELFOSABI_LINUX): Define to that.
45266
45267 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
45268
45269         * string/strncat.c (strncat): Undef the symbol in case it has been
45270         defined in bits/string.h.
45271
45272 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45273
45274         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45275
45276         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45277         link map.
45278
45279 2011-08-17  Andreas Jaeger  <aj@suse.de>
45280
45281         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45282
45283 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45284             Ian Lance Taylor  <iant@google.com>
45285
45286         * math/libm-test.inc (lround_test): New testcase.
45287         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45288
45289 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
45290
45291         * Makefile: Remove support for automatic cvs check-ins.
45292         * Makerules: Likewise.
45293         * config.make.in: Likewise.
45294         * configure.in: Likewise.
45295         * intl/Makefile: Likewise.
45296         * locale/Makefile: Likewise.
45297         * po/Makefile: Likewise.
45298         * posix/Makefile: Likewise.
45299         * sysdeps/gnu/Makefile: Likewise.
45300         * sysdeps/mach/hurd/Makefile: Likewise.
45301         * sysdeps/sparc/sparc32/Makefile: Likewise.
45302
45303         [BZ #13118]
45304         * posix/Makefile (bug-regex32-ENV): Define.
45305         Patch by John Stanley <jpsinthemix@verizon.net>.
45306
45307         * misc/Makefile (headers): Add bits/select2.h.
45308         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45309         * misc/bits/select2.h: New file.
45310         * include/bits/select2.h: New file.
45311         * debug/Makefile (routines): Add fdelt_chk.
45312         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45313         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45314         FD_ISSET.
45315         * debug/fdelt_chk.c: New file.
45316
45317         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
45318         * wcsmbs/test-wmemcmp.c: Likewise.
45319         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45320         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45321
45322 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45323
45324         * string/Makefile (strop-tests): Add memcmp.
45325         * string/test-wmemcmp.c: New file.
45326         * string/test-memcmp.c: Add wmemcmp support.
45327
45328 2011-09-08  Roland McGrath  <roland@hack.frob.com>
45329
45330         [BZ #13153]
45331         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45332         2011-07-19 change.
45333
45334         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45335         garbage value in a __mach_port_mod_refs call in the cases of the
45336         task-self and thread-self ports.
45337
45338 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45339
45340         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45341
45342 2011-09-08  Andreas Schwab  <schwab@redhat.com>
45343
45344         * elf/dl-load.c (lose): Check for non-null L.
45345
45346 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45347
45348         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45349
45350         * elf/dl-libc.c (dlerror_run): Pass back error code from
45351         dl_catch_error.
45352
45353         [BZ #13123]
45354         * elf/dl-load.c (lose): Free l_origin if it is valid.
45355
45356         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45357         names.
45358         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45359         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45360         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45361         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45362         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45363         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45364
45365 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45366
45367         * sysdeps/powerpc/fpu/e_hypot.c: New file.
45368         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45369         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45370         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45371         * sysdeps/powerpc/fpu/k_cosf.c: New file.
45372         * sysdeps/powerpc/fpu/k_sinf.c: New file.
45373         * sysdeps/powerpc/fpu/s_cosf.c: New file.
45374         * sysdeps/powerpc/fpu/s_sinf.c: New file.
45375         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45376         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45377
45378 2011-08-15  Alan Modra  <amodra@gmail.com>
45379
45380         [BZ #13092]
45381         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45382         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45383         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
45384         ppc_mcount to static-only-routines.
45385         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45386         __mcount_internal.
45387         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45388         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
45389
45390 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
45391
45392         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45393         for finite and infinity parameters.
45394
45395 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
45396
45397         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45398         and add nop instructions for throughput optimization.
45399         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45400
45401 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
45402
45403         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45404         aligned copy for power7 with vector-scalar instructions.
45405         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45406
45407 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
45408
45409         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45410         AVX check.
45411
45412 2011-09-07  Andreas Schwab  <schwab@redhat.com>
45413
45414         [BZ #13144]
45415         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45416         last change.
45417
45418 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45419
45420         * sysdeps/unix/sysv/linux/x86_64/init-first.c
45421         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45422         syscall wrapper around clock_gettime in __vdso_clock_gettime.
45423         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45424         clock_gettime.
45425
45426 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45427
45428         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45429         Forgot to demangle the pointer.
45430
45431         * sysdeps/i386/sysdep.h: Define atom_text_section.
45432         * sysdeps/x86_64/sysdep.h: Likewise.
45433         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45434         section with atom_text_section.
45435         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45436         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45437         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45438         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45439         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45440
45441         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45442         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45443         already be defined.  Change to take two parameters and don't assign
45444         result to variable.  Adjust all users.
45445         Define INTERNAL_GETTIME if not already defined.
45446         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45447         call.
45448         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45449         HAVE_CLOCK_GETTIME_VSYSCALL.
45450         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45451
45452         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45453         gettimeofday vsyscall, just use time.
45454
45455 2011-09-06  Andreas Schwab  <schwab@redhat.com>
45456
45457         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45458         <errno.h>.
45459
45460 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45461
45462         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45463         syscall on x86-64.
45464         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45465         syscall.
45466         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45467         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45468         syscall if possible.
45469
45470 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45471
45472         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45473         e_ident.  Don't pass to find_mapsXX.
45474         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45475
45476 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45477
45478         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45479         strchr-sse2-no-bsf strrchr-sse2-no-bsf
45480         * sysdeps/x86_64/multiarch/strchr.S: Update.
45481         Check bit_slow_BSF bit.
45482         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45483         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45484         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45485
45486 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45487
45488         [BZ #13134]
45489         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45490         before glibc 2.15.
45491         (tryshell): Define.
45492         (__spawni): Change last parameter to be flag.  Test
45493         SPAWN_XFLAGS_USE_PATH flag to use path or not.
45494         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45495         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45496         * posix/spawni.c: Likewise.
45497         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45498         * posix/spawnp.c: Likewise.  Change normal version to use
45499         SPAWN_XFLAGS_USE_PATH.
45500         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45501         SPAWN_XFLAGS_TRY_SHELL.
45502
45503         [BZ #13150]
45504         * posix/glob.h: Remove gcc 1.x support.
45505
45506         [BZ #13068]
45507         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45508
45509 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45510
45511         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45512         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45513         strrchr-sse2-bsf
45514         * sysdeps/i386/i686/multiarch/strchr.S: New file.
45515         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45516         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45517         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45518         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45519         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45520
45521 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45522
45523         * sysdeps/x86_64/wcscmp.S: New file.
45524
45525         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45526         wcscmp-c wcscmp-sse2
45527         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45528         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45529         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45530         * wcsmbs/wcscmp.c: Allow renaming.
45531
45532 2011-09-05  David S. Miller  <davem@davemloft.net>
45533
45534         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45535         stack slot, rather than the struct return pointer slot.
45536         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45537         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45538         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45539         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45540
45541 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45542
45543         * po/ja.po: Update from translation team.
45544
45545         [BZ #13144]
45546         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45547         kernel in 64-bit binaries.
45548
45549 2011-09-01  David S. Miller  <davem@davemloft.net>
45550
45551         * elf/elf.h (HWCAP_SPARC_*): Move to..
45552         * sysdeps/sparc/sysdep.h: this new file and add new values.
45553         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45554         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45555         _DL_HWCAP_COUNT to 24.
45556         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45557         entries.
45558         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45559         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45560         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45561         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45562         instead of magic constants.
45563         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45564
45565 2011-08-31  David S. Miller  <davem@davemloft.net>
45566
45567         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45568         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45569         Reimplement to do errno handling inline.
45570         (SYSCALL_ERROR_HANDLER): New macro.
45571         (__SYSCALL_STRING): Do not do errno handling in asm.
45572         (__CLONE_SYSCALL_STRING): Delete.
45573         (__INTERNAL_SYSCALL_STRING): Delete.
45574         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45575         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45576         (PSEUDO): Reimplement to do errno handling inline.
45577         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45578         (SYSCALL_ERROR_HANDLER): New macro.
45579         (__SYSCALL_STRING): Do not do errno handling in asm.
45580         (__CLONE_SYSCALL_STRING): Delete.
45581         (__INTERNAL_SYSCALL_STRING): Delete.
45582         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45583         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45584         i386.
45585         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45586         (inline_syscall*): Add 'err' argument.
45587         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45588         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45589         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45590         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45591
45592         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45593         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45594
45595 2011-08-30  Andreas Schwab  <schwab@redhat.com>
45596
45597         * elf/rtld.c (dl_main): Relocate objects in dependency order.
45598
45599 2011-08-29  Jiri Olsa <jolsa@redhat.com>
45600
45601         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45602         directive.
45603
45604 2011-08-24  David S. Miller  <davem@davemloft.net>
45605
45606         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45607
45608 2011-08-24  Andreas Schwab  <schwab@redhat.com>
45609
45610         * elf/Makefile: Add rules to build and run unload8 test.
45611         * elf/unload8.c: New file.
45612         * elf/unload8mod1.c: New file.
45613         * elf/unload8mod1x.c: New file.
45614         * elf/unload8mod2.c: New file.
45615         * elf/unload8mod3.c: New file.
45616
45617         * elf/dl-close.c (_dl_close_worker): Reset private search list if
45618         it wasn't used.
45619
45620 2011-08-23  David S. Miller  <davem@davemloft.net>
45621
45622         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45623         subtract stack bias.
45624         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45625         %sp not %fp in calculations.
45626         (_JMPBUF_UNWINDS_ADJ): Likewise.
45627
45628         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45629         (aio_suspend): Call it to force an exception region around the
45630         AIO_MISC_WAIT() invocation.
45631
45632 2011-08-23  Andreas Schwab  <schwab@redhat.com>
45633
45634         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45635         backslash.
45636
45637 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
45638
45639         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45640         protection macro.
45641         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45642         and <dl-machine.h>.
45643         (Elf64_FuncDesc): Remove.
45644
45645 2011-08-22  David S. Miller  <davem@davemloft.net>
45646
45647         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45648         sigaltstack check, add missing cfi directives.
45649         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45650         missing cfi directives, and sigaltstack handling.
45651
45652 2011-08-16  Andreas Schwab  <schwab@redhat.com>
45653
45654         [BZ #11724]
45655         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45656         object is seen twice.
45657         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45658
45659         * elf/Makefile (distribute): Add tst-initorder2.c.
45660         (tests): Add tst-initorder2.
45661         (modules-names): Add tst-initorder2a tst-initorder2b
45662         tst-initorder2c tst-initorder2d.  Add rules to build them.
45663         ($(objpfx)tst-initorder2.out): New rule.
45664         * elf/tst-initorder2.c: New file.
45665         * elf/tst-initorder2.exp: New file.
45666
45667 2011-08-22  Andreas Schwab  <schwab@redhat.com>
45668
45669         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45670
45671         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45672         dependencies back to end of function.
45673
45674         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45675         $(elfobjdir)/ld.so.
45676
45677 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
45678
45679         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45680         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45681         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45682         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45683         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45684         of __vdso_gettimeofday.
45685         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45686         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
45687         attribute_hidden.
45688         (_libc_vdso_platform_setup): Remove initialization of
45689         __vdso_gettimeofday and __vdso_time.
45690
45691 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
45692
45693         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45694         and fgetc_unlocked.
45695         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45696         getc_unlocked.
45697
45698         * elf/dl-open.c (add_to_global): Report additions to the global scope
45699         for LD_DEBUG=scopes.
45700         (dl_open_worker): Also print scope of newly loaded dependencies.
45701         (_dl_show_scope): Indicate if there is no scope.
45702
45703         [BZ #13114]
45704         * stdio-common/Makefile (tests): Add bug24.
45705         * stdio-common/bug24.c: New file.
45706
45707 2011-08-19  Andreas Jaeger  <aj@suse.de>
45708
45709         [BZ #13114]
45710         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45711         non-existant file when using close-on-exec mode.
45712
45713 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
45714
45715         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45716         the very first instruction.
45717
45718         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45719         the CFI state in the end.
45720         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45721         inclusion of dl-trampoline.h.
45722         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45723
45724 2011-08-19  Andreas Schwab  <schwab@redhat.com>
45725
45726         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45727         expectations for long double.
45728
45729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45730         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45731
45732 2011-08-14  David S. Miller  <davem@davemloft.net>
45733
45734         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45735         artificual limit depends upon the system page size.
45736
45737 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
45738
45739         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45740         * resolv/Makefile: Define CFLAGS-libresolv.
45741
45742 2011-08-17  Andreas Schwab  <schwab@redhat.com>
45743
45744         * nss/makedb.c (compute_tables): Make variables used in nested
45745         function static.
45746
45747 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
45748
45749         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45750         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45751         if buffer was too small.
45752
45753         * elf/pldd.c (main): Attach to all threads in the process.
45754         Rewrite /proc handling to use *at functions.
45755
45756 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
45757
45758         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45759         specifies first scope to show.
45760         (dl_open_worker): Update callers.  Move printing scope of new
45761         object to before the relocation.
45762         * elf/rtld.c (dl_main): Update _dl_show_scope call.
45763         * sysdeps/generic/ldsodefs.h: Update declaration.
45764
45765         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45766         string for the scope number.
45767
45768 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
45769
45770         * nscd/servicescache.c (cache_addserv): Make sure written is always
45771         initialized.
45772
45773 2011-08-14  Roland McGrath  <roland@hack.frob.com>
45774
45775         * sysdeps/i386/i486/bits/atomic.h
45776         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45777         statement expression, so as to suppress "set but not used" warning.
45778         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45779
45780         * string/strncat.c (STRNCAT): Use prototype definition.
45781
45782         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45783         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45784         -Iprograms here.
45785         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45786         (localedef-modules): Add localedef.
45787         (locale-modules): Add locale.
45788
45789         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45790         * elf/rtld.c (dl_main): Invert order of assignment in last change,
45791         to avoid a warning.
45792
45793 2011-08-14  David S. Miller  <davem@davemloft.net>
45794
45795         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45796         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45797
45798 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
45799
45800         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
45801         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45802         * elf/rtld.c (dl_main): Set l_name of vDSO.
45803         Call _dl_show_scope when DL_DEBUG_SCOPES.
45804         (process_dl_debug): Recognize scopes flag and also set it for all.
45805         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45806         Declare _dl_show_scope.
45807
45808         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45809         (do_dlopen): Pass caller_dlopen to dl_open.
45810         (__libc_dlopen_mode): Initialize caller_dlopen.
45811
45812         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45813         of libc.  Make tolower call locale-independent.  Optimize a bit by
45814         using isdigit instead of isalnum.
45815         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45816
45817 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
45818
45819         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45820         was a dependency or dynamically loaded.
45821
45822 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
45823
45824         * intl/l10nflist.c: Allow architecture-specific pop function.
45825         * sysdeps/x86_64/l10nflist.c: New file.
45826
45827         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45828         classification.
45829
45830 2011-08-10  Andreas Schwab  <schwab@redhat.com>
45831
45832         * include/dirent.h: Add libc_hidden_proto for scandirat and
45833         scandirat64.  Don't declare __scandirat64.
45834         * dirent/scandirat.c: Add libc_hidden_def.
45835         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45836         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45837
45838 2011-08-10  David S. Miller  <davem@davemloft.net>
45839
45840         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45841         enum.
45842         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45843         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45844         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45845
45846 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
45847
45848         * Versions.def [libc]: Add GLIBC_2.15.
45849         * dirent/Makefile (routines): Add scandirat and scandirat64.
45850         * dirent/Versions [libc]: Export scandirat and scandirat64 for
45851         GLIBC_2.15.
45852         * dirent/dirent.h: Declare scandirat and scandirat64.
45853         * dirent/scandirat.c: New file.
45854         * dirent/scandirat64.c: New file.
45855         * sysdeps/wordsize-64/scandirat.c: New file.
45856         * sysdeps/wordsize-64/scandirat64.c: New file.
45857         * dirent/opendir.c: Define opendirat.
45858         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
45859         using scandirat.
45860         * dirent/scandir64.c: Adjust for scandir.c change.
45861         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
45862         __scandirat64, and __scandir_cancel_handler.
45863         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
45864         additional parameter and use openat instead of open (outside of ld.so).
45865         Add new __opendir as wrapper around __opendirat.
45866         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45867         here without requiring old scandirat implementation.
45868
45869 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
45870
45871         * dirent/scandir.c (cancel_handler): Renamed to
45872         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
45873         defined.  Adjust users.
45874         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45875         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45876
45877 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
45878
45879         * string/test-string.h (IMPL): Use __STRING to expand name and then
45880         stringify it.
45881
45882         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
45883         of cleanups.
45884
45885 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45886
45887         * string/Makefile: Update.
45888         (strop-tests): Append strncat.
45889         * string/test-wcscmp.c: New file.
45890         New comprehensive test for wcscmp.
45891         * string/test-strcmp.c: Update.
45892         (WIDE): New define.
45893
45894 2011-07-22  Andreas Schwab  <schwab@redhat.com>
45895
45896         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45897         line.
45898
45899 2011-07-26  Andreas Schwab  <schwab@redhat.com>
45900
45901         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45902         encoding to ACE if AI_IDN.
45903
45904 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
45905
45906         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45907         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45908
45909 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45910
45911         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45912         Fix overflow bug in strncat.
45913         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45914
45915         * string/test-strncat.c: Update.
45916         Add new tests for checking overflow bugs.
45917
45918 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45919
45920         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45921         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45922         * sysdeps/i386/i686/multiarch/strcat.S: New file.
45923         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45924         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45925         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45926         * sysdeps/i386/i686/multiarch/strncat.S: New file.
45927         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45928         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45929
45930         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45931         (USE_AS_STRCAT): Define.
45932         Add strcat and strncat support.
45933         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45934
45935 2011-07-25  Andreas Schwab  <schwab@redhat.com>
45936
45937         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45938         __n bigger than INT_MAX+1.
45939         (__strncmp_g): Likewise.
45940
45941 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
45942
45943         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45944         * libio/stido.h: Likewise.
45945
45946         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45947         (AF_NFC): Define.
45948         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45949         (AF_NFC): Define.
45950
45951         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45952         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45953         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45954         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45955         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45956
45957         [BZ #13021]
45958         * scripts/test-installation.pl: Don't expect libnss_test1 to be
45959         installed.
45960
45961         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45962         typo.
45963         (_dl_x86_64_save_sse): Likewise.
45964
45965 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
45966
45967         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45968         OSXSAVE.
45969         (_dl_x86_64_save_sse): Likewise.
45970
45971         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45972
45973         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45974
45975 2011-07-21  Andreas Schwab  <schwab@redhat.com>
45976
45977         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45978         change.
45979         (_dl_x86_64_save_sse): Use correct AVX check.
45980
45981 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45982
45983         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45984         bug in strncpy/strncat.
45985         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45986
45987 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
45988
45989         * string/tester.c (test_strcat): Add tests for different alignments
45990         of source and destination.
45991         (test_strncat): Likewise.
45992
45993 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
45994
45995         [BZ #12852]
45996         * posix/glob.c (glob): Check passed in values before using them in
45997         expressions to avoid some overflows.
45998         (glob_in_dir): Likewise.
45999
46000         [BZ #13007]
46001         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46002         check for AVX enablement so that we don't crash with old kernels and
46003         new hardware.
46004         * elf/tst-audit4.c: Add same checks here.
46005         * elf/tst-audit6.c: Likewise.
46006
46007         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46008
46009 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
46010
46011         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46012
46013 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46014
46015         * po/cs.po: Update from translation team.
46016         * po/bg.po: Likewise.
46017
46018 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
46019
46020         * misc/sys/cdefs.h: Add support for const attribute.
46021         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46022         to gnu_dev_{major,minor,makedev} functions.
46023
46024 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
46025
46026         * intl/dcigettext.c (get_output_charset): Add missing bracket.
46027
46028 2011-07-20  Andreas Schwab  <schwab@redhat.com>
46029
46030         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46031         strlen results.
46032
46033 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46034
46035         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46036         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46037         register in order to avoid conflicts with the soft frame pointer
46038         being held in r11 when necessary.
46039         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46040         (INTERNAL_VSYSCALL_NCS): Likewise.
46041
46042 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
46043
46044         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46045         * elf/dl-fini.c (_dl_fini): Adjust caller.
46046         * elf/dl-close.c (_dl_close_worker): Likewise.
46047         * sysdeps/generic/ldsodefs.h: Adjust declaration.
46048
46049 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46050
46051         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46052         "aux_cache->nlibs < 0".
46053
46054         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46055         in the reload-count case.
46056
46057 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46058
46059         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46060         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46061         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46062         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46063         * sysdeps/x86_64/multiarch/strcat.S: New file.
46064         * sysdeps/x86_64/multiarch/strncat.S: New file.
46065         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46066         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46067         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46068         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46069         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46070         (USE_AS_STRCAT): Define.
46071         Add strcat and strncat support.
46072         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46073         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46074         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46075         * string/strncat.c: Update.
46076         (USE_AS_STRNCAT): Define.
46077         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46078         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46079         and i7.
46080         * sysdeps/x86_64/multiarch/init-arch.h
46081         (bit_Prefer_PMINUB_for_stringop): New.
46082         (index_Prefer_PMINUB_for_stringop): Likewise.
46083         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46084         bit_Prefer_PMINUB_for_stringop.
46085
46086 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46087
46088         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46089         buffer64.
46090         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46091         of casting of buffer.
46092         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46093         buffer32 and buffer64.
46094         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46095         writes instead of casting of buffer.
46096         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46097         buffer32.
46098         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46099         casting of buffer.
46100
46101 2011-07-19  Andreas Schwab  <schwab@redhat.com>
46102
46103         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46104
46105 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46106
46107         * nscd/nscd.c (termination_handler): Don't do anything for a database
46108         if it has not yet been initialized.
46109
46110 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46111
46112         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46113
46114 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46115
46116         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46117
46118 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46119
46120         * po/nl.po: Update from translation team.
46121         * po/sv.po: Likewise.
46122
46123 2011-07-16  Roland McGrath  <roland@hack.frob.com>
46124
46125         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46126         now disallowed by GCC.
46127
46128         * configure.in (use-default-link): Default to yes if a test -shared
46129         link meets our qualifications.
46130         * configure: Regenerated.
46131
46132         * config.make.in (output-format): New variable.
46133         * configure.in: Check for ld --print-output-format support.
46134         * configure: Regenerated.
46135         * Makerules ($(common-objpfx)format.lds)
46136         [$(output-format) != unknown]: Just use $(output-format),
46137         instead of the linker-script munging.
46138
46139 2011-07-14  Roland McGrath  <roland@hack.frob.com>
46140
46141         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46142         of $(common-objpfx)shlib.lds.
46143         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46144
46145         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46146         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46147
46148         * configure.in (-z relro check): Adjust test code to add a large
46149         writable data section after it.
46150         * configure: Regenerated.
46151
46152 2011-07-11  Roland McGrath  <roland@hack.frob.com>
46153
46154         * configure.in (-z relro check): Fix test code to make the variable
46155         truly const.
46156         * configure: Regenerated.
46157
46158 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
46159
46160         * nscd/nscd.h (struct traced_file): Define.
46161         (struct database_dyn): Remove inotify_descr, reset_res, and filename
46162         elements.  Add traced_files.
46163         (inotify_fd): Declare.
46164         (register_traced_file): Declare.
46165         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46166         (inotify_fd): Export.
46167         (resolv_conf_descr): Remove.
46168         (nscd_init): Move inotify descriptor creation to main.
46169         Don't register files for notification here.
46170         (register_traced_file): New function.
46171         (invalidate_cache): Don't use reset_res to determine whether to call
46172         res_init, go through the list of registered files.
46173         (main_loop_poll): The inotify descriptors are now stored in the
46174         structures for the traced files.
46175         (main_loop_epoll): Likewise
46176         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
46177         to __nss_disable_nscd.
46178         * nscd/cache.c (prune_cache): There is no single inotify descriptor
46179         for a database anymore.  Check the records for all the registered
46180         files instead.
46181         * nss/Makefile (libnss_files-routines): Add files-init.
46182         (libnss_db-routines): Add db-init.
46183         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46184         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46185         * nss/nss_db/db-init.c: New file.
46186         * nss/nss_files/files-init.c: New file.
46187         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
46188         __nss_lookup_function.
46189         (__nss_lookup_function): Call nss_load_library.
46190         (nss_load_all_libraries): New function.
46191         (__nss_disable_nscd): Take parameter with callback function for files
46192         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
46193         used for the cached services.
46194         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46195         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46196         options for features to all the files in nscd.
46197
46198         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46199
46200 2011-07-10  Roland McGrath  <roland@hack.frob.com>
46201
46202         * csu/elf-init.c (__libc_csu_init): Comment typo.
46203
46204 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
46205
46206         * po/pl.po: Update from translation team.
46207         * po/ja.po: Likewise.
46208         * po/ru.po: Likewise.
46209         * po/ko.po: Likewise.
46210         * po/fr.po: Likewise.
46211
46212 2011-07-09  Roland McGrath  <roland@hack.frob.com>
46213
46214         * configure.in (.ctors/.dtors header and trailer check):
46215         Use an empirical test on a built program.
46216         * configure: Regenerated.
46217
46218         * configure.in (-z relro check): Use an empirical test on a built DSO.
46219         Detect, but do not require, on ia64.
46220         * configure: Regenerated.
46221
46222         * configure.in (READELF): Find it with AC_CHECK_TOOL.
46223         Update tests that use readelf to use $READELF instead.
46224         * configure: Regenerated.
46225
46226 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
46227
46228         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46229         if the result is not used.
46230
46231 2011-07-05  Andreas Jaeger  <aj@suse.de>
46232
46233         [BZ#9696]
46234         * stdlib/tst-strtod.c: Add testcase.
46235
46236 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
46237
46238         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46239         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46240         The latter has a higher limit.  Take additional parameter to pass to
46241         the new function.
46242         (__pathconf): Pass file to __statfs_link_max.
46243         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46244         __statfs_link_max.
46245         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46246         __statfs_link_max.
46247
46248         [BZ #12868]
46249         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46250         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46251         Handle Lustre.
46252         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46253         (__statfs_filesize_max): Likewise.
46254         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46255
46256 2011-07-05  Andreas Jaeger  <aj@suse.de>
46257
46258         * resolv/res_comp.c (dn_skipname): Remove unused variable.
46259
46260 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
46261
46262         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46263         `status' variable.
46264         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46265         Likewise.
46266
46267 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
46268
46269         * Makefile (strop-tests): Add strncat.
46270         * string/test-strncat.c: New file.
46271
46272 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
46273
46274         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46275
46276 2011-06-21  Andreas Jaeger  <aj@suse.de>
46277
46278         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46279         Copy rule from iconvdata/Makefile.
46280
46281 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46282
46283         [BZ #12922]
46284         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46285         but no long options are defined, just return 'W'.
46286
46287 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
46288
46289         [BZ #9696]
46290         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46291
46292 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46293
46294         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46295         netgroups to read.
46296         (innetgr): Likewise.
46297
46298 2011-07-05  Roland McGrath  <roland@hack.frob.com>
46299
46300         * config.make.in (install_root): Default to $(DESTDIR).
46301
46302 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
46303
46304         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46305
46306 2011-07-02  Roland McGrath  <roland@hack.frob.com>
46307
46308         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46309
46310         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46311         containing directory rather than embedding absolute directory names.
46312
46313         * scripts/check-local-headers.sh: Rewritten using awk.
46314         Match by word, not by line.  Print error messages for matches.
46315         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46316
46317         * Makerules [shlib-lds-flags empty]:
46318         ($(common-objpfx)libc_pic.opts): New target.
46319         ($(common-objpfx)libc_pic.os.clean): New target.
46320         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46321
46322         * config.make.in (OBJCOPY): New variable.
46323         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46324         * configure: Regenerated.
46325
46326         * config.make.in (use-default-link): New variable.
46327         * configure.in (use_default_link): Grok --with-default-link to set it.
46328         * configure: Regenerated.
46329         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46330         (shlib-lds, shlib-lds-flags): Define to empty.
46331
46332         * Makerules (shlib-lds): New variable.
46333         (shlib-lds-flags): New variable.
46334         (build-shlib, build-moduile, build-module-asneeded): Use it.
46335         ($(common-objpfx)libc.so): Use $(shlib-lds).
46336         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46337         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46338
46339         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46340         DT_FLAGS/DT_FLAGS_1 with zero flags.
46341
46342         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46343         linker script munging.
46344
46345 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
46346
46347         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46348         as 128-bit value.
46349         * crypt/sha512.c (sha512_process_block): Perform total addition using
46350         128-bit if possible.
46351         (__sha512_finish_ctx): Likewise.
46352         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46353         as 64-bit value.
46354         * crypt/sha256.c (SWAP64): Define.
46355         (sha256_process_block): Perform total addition using 64-bit if
46356         possible.
46357         (__sha256_finish_ctx): Likewise.
46358
46359 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
46360
46361         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
46362         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46363         * nscd/hstcache.c (cache_addhst): Likewise.
46364         * nscd/grpcache.c (cache_addgr): Likewise.
46365         * nscd/aicache.c (addhstaiX): Likewise
46366         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46367
46368 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
46369
46370         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46371         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46372         * nscd/hstcache.c (cache_addhst): Likewise.
46373         * nscd/grpcache.c (cache_addgr): Likewise.
46374         * nscd/aicache.c (addhstaiX): Likewise
46375
46376 2011-07-01  Andreas Schwab  <schwab@redhat.com>
46377
46378         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46379         domain only when needed.
46380
46381 2011-06-30  Andreas Schwab  <schwab@redhat.com>
46382
46383         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46384         is always restored.
46385
46386 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
46387
46388         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46389         are re-adding the entry.
46390         * nscd/servicescache.c (cache_addserv): Likewise.
46391
46392 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
46393
46394         * sysdeps/generic/dl-irel.h: fix protection against multiple
46395         inclusions.
46396         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46397
46398 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
46399
46400         [BZ #12935]
46401         * malloc/memusage.sh: Fix quoting in message.
46402         * debug/xtrace.sh: Likewise.
46403
46404         * configure.in: Remove support for --experimental-malloc option, make
46405         it the default.
46406         * config.make.in: Likewise.
46407         * malloc/Makefile: Likewise.
46408
46409 2011-06-27  Andreas Schwab  <schwab@redhat.com>
46410
46411         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46412         two-byte characters.
46413
46414 2011-06-27  Roland McGrath  <roland@hack.frob.com>
46415
46416         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46417         AC_CACHE_CHECK invocation.
46418         * configure: Regenerated.
46419
46420         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46421
46422 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
46423
46424         [BZ #12350]
46425         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
46426         bit from old_res_options.
46427
46428         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46429
46430         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46431         value type for setfct.
46432
46433 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
46434
46435         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46436         __gettimeofday instead of gettimeofday.
46437
46438 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
46439
46440         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46441
46442 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
46443
46444         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46445
46446         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46447         info.
46448
46449 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
46450
46451         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46452         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46453         strcpy-sse2-unaligned strncpy-sse2-unaligned
46454         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46455         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46456         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46457         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46458         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46459         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46460         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46461         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46462         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46463         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46464         (STRCPY): Support SSE2 and SSSE3 versions.
46465
46466 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
46467
46468         [BZ #12874]
46469         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46470         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46471         kernels which artificially limit size of requests.
46472
46473 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
46474
46475         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46476         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46477         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46478         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46479         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46480         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46481         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46482         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46483         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46484         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46485         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46486         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46487         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46488         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46489         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46490         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46491         Enable unaligned load optimization for Intel Core i3, i5 and i7
46492         processors.
46493         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46494         Define.
46495         (index_Fast_Unaligned_Load): Define.
46496         (HAS_FAST_UNALIGNED_LOAD): Define.
46497
46498 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
46499
46500         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46501
46502 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
46503
46504         [BZ #12907]
46505         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46506         until it is clear that the information is realy needed.
46507         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46508
46509 2011-06-22  Andreas Schwab  <schwab@redhat.com>
46510
46511         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46512
46513 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
46514
46515         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46516         /sys/devices/system/cpu/online if it is usable.
46517
46518         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46519         reading the information from the /proc filesystem to once a second.
46520
46521 2011-06-21  Andreas Jaeger  <aj@suse.de>
46522
46523         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46524         NULL after inclusion of kernel headers.
46525
46526 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
46527
46528         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46529         calls to internal_setent.
46530
46531         [BZ #12885]
46532         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46533         addresses using gethostbyname4_r ignore IPv4 addresses.
46534
46535         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46536         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
46537
46538         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46539
46540 2011-06-20  David S. Miller  <davem@davemloft.net>
46541
46542         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46543         inclusions.
46544         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46545
46546         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46547         (elf_irel): Use it.
46548         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46549         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46550         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46551         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46552         * sysdeps/x86_64/dl-irel.h: Likewise.
46553
46554         * elf/dl-runtime.c: Use elf_ifunc_invoke.
46555         * elf/dl-sym.c: Likewise.
46556
46557 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
46558
46559         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
46560         need to dereference resplen2.
46561
46562 2011-06-14  Andreas Schwab  <schwab@redhat.com>
46563
46564         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46565
46566 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
46567
46568         * Makeconfig: Define vardbdir and inst_vardbdir.
46569         * nss/Makefile: Add rules to install db-Makefile.
46570
46571         * nss/nss_db/db-XXX.c: Cleanup.
46572
46573         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46574         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46575         GLIBC_PRIVATE.
46576         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46577         * nss/makedb.c: Implement -g option to specify that value strings
46578         are generated and should not be added to table iterated over for
46579         get*ent calls.
46580         * nss/nss_db/db-initgroups.c: New file.
46581
46582         * nss/getent.c: Add support for initgroups lookups through getgrouplist
46583         interface.
46584
46585         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46586         (internal_getgrouplist): Adjust to name change.
46587         Update use_initgroups_entry if this is not the first call.
46588         * nss/databases.def: Add initgroups entry.
46589
46590         * nss/makedb.c (compute_tables): Check result of multiple hash table
46591         sizes to minimize maximum chain length.
46592
46593 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
46594
46595         * Versions.def: Add entry for libnss_db.
46596         * shlib-versions: Likewise.
46597         * nss/Makefile: Add rules to build libnss_db.
46598         * nss/Versions: Add libnss_db information.  Organize libnss_files
46599         entries better.
46600         * nss/db-Makefile: Add gshadow support.  Change rules for the new
46601         makedb progra.  Some minor improvements to generate smaller files.
46602         * nss/nss_db/nss_db.h: Move NSS database header data structures to
46603         here from...
46604         * nss/makedb.c: ...here.
46605         Improve database format to be smaller and require less memory at
46606         runtime.
46607         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
46608         db anymore.
46609         * nss/nss_db/db-netgrp.c: Likewise.
46610         * nss/nss_db/db-open.c: Likewise.
46611         * nss/nss_files/flies-XXX.x: Adjust comments.
46612         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46613         * nss/nss_files/files-grp.c: Likewise.
46614         * nss/nss_files/files-hosts.c: Likewise.
46615         * nss/nss_files/files-network.c: Likewise.
46616         * nss/nss_files/files-proto.c: Likewise.
46617         * nss/nss_files/files-pwd.c: Likewise.
46618         * nss/nss_files/files-rpc.c: Likewise.
46619         * nss/nss_files/files-service.c: Likewise.
46620         * nss/nss_files/files-sgrp.c: Likewise.
46621         * nss/nss_files/files-spwd.c: Likewise.
46622         * nss/nss_db/db-alias.c: Removed.
46623         * nss/nss_db/dummy-db.h: Removed.
46624
46625 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
46626
46627         * nss/makedb.c: Rewritten to not use database library.
46628         * nss/Makefile: Update to build new makedb program.
46629
46630 2011-06-14  Andreas Jaeger  <aj@suse.de>
46631
46632         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46633         memset declaration.
46634
46635 2011-06-10  Andreas Schwab  <schwab@redhat.com>
46636
46637         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46638         tmpbuf.
46639
46640 2011-06-10  Roland McGrath  <roland@hack.frob.com>
46641
46642         * Makerules (shlib.lds): Fail if the linker script comes out empty.
46643         * elf/Makefile ($(objpfx)ld.so): Likewise.
46644
46645         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46646         Don't list ld.so twice in dependencies.
46647
46648         * posix/bug-regex31.c: Include <stdlib.h>.
46649
46650         * nscd/hstcache.c (cache_addhst): Remove unused variable.
46651
46652         * nis/nss_compat/compat-spwd.c
46653         (getspent_next_nss_netgr): Remove unused variable.
46654         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46655
46656         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46657         nonmembers" output to use the right array.
46658
46659         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46660
46661         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46662
46663         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46664         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46665         * catgets/gencat.c (read_input_file): Likewise.
46666         * locale/programs/locarchive.c (enlarge_archive): Likewise.
46667
46668         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46669         variable definition inside #if's controlling its use.
46670
46671         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46672
46673         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46674
46675         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46676
46677         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46678         unreachable code.
46679
46680         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46681
46682         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46683         * configure: Regenerated.
46684
46685         * Makerules: Revert last change.
46686         * elf/Makefile: Likewise.
46687
46688 2011-06-09  Roland McGrath  <roland@hack.frob.com>
46689
46690         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46691         * elf/Makefile ($(objpfx)librtld.os): Likewise.
46692         (reloc-link): Likewise.
46693
46694 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
46695
46696         * elf/Makefile: Add rules to build pldd.
46697         * elf/pldd.c: New file.
46698         * elf/pldd-xx.c: New file.
46699
46700 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
46701
46702         * version.h: Update for 2.15 development version.
46703
46704 2011-06-07  David S. Miller  <davem@davemloft.net>
46705
46706         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46707         ifuncs.
46708         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46709         elf_machine_lazy_rel): Likewise.
46710         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46711         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46712         elf_machine_lazy_rel): Likewise.
46713         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46714         dl_hwcap via passed in argument.
46715         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46716         Likewise.
46717
46718 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46719
46720         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
46721
46722 2011-06-06  Roland McGrath  <roland@hack.frob.com>
46723
46724         [BZ #12849]
46725         * manual/fdl-1.1.texi: New file, verbatim from:
46726         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46727         * manual/lgpl-2.1.texi: New file, verbatim from:
46728         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46729         * manual/Makefile (licenses): New variable, list those new file names.
46730         (texis): Use it.
46731         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46732
46733         * manual/fdl.texi: File removed.
46734         * manual/lesser.texi: File removed.
46735         * manual/libc.texinfo (Copying, Documentation License):
46736         Use new @include file names, put @appendix directive before @include.
46737
46738 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
46739
46740         [BZ #12841]
46741         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46742         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46743         (mq_open): Add __NTH.
46744
46745 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
46746
46747         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46748         Assume Intel Core i3/i5/i7 processor if AVX is available.
46749
46750 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
46751
46752         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46753         typo.
46754
46755 2011-05-31  Andreas Schwab  <schwab@redhat.com>
46756
46757         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46758         memory.  Use alloca_account.  Fix memory leak when retrying.
46759
46760 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
46761
46762         * version.h (RELEASE): Bump for 2.14 release.
46763         * include/features.h (__GLIBC_MINOR__): Bump to 14.
46764
46765         * config.make.in (RANLIB): Remove entry.
46766
46767 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
46768
46769         * po/Makefile (po-sed-cmd): Add ksh to extensions.
46770         (libc.pot): Work around missing support for .ksh extension in xgettext.
46771
46772         [BZ #12684]
46773         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46774         if both request failed.
46775         (send_dg): In case of server errors clear resplen or *resplen2.
46776
46777         [BZ #12454]
46778         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46779         when there are multiple maps.
46780         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46781         (_dl_fini): Remove test here.
46782
46783         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46784
46785 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
46786
46787         [BZ #12350]
46788         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46789         bit from old_res_options.
46790         (gaih_inet): Likewise.
46791
46792         [BZ #11099]
46793         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46794         as signed.
46795
46796         * resolv/res_init.c (res_setoptions): Make the code more compact.
46797
46798         [BZ #11558]
46799         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46800         set RES_USEVC.
46801
46802         [BZ #11634]
46803         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46804
46805         * malloc/malloc.h: Mark malloc hook variables as deprecated.
46806
46807         [BZ #11781]
46808         * malloc/malloc.h: Declare malloc hook variables as volatile.
46809
46810         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46811         in last patch.
46812
46813         [BZ #11799]
46814         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
46815         raise in the comment.
46816         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46817         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46818         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
46819
46820 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
46821
46822         [BZ #12811]
46823         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46824         grow the buffers more if it already has to be sufficient.
46825         (build_wcs_upper_buffer): Likewise.
46826         * posix/regexec.c (check_matching): Likewise.
46827         (clean_state_log_if_needed): Likewise.
46828         (extend_buffers): Don't enlarge buffers beyond size of the input
46829         buffer.
46830         Patches mostly by Emil Wojak <emil@wojak.eu>.
46831         * posix/bug-regex32.c: New file.
46832         * posix/Makefile (tests): Add bug-regex32.
46833
46834         * locale/findlocale.c (_nl_find_locale): Return right away if
46835         _nl_explode_name failed.
46836         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46837
46838         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46839
46840         * debug/xtrace.sh: Unify messages.
46841         * malloc/memusage.sh: Likewise.
46842
46843         [BZ #12813]
46844         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46845         time symbol from vDSO.  Substitute with vsyscall if not available.
46846         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46847         __vdso_time.
46848
46849         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46850         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46851         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46852         Add sendmmsg and internal_sendmmsg.
46853         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46854         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46855         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46856
46857         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46858         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46859         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46860
46861 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
46862
46863         [BZ #12813]
46864         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46865         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
46866         available.
46867         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46868         __vdso_getcpu.
46869
46870         [BZ #12814]
46871         * iconvdata/Makefile (tests): Add bug-iconv9.
46872         * iconvdata/bug-iconv9.c: New file.
46873
46874 2011-05-27  Andreas Schwab  <schwab@redhat.com>
46875
46876         [BZ #12814]
46877         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46878
46879 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
46880
46881         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46882         (struct user_regs_struct): Change intcs field back to cs.
46883
46884 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
46885
46886         * po/ja.po: Update from translation team.
46887
46888 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
46889
46890         [BZ #12795]
46891         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46892         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46893
46894 2011-05-20  Andreas Schwab  <schwab@redhat.com>
46895
46896         * stdlib/longlong.h: Update from GCC.
46897
46898 2011-05-23  Andreas Schwab  <schwab@redhat.com>
46899
46900         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46901         parameter name.
46902         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46903         Add parameter name.
46904         (__sysconf): Pass it down.
46905
46906 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
46907
46908         [BZ #12671]
46909         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46910         some situations.
46911         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46912         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46913         add in in __libc_use_alloca calls.  Adjust callers.
46914         (glob): Use malloc in some situations.
46915
46916         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46917         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46918         pltexit.
46919
46920 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
46921
46922         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46923         and CLOCK_BOOTTIME_ALARM.
46924
46925         [BZ #12782]
46926         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46927         is returned.
46928
46929         * string/_strerror.c (__strerror_r): Print negative errors as signed
46930         numbers.
46931
46932         [BZ #12777]
46933         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46934         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46935         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46936
46937         * configure.in: Fix typo in redirection and correct removal of test
46938         files in two cases.
46939
46940         [BZ #12788]
46941         * locale/setlocale.c (new_composite_name): Fix test to check for
46942         identical name of all categories.
46943
46944         [BZ #12792]
46945         * libio/filedoalloc.c (local_isatty): New function.
46946         (_IO_file_doallocate): Use local_isatty.
46947         * stdio-common/perror.c (perror): In case a new stream is used
46948         forward the stream error.
46949         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46950         error flag.
46951
46952 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
46953
46954         [BZ #11869]
46955         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46956         alloca.
46957         * include/alloca.h (extend_alloca_account): Define.
46958
46959         [BZ #11857]
46960         * posix/regex.h: Fix comments with documentation of user-accessible
46961         fields after compilation and describe correct free'ing of pattern
46962         after re_compile_pattern.
46963         Patch by Reuben Thomas <rrt@sc3d.org>.
46964
46965 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
46966
46967         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46968         and -mno-altivec to prevent the compiler from using Altivec and/or
46969         VSX instructions when the corresponding registers are not available.
46970
46971 2011-05-19  Andreas Schwab  <schwab@redhat.com>
46972
46973         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46974
46975 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
46976
46977         * libio/freopen.c (freopen): Use __dup2, not dup2.
46978         * libio/freopen64.c (freopen64): Likewise.
46979
46980 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46981
46982         [BZ #12775]
46983         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46984         * math/Makefile (tests): Add test-powl.
46985         (CFLAGS-test-powl.c): Define.
46986         * math/test-powl.c: New file.
46987
46988 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46989
46990         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46991
46992 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
46993
46994         [BZ #11837]
46995         * iconvdata/gb18030.c: Update to GB18020-2005.
46996
46997 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
46998
46999         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47000         RE_SYNTAX_POSIX_AWK): Update to match recent development.
47001         Patch by Aharon Robbins <arnold@skeeve.com>.
47002
47003         [BZ #11892]
47004         * stdlib/putenv.c (putenv): Don't always create copy of the variable
47005         on the stack.
47006
47007         [BZ #11895]
47008         * misc/pselect.c (__pselect): Handle timeout value errors hidden
47009         through underflows.
47010
47011         [BZ #12766]
47012         * misc/error.c (error_at_line): Ensure file_name and old_file_name
47013         point to strings before performing equality test for error_one_per_line
47014         mode.
47015
47016         [BZ #11697]
47017         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47018
47019         [BZ #11820]
47020         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47021         (struct user_fpregs_struct): Avoid __uint*_t types.
47022
47023         [BZ #6420]
47024         * malloc/mtrace.c (tr_where): Add additional parameter to point to
47025         symbol info.  Use it instead of calling _dl_addr locally.
47026         (lock_and_info): New function.
47027         (tr_freehook): Call lock_and_info and pass symbol info as additional
47028         parameter to tr_where.
47029         (tr_mallochook): Likewise.
47030         (tr_reallochook): Likewise.
47031         (tr_memalignhook): Likewise.
47032
47033         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
47034         used and couldn't be at all thread-safe.
47035
47036 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
47037
47038         * libio/freopen.c (freopen): Don't close old file descriptor
47039         before the new one is opened.  Instead dup the new file descriptor
47040         to the old one after the new stream is created.
47041         * libio/freopen64.c (freopen64): Likewise.
47042         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47043         * libio/fileops.c (_IO_new_file_close_it): Handle new
47044         _IO_FLAGS2_NOCLOSE flag.
47045         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47046         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47047         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47048         _IO_FLAGS2_NOCLOSE flag.
47049         * include/unistd.h: Add hidden_proto for dup3.
47050         Define __have_dup3.
47051         * io/dup3.c: Define hidden symbol.
47052         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47053
47054         [BZ #7101]
47055         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47056         when an incomplete long option is used.
47057         * posix/tst-getopt_long1.c: New file.
47058         * posix/Makefile (tests): Add tst-getopt_long1.
47059
47060         [BZ #10138]
47061         * scripts/config.guess: Update from autoconf-2.68.
47062         * scripts/config.sub: Likewise.
47063
47064         [BZ #10157]
47065         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47066         tests into ...
47067         (has_cpuclock): ...this.  New function.
47068         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47069         macro here based on has_cpuclock code.
47070
47071         [BZ #10149]
47072         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47073         First byte (not low byte) is now always NUL.
47074         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47075
47076         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47077         Use non-cancelable interfaces.
47078
47079         [BZ #9809]
47080         * locale/iso-639.def: Add entry for Sorani.
47081
47082         [BZ #11901]
47083         * include/stdlib.h: Move include protection to the right place.
47084         Define abort_msg_s.  Declare __abort_msg with it.
47085         * stdlib/abort.c (__abort_msg): Adjust type.
47086         * assert/assert.c (__assert_fail_base): New function.  Majority
47087         of code from __assert_fail.  Allocate memory for __abort_msg with
47088         mmap.
47089         (__assert_fail): Now call __assert_fail_base.
47090         * assert/assert-perr.c: Remove bulk of implementation.  Use
47091         __assert_fail_base.
47092         * include/assert.hL Declare __assert_fail_base.
47093         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47094         mmap.
47095         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47096
47097 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
47098
47099         [BZ #11952]
47100         [BZ #12453]
47101         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47102         until all modules are registered in the DTV.
47103         * elf/Makefile: Add rules to build and run tst-tls19.
47104         * elf/tst-tls19.c: New file.
47105         * elf/tst-tls19mod1.c: New file.
47106         * elf/tst-tls19mod2.c: New file.
47107         * elf/tst-tls19mod3.c: New file.
47108         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47109
47110         [BZ #12083]
47111         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47112         correctly.
47113
47114         [BZ #12601]
47115         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47116         two-byte sequence errors.
47117         * iconvdata/Makefile (tests): Add bug-iconv8.
47118         * iconvdata/bug-iconv8.c: New file.
47119
47120         [BZ #12626]
47121         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47122         buf2 definition.
47123
47124         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47125
47126         [BZ #12432]
47127         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47128         (dummy_getcfa): New function.
47129         (init): Get _Unwind_GetCFA address, use dummy if not found.
47130         (backtrace_helper): In recursion check, also check whether CFA changes.
47131         (__backtrace): Completely initialize arg.
47132
47133         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47134         storing incomplete byte sequence in state object.  Avoid testing for
47135         guaranteed too small input if we know there is enough data available.
47136
47137 2011-05-11  Andreas Schwab  <schwab@redhat.com>
47138
47139         * Makeconfig (+link-pie): Indent.
47140         * Rules (binaries-pie): Define if $(have-fpie) and
47141         $(build-shared).
47142         (binaries-shared): Also filter out $(binaries-pie).
47143         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47144         * nscd/Makefile (others-pie): Add nscd.
47145         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47146         ($(objpfx)nscd): Remove command override.
47147         * login/Makefile (others-pie): Add pt_chown.
47148         ($(objpfx)pt_chown): Remove command override.
47149         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47150         remove command overrides.
47151
47152 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
47153
47154         * libio/tst_putwc.c: Fix error messages.
47155
47156         [BZ #12724]
47157         * libio/fileops.c (_IO_new_file_close_it): Always flush when
47158         currently writing and seek to current position when not.
47159         * libio/Makefile (tests): Add bug-fclose1.
47160         * libio/bug-fclose1.c: New file.
47161
47162 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
47163
47164         [BZ #12511]
47165         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47166         don't set DF_1_NODELETE here.
47167         (do_lookup_x): When entering new entry test for copy relocation
47168         and if necessary set DF_1_NODELETE flag.
47169         * elf/tst-unique4.cc: New file.
47170         * elf/tst-unique4.h: New file.
47171         * elf/tst-unique4lib.cc: New file.
47172         * elf/Makefile: Add rules to build and run tst-unique4.
47173         Patch by Piotr Bury <pbury@goahead.com>.
47174
47175 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
47176
47177         [BZ #12052]
47178         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47179
47180         [BZ #12625]
47181         * misc/mntent_r.c (addmntent): Flush the stream after the output
47182
47183         [BZ #12393]
47184         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47185         (is_trusted_path_normalize): Skip initial colon.  Append slash
47186         to empty buffer.  Duplicate is_trusted_path code but allow
47187         constructed patch to be prefix.
47188         (is_dst): Allow $ORIGIN followed by /.
47189         (_dl_dst_substitute): Correct clearing of check_for_trusted.
47190         Correct testing of result of is_trusted_path_normalize
47191         (decompose_rpath): Fix warning.
47192
47193 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
47194
47195         [BZ #11257]
47196         * grp/initgroups.c (internal_getgrouplist): When we found the service
47197         list through the initgroups entry in nsswitch.conf do not always
47198         continue on a successful lookup.  Don't always use the
47199         __nss_group_database value if it is set.
47200         * nss/nsswitch.conf (initgroups): Change action for successful db
47201         lookup to continue for compatibility.
47202
47203 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
47204
47205         [BZ #11532]
47206         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47207         and CP774 modules.
47208         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47209         and CP774 modules.
47210         * iconvdata/tst-tables.sh: Likewise.
47211         * iconvdata/cp770.c: New file.
47212         * iconvdata/cp771.c: New file.
47213         * iconvdata/cp772.c: New file.
47214         * iconvdata/cp773.c: New file.
47215         * iconvdata/cp774.c: New file.
47216         * iconvdata/testdata/CP770: New file.
47217         * iconvdata/testdata/CP770..UTF8: New file.
47218         * iconvdata/testdata/CP771: New file.
47219         * iconvdata/testdata/CP771..UTF8: New file.
47220         * iconvdata/testdata/CP772: New file.
47221         * iconvdata/testdata/CP772..UTF8: New file.
47222         * iconvdata/testdata/CP773: New file.
47223         * iconvdata/testdata/CP773..UTF8: New file.
47224         * iconvdata/testdata/CP774: New file.
47225         * iconvdata/testdata/CP774..UTF8: New file.
47226
47227         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47228         END CHARMAP line.
47229         * iconvdata/gen-8bit-gap.sh: Likewise.
47230         * iconvdata/gen-8bit.sh: Likewise.
47231
47232         * locale/iso-639.def: Add ary entry.
47233
47234         [BZ #11258]
47235         * locale/C-translit.h.in: Add U20A1 transliteration.
47236
47237         [BZ #12178]
47238         * locale/iso-639.def: Add wae entry.
47239         Patch by Kevin Bortis <bortis@translate-wae.ch>.
47240
47241         [BZ #12545]
47242         * locale/programs/localedef.c (construct_output_path): Use ssize_t
47243         for n.
47244
47245         [BZ #12711]
47246         * locale/C-translit.h.in: Add entry for U20B9.
47247         Patch by pravin.d.s@gmail.com.
47248
47249 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
47250
47251         [BZ #12713]
47252         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47253         ENAMETOOLONG use generic getcwd.
47254         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
47255         in rtld.  Use *stat64.
47256         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47257         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47258         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47259         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47260         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47261         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47262         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47263         __fstatat64 macros.
47264         * include/dirent.h: Add libc_hidden_proto for rewinddir.
47265         * dirent/rewinddir.c: Add libc_hidden_def.
47266         * sysdeps/mach/hurd/rewinddir.c: Likewise.
47267         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
47268
47269         * include/dirent.h (__alloc_dir): Add flags parameter.
47270         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47271         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47272         __alloc_dir.
47273         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
47274         from fdopendir if O_CLOEXEC is already set.
47275
47276 2011-03-15  Alan Modra  <amodra@gmail.com>
47277
47278         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47279         l_tls_firstbyte_offset non-zero.  Save padding offset in
47280         l_tls_firstbyte_offset for later use.
47281         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47282         freeing static tls block.
47283
47284 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
47285
47286         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47287         where #ifdef was intended.  The intent is to prevent ARG_MAX from
47288         being defined by the kernel headers.
47289
47290 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
47291
47292         [BZ #12734]
47293         * resolv/resolv.h: Define RES_NOTLDQUERY.
47294         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47295         no-tld-query and set RES_NOTLDQUERY.
47296         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47297         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47298         modern BIND to search name as TLD unless forbidden.
47299
47300 2011-05-07  Petr Baudis  <pasky@suse.cz>
47301             Ulrich Drepper  <drepper@gmail.com>
47302
47303         [BZ #12393]
47304         * elf/dl-load.c (fillin_rpath): Move trusted path check...
47305         (is_trusted_path): ...to here.
47306         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47307         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47308         using is_trusted_path_normalize() in setuid scripts.
47309
47310 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
47311
47312         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47313         __BEGIN/__END_DECLS.
47314
47315 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
47316
47317         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47318         NSS_STATUS_NOTFOUND if no record was found.
47319
47320 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47321
47322         * sunrpc/Makefile (headers): Add rpc/netdb.h.
47323         (headers-not-in-tirpc): Remove rpc/netdb.h
47324         * resolv/netdb.h: Revert last change.
47325
47326 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47327
47328         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47329         circular dependency between libgcc.a and libc.a.
47330
47331 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47332
47333         * resolv/netdb.h: Don't include <rpc/netdb.h>.
47334         * nis/Makefile: Don't install rpcsvc/*.
47335         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47336         instead of <rpc/types.h>.
47337         (MAXHOSTNAMELEN): Define.
47338
47339 2011-05-03  Andreas Schwab  <schwab@redhat.com>
47340
47341         * elf/ldconfig.c (add_dir): Don't crash on empty path.
47342
47343 2011-04-28  Maciej Babinski  <mbabinski@google.com>
47344
47345         [BZ #12714]
47346         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47347         gethostbyname4_r when IPv6 results are possible.
47348
47349 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
47350
47351         [BZ #12723]
47352         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47353         _PC_PIPE_BUF handling.
47354
47355 2011-04-30  Bruno Haible  <bruno@clisp.org>
47356
47357         [BZ #12717]
47358         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47359         * resolv/netdb.h (getnameinfo): Change type of flags parameter
47360         to 'int'.
47361         * inet/getnameinfo.c (getnameinfo): Likewise.
47362
47363 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
47364
47365         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47366         to groups setting in database lookup.
47367         * nss/nsswitch.conf: Add initgroups entry.
47368
47369 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
47370
47371         [BZ #12685]
47372         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47373         mode string.
47374         Patch by Eric Blake <eblake@redhat.com>.
47375
47376 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
47377
47378         * sunrpc/Makefile (need-export-routines): Add svc_run.
47379         (routines): Remove svc_run.
47380         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47381         * sunrpc/clnt_perr.c (clnt_perrno): Export.
47382         * sunrpc/svc_run.c (svc_run): Likewise.
47383         * sunrpc/svc_udp.c (svcudp_create): Likewise.
47384
47385 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
47386
47387         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47388         problem in reallocation in last patch.
47389
47390 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
47391
47392         * sunrpc/Makefile: Move inclusion of Rules.
47393
47394 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47395
47396         * nss/nss_files/files-initgroups.c: New file.
47397         * nss/Makefile (libnss_files-routines): Add files-initgroups.
47398         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47399         _nss_files_initgroups_dyn.
47400
47401 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
47402
47403         * elf/elf.h (R_ARM_IRELATIVE): Define.
47404
47405 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47406
47407         * po/ru.po: Update from translation team.
47408
47409 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47410
47411         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47412         dependencies.
47413
47414 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
47415
47416         [BZ #12653]
47417         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47418         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47419         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47420         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47421         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47422
47423 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
47424
47425         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47426         differing bytes.
47427         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47428         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47429         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47430
47431 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47432
47433         [BZ #12420]
47434         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47435         storing it.
47436         * stdlib/bug-getcontext.c: New file.
47437         * stdlib/Makefile: Add rules to build and run bug-getcontext.
47438
47439 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47440
47441         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47442         instructions into .machine "z9-109".
47443         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47444         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47445
47446 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47447
47448         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47449         between environment variables and auxiliary vector.
47450
47451 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
47452
47453         * Makefile: Add rules to build linkobj/libc.so.
47454         * include/libc-symbols.h: Define libc_hidden_nolink.
47455         * include/rpc/auth.h: Mark functions which are to be hidden.
47456         * include/rpc/auth_des.h: Likewise.
47457         * include/rpc/auth_unix.h: Likewise.
47458         * include/rpc/clnt.h: Likewise.
47459         * include/rpc/des_crypt.h: Likewise.
47460         * include/rpc/key_prot.h: Likewise.
47461         * include/rpc/pmap_clnt.h: Likewise.
47462         * include/rpc/pmap_prot.h: Likewise.
47463         * include/rpc/pmap_rmt.h: Likewise.
47464         * include/rpc/rpc_msg.h: Likewise.
47465         * include/rpc/svc.h: Likewise.
47466         * include/rpc/svc_auth.h: Likewise.
47467         * include/rpc/xdr.h: Likewise.
47468         * nis/Makefile: Link all DSOs against linkobj/libc.so.
47469         * nss/Makefile: Likewise.
47470         * sunrpc/Makefile: Don't install headers.  Build library with normal
47471         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
47472         * sunrpc/auth_des.c: Hide exported symbols by default, export some
47473         for the compat linking library.  Remove use of INTDEF/INTUSE.
47474         * sunrpc/auth_none.c: Likewise.
47475         * sunrpc/auth_unix.c: Likewise.
47476         * sunrpc/authdes_prot.c: Likewise.
47477         * sunrpc/authuxprot.c: Likewise.
47478         * sunrpc/clnt_gen.c: Likewise.
47479         * sunrpc/clnt_perr.c: Likewise.
47480         * sunrpc/clnt_raw.c: Likewise.
47481         * sunrpc/clnt_simp.c: Likewise.
47482         * sunrpc/clnt_tcp.c: Likewise.
47483         * sunrpc/clnt_udp.c: Likewise.
47484         * sunrpc/clnt_unix.c: Likewise.
47485         * sunrpc/des_crypt.c: Likewise.
47486         * sunrpc/des_soft.c: Likewise.
47487         * sunrpc/get_myaddr.c: Likewise.
47488         * sunrpc/key_call.c: Likewise.
47489         * sunrpc/key_prot.c: Likewise.
47490         * sunrpc/netname.c: Likewise.
47491         * sunrpc/pm_getmaps.c: Likewise.
47492         * sunrpc/pm_getport.c: Likewise.
47493         * sunrpc/pmap_clnt.c: Likewise.
47494         * sunrpc/pmap_prot.c: Likewise.
47495         * sunrpc/pmap_prot2.c: Likewise.
47496         * sunrpc/pmap_rmt.c: Likewise.
47497         * sunrpc/publickey.c: Likewise.
47498         * sunrpc/rpc_cmsg.c: Likewise.
47499         * sunrpc/rpc_common.c: Likewise.
47500         * sunrpc/rpc_dtable.c: Likewise.
47501         * sunrpc/rpc_prot.c: Likewise.
47502         * sunrpc/rpc_thread.c: Likewise.
47503         * sunrpc/rtime.c: Likewise.
47504         * sunrpc/svc.c: Likewise.
47505         * sunrpc/svc_auth.c: Likewise.
47506         * sunrpc/svc_authux.c: Likewise.
47507         * sunrpc/svc_raw.c: Likewise.
47508         * sunrpc/svc_run.c: Likewise.
47509         * sunrpc/svc_simple.c: Likewise.
47510         * sunrpc/svc_tcp.c: Likewise.
47511         * sunrpc/svc_udp.c: Likewise.
47512         * sunrpc/svc_unix.c: Likewise.
47513         * sunrpc/svcauth_des.c: Likewise.
47514         * sunrpc/xcrypt.c: Likewise.
47515         * sunrpc/xdr.c: Likewise.
47516         * sunrpc/xdr_array.c: Likewise.
47517         * sunrpc/xdr_float.c: Likewise.
47518         * sunrpc/xdr_intXX_t.c: Likewise.
47519         * sunrpc/xdr_mem.c: Likewise.
47520         * sunrpc/xdr_rec.c: Likewise.
47521         * sunrpc/xdr_ref.c: Likewise.
47522         * sunrpc/xdr_sizeof.c: Likewise.
47523         * sunrpc/xdr_stdio.c: Likewise.
47524
47525 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
47526
47527         [BZ #12650]
47528         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47529         * sysdeps/ia64/dl-tls.h: Likewise.
47530         * sysdeps/powerpc/dl-tls.h: Likewise.
47531         * sysdeps/s390/dl-tls.h: Likewise.
47532         * sysdeps/sh/dl-tls.h: Likewise.
47533         * sysdeps/sparc/dl-tls.h: Likewise.
47534         * sysdeps/x86_64/dl-tls.h: Likewise.
47535         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47536
47537 2011-03-14  Andreas Schwab  <schwab@redhat.com>
47538
47539         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47540         rpath element also skip the following colon.
47541         (expand_dynamic_string_token): Add is_path parameter and pass
47542         down to DL_DST_REQUIRED and _dl_dst_substitute.
47543         (decompose_rpath): Call expand_dynamic_string_token with
47544         non-zero is_path.  Ignore empty rpaths.
47545         (_dl_map_object_from_fd): Call expand_dynamic_string_token
47546         with zero is_path.
47547
47548 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
47549
47550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47551         Make cancelable.
47552
47553 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
47554
47555         [BZ #12655]
47556         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47557         Patch by Filipe David Manana <fdmanana@apache.org>.
47558
47559 2011-04-07  Andreas Schwab  <schwab@redhat.com>
47560
47561         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47562         Maintain aligned stack.
47563         (CHECK_RSP): Remove unused macro.
47564
47565 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
47566
47567         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47568         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47569
47570 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
47571
47572         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47573
47574         * include/features.h: Mention __USE_XOPEN2K8 in comment.
47575
47576 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
47577
47578         [BZ #12518]
47579         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47580         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47581         * sysdeps/x86_64/memmove.c: New file.
47582         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47583         (memcpy): Renamed to ...
47584         (__new_memcpy): This.
47585         (memcpy): Provide GLIBC_2_14 memcpy.
47586         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47587         (memcpy): Provide GLIBC_2_2_5 memcpy.
47588
47589 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47590
47591         [BZ #12631]
47592         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47593
47594 2011-03-30  Andreas Schwab  <schwab@redhat.com>
47595
47596         * misc/syncfs.c: New file.
47597         * misc/Makefile (routines): Add syncfs.
47598         * posix/unistd.h: Declare syncfs.
47599         * sysdeps/unix/syscalls.list: Add syncfs.
47600
47601 2011-04-01  Andreas Schwab  <schwab@redhat.com>
47602
47603         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47604         open_by_handle_at.
47605         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47606         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47607         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47608         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47609         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47610         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47611         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47612
47613 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47614
47615         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47616         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47617         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47618         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47619         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47620         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47621         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47622
47623         * io/Makefile: Compile fallocate.c, fallocate64.c, and
47624         sync_file_range.c with -fexceptions.
47625         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47626         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47627         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47628         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47629         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47630         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47631         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47632         sync_file_range as cancellation point
47633         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
47634         now a wrapper around __call_sync_file_range with cancellation handling.
47635         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47636         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
47637         function name to __call_sync_file_range.
47638         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47639         Add call_sync_file_range.
47640
47641 2011-04-01  Andreas Schwab  <schwab@redhat.com>
47642
47643         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47644         bits/timex.h.
47645
47646 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47647
47648         * iconv/iconv.h: Fix typo in comment.
47649         * io/fcntl.h: Likewise.
47650         * libio/stdio.h: Likewise.
47651         * posix/spawn.h: Likewise.
47652         * posix/unistd.h: Likewise.
47653         * stdlib/stdlib.h: Likewise.
47654         * time/time.h: Likewise.
47655         * wcsmbs/wchar.h: Likewise.
47656
47657         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47658         open_by_handle): Add.
47659         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47660         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
47661         Augment a few comments.
47662         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47663         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47664         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47665         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47666         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47667         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47668         open_by_handle.
47669
47670         * io/fcntl.h (AT_EMPTY_PATH): Define.
47671
47672 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
47673
47674         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47675         * sysdeps/unix/sysv/linux/bits/time.h: New file.
47676         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47677         to...
47678         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
47679         * Versions.def: Add GLIBC_2.14.
47680         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47681         Export.
47682
47683 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
47684
47685         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47686         round counter.
47687         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47688
47689 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47690
47691         [BZ #12597]
47692         * string/test-strncmp.c (do_page_test): New function.
47693         (check2): Likewise.
47694         (test_main): Call check2.
47695         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47696
47697 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
47698
47699         [BZ #12587]
47700         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47701         Handle cache information in CPU leaf 4.
47702         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47703
47704 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
47705
47706         [BZ #12583]
47707         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47708         character representation.
47709         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47710
47711 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
47712
47713         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47714         END(__isnan) to END(__isnanf) to match function entry point/label
47715         EALIGN(__isnanf,...).
47716
47717 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
47718
47719         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47720
47721 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
47722
47723         [BZ #12510]
47724         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47725         copy from the symbol referenced in the relocation to initialize the
47726         used variable.
47727         Patch by Piotr Bury <pbury@goahead.com>.
47728         * elf/Makefile: Add rules to build and tst-unique3.
47729         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47730         * elf/tst-unique3.cc: New file.
47731         * elf/tst-unique3.h: New file.
47732         * elf/tst-unique3lib.cc: New file.
47733         * elf/tst-unique3lib2.cc: New file.
47734
47735         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47736
47737 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
47738
47739         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47740         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
47741         to _start.
47742
47743 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
47744
47745         * elf/dl-load.c (_dl_map_object): If we are looking for the first
47746         to-be-loaded object along a path to loader is ld.so.
47747
47748 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
47749             Ulrich Drepper  <drepper@gmail.com>
47750
47751         * sysdeps/x86_64/memset.S: After aligning destination, code
47752         branches to different locations depending on the value of
47753         misalignment, when multiarch is enabled. Fix this.
47754
47755 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
47756
47757         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47758         Set _x86_64_preferred_memory_instruction for AMD processsors.
47759         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47760         Set bit_Prefer_SSE_for_memop for AMD processors.
47761
47762 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
47763
47764         * libio/fmemopen.c (fmemopen): Optimize a bit.
47765
47766 2011-03-03  Andreas Schwab  <schwab@redhat.com>
47767
47768         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47769
47770 2011-03-03  Roland McGrath  <roland@redhat.com>
47771
47772         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47773
47774 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
47775
47776         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47777         __bzero_ultra1 instead of __memset_ultra1.
47778
47779 2011-02-23  Andreas Schwab  <schwab@redhat.com>
47780             Ulrich Drepper  <drepper@gmail.com>
47781
47782         [BZ #12509]
47783         * include/link.h (struct link_map): Add l_orig_initfini.
47784         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47785         returning unsuccessfully.
47786         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47787         close of a file loaded at startup, restore the original l_initfini
47788         list.
47789         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47790         list, store the pointer.
47791         * elf/Makefile ($(objpfx)noload-mem): New rule.
47792         (noload-ENV): Define.
47793         (tests): Add $(objpfx)noload-mem.
47794         * elf/noload.c: Include <memcheck.h>.
47795         (main): Call mtrace.  Close all opened handles.
47796
47797 2011-02-17  Andreas Schwab  <schwab@redhat.com>
47798
47799         [BZ #12454]
47800         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47801         dependencies are missing.
47802
47803 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47804
47805         Fix __if_freereq crash: Unlike the generic version which uses free,
47806         Hurd needs munmap.
47807         * sysdeps/mach/hurd/ifreq.h: New file.
47808
47809 2011-01-27  Petr Baudis  <pasky@suse.cz>
47810             Ulrich Drepper  <drepper@gmail.com>
47811
47812         [BZ 12445]#
47813         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47814         to extend_alloca().
47815         * stdio-common/bug23.c: New file.
47816         * stdio-common/Makefile (tests): Add bug23.
47817
47818 2010-09-28  Andreas Schwab  <schwab@redhat.com>
47819             Ulrich Drepper  <drepper@gmail.com>
47820
47821         [BZ #12489]
47822         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47823         before performing relro protection.  At old place add assertion
47824         to make sure nothing changed.
47825
47826 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
47827             Glauber de Oliveira Costa  <glommer@gmail.com>
47828
47829         * elf/elf.h: Add new ARM TLS relocs.
47830
47831 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
47832
47833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47834         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47835         cast from r3.
47836         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
47837         'tests' variable.
47838         * sysdeps/wordsize-64/tst-writev.c: New file.
47839
47840 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
47841
47842         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47843         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47844         insns in _dl_start to prevent a TOC reference before relocs are
47845         resolved.
47846
47847 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
47848
47849         [BZ #12469]
47850         * Makeconfig: Remove RANLIB definition.
47851         * Makerules: Don't use RANLIB.
47852         * aclocal.m4: Remove ranlib test.
47853         * configure.in: No need to check for ranlib.
47854         * elf/rtld-Rules: Don't use RANLIB.
47855
47856 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47857
47858         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47859         protection macro.
47860         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47861         inclusion protection macro.
47862
47863         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47864         SIGRTMIN and SIGRTMAX and print information in that case only when
47865         SIGRTMIN is defined.
47866
47867 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
47868
47869         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47870         arginfo fn returning -1.
47871
47872         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47873         and thousands string is zero terminated.
47874
47875 2011-02-03  Andreas Schwab  <schwab@redhat.com>
47876
47877         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47878         sysdeps/unix/sysv/linux/bits/socket.h.
47879
47880 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47881
47882         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47883         (__CPU_COUNT): Remove old macros.
47884         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47885         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47886         (__CPU_ALLOC, __CPU_FREE): Add macros.
47887         (__sched_cpualloc, __sched_cpufree): Add declarations.
47888
47889 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
47890
47891         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47892         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47893         * nscd/aicache.c (addhstaiX): Return timeout of added value.
47894         (readdhstai): Return value of addhstaiX call.
47895         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47896         (addgrbyX): Return value returned by cache_addgr.
47897         (readdgrbyname): Return value returned by addgrbyX.
47898         (readdgrbygid): Likewise.
47899         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47900         (addpwbyX): Return value returned by cache_addpw.
47901         (readdpwbyname): Return value returned by addhstbyX.
47902         (readdpwbyuid): Likewise.
47903         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47904         (addservbyX): Return value returned by cache_addserv.
47905         (readdservbyname): Return value returned by addservbyX:
47906         (readdservbyport): Likewise.
47907         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47908         (addhstbyX): Return value returned by cache_addhst.
47909         (readdhstbyname): Return value returned by addhstbyX.
47910         (readdhstbyaddr): Likewise.
47911         (readdhstbynamev6): Likewise.
47912         (readdhstbyaddrv6): Likewise.
47913         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47914         (readdinitgroups): Return value returned by addinitgroupsX.
47915         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47916         (prune_cache): Keep track of timeout value of re-added entries.
47917         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47918         * nscd/nscd.h: Adjust prototypes of readd* functions.
47919
47920 2011-02-04  Roland McGrath  <roland@redhat.com>
47921
47922         * nis/nis_server.c (nis_servstate): Use the right name for 0.
47923         (nis_stats): Likewise.
47924         * nis/nis_modify.c (nis_modify): Likewise.
47925         * nis/nis_remove.c (nis_remove): Likewise.
47926         * nis/nis_add.c (nis_add): Likewise.
47927
47928         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47929
47930         * posix/fnmatch_loop.c: Add some consts.
47931
47932         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47933
47934 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
47935
47936         [BZ #12460]
47937         * config.make.in (config-cflags-novzeroupper): Define.
47938         * configure.in: Substitute libc_cv_cc_novzeroupper.
47939         * elf/Makefile (AVX-CFLAGS): Define.
47940         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47941         (CFLAGS-tst-auditmod4a.c): Likewise.
47942         (CFLAGS-tst-auditmod4b.c): Likewise.
47943         (CFLAGS-tst-auditmod6b.c): Likewise.
47944         (CFLAGS-tst-auditmod6c.c): Likewise.
47945         (CFLAGS-tst-auditmod7b.c): Likewise.
47946         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47947
47948 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
47949
47950         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47951         function to the callback.
47952         Patch partly by Jiri Olsa <jolsa@redhat.com>.
47953
47954 2011-02-02  Andreas Schwab  <schwab@redhat.com>
47955
47956         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47957         of errno.
47958
47959 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
47960
47961         [BZ #11724]
47962         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47963         of constructors.
47964         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47965         of destructors.
47966         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47967
47968         [BZ #11724]
47969         * elf/Makefile: Add rules to build and run new test.
47970         * elf/tst-initorder.c: New file.
47971         * elf/tst-initorder.exp: New file.
47972         * elf/tst-initordera1.c: New file.
47973         * elf/tst-initordera2.c: New file.
47974         * elf/tst-initordera3.c: New file.
47975         * elf/tst-initordera4.c: New file.
47976         * elf/tst-initorderb1.c: New file.
47977         * elf/tst-initorderb2.c: New file.
47978         * elf/tst-order-a1.c: New file.
47979         * elf/tst-order-a2.c: New file.
47980         * elf/tst-order-a3.c: New file.
47981         * elf/tst-order-a4.c: New file.
47982         * elf/tst-order-b1.c: New file.
47983         * elf/tst-order-b2.c: New file.
47984         * elf/tst-order-main.c: New file.
47985         New test case by George Gensure <werkt0@gmail.com>.
47986
47987 2010-10-01  Andreas Schwab  <schwab@redhat.com>
47988
47989         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47990         decoding ACE if AI_CANONIDN.
47991
47992 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
47993
47994         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47995
47996 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
47997
47998         * version.h (RELEASE): Bump for 2.13 release.
47999         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48000
48001         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48002
48003         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48004         MADV_NOHUGEPAGE.
48005         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48006         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48007         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48008         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48009         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48010         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48011
48012         * posix/getconf.c: Update copyright year.
48013         * catgets/gencat.c: Likewise.
48014         * csu/version.c: Likewise.
48015         * debug/catchsegv.sh: Likewise.
48016         * debug/xtrace.sh: Likewise.
48017         * elf/ldconfig.c: Likewise.
48018         * elf/ldd.bash.in: Likewise.
48019         * elf/sprof.c (print_version): Likewise.
48020         * iconv/iconv_prog.c: Likewise.
48021         * iconv/iconvconfig.c: Likewise.
48022         * locale/programs/locale.c: Likewise.
48023         * locale/programs/localedef.c: Likewise.
48024         * malloc/memusage.sh: Likewise.
48025         * malloc/mtrace.pl: Likewise.
48026         * nscd/nscd.c (print_version): Likewise.
48027         * nss/getent.c: Likewise.
48028
48029         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48030         PF_CAIF, and PF_ALG.
48031         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48032
48033 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
48034
48035         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48036         (modules-names): Use them.
48037         (ifunc-test-modules, ifunc-pie-tests): Define.
48038         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48039         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48040         (test-extras): Likewise.
48041         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48042         $(compile-command.c).
48043         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48044         (all-built-dso): Define.
48045         (check-textrel.out, check-execstack.out): Depend on it.
48046
48047         * configure.in: Don't override --enable-multi-arch.
48048
48049 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
48050
48051         [BZ #6812]
48052         * nscd/hstcache.c (tryagain): Define.
48053         (cache_addhst): Return tryagain not notfound for temporary errors.
48054         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48055         failed.
48056
48057 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
48058
48059         [BZ #10563]
48060         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48061         to make the syscall.
48062         * sysdeps/unix/sysv/linux/setgroups.c: New file.
48063
48064         [BZ #12378]
48065         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48066         and fall back to matching as normal character if the string ends before
48067         the matching ']' is found.  This is what POSIX requires.
48068         * posix/testfnm.c: Adjust test result.
48069         * posix/globtest.sh: Adjust test result.  Add new test.
48070         * posix/tst-fnmatch.input: Likewise.
48071         * posix/tst-fnmatch2.c: Add new test.
48072
48073 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
48074
48075         * elf/Makefile (check-execstack): Revert last change.  Depend on
48076         check-execstack.h.
48077         (check-execstack.h): New target.
48078         (generated): Add check-execstack.h.
48079         * elf/check-execstack.c: Include "check-execstack.h".
48080         (main): Revert last change.
48081         (handle_file): Return zero if GNU_STACK is absent and
48082         DEFAULT_STACK_PERMS doesn't include PF_X.
48083
48084 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
48085
48086         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48087         in child fails because the descriptor is already closed.
48088         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48089         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48090         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48091
48092         [BZ #12397]
48093         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48094         syscall.
48095
48096         [BZ #10484]
48097         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48098         temporary buffer used to handle multi lookups locally.
48099         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48100
48101 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48102
48103         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48104         loader is ld.so.
48105
48106 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
48107
48108         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48109         alignment for SSE2.
48110
48111 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48112
48113         [BZ #12394]
48114         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48115         characters.  When rounding increased number of integer digits recompute
48116         number of groups.
48117         * stdio-common/tst-grouping.c: New file.
48118         * stdio-common/Makefile: Add rules to build and run tst-grouping.
48119
48120 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
48121
48122         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48123         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
48124
48125         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48126         void.
48127         * bits/select.h: Likewise.
48128
48129 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
48130
48131         * po/ja.po: Update from translation team.
48132
48133 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
48134
48135         [BZ #11155]
48136         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48137         implementation just like for lxstat, fxstatat, et al.
48138
48139 2010-12-27  Jim Meyering  <meyering@redhat.com>
48140
48141         [BZ #12348]
48142         * posix/regexec.c (build_trtable): Return failure indication upon
48143         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
48144
48145 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
48146
48147         [BZ #12201]
48148         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48149         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48150         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48151         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48152
48153         [BZ #12207]
48154         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48155
48156         [BZ #12204]
48157         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48158         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48159
48160 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
48161
48162         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48163         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48164         script has SORT_BY_INIT_PRIORITY.
48165         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48166         NO_CTORS_DTORS_SECTIONS is defined.
48167         * elf/soinit.c: Likewise.
48168         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48169         NO_CTORS_DTORS_SECTIONS is defined.
48170         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48171         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48172         * sysdeps/sh/init-first.c: Likewise.
48173         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48174
48175 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
48176
48177         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48178         always use the slow path.
48179
48180 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
48181
48182         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48183         similar rule which adds the sysdep directories to the header search in
48184         order to pick up the correct platform stackinfo.h.
48185         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48186         perform test if it is, otherwise return successfully without testing.
48187         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48188         DEFAULT_STACK_PERMS define in stackinfo.h.
48189         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48190         defined in stackinfo.h.
48191         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48192         DEFAULT_STACK_PERMS defined in stackinfo.h.
48193         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48194         * sysdeps/ia64/stackinfo.h: Likewise.
48195         * sysdeps/s390/stackinfo.h: Likewise.
48196         * sysdeps/sh/stackinfo.h: Likewise.
48197         * sysdeps/sparc/stackinfo.h: Likewise.
48198         * sysdeps/x86_64/stackinfo.h: Likewise.
48199         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48200         PF_X for powerpc64.  Retain PF_X for powerpc32.
48201
48202 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
48203
48204         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48205         accurately.
48206         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48207         GETDENTS_64BIT_ALIGNED.
48208
48209 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
48210
48211         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48212
48213 2010-12-10  Andreas Schwab  <schwab@redhat.com>
48214
48215         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48216         _GNU_SOURCE.
48217
48218         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48219         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48220         Remove __restrict.
48221         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48222         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48223
48224 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
48225
48226         [BZ #11655]
48227         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48228         are initialized.
48229
48230 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
48231
48232         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48233
48234 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
48235
48236         * po/it.po: Update from translation team.
48237
48238 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
48239
48240         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48241         unused codes.
48242
48243 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
48244
48245         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48246
48247 2010-11-24  Andreas Schwab  <schwab@redhat.com>
48248
48249         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48250         specially.
48251         (gaih_getanswer_slice): Likewise.
48252
48253 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
48254
48255         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48256
48257 2010-05-31  Petr Baudis  <pasky@suse.cz>
48258
48259         [BZ #11149]
48260         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48261         silently even in the chroot mode.
48262
48263 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
48264
48265         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48266         last patch a bit.  Pretty printing
48267
48268 2010-05-31  Petr Baudis <pasky@suse.cz>
48269
48270         [BZ #10085]
48271         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48272         initialization of skip_initgroups_dyn.
48273
48274 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
48275
48276         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48277         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48278
48279 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
48280
48281         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48282
48283 2010-11-11  Andreas Schwab  <schwab@redhat.com>
48284
48285         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48286         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48287         (tst-fnmatch-ENV): Set MALLOC_TRACE.
48288         ($(objpfx)tst-fnmatch-mem): New rule.
48289         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48290         * posix/tst-fnmatch.c (main): Call mtrace.
48291
48292 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
48293
48294         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48295         Support Intel processor model 6 and model 0x2c.
48296
48297 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
48298
48299         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48300           signed comparison.
48301
48302 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
48303
48304         [BZ #12205]
48305         * string/test-strncasecmp.c (check_result): New function.
48306         (do_one_test): Use it.
48307         (check1): New function.
48308         (test_main): Use it.
48309         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48310         Support strcasecmp and strncasecmp.
48311
48312 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
48313
48314         [BZ #12194]
48315         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48316         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48317
48318 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
48319
48320         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48321         IFUNC support.
48322         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48323         memset-x86-64.
48324         * sysdeps/x86_64/multiarch/bzero.S: New file.
48325         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48326         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48327         * sysdeps/x86_64/multiarch/memset.S: New file.
48328         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48329         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48330         Set bit_Prefer_SSE_for_memop for Intel processors.
48331         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48332         Define.
48333         (index_Prefer_SSE_for_memop): Define.
48334         (HAS_PREFER_SSE_FOR_MEMOP): Define.
48335
48336 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
48337
48338         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48339         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48340
48341 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
48342
48343         [BZ #12191]
48344         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48345         (__x86_64_raw_data_cache_size_half): Likewise.
48346         (__x86_64_raw_shared_cache_size): Likewise.
48347         (__x86_64_raw_shared_cache_size_half): Likewise.
48348
48349         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48350         (__x86_64_raw_data_cache_size_half): Likewise.
48351         (__x86_64_raw_shared_cache_size): Likewise.
48352         (__x86_64_raw_shared_cache_size_half): Likewise.
48353         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48354         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48355         and __x86_64_raw_shared_cache_size_half.  Round
48356         __x86_64_data_cache_size_half, __x86_64_data_cache_size
48357         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48358         to multiple of 256 bytes.
48359
48360 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
48361
48362         [BZ #12167]
48363         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48364         of inacessible symlinks.  Verify result of symlink before returning it.
48365         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48366         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48367
48368 2010-10-28  Erich Ritz  <erichritz@gmail.com>
48369
48370         * math/math.h (isinf): Fix typo in comment.
48371
48372 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
48373
48374         * po/da.po: Update from translation team.
48375
48376 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
48377
48378         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48379         is added to the list.
48380
48381 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48382             Ulrich Drepper  <drepper@gmail.com>
48383
48384         * elf/dl-object.c (_dl_new_object): Don't append the new object to
48385         the global list here.  Move code to...
48386         (_dl_add_to_namespace_list): ...here.  New function.
48387         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48388         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48389         * elf/dl-load.c (lose): Don't remove the element from the list.
48390         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48391         (_dl_map_object): Likewise.
48392
48393 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
48394
48395         [BZ #12159]
48396         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48397         into all bytes of SSE register.
48398         Patch by Richard Li <richardpku@gmail.com>.
48399
48400 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
48401
48402         [BZ #12140]
48403         * malloc/malloc.c (_int_free): Fill correct number of bytes when
48404         perturbing.
48405
48406 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
48407
48408         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48409         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48410         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48411         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48413         submachine.
48414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48415
48416 2010-10-22  Andreas Schwab  <schwab@redhat.com>
48417
48418         * include/dlfcn.h (__RTLD_SECURE): Define.
48419         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
48420         mode & __RTLD_SECURE instead.
48421         (open_path): Rename preloaded parameter to secure.
48422         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48423         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48424         * elf/dl-deps.c (openaux): Likewise.
48425         * elf/rtld.c (struct map_args): Remove is_preloaded.
48426         (map_doit): Don't use it.
48427         (dl_main): Likewise.
48428         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48429         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48430
48431 2010-09-09  Andreas Schwab  <schwab@redhat.com>
48432
48433         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48434         (sysd-rules-targets): Remove duplicates.
48435         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48436         rtld-%.$o dependency.
48437
48438 2010-10-18  Andreas Schwab  <schwab@redhat.com>
48439
48440         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48441         _dl_map_object do it.
48442
48443 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
48444
48445         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48446         fast fma builtins, define the macros in the C99 standard.
48447         (FP_FAST_FMAF): Likewise.
48448         (FP_FAST_FMAL): Likewise.
48449         * sysdeps/x86_64/bits/mathdef.h: Likewise.
48450
48451         * bits/mathdef.h: Update copyright year.
48452         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48453
48454 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
48455
48456         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48457         builtins, define the macros in the C99 standard.
48458         (FP_FAST_FMAF): Likewise.
48459         (FP_FAST_FMAL): Likewise.
48460         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48461         multiply/add.
48462         (FP_FAST_FMAF): Likewise.
48463
48464 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
48465
48466         [BZ #3268]
48467         * math/libm-test.inc (fma_test): Some new testcases.
48468         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48469         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48470         y and infinite z.  Do multiplication by C already in long double.
48471         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48472         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48473         y and infinite z.  Do bitwise or of inexact bit into u.d.
48474         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48475         * sysdeps/i386/fpu/s_fmaf.S: Removed.
48476         * sysdeps/i386/fpu/s_fma.S: Removed.
48477         * sysdeps/i386/fpu/s_fmal.S: Removed.
48478
48479 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
48480
48481         [BZ #3268]
48482         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48483         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48484         computation is not scheduled after fetestexcept.  Fix value
48485         of minimum denormal long double.
48486
48487 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
48488
48489         [BZ #3268]
48490         * math/libm-test.inc (fma_test): Add some more tests.
48491         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48492         correctly.
48493
48494 2010-10-15  Andreas Schwab  <schwab@redhat.com>
48495
48496         * scripts/data/localplt-s390-linux-gnu.data: New file.
48497         * scripts/data/localplt-s390x-linux-gnu.data: New file.
48498
48499 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
48500
48501         [BZ #3268]
48502         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48503         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48504         instead of dbl-64.
48505         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48506         inlines.
48507         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48508         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48509         if one of x and y is very large and the other is subnormal.
48510         * sysdeps/s390/fpu/s_fmaf.c: New file.
48511         * sysdeps/s390/fpu/s_fma.c: New file.
48512         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48513         * sysdeps/powerpc/fpu/s_fma.S: New file.
48514         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48515         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48516         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48517
48518 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
48519
48520         [BZ #3268]
48521         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48522         fma tests.
48523         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48524         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48525         * sysdeps/i386/i686/multiarch/s_fma.c: Include
48526         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48527         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48528         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48529         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48530
48531 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
48532
48533         [BZ #12078]
48534         * posix/regcomp.c (parse_branch): One more memory leak plugged.
48535         * posix/bug-regex31.input: Add test case.
48536
48537 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
48538
48539         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48540         * posix/bug-regex31.input: New file.
48541
48542         [BZ #12078]
48543         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48544         (parse_sub_exp): Fix last change, use postorder.
48545
48546         * posix/bug-regex31.c: New file.
48547         * posix/Makefile: Add rules to build and run bug-regex31.
48548
48549         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48550
48551         [BZ #12078]
48552         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48553
48554         [BZ #12108]
48555         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48556         to have entries in sys_siglist.
48557
48558         [BZ #12093]
48559         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48560         be NULL.
48561
48562 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
48563
48564         [BZ #3268]
48565         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48566         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48567         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48568         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48569         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48570         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48571         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48572         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48573         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48574         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48575         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48576         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48577         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48578         * math/ftestexcept.c (fetestexcept): Likewise.
48579         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48580         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48581         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48582         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48583         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48584         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48585         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48586
48587 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
48588
48589         [BZ #12107]
48590         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48591         newline.
48592
48593 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
48594
48595         * string/bug-strstr1.c: New file.
48596         * string/Makefile: Add rules to build and run bug-strstr1.
48597
48598 2010-10-05  Eric Blake  <eblake@redhat.com>
48599
48600         [BZ #12092]
48601         * string/str-two-way.h (two_way_long_needle): Always clear memory
48602         when skipping input due to the shift table.
48603
48604 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
48605
48606         [BZ #12005]
48607         * malloc/mcheck.c: Handle large requests.
48608
48609         [BZ #12077]
48610         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48611         for strncmp and strncasecmp.
48612         * string/stratcliff.c: Add tests for strcmp and strncmp.
48613         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48614
48615 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48616
48617         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48618         __set_fpscr.
48619
48620 2010-09-30  Andreas Jaeger  <aj@suse.de>
48621
48622         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48623         (CGROUP_SUPER_MAGIC): Define.
48624         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48625         Handle btrfs and cgroup file systems.
48626         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48627         Likewise.
48628
48629 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
48630
48631         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48632         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48633
48634 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48635
48636         [BZ #12067]
48637         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48638         trying to locate the ELF header.
48639
48640 2010-09-27  Andreas Schwab  <schwab@redhat.com>
48641
48642         [BZ #11611]
48643         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48644         Mask out sign-bit copies when constructing f_fsid.
48645
48646 2010-09-24  Petr Baudis <pasky@suse.cz>
48647
48648         * debug/stack_chk_fail_local.c: Add missing licence exception.
48649         * debug/warning-nop.c: Likewise.
48650
48651 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
48652
48653         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48654         implementing getdents64 using getdents syscall, set d_type if
48655         __ASSUME_GETDENTS32_D_TYPE.
48656
48657 2010-09-16  Andreas Schwab  <schwab@redhat.com>
48658
48659         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48660         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48661
48662 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
48663
48664         [BZ #12037]
48665         * posix/unistd.h: Undo change of feature selection for ftruncate from
48666         2010-01-11.
48667
48668 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
48669
48670         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48671         detection.
48672
48673 2010-09-20  Andreas Schwab  <schwab@redhat.com>
48674
48675         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48676         fanotify_mark.
48677         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48678
48679 2010-09-14  Andreas Schwab  <schwab@redhat.com>
48680
48681         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48682         variables after CHECK_SP call.
48683         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48684
48685 2010-09-13  Andreas Schwab  <schwab@redhat.com>
48686             Ulrich Drepper  <drepper@redhat.com>
48687
48688         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48689         re-relocationg ld.so.
48690         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48691         _dl_init_paths call.
48692         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
48693         here anymore.
48694
48695 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
48696
48697         * resolv/res_init.c (__res_vinit): Count the default server we added.
48698
48699 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
48700             Ulrich Drepper  <drepper@redhat.com>
48701
48702         [BZ #11968]
48703         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48704         (____longjmp_chk): Use %ebx for saving value across system call.
48705         Add unwind info.
48706
48707 2010-09-06  Andreas Schwab  <schwab@redhat.com>
48708
48709         * manual/Makefile: Don't mix pattern rules with normal rules.
48710
48711 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
48712
48713         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48714         operation.
48715         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48716         * libio/iofopncook.c (_IO_cookie_init): Likewise.
48717         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48718         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48719         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48720         Likewise.
48721
48722 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
48723
48724         [BZ #11979]
48725         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48726         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48727
48728 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
48729
48730         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48731         * sysdeps/x86_64/addmul_1.S: Likewise.
48732         * sysdeps/x86_64/lshift.S: Likewise.
48733         * sysdeps/x86_64/mul_1.S: Likewise.
48734         * sysdeps/x86_64/rshift.S: Likewise.
48735         * sysdeps/x86_64/sub_n.S: Likewise.
48736         * sysdeps/x86_64/submul_1.S: Likewise.
48737
48738 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48739
48740         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48741         Define __sched_param instead of SCHED_* and sched_param when
48742         <bits/sched.h> is included with __need_schedparam defined.
48743         * bits/sched.h [__need_schedparam]
48744         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48745         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48746         (__defined_schedparam): Define to 1.
48747         (__sched_param): New structure, identical to sched_param.
48748         (__need_schedparam): Undefine.
48749
48750 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
48751
48752         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48753         (epoll_create1): Declare.
48754
48755         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48756
48757 2010-08-31  Andreas Schwab  <schwab@redhat.com>
48758
48759         [BZ #7066]
48760         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48761         shifting retval into place.
48762
48763 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
48764
48765         * nis/rpcsvc/nis.h: Update copyright notice.
48766         * nis/rpcsvc/nis.x: Likewise.
48767         * nis/rpcsvc/nis_callback.h: Likewise.
48768         * nis/rpcsvc/nis_callback.x: Likewise.
48769         * nis/rpcsvc/nis_object.x: Likewise.
48770         * nis/rpcsvc/nis_tags.h: Likewise.
48771         * nis/rpcsvc/yp.h: Likewise.
48772         * nis/rpcsvc/yp.x: Likewise.
48773         * nis/rpcsvc/ypupd.h: Likewise.
48774         * nis/yp_xdr.c: Likewise.
48775         * nis/ypupdate_xdr.c: Likewise.
48776
48777         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
48778         mainly the body of pmap_getport.  Add parameters to specify timeouts.
48779         (pmap_getport): Use __libc_rpc_getport.
48780         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48781         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48782         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48783
48784 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
48785
48786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48787         fanotify_mark.
48788
48789 2010-08-27  Roland McGrath  <roland@redhat.com>
48790
48791         * sysdeps/i386/i686/multiarch/Makefile
48792         (CFLAGS-varshift.c): New variable.
48793
48794 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
48795
48796         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48797         * sysdeps/i386/i686/multiarch/varshift.c: New file.
48798
48799         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48800
48801         * sysdeps/x86_64/strlen.S: Minimal code improvement.
48802
48803 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
48804
48805         * sysdeps/x86_64/strlen.S: Unroll the loop.
48806         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48807         strlen-sse2 strlen-sse2-bsf.
48808         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48809         __strlen_no_bsf if bit_Slow_BSF is set.
48810         (__strlen_sse42): Removed.
48811         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48812         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48813
48814 2010-08-25  Roland McGrath  <roland@redhat.com>
48815
48816         * sysdeps/x86_64/multiarch/varshift.S: File removed.
48817         * sysdeps/x86_64/multiarch/varshift.c: New file.
48818         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48819         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48820         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48821         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48822
48823 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
48824
48825         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48826         strlen-sse2 strlen-sse2-bsf.
48827         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48828         __strlen_sse2_bsf if bit_Slow_BSF is unset.
48829         (__strlen_sse2): Removed.
48830         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48831         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48832         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48833         bit_Slow_BSF for Atom.
48834         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48835         (index_Slow_BSF): Define.
48836         (HAS_SLOW_BSF): Define.
48837
48838 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
48839
48840         [BZ #10851]
48841         * resolv/res_init.c (__res_vinit): When no server address at all
48842         is given default to loopback.
48843
48844 2010-08-24  Roland McGrath  <roland@redhat.com>
48845
48846         * configure.in: Remove config-name.h generation.
48847         * configure: Regenerated.
48848         * config-name.in: File removed.
48849         * scripts/config-uname.sh: New file.
48850         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48851         ($(objdir)config-name.h): New target.
48852
48853         * sunrpc/rpc_parse.h: Avoid nested comment.
48854
48855 2010-08-24  Richard Henderson  <rth@redhat.com>
48856             Ulrich Drepper  <drepper@redhat.com>
48857             H.J. Lu  <hongjiu.lu@intel.com>
48858
48859         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48860         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48861         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48862         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
48863         _mm_alignr_epi8 with _mm_loadu_si128.
48864         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48865         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48866         (__m128i_shift_right): Removed.
48867         * sysdeps/i386/i686/multiarch/varshift.h: New file.
48868         * sysdeps/i386/i686/multiarch/varshift.S: New file.
48869         * sysdeps/x86_64/multiarch/varshift.h: New file.
48870         * sysdeps/x86_64/multiarch/varshift.S: New file.
48871
48872 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
48873
48874         * configure.in: Move assembler checks to before sysdep dir checking.
48875
48876 2010-08-20  Petr Baudis  <pasky@suse.cz>
48877
48878         * LICENSES: Sync the sunrpc license.
48879
48880 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
48881
48882         * sunrpc/auth_des.c: Update copyright notice once again.
48883         * sunrpc/auth_none.c: Likewise.
48884         * sunrpc/auth_unix.c: Likewise.
48885         * sunrpc/authdes_prot.c: Likewise.
48886         * sunrpc/authuxprot.c: Likewise.
48887         * sunrpc/bindrsvprt.c: Likewise.
48888         * sunrpc/clnt_gen.c: Likewise.
48889         * sunrpc/clnt_perr.c: Likewise.
48890         * sunrpc/clnt_raw.c: Likewise.
48891         * sunrpc/clnt_simp.c: Likewise.
48892         * sunrpc/clnt_tcp.c: Likewise.
48893         * sunrpc/clnt_udp.c: Likewise.
48894         * sunrpc/clnt_unix.c: Likewise.
48895         * sunrpc/des_crypt.c: Likewise.
48896         * sunrpc/des_soft.c: Likewise.
48897         * sunrpc/get_myaddr.c: Likewise.
48898         * sunrpc/getrpcport.c: Likewise.
48899         * sunrpc/key_call.c: Likewise.
48900         * sunrpc/key_prot.c: Likewise.
48901         * sunrpc/openchild.c: Likewise.
48902         * sunrpc/pm_getmaps.c: Likewise.
48903         * sunrpc/pm_getport.c: Likewise.
48904         * sunrpc/pmap_clnt.c: Likewise.
48905         * sunrpc/pmap_prot.c: Likewise.
48906         * sunrpc/pmap_prot2.c: Likewise.
48907         * sunrpc/pmap_rmt.c: Likewise.
48908         * sunrpc/rpc/auth.h: Likewise.
48909         * sunrpc/rpc/auth_unix.h: Likewise.
48910         * sunrpc/rpc/clnt.h: Likewise.
48911         * sunrpc/rpc/des_crypt.h: Likewise.
48912         * sunrpc/rpc/key_prot.h: Likewise.
48913         * sunrpc/rpc/netdb.h: Likewise.
48914         * sunrpc/rpc/pmap_clnt.h: Likewise.
48915         * sunrpc/rpc/pmap_prot.h: Likewise.
48916         * sunrpc/rpc/pmap_rmt.h: Likewise.
48917         * sunrpc/rpc/rpc.h: Likewise.
48918         * sunrpc/rpc/rpc_des.h: Likewise.
48919         * sunrpc/rpc/rpc_msg.h: Likewise.
48920         * sunrpc/rpc/svc.h: Likewise.
48921         * sunrpc/rpc/svc_auth.h: Likewise.
48922         * sunrpc/rpc/types.h: Likewise.
48923         * sunrpc/rpc/xdr.h: Likewise.
48924         * sunrpc/rpc_clntout.c: Likewise.
48925         * sunrpc/rpc_cmsg.c: Likewise.
48926         * sunrpc/rpc_common.c: Likewise.
48927         * sunrpc/rpc_cout.c: Likewise.
48928         * sunrpc/rpc_dtable.c: Likewise.
48929         * sunrpc/rpc_hout.c: Likewise.
48930         * sunrpc/rpc_main.c: Likewise.
48931         * sunrpc/rpc_parse.c: Likewise.
48932         * sunrpc/rpc_parse.h: Likewise.
48933         * sunrpc/rpc_prot.c: Likewise.
48934         * sunrpc/rpc_sample.c: Likewise.
48935         * sunrpc/rpc_scan.c: Likewise.
48936         * sunrpc/rpc_scan.h: Likewise.
48937         * sunrpc/rpc_svcout.c: Likewise.
48938         * sunrpc/rpc_tblout.c: Likewise.
48939         * sunrpc/rpc_util.c: Likewise.
48940         * sunrpc/rpc_util.h: Likewise.
48941         * sunrpc/rpcinfo.c: Likewise.
48942         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48943         * sunrpc/rpcsvc/key_prot.x: Likewise.
48944         * sunrpc/rpcsvc/klm_prot.x: Likewise.
48945         * sunrpc/rpcsvc/mount.x: Likewise.
48946         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48947         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48948         * sunrpc/rpcsvc/rex.x: Likewise.
48949         * sunrpc/rpcsvc/rstat.x: Likewise.
48950         * sunrpc/rpcsvc/rusers.x: Likewise.
48951         * sunrpc/rpcsvc/sm_inter.x: Likewise.
48952         * sunrpc/rpcsvc/spray.x: Likewise.
48953         * sunrpc/rpcsvc/yppasswd.x: Likewise.
48954         * sunrpc/rtime.c: Likewise.
48955         * sunrpc/svc.c: Likewise.
48956         * sunrpc/svc_auth.c: Likewise.
48957         * sunrpc/svc_authux.c: Likewise.
48958         * sunrpc/svc_raw.c: Likewise.
48959         * sunrpc/svc_run.c: Likewise.
48960         * sunrpc/svc_simple.c: Likewise.
48961         * sunrpc/svc_tcp.c: Likewise.
48962         * sunrpc/svc_udp.c: Likewise.
48963         * sunrpc/svc_unix.c: Likewise.
48964         * sunrpc/svcauth_des.c: Likewise.
48965         * sunrpc/xcrypt.c: Likewise.
48966         * sunrpc/xdr.c: Likewise.
48967         * sunrpc/xdr_array.c: Likewise.
48968         * sunrpc/xdr_float.c: Likewise.
48969         * sunrpc/xdr_mem.c: Likewise.
48970         * sunrpc/xdr_rec.c: Likewise.
48971         * sunrpc/xdr_ref.c: Likewise.
48972         * sunrpc/xdr_sizeof.c: Likewise.
48973         * sunrpc/xdr_stdio.c: Likewise.
48974
48975         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48976         handling.
48977
48978 2010-08-19  Andreas Schwab  <schwab@redhat.com>
48979
48980         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48981
48982 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
48983
48984         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48985         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48986         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48987         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48988         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48989         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48990         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48991         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48992         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48993         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48994         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48995         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48996         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48997         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48998
48999 2010-07-26  Anton Blanchard  <anton@samba.org>
49000
49001         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49002         * malloc/arena.c (heap_trim): Likewise.
49003
49004 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
49005
49006         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49007         here.  Not...
49008         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49009         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49010
49011 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
49012
49013         * sysdeps/i386/elf/Makefile: New file.
49014
49015 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49016
49017         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49018         from fanotify_init.
49019         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49020         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49021
49022 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
49023
49024         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49025         of strncasecmp_l.
49026         * sysdeps/multiarch/strcmp.S: Likewise.
49027
49028 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
49029
49030         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49031         strncase_l-nonascii.
49032         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49033         Add strncase_l-ssse3.
49034         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49035         * sysdeps/x86_64/strcmp.S: Likewise.
49036         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49037         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49038         * sysdeps/x86_64/strncase.S: New file.
49039         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49040         * sysdeps/x86_64/strncase_l.S: New file.
49041         * string/Makefile (strop-tests): Add strncasecmp.
49042         * string/test-strncasecmp.c: New file.
49043
49044         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49045         warning.
49046
49047         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49048         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49049
49050 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49051
49052         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49053
49054 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
49055
49056         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49057         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49058         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49059
49060 2010-05-01  Alan Modra  <amodra@gmail.com>
49061
49062         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49063         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49064         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49065         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49066         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49067         tidying.  Don't tail-call __sigjmp_save for static lib.
49068         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49069         save location.
49070         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49071         (CALL_MCOUNT): Add eh info, and nop after bl.
49072         (TAIL_CALL_SYSCALL_ERROR): New macro.
49073         (PSEUDO_RET): Use it.
49074         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49075         Correct save location of integer regs and cr.
49076         (_dl_profile_resolve): Correct cr save location.  Delete nops
49077         after bl when SHARED.  Reduce cfi size a little by better
49078         placement of cfi directives.
49079         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49080         make a stack frame.  Instead use parm save area as a temp.
49081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49082         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
49083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49084         Don't make a stack frame for parent, use parm save area.
49085         Increase child stack frame to 112 bytes.  Don't save unused reg,
49086         and adjust reg usage.  Set up cfi on error recovery and
49087         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49089         (__makecontext): Add dummy nop after jump to exit.
49090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49091         Use correct parm save area and cr save, reduce stack frame.
49092         Correct cfi for possible PSEUDO_RET frame setup.
49093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49094         Branch to local label emitted by PSEUDO_RET rather than
49095         __syscall_error.
49096
49097 2010-08-12  Andreas Schwab  <schwab@redhat.com>
49098
49099         [BZ #11904]
49100         * locale/programs/locale.c (print_assignment): New function.
49101         (show_locale_vars): Use it.
49102
49103 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
49104
49105         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49106         field.
49107         (struct statfs64): Likewise.
49108         (_STATFS_F_FLAGS): Define.
49109         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49110         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49111         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49112         (ST_VALID): Define locally.
49113         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49114         __statvfs_getflags, use the provided value.
49115         * sysdeps/unix/sysv/linux/kernel-features.h: Define
49116         __ASSUME_STATFS_F_FLAGS.
49117
49118         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49119
49120         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49121         Add sys/fanotify.h.
49122         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49123         fanotify_mask for GLIBC_2.13.
49124         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49125         fanotify_init and fanotify_mark.
49126         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49127         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49128
49129         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49130         Add prlimit.
49131         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49132         prlimit64 for GLIBC_2.13.
49133         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49134         prlimit64.
49135         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49136         syscall.
49137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49138         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49139         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49140         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49141         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
49142         add prlimit alias.
49143         * sysdeps/unix/sysv/linux/prlimit.c: New file.
49144
49145         [BZ #11903]
49146         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49147         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49148
49149         * nss/Makefile: Add rules to build and run tst-nss-test1.
49150         * shlib-versions: Add entry for libnss_test1.
49151         * nss/nss_test1.c: New file.
49152         * nss/tst-nss-test1.c: New file.
49153
49154         * nss/nsswitch.c (__nss_database_custom): Define new variable.
49155         (__nss_configure_lookup): Set appropriate entry in
49156         __nss_configure_lookup to true.
49157         * nss/nsswitch.h: Define enum with indeces of databases in
49158         databases and __nss_database_custom arrays.  Declare
49159         __nss_database_custom.
49160         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49161         to avoid using nscd when custom rules are installed.
49162         * nss/getXXbyYY_r.c: Likewise.
49163         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49164
49165         * nss/nss_files/files-parse.c: Whitespace fixes.
49166
49167 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
49168
49169         [BZ #11883]
49170         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49171         * posix/fnmatch_loop.c: Likewise.
49172
49173 2010-07-17  Andi Kleen  <ak@linux.intel.com>
49174
49175         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49176         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49177         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49178         * Versions.def [GLIBC_2.13]: Add.
49179
49180 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
49181
49182         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49183         Also fail if tpwd after pwuid call is NULL.
49184
49185 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49186
49187         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49188         when converting to ms.
49189
49190 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49191
49192         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49193         EOPNOTSUPP errors with ENOTTY.
49194         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49195         EOPNOTSUPP errors with ENOTTY.
49196
49197 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
49198
49199         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49200         Add strcasecmp_l-ssse3.
49201         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49202         strcasecmp.
49203         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49204         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49205         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49206
49207 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
49208
49209         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49210
49211         * string/Makefile (strop-tests): Add strcasecmp.
49212         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49213         strcasecmp_l-nonascii.
49214         (gen-as-const-headers): Add locale-defines.sym.
49215         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49216         * sysdeps/x86_64/strcasecmp.S: New file.
49217         * sysdeps/x86_64/strcasecmp_l.S: New file.
49218         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49219         * sysdeps/x86_64/locale-defines.sym: New file.
49220         * string/test-strcasecmp.c: New file.
49221
49222         * string/test-strcasestr.c: Test both ends of the range of characters.
49223         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49224
49225 2010-07-29  Roland McGrath  <roland@redhat.com>
49226
49227         [BZ #11856]
49228         * manual/locale.texi (Yes-or-No Questions): Fix example code.
49229
49230 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
49231
49232         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49233         for ld.so.
49234
49235 2010-07-27  Andreas Schwab  <schwab@redhat.com>
49236
49237         * manual/memory.texi (Malloc Tunable Parameters): Document
49238         M_PERTURB.
49239
49240 2010-07-26  Roland McGrath  <roland@redhat.com>
49241
49242         [BZ #11840]
49243         * configure.in (-fgnu89-inline check): Set and substitute
49244         gnu89_inline, not libc_cv_gnu89_inline.
49245         * configure: Regenerated.
49246         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49247
49248 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
49249
49250         * string/test-strnlen.c: New file.
49251         * string/Makefile (strop-tests): Add strnlen.
49252         * string/tester.c (test_strnlen): Add a few more test cases.
49253         * string/tst-strlen.c: Better error reporting.
49254
49255         * sysdeps/x86_64/strnlen.S: New file.
49256
49257 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
49258
49259         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49260         lower-latency instructions.
49261
49262 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
49263
49264         * string/test-strcasestr.c: New file.
49265         * string/test-strstr.c: New file.
49266         * string/Makefile (strop-tests): Add strstr and strcasestr.
49267         * string/str-two-way.h: Don't undefine MAX.
49268         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49269
49270 2010-07-21  Andreas Schwab  <schwab@redhat.com>
49271
49272         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49273         strcasestr-nonascii.
49274         (CFLAGS-strcasestr-nonascii.c): Define.
49275         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49276         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49277         Remove unused attribute.
49278
49279 2010-07-20  Roland McGrath  <roland@redhat.com>
49280
49281         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49282         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
49283         ld.so.cache was broken.  With it, there is no way to disable dsocaps
49284         like LD_HWCAP_MASK can disable hwcaps.
49285
49286 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49287
49288         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49289
49290 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
49291
49292         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49293         call in strcasestr.
49294         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49295         __strcasestr_sse42_nonascii.
49296         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49297         strcasestr-nonascii.c.
49298         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49299
49300 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
49301
49302         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49303         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49304         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49305         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49306
49307 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
49308
49309         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49310         fcntl.
49311
49312 2010-07-06  Andreas Schwab  <schwab@redhat.com>
49313
49314         [BZ #11577]
49315         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49316         dl_signal_cerror.
49317
49318 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
49319
49320         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49321         _PC_PIPE_BUF using F_GETPIPE_SZ.
49322
49323 2010-07-05  Roland McGrath  <roland@redhat.com>
49324
49325         * manual/arith.texi (Rounding Functions): Fix rint description
49326         implicit in round description.
49327
49328 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
49329
49330         * elf/Makefile: Fix linking for a few tests to make recent linker
49331         happy.
49332
49333 2010-06-30  Andreas Schwab  <schwab@redhat.com>
49334
49335         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49336         $(common-objpfx)libc_nonshared.a.
49337
49338 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
49339
49340         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49341         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49342         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49343         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49344         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49345         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49346         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49347         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49362         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49363         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49364         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49365         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49366         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49367         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49368         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49369         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49370         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49371         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49372         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49373         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49388
49389 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
49390
49391         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49392         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
49393         * string/memmove.c (memmove): Renamed to ...
49394         (MEMMOVE): ...this.  Default to memmove.
49395         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49396         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49397         (END_CHK): Define.
49398         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49399         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49400         mempcpy-ssse3-back memmove-ssse3-back.
49401         * sysdeps/x86_64/multiarch/bcopy.S: New file .
49402         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49403         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49404         * sysdeps/x86_64/multiarch/memcpy.S: New file.
49405         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49406         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49407         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49408         * sysdeps/x86_64/multiarch/memmove.c: New file.
49409         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49410         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49411         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49412         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49413         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49414         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49415         Define.
49416         (index_Fast_Copy_Backward): Define.
49417         (HAS_ARCH_FEATURE): Define.
49418         (HAS_FAST_REP_STRING): Define.
49419         (HAS_FAST_COPY_BACKWARD): Define.
49420
49421 2010-06-21  Andreas Schwab  <schwab@redhat.com>
49422
49423         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49424         Restore proper fallback handling.
49425
49426 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
49427
49428         [BZ #11701]
49429         * posix/group_member.c (__group_member): Correct checking loop.
49430
49431         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49432         OOM in getpwuid_r correctly.  Return error number when the caller
49433         should return, otherwise -1.
49434         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49435         call returning > 0 value.
49436         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49437
49438 2010-06-07  Andreas Schwab  <schwab@redhat.com>
49439
49440         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49441         libc_nonshared.a from targets in modules-names.
49442
49443 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
49444
49445         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49446         requires it.
49447
49448 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
49449
49450         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49451         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49452         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49453         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49454
49455 2010-06-02  Andreas Schwab  <schwab@redhat.com>
49456
49457         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49458
49459 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
49460
49461         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49462         and F_GETPIPE_SZ.
49463         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49464         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49465         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49466         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49467         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49468         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49469
49470 2010-06-14  Roland McGrath  <roland@redhat.com>
49471
49472         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49473
49474 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
49475
49476         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49477         __REDIRECT followed by __THROW.
49478         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49479         * posix/getopt.h (getopt): Likewise.
49480
49481 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49482
49483         * hurd/lookup-at.c (__file_name_lookup_at): Accept
49484         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
49485         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49486         in AT_FLAGS.
49487         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49488         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49489
49490 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
49491
49492         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49493
49494 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
49495
49496         [BZ #11640]
49497         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49498         Properly check family and model.
49499
49500 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
49501
49502         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49503
49504 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
49505
49506         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49507
49508 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
49509
49510         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49511         symbol reference.
49512
49513 2010-05-19  Andreas Schwab  <schwab@redhat.com>
49514
49515         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49516         symbol reference.
49517
49518 2010-05-21  Andreas Schwab  <schwab@redhat.com>
49519
49520         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49521         and internal_recvmmsg.
49522         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49523         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49524         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49525         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49526
49527         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49528         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49529         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49530
49531 2010-05-20  Andreas Schwab  <schwab@redhat.com>
49532
49533         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49534
49535 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
49536
49537         POWER7 optimizations.
49538         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49539         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49540
49541 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
49542
49543         * version.h: Update for 2.13 development version.
49544
49545 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
49546
49547         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49548         exceptions.  Return 0.
49549
49550 2010-05-07  Roland McGrath  <roland@redhat.com>
49551
49552         * elf/ldconfig.c (main): Add a const.
49553
49554 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
49555
49556         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49557         (args_options): Add no-idn option.
49558         (ahosts_keys_int): Add idn_flags to ai_flags.
49559         (parse_option): Handle 'i' option to clear idn_flags.
49560
49561         * malloc/malloc.c (_int_free): Possible race in the most recently
49562         added check.  Only act on the data if no current modification
49563         happened.
49564
49565 See ChangeLog.17 for earlier changes.