Use __builtin_trap for ABORT_INSTRUCTION.
[platform/upstream/glibc.git] / ChangeLog
1 2014-07-31  Roland McGrath  <roland@hack.frob.com>
2
3         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
4         * configure.ac (libc_cv_builtin_trap): New test.
5         * configure: Regenerated.
6         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
7         (ABORT_INSTRUCTION): Define using __builtin_trap.
8
9         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
10         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
11         * sysdeps/nptl/nptl-signals.h: New file.
12         * nptl/pthreadP.h: Include <nptl-signals.h>.
13
14 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15
16         * sysdeps/s390/s390-64/utf16-utf32-z9.c
17         (ONE_DIRECTION): Define.
18         * sysdeps/s390/s390-64/utf8-utf16-z9.c
19         (ONE_DIRECTION): Define.
20         * sysdeps/s390/s390-64/utf8-utf32-z9.c
21         (ONE_DIRECTION): Define.
22
23 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
24
25         * sysdeps/s390/Makefile: Delete file.
26         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
27         * sysdeps/s390/__longjmp.c: Delete file.
28         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
29         Remove fields __flags and __reserved.
30         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
31         and add versioning.
32         * sysdeps/s390/rtld-__longjmp.c: Delete file.
33         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
34         * sysdeps/s390/rtld-setjmp.S: Likewise.
35         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
36         * sysdeps/s390/s390-32/__longjmp.c: ... here.
37         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
38         * sysdeps/s390/s390-32/setjmp.S: ... here.
39         Add versioning.
40         (__sigsetjmp): Remove setting __flags field.
41         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
42         * sysdeps/s390/s390-64/__longjmp.c: ... here.
43         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
44         * sysdeps/s390/s390-64/setjmp.S: ... here.
45         Add versioning.
46         (__sigsetjmp): Remove setting __flags field.
47         * sysdeps/s390/setjmp.S: Delete file.
48         * sysdeps/s390/sigjmp.c: Likewise.
49         * sysdeps/s390/v1-longjmp.c: Likewise.
50         * sysdeps/s390/v1-setjmp.h: Likewise.
51         * sysdeps/s390/v1-sigjmp.c: Likewise.
52         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
53         Remove v1-longjmp_chk.
54         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
55         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
56         Include debug/longjmp_chk.c and add versioning.
57         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
58         Include nptl/pt-longjmp.c and add versioning.
59         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
60         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
61         Include __longjmp.c.
62         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
63         Move to ...
64         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
65         (__getcontext): Remove setting __flags field.
66         Add versioning.
67         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
68         Don't restore upper high grps.
69         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
70         Likewise.
71         (__swapcontext): Remove setting uc_flags field.
72         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
73         Delete file.
74         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
75         Include __longjmp.c.
76         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
77         Move to ...
78         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
79         (__getcontext): Remove setting __flags field.
80         Add versioning.
81         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
82         (__swapcontext): Remove setting uc_flags field.
83         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
84         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
85         Remove fields uc_high_gprs and __reserved.
86         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
87         New file with reverted content.
88         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
89         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
90         Regenerated.
91         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
92         Regenerated.
93
94 2014-07-31  Andreas Schwab  <schwab@suse.de>
95
96         * config.h.in (HAVE_IFUNC): Define to 0.
97         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
98         definedness.
99
100 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
101
102         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
103         memmove-avx-unaligned, memcpy-avx-unaligned and
104         mempcpy-avx-unaligned.
105         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
106         Add tests for AVX memcpy functions.
107         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
108         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
109         memcpy_chk.
110         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
111         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
112         memmove_chk.
113         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
114         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
115         mempcpy_chk.
116         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
117         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
118         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
119
120 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
121
122         [BZ #17213]
123         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
124         powerpc64le.
125
126 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
127
128         [BZ #16839]
129         * manual/llio.texi: Add section about open file description locks.
130         * manual/examples/ofdlocks.c: Example of open file description
131         lock usage.
132         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
133         F_OFD_SETLK, and F_OFD_SETLKW.
134
135 2014-07-23  Allan McRae  <allan@archlinux.org>
136
137         * po/es.po: Update Spanish translation from translation project.
138
139 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
140
141         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
142
143 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
144
145         [BZ #17078]
146         * sysdeps/arm/dl-machine.h (elf_machine_rela)
147         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
148         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
149
150 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
151
152         [BZ #17088]
153         * math/fesetenv.c (__fesetenv)
154         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
155         * math/feupdateenv.c (__feupdateenv)
156         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
157
158         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
159         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
160         (__ASSUME_SOCKETCALL): Do not define.
161
162         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
163         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
164         (__ASSUME_SOCKETCALL): Do not define.
165         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
166         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
167         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
168         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
169         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
170         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
171         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
172         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
173
174         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
175         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
176         (__ASSUME_SOCKETCALL): Do not define.
177         (__ASSUME_IPC64): Define unconditionally.
178         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
179         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
180         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
181         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
182         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
183         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
184         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
185         Likewise.
186
187         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
188         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
189         (__ASSUME_SOCKETCALL): Do not define.
190         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
191         (__ASSUME_FUTEX_LOCK_PI): Likewise.
192         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
193         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
194         (__ASSUME_REQUEUE_PI): Define unconditionally.
195         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
196         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
197         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
198         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
199         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
200         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
201
202         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
203         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
204         (__ASSUME_SOCKETCALL): Do not define.
205         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
206         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
207         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
208         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
209         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
210         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
211
212         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
213         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
214         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
215         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
216         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
217         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
218         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
219         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
220         (__ASSUME_GETCPU_SYSCALL): Likewise.
221
222         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
223         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
224         cases for individual architectures.
225         * sysdeps/gnu/configure: Regenerated.
226         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
227         LIBC_SLIBDIR_RTLDDIR.
228         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
229         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
230         LIBC_SLIBDIR_RTLDDIR.
231         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
233         LIBC_SLIBDIR_RTLDDIR.
234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
235         Regenerated.
236         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
237         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
238         file.
239         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
240         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
241         file.
242         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
243         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
244         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
245         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
246
247         * sysdeps/aarch64/shlib-versions: Move to ...
248         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
249         * sysdeps/alpha/shlib-versions: Move to ...
250         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
251         * sysdeps/arm/shlib-versions: Move to ...
252         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
253         * sysdeps/hppa/shlib-versions: Move all contents except for
254         libgcc_s entry to ...
255         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
256         entry from ...
257         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
258         * sysdeps/ia64/shlib-versions: Move to ...
259         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
260         entry from ...
261         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
262         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
263         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
264         * sysdeps/microblaze/shlib-versions: Move to ...
265         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
266         * sysdeps/mips/shlib-versions: Move to ...
267         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
268         entry from ...
269         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
270         * sysdeps/tile/shlib-versions: Move to ...
271         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
272         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
273         from ...
274         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
275         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
276         entry from ...
277         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
278
279 2014-07-17  Will Newton  <will.newton@linaro.org>
280
281         * sysdeps/arm/bits/atomic.h
282         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
283         (__arch_compare_and_exchange_bool_16_int): Likewise.
284         (__arch_compare_and_exchange_bool_64_int): Likewise.
285
286         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
287         into an #else block.
288
289 2014-07-16  Roland McGrath  <roland@hack.frob.com>
290
291         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
292         just Linux configurations.  Test empirically that the compiler sets
293         __ARM_EABI__, rather than using the tuple to decide.
294         * sysdeps/arm/preconfigure: Regenerated.
295         * sysdeps/unix/sysv/linux/arm/configure: File removed.
296         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
297         contents appended ...
298         * sysdeps/arm/configure.ac: ... here.
299         * sysdeps/arm/configure: Regenerated.
300
301 2014-07-15  Roland McGrath  <roland@hack.frob.com>
302
303         * nptl/pthread_kill.c: New file.
304         * nptl/pthread_sigmask.c: New file.
305         * nptl/pthread_sigqueue.c: New file.
306
307         * sysdeps/nptl/lowlevellock.h: New file.
308         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
309         * sysdeps/nptl/lowlevellock-futex.h: New file.
310
311         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
312         Remove dead declarations.
313
314 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
315
316         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
317         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
318         config-cflags-avx2.
319         * sysdeps/x86_64/configure.ac: Likewise.
320         * sysdeps/i386/configure: Regenerated.
321         * sysdeps/x86_64/configure: Likewise.
322         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
323         memset-avx2 only if config-cflags-avx2 is yes.
324         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
325         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
326         defined.
327         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
328         only if HAVE_AVX2_SUPPORT is defined.
329         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
330
331 2014-07-14  Alan Modra  <amodra@gmail.com>
332
333         [BZ #17153]
334         * elf/elf.h (DT_PPC64_NUM): Correct value.
335         * NEWS: Add to fixed bug list.
336
337 2014-07-13  Jim Meyering  <meyering@fb.com>
338
339         [BZ 17150]
340         regex: don't deref NULL upon heap allocation failure
341         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
342         failure in one more place.
343         To trigger the segfault, configure grep -with-included-regex,
344         build it, and run these commands:
345         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
346
347 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
348
349         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
350
351 2014-07-11  Richard Henderson  <rth@redhat.com>
352
353         * sysdeps/aarch64/libm-test-ulps: Update.
354
355 2014-07-10  Florian Weimer  <fweimer@redhat.com>
356
357         [BZ #17135]
358         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
359         * nptl/allocatestack.c (__nptl_setxid_error): New function.
360         (__nptl_setxid): Initialize error member.  Call
361         __nptl_setxid_error.
362         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
363         * nptl/descr.h (struct xid_command): Add error member.
364         * nptl/tst-setuid3.c: New file.
365         * nptl/Makefile (tests): Add it.
366
367 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
368
369         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
370         New define.
371         (__lll_trylock): Use __lll_base_trylock.
372         (__lll_cond_trylock): Likewise.
373
374 2014-07-10  Roland McGrath  <roland@hack.frob.com>
375
376         * nptl/pthread_create.c (start_thread): Use atomic_or and
377         lll_futex_wake directly rather than lll_robust_dead.
378         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
379         (lll_robust_dead): Macro removed.
380         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
381         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
382         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
383         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
384         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
385         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
386         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
387         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
388         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
389         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
390         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
391         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
392         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
393         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
394         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
395
396         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
397         Use atomic_compare_and_exchange_val_acq directly rather than
398         lll_robust_trylock.
399         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
400         (__lll_robust_trylock, lll_robust_trylock): Removed.
401         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
402         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
403         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
404         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
405         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
406         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
407         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
408         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
409         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
410         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
411         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
412         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
413         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
414         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
415
416 2014-07-02  Florian Weimer  <fweimer@redhat.com>
417
418         * manual/locale.texi (Locale Names): New section documenting
419         locale name syntax.  Adjust menu and node chaining accordingly.
420         (Choosing Locale): Reference Locale Names, Locale Categories.
421         Mention setting LC_ALL=C.  Reflect that name syntax is now
422         documented.
423         (Locale Categories): New section title.  Reference Locale Names.
424         LC_ALL is an environment variable, but not a category.
425         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
426         description, now in Locale Name.  Reference that section.  Locale
427         name syntax is now documented.
428
429 2014-07-02  Florian Weimer  <fweimer@redhat.com>
430
431         [BZ #17137]
432         * locale/findlocale.c (name_present, valid_locale_name): New
433         functions.
434         (_nl_find_locale): Use the loc_name variable to store name
435         candidates.  Call name_present and valid_locale_name to check and
436         validate locale names.  Return an error if the locale is invalid.
437
438 2014-07-02  Florian Weimer  <fweimer@redhat.com>
439
440         * locale/setlocale.c (setlocale): Use strdup for allocating
441         composite name copy.
442
443 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
444
445         Sync up with gnulib.
446         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
447         [!_LIBC && ENABLE_NLS]: Include gettext.h.
448         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
449         and _GL_ARG_NONNULL.
450         [USE_UNLOCKED_IO]: Include unlocked-io.h.
451         [!_LIBC]: Include code for Windows and Cygwin.
452         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
453         Include prototype for int strerror_r.
454         [!_LIBC] (is_open): New function.
455         (flush_stdout): New function.
456         (print_errno_message): Use it.
457         (error): Likewise.
458         (error_at_line): Likewise.
459         (error_tail) Add function attribute macros.  Use
460         __builtin_expect.
461
462         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
463
464         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
465
466         * io/ftw.c: Include sys/param.h unconditionally.
467
468         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
469
470         [BZ #17125]
471         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
472         libc_freeres_ptr.
473         (freecache): New function to free CACHE on exit.
474
475         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
476         initialization.
477
478 2014-07-09  David S. Miller  <davem@davemloft.net>
479
480         * sysdeps/sparc/fpu/libm-test-ulps: Update.
481
482         * sysdeps/sparc/nptl/internaltypes.h: Delete.
483         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
484         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
485         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
486         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
487         * sysdeps/sparc/nptl/sem_init.c: Likewise.
488         * sysdeps/sparc/nptl/sem_post.c: Likewise.
489         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
490         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
491         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
492         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
493         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
494         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
495
496 2014-07-09  Andreas Schwab  <schwab@suse.de>
497
498         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
499         output.
500         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
501         (do_test): Likewise.
502
503         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
504
505 2014-07-09  Will Newton  <will.newton@linaro.org>
506
507         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
508         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
509         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
510         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
511         * sysdeps/hppa/start.S (_start): Likewise.
512
513 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
514
515         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
516
517         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
518         defined.
519
520 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
521
522         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
523         after checking that it is non-NULL.
524
525         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
526
527 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
528
529         * sysdeps/powerpc/memmove.c: Remove file.
530         * sysdeps/powerpc/powerpc32/power4/memcopy.h
531         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
532         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
533         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
534         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
535         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
536         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
537         string memmove instead of removed powerpc one.
538
539         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
540         [weak_alias]: Fix compiler warning due trailing data.
541         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
542         [weak_alias]: Likewise.
543         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
544         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
545
546         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
547         (__libc_ifunc_impl_list): Add memmove functions.
548
549 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
550
551         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
552         Remove code.
553         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
554         Likewise
555         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
556         Likewise
557         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
558         Likewise
559         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
560         Likewise
561         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
562         Likewise
563         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
564         Likewise
565         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
566         Likewise
567         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
568         Likewise
569         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
570         Likewise
571         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
572         Likewise
573         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
574         Likewise
575         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
576         Likewise
577         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
578         Likewise
579         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
580         Likewise
581         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
582         Likewise
583         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
584         Likewise
585
586 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
587
588         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
589         to avoid alignment traps in non-cacheable memory.
590         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
591
592         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
593         multiarch objects.
594         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
595         file: multiarch power7 memmove.
596         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
597         multiarch default memmove.
598         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
599         multiarch memove for powerpc32/power4.
600
601         * string/bcopy.c: Use full path to include memmove.c.
602         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
603         multiarch objects.
604         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
605         bcopy for powerpc64.
606         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
607         bcopy for powerpc64.
608         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
609         and memmove implementations.
610         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
611         optimized multiarch memmove for POWER7/powerpc64.
612         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
613         default multiarch memmove for powerpc64.
614         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
615         multiarch for powerpc64.
616         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
617         for POWER7/powerpc64.
618         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
619         memmove for POWER7/powerpc64.
620
621         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
622         glibc default one.
623
624         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
625         __ELF_NATIVE_CLASS equal to 64.
626
627 2014-07-07  Roland McGrath  <roland@hack.frob.com>
628
629         * sysdeps/nptl/lowlevellock.h: File removed.
630
631         * NEWS: NPTL is no longer an add-on!
632         * nptl/internaltypes.h: Moved ...
633         * sysdeps/nptl/internaltypes.h: ... here.
634         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
635         * sysdeps/nptl/fork.c: Likewise.
636         * sysdeps/nptl/gai_misc.h: Likewise.
637         * sysdeps/nptl/librt-cancellation.c: Likewise.
638         * sysdeps/nptl/jmp-unwind.c: Likewise.
639         * sysdeps/nptl/setxid.h: Likewise.
640         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
641         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
642         * sysdeps/unix/sysv/linux/arm/Implies: New file.
643         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
644         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
645         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
646         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
647         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
648         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
649         * sysdeps/unix/sysv/linux/mips/Implies: New file.
650         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
651         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
652         * sysdeps/unix/sysv/linux/sh/Implies: New file.
653         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
654         * sysdeps/unix/sysv/linux/tile/Implies: New file.
655         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
656         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
657         * nptl/Makeconfig: Moved ...
658         * sysdeps/nptl/Makeconfig: ... here.
659         * nptl/configure: File removed.
660         * nptl/ANNOUNCE: File removed.
661         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
662         * sysdeps/unix/sysv/linux/configure: Regenerated.
663
664         * nptl/Makefile (routines): Add libc_pthread_init,
665         libc_multiple_threads, register-atfork and unregister-atfork.
666         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
667         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
668         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
669         pthread-pi-defines.sym, structsem.sym.
670         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
671         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
672         [$(subdir) = nptl] (tests): Add tst-setgetname.
673         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
674         * sysdeps/unix/sysv/linux/sigaction.c: Just include
675         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
676         [!LIBC_SIGACTION]: Remove aliases.
677         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
678         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
679         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
680         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
681         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
682         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
683         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
684         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
685         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
686         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
687         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
688         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
689         __libc_allocate_rtsig_private.
690         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
691         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
692         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
693         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
694         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
695         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
696         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
697         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
698         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
699         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
700         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
701         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
702         * nptl/internaltypes.h: ... here.
703         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
704         * sysdeps/nptl/jmp-unwind.c: ... here.
705         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
706         * nptl/libc-lowlevellock.c: ... here.
707         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
708         * nptl/libc_multiple_threads.c: ... here.
709         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
710         * nptl/libc_pthread_init.c: ... here.
711         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
712         * nptl/lowlevelbarrier.sym: ... here.
713         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
714         * nptl/lowlevelcond.sym: ... here.
715         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
716         * nptl/lowlevellock.c: ... here.
717         * nptl/lowlevellock.h: Moved ...
718         * sysdeps/nptl/lowlevellock.h: ... here.
719         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
720         * nptl/lowlevelrobustlock.c: ... here.
721         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
722         * nptl/lowlevelrobustlock.sym: ... here.
723         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
724         * nptl/lowlevelrwlock.sym: ... here.
725         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
726         * nptl/pt-fork.c: ... here.
727         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
728         * nptl/pthread-pi-defines.sym: ... here.
729         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
730         * nptl/pthread_attr_getaffinity.c: ... here.
731         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
732         * nptl/pthread_attr_setaffinity.c: ... here.
733         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
734         * nptl/pthread_mutex_cond_lock.c: ... here.
735         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
736         Update #include.
737         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
738         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
739         * nptl/pthread_once.c: ... here, replacing old file.
740         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
741         * nptl/pthread_yield.c: ... here.
742         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
743         * nptl/register-atfork.c: ... here.
744         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
745         * nptl/sem_post.c: ... here.
746         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
747         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
748         * nptl/sem_timedwait.c: ... here.
749         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
750         * nptl/sem_trywait.c: ... here.
751         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
752         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
753         * nptl/sem_wait.c: ... here.
754         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
755         * nptl/structsem.sym: ... here.
756         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
757         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
758         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
759         * nptl/unregister-atfork.c: ... here.
760         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
761         * nptl/unwindbuf.sym: ... here.
762         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
763         * sysdeps/nptl/fork.c: ... here.
764         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
765         * sysdeps/nptl/fork.h: ... here.
766         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
767         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
768         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
769         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
770         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
771         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
772         * sysdeps/unix/sysv/linux/getpid.c: ... here.
773         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
774         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
775         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
776         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
777         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
778         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
779         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
780         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
781         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
782         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
783         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
784         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
785         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
786         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
787         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
788         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
789         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
790         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
791         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
792         * sysdeps/unix/sysv/linux/raise.c: ... here.
793         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
794         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
795         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
796         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
797         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
798         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
799         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
800         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
801         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
802         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
803         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
804         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
805         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
806         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
807         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
808
809 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
810
811         * sysdeps/generic/memcopy.h: Add comment for
812         MEMCPY_OK_FOR_FWD_MEMMOVE.
813
814 2014-07-04  Will Newton  <will.newton@linaro.org>
815
816         * string/memchr.c: Merge from gnulib.
817         [_LIBC]: Remove conditionals.
818         (__ptr_t): Remove define.
819         (LONG_MAX_32_BITS): Likewise.
820         (LONG_MAX): Likewise.
821         (MEMCHR): Use ANSI prototype and optimize algorithm.
822
823         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
824
825 2014-07-03  Roland McGrath  <roland@hack.frob.com>
826
827         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
828         (lll_futex_timed_wait_bitset): Fix syscall argument count.
829
830         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
831         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
832         in a bare environment with no <stdlib.h> installed.
833         * sysdeps/nptl/configure: Regenerated.
834
835         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
836
837         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
838         AC_EGREP_CPP for kernel header checks, so they only succeed if
839         including <linux/version.h> actually works right.
840         * sysdeps/unix/sysv/linux/configure: Regenerated.
841
842         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
843         value so it's not diagnosed as unused.
844
845         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
846         thing) with "ifeq ($(subdir),rt)".
847
848 2014-07-03  Richard Henderson  <rth@redhat.com>
849
850         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
851         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
852         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
853
854         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
855         (math_force_eval): New.
856
857         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
858         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
859
860         * sysdeps/alpha/fpu/s_round.c: Remove file.
861         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
862
863         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
864         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
865         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
866         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
867         (_dl_start, print_statistics): Likewise.
868         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
869         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
870
871         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
872         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
873         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
874         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
875         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
876         (HP_SMALL_TIMING_AVAIL): Define.
877         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
878         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
879         (HP_SMALL_TIMING_AVAIL): Define.
880         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
881         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
882
883         * sysdeps/aarch64/hp-timing.h: New file.
884
885         * sysdeps/generic/hp-timing.h: Remove dead comment.
886         * sysdeps/generic/hp-timing-common.h: New file.
887         * sysdeps/alpha/hp-timing.h: Include it.
888         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
889         * sysdeps/i386/i686/hp-timing.h: Likewise.
890         * sysdeps/ia64/hp-timing.h: Likewise.
891         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
892         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
893         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
894         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
895         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
896         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
897         (hp_timing_t): New.
898
899         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
900         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
901         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
902         * elf/rtld.c (_dl_start_final): Likewise.
903         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
904         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
905         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
906         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
907         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
908         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
909         (HP_TIMING_DIFF_INIT): Remove.
910         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
911         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
912         (HP_TIMING_DIFF_INIT): Remove.
913         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
914         * sysdeps/i386/i686/hp-timing.c: Remove file.
915         * sysdeps/x86_64/hp-timing.c: Remove file.
916         * sysdeps/ia64/hp-timing.c: Remove file.
917         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
918         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
919         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
920         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
921
922         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
923         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
924         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
925         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
926         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
927         (HP_TIMING_ACCUM): Remove.
928         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
929         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
930         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
931
932         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
933         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
934         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
935         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
936         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
937         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
938         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
939         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
940
941         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
942
943 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
944
945         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
946
947 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
948
949         Sync up with gettext.
950         * intl/loadmsgcat.c: Define O_BINARY if not defined.
951         [_MSC_VER]: Include malloc.h
952         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
953         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
954         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
955         TEMP_FAILURE_RETRY.  Cast return of alloca.
956         [!_LIBC] Call gl_rwlock_init.
957         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
958
959 2014-07-02  Roland McGrath  <roland@hack.frob.com>
960
961         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
962         before checking its value.
963
964 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
965
966         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
967
968         * debug/memcpy_chk.c: Don't include pagecopy.h.
969         * debug/mempcpy_chk.c: Likewise.
970         * string/memcpy.c: Likewise.
971         * string/memmove.c: Likewise.
972         * sysdeps/powerpc/memmove.c: Likewise.
973         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
974         definition of PAGE_COPY_FWD_MAYBE here...
975         * sysdeps/generic/pagecopy.h: ... from here.
976         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
977
978 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
979             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
980
981         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
982         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
983         optimizations.
984         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
985         (__libc_ifunc_impl_list): Likewise.
986         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
987         multiarch strcat for PPC64.
988         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
989         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
990
991 2014-07-02  Roland McGrath  <roland@hack.frob.com>
992
993         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
994
995 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
996
997         * intl/loadmsgcat.c: Remove declaration of
998         get_sysdep_segment_value.
999         (get_sysdep_segment_value): Use ISO C style.
1000         (_nl_load_domain): Use ISO C style.  Get rid of redundant
1001         semicolon.  Fix typo and formatting in comment.
1002         (_nl_unload_domain): Use ISO C style.
1003
1004         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1005
1006 2014-07-02  Will Newton  <will.newton@linaro.org>
1007
1008         * malloc/obstack.c: Merge from gnulib master.
1009         [HAVE_CONFIG_H]: Remove conditional code.
1010         [!_LIBC]: Include config.h.
1011         [!ELIDE_CODE]: Don't include inttypes.h, include
1012         stdint.h unconditionally.
1013         (print_and_abort): Mark as _Noreturn.
1014         (_obstack_allocated_p): Mark as __attribute_pure__.
1015         (obstack_free): Rename to __obstack_free.
1016         [!__attribute__]: Remove conditional code.
1017         * malloc/obstack.h: Merge from gnulib master.
1018         [__cplusplus]: Move conditional down.
1019         [!__attribute_pure__]: Define __attribute_pure__ here
1020         if it is not already defined.
1021         (_obstack_memory_used): Mark as __attribute_pure__.
1022         [!__obstack_free]: Define as obstack_free.
1023         [__GNUC__]: Remove check for ancient NeXT gcc.
1024
1025 2014-07-02  Will Newton  <will.newton@linaro.org>
1026             Paul Eggert  <eggert@cs.ucla.edu>
1027
1028         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1029
1030 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1031
1032         * resolv/gethnamaddr.c: Add comment warning that the file is
1033         not maintained.
1034
1035 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
1036
1037         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1038         entries.
1039
1040         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1041         entry for aio_cancel and aio_cancel64.
1042         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1043         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1044         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1045         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1046         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1047         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1048         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1049         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1050         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1051         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1052         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1053         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1054         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1055
1056 2014-07-01  Roland McGrath  <roland@hack.frob.com>
1057
1058         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1059         * nptl/pthread_mutex_lock.c: Likewise.
1060         * nptl/pthread_mutex_timedlock.c: Likewise.
1061         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1062
1063 2014-07-01  Richard henderson  <rth@redhat.com>
1064
1065         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1066         (__isnan, __isnanl): Remove.
1067         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1068
1069         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1070
1071 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1072
1073         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1074
1075 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1076
1077         * resolv/nss_dns/dns-host.c (getanswer_r)
1078         [MULTI_PTRS_ARE_ALIASES]: Remove code.
1079
1080 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
1081
1082         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1083         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1084         undefine.
1085         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1086         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1087
1088 2014-07-01  Roland McGrath <roland@hack.frob.com>
1089
1090         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1091         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1092
1093         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1094         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1095
1096         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1097         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1098         ... here.
1099         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1100         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1101
1102         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1103         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1104         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1105         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1106
1107         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1108         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1109         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1110         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1111         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1112         Moved ...
1113         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1114         ... here.
1115         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1116         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1117         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1118         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1119         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1120         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1121         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1122         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1123         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1124         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1125         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1126         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1127         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1128         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1129         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1130         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1131         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1132         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1133         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1134         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1135         ... here.
1136         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1137         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1138         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1139         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1140         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1141         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1142         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1143         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1144
1145 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
1146
1147         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1148         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1149         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1150         Add sysdep.
1151
1152 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1153
1154         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1155
1156 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1157
1158         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1159         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1160
1161         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1162
1163         * sysdeps/arm/libm-test-ulps: Regenerated.
1164
1165 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1166             Roland McGrath <roland@hack.frob.com>
1167
1168         * test-skeleton.c (signal_handler): Kill the whole process group
1169         before killing the child individually.
1170         (main): Report any failure on `setpgid'.
1171
1172 2014-06-30  Roland McGrath  <roland@hack.frob.com>
1173
1174         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1175         from _TLS_H to _ARM_NPTL_TLS_H.
1176         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1177         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1178
1179 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1180
1181         [BZ #16539]
1182         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1183         (__expm1l): Return argument unchanged when small but not
1184         subnormal.
1185
1186         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1187         include macro name.
1188         (_FP_UNPACK_RAW_1_P): Likewise.
1189         (_FP_PACK_RAW_1): Likewise.
1190         (_FP_PACK_RAW_1_P): Likewise.
1191         (_FP_MUL_MEAT_1_wide): Likewise.
1192         (_FP_MUL_MEAT_DW_1_hard): Likewise.
1193         (_FP_MUL_MEAT_1_hard): Likewise.
1194         (_FP_DIV_MEAT_1_imm): Likewise.
1195         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1196         (_FP_DIV_MEAT_1_udiv): Likewise.
1197         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1198         (_FP_UNPACK_RAW_2): Likewise.
1199         (_FP_UNPACK_RAW_2_P): Likewise.
1200         (_FP_PACK_RAW_2): Likewise.
1201         (_FP_PACK_RAW_2_P): Likewise.
1202         (_FP_MUL_MEAT_DW_2_wide): Likewise.
1203         (_FP_MUL_MEAT_2_wide): Likewise.
1204         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1205         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1206         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1207         (_FP_MUL_MEAT_2_gmp): Likewise.
1208         (_FP_DIV_MEAT_2_udiv): Likewise.
1209         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1210         (_FP_FRAC_SRL_4): Likewise.
1211         (_FP_FRAC_SRST_4): Likewise.
1212         (_FP_FRAC_SRS_4): Likewise.
1213         (_FP_UNPACK_RAW_4): Likewise.
1214         (_FP_UNPACK_RAW_4_P): Likewise.
1215         (_FP_PACK_RAW_4): Likewise.
1216         (_FP_PACK_RAW_4_P): Likewise.
1217         (_FP_MUL_MEAT_DW_4_wide): Likewise.
1218         (_FP_MUL_MEAT_4_wide): Likewise.
1219         (_FP_MUL_MEAT_4_gmp): Likewise.
1220         (umul_ppppmnnn): Likewise.
1221         (_FP_DIV_MEAT_4_udiv): Likewise.
1222         (__FP_FRAC_ADD_4): Likewise.
1223         (__FP_FRAC_SUB_3): Likewise.
1224         (__FP_FRAC_SUB_4): Likewise.
1225         (__FP_FRAC_DEC_3): Likewise.
1226         (__FP_FRAC_DEC_4): Likewise.
1227         (__FP_FRAC_ADDI_4): Likewise.
1228         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1229         (_FP_FRAC_SRL_8): Likewise.
1230         (_FP_FRAC_SRS_8): Likewise.
1231
1232         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1233         include macro name.
1234         (FP_UNPACK_RAW_EP): Likewise.
1235         (FP_PACK_RAW_E): Likewise.
1236         (FP_PACK_RAW_EP): Likewise.
1237         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1238         (_FP_ISSIGNAN): Likewise.
1239         (_FP_ADD_INTERNAL): Likewise.
1240         (_FP_FMA): Likewise.
1241         (_FP_CMP): Likewise.
1242         (_FP_SQRT): Likewise.
1243         (_FP_TO_INT): Likewise.
1244         (_FP_FROM_INT): Likewise.
1245         (FP_EXTEND): Likewise.
1246         (_FP_DIV_MEAT_N_loop): Likewise.
1247
1248 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1249
1250         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1251         throughout.
1252
1253 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
1254
1255         [BZ #17097]
1256         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1257         result with correct sign in case of exponents that produce
1258         overflow except for X very close to 1.
1259
1260 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
1261
1262         mktime: merge #if/#ifdef usage from glibc
1263         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1264         as that works with both Glibc's and Gnulib's style.
1265         See thread starting at Siddhesh Poyarekar's bug report at:
1266         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1267
1268 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1269
1270         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1271         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1272         * sysdeps/tile/tilegx/memmove.c: Remove file.
1273
1274 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1275
1276         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1277         abi-name definition.
1278         * scripts/soversions.awk: Do not handle or generate ABI lines.
1279         * shlib-versions: Remove ABI entries.
1280         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1281         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1282
1283 2014-06-27  Roland McGrath  <roland@hack.frob.com>
1284
1285         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1286         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1287         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1288         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1289         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1290         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1291         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1292         Moved ...
1293         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1294         ... here.
1295         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1296         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1297         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1298         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1299         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1300         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1301         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1302         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1303         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1304         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1305         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1306         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1307         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1308         Moved ...
1309         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1310         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1311         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1312         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1313         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1314         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1315         Moved ...
1316         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1317         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1318         Moved ...
1319         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1320         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1321         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1322         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1323         Moved ...
1324         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1325         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1326         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1327         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1328         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1329         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1330         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1331         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1332         Moved ...
1333         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1334         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1335         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1336         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1337         Moved ...
1338         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1339         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1340         Moved ...
1341         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1342         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1343         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1344         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1345         Moved ...
1346         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1347         ... here.
1348         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1349         Identical file removed.
1350         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1351         Moved ...
1352         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1353         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1354         Identical file removed.
1355         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1356         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1357         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1358         Moved ...
1359         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1360         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1361         Identical file removed.
1362         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1363         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1364         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1365         Identical file removed.
1366         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1367         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1368         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1369         Identical file removed.
1370         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1371         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1372         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1373         Identical file removed.
1374         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1375         Moved ...
1376         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1377         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1378         Identical file removed.
1379         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1380         Moved ...
1381         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1382         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1383         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1384         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1385         Identical file removed.
1386         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1387         Moved ...
1388         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1389         ... here.
1390         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1391         Identical file removed.
1392         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1393         Moved ...
1394         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1395         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1396         Identical file removed.
1397         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1398         Moved ...
1399         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1400         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1401         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1402         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1403         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1404         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1405         Moved ...
1406         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1407         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1408         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1409
1410         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1411         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1412         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1413         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1414         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1415
1416 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
1417
1418         [BZ #17092]
1419         * nscd/nscd.c (monitor_child): Return exit status of child
1420         instead of return value from wait syscall.
1421
1422 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1423
1424         * configure.ac (libc_commonpagesize): Remove variable.
1425         (libc_relro_required): Likewise.
1426         (libc_cv_z_relro): Remove configure test.
1427         * configure: Regenerated.
1428         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1429         variable.
1430         (libc_relro_required): Likewise.
1431         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1432         (libc_relro_required): Likewise.
1433         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1434         (libc_relro_required): Likewise.
1435         * sysdeps/arm/preconfigure: Regenerated.
1436         * sysdeps/ia64/preconfigure: Remove file.
1437         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1438         variable.
1439         (libc_relro_required): Likewise.
1440
1441         [BZ #16561]
1442         [BZ #16562]
1443         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1444         (__ieee754_yn): Set FE_TONEAREST mode internally and then
1445         recompute overflowing results in original rounding mode.
1446         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1447         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1448         recompute overflowing results in original rounding mode.
1449         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1450         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1451         recompute overflowing results in original rounding mode.
1452         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1453         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1454         recompute overflowing results in original rounding mode.
1455         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1456         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1457         recompute overflowing results in original rounding mode.
1458         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1459         (libc_feholdsetround_ctx): New macro.
1460         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1461         * sysdeps/i386/fpu/libm-test-ulps: Update.
1462         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1463
1464 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1465
1466         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1467         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1468         corresponding .cpsetup call.
1469
1470 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1471
1472         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1473         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1474         * sysdeps/arm/Makefile [$(subdir) = csu]
1475         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1476         (static-only-routines): Add aeabi_read_tp here.
1477         (shared-only-routines): Add libc-aeabi_read_tp here.
1478         (CFLAGS-libc-start.c): Add -fexceptions here.
1479         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1480         (sysdep_routines, static-only-routines, shared-only-routines):
1481         Don't add to these here.
1482         (CFLAGS-libc-start.c): Likewise.
1483
1484         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1485         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1486         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1487         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1488         * sysdeps/arm/Makefile [$(subdir) = rt]
1489         (librt-sysdep_routines, librt-shared-only-routines):
1490         Append rt-aeabi_unwind_cpp_pr1 here.
1491         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1492         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1493         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1494         (libpthread-sysdep_routines, libpthread-shared-only-routines):
1495         Append nptl-aeabi_unwind_cpp_pr1 here.
1496         (tests): Filter out tst-cleanupx4 here.
1497         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1498         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1499         Don't do those here.
1500
1501 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1502
1503         * scripts/list-sources.sh: Do not handle ports specially.
1504
1505 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1506
1507         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1508         * sysdeps/arm/feupdateenv.c: Likewise.
1509
1510         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1511
1512 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1513
1514         * manual/texinfo.tex: Update to version 2014-05-05.10 with
1515         trailing whitespace removed.
1516         * scripts/config.guess: Update to version 2014-03-23.
1517         * scripts/config.sub: Update to version 2014-05-01
1518         * scripts/install-sh: Update to version 2013-12-25.23.
1519         * scripts/move-if-change: Update from gnulib.
1520
1521 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1522
1523         * debug/memmove_chk.c: Remove pagecopy.h include.
1524
1525 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
1526
1527         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
1528         identical to gnulib mktime.
1529
1530 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1531
1532         * configure.ac: Do not test for machine being rs6000.  Do not test
1533         for powerpc*-*soft.
1534         * configure: Regenerated.
1535
1536         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1537         test.
1538         * configure: Regenerated.
1539         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1540         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1541         Remove configure test.
1542         * sysdeps/arm/configure: Regenerated.
1543         * sysdeps/nptl/configure.ac: Do not check
1544         libc_cv_asm_cfi_directives.
1545         * sysdeps/nptl/configure: Regenerated.
1546         * sysdeps/x86_64/nptl/configure.ac: Remove file.
1547         * sysdeps/x86_64/nptl/configure: Remove generated file.
1548         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1549         unconditional.
1550         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1551
1552 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1553
1554         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1555         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1556         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1557         it is defined.
1558
1559         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1560         instead of whether it is defined.
1561         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1562         * sysdeps/hppa/dl-machine.h: Likewise.
1563         * sysdeps/ia64/dl-machine.h: Likewise.
1564         * sysdeps/m68k/dl-machine.h: Likewise.
1565         * sysdeps/microblaze/dl-machine.h: Likewise.
1566         * sysdeps/mips/dl-machine.: Likewise.
1567         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1568         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1569         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1570         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1571         * sysdeps/sh/dl-machine.h: Likewise.
1572         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1573         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1574         * sysdeps/tile/dl-machine.h: Likewise.
1575         * sysdeps/x86_64/dl-machine.h: Likewise.
1576
1577         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1578         code.
1579         (verify_persistent_db): Likewise.
1580
1581 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1582
1583         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1584         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1586         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1587         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1588         Moved ...
1589         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1590         ... here.
1591         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1592         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1593         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1594         Identical file removed.
1595         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1596         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1597         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1598         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1599         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1600         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1601         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1602         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1603         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1604         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1605         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1606         Moved ...
1607         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1608         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1609         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1610         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1611         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1612         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1613         Moved ...
1614         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1615         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1616         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1617         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1618         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1619         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1620         Identical file removed.
1621         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1622         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1623         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1624         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1625         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1626         Moved ...
1627         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1628         ... here.
1629         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1630         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1631         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1632         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1633         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1634         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1635         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1636         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1637         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1638         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1639         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1640         Moved ...
1641         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1642         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1643         Moved ...
1644         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1645         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1646         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1647         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1648         Moved ...
1649         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1650         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1651         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1652
1653         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1654         folded into ...
1655         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1656         * sysdeps/unix/sysv/linux/s390/Versions
1657         (libpthread: GLIBC_2.19): New version set.
1658         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1659         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1660         (librt: GLIBC_2.3.3): New version set.
1661         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1662         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1663         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1664         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1665         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1666         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1667         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1668         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1669         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1670         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1671         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1672         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1673         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1674         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1675         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1676         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1677         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1678         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1679         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1680         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1681         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1682         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1683         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1684         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1685         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1686         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1687         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1688         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1689         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1690         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1691         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1692         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1693         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1694         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1695         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1696         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1697         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1698         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1699         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1700         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1701         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1702         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1703         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1704         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1705         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1706
1707         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1708         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1709         (__libc_vfork): Define the function under this name.
1710         [!NOT_IN_libc] (__vfork): Make this an alias.
1711         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1712         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1713         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1714         (__libc_vfork): Define the function under this name.
1715         [!NOT_IN_libc] (__vfork): Make this an alias.
1716         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1717         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1718         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1719         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1720         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1721         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1722
1723         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1724         code that was previously under [RESET_PID].
1725         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1726         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1727         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1728
1729         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1730         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1731         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1732         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1733         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1734         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1735         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1736         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1737         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1738         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1739         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1740         Moved ...
1741         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1742         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1743         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1744         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1745         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1746         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1747         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1748         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1749         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1750         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1751         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1752         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1753         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1754         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1755         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1756         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1757         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1758         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1759         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1760         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1761         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1762         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1763         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1764         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1765         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1766         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1767         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1768         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1769         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1770
1771 2014-06-25  Roland McGrath  <roland@hack.frob.com>
1772
1773         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1774         that was previously under [RESET_PID].
1775         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1776
1777 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1778
1779         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1780         not undefine and redefine.
1781         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1782         [O_CLOEXEC]: Make code unconditional.
1783         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1784         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1785         <kernel-features.h>.
1786         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1787         conditional variable definition.
1788         (shm_open) [O_CLOEXEC]: Make code unconditional.
1789         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1790         code.
1791
1792         * configure.ac (USE_REGPARMS): Don't define here.
1793         * configure: Regenerated.
1794         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1795         * sysdeps/i386/configure: Regenerated.
1796
1797         * nptl/createthread.c: Don't include kernel-features.h.
1798         * nptl/pthread_cancel.c: Likewise.
1799         * nptl/pthread_condattr_setclock.c: Likewise.
1800         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1801         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1802         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1803         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1804         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1805         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1806         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1807         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1808         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1809         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1810         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1811         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1812         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1813         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1814         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1815         * nscd/gai.c: Likewise.
1816         * nss/nss_db/db-open.c: Likewise.
1817         * sysdeps/generic/ldsodefs.h: Likewise.
1818         * sysdeps/sh/nptl/tls.h: Likewise.
1819         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1820         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1821         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1822         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1823         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1824         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1825         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1826         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1827         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1828         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1829         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1830         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1831         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1832         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1833         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1834         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1835         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1836         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1837         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1838         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1839         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1840         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1841         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1842         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1843         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1844         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1845         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1846         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1847         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1848         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1849         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1850         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1851         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1852         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1853         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1854         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1855         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1856         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1857         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1858         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1859         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1860         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1861         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1862         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1863         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1864         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1865         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1866         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1867         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1868         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1869         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1870         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1871         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1872         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1873         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1874         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1875         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1876         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1899         * sysdeps/unix/sysv/linux/pread.c: Likewise.
1900         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1901         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1902         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1903         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1904         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1905         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1906         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1907         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1908         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1909         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1910         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1911         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1912         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1913         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1914         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1915         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1916         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1917         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1918         * sysdeps/unix/sysv/linux/system.c: Likewise.
1919         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1920         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1921         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1922         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1923         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1924         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1925         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1926
1927         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1928         * configure: Regenerated.
1929         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1930
1931         * configure.ac (base_machine): Do not set specially for particular
1932         machines here.
1933         * configure: Regenerated.
1934         * sysdeps/powerpc/preconfigure: Move machine and base_machine
1935         settings from configure.ac.
1936         * sysdeps/i386/preconfigure: New file.
1937         * sysdeps/s390/preconfigure: Likewise.
1938         * sysdeps/sh/preconfigure: Likewise.
1939         * sysdeps/sparc/preconfigure: Likewise.
1940
1941 2014-06-25  Roland McGrath  <roland@hack.frob.com>
1942
1943         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1944         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1945         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1946         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1947         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1948         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1949         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1950         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1951         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1952         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1953         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1954         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1955         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1956         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1957         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1958         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1959         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1960         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1961         * sysdeps/sparc/sparc64/Makefile: ... appended here.
1962
1963         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1964         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1965         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1966         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1967         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1968         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1969         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1970         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1971         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1972         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1973         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1974         * sysdeps/sparc/sparc32/sem_post.c: ... here.
1975         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1976         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1977         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1978         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1979         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1980         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1981         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1982         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1983         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1984         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1985         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1986         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1987         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1988         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1989         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1990         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1991         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1992         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1993         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1994         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1995         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1996         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1997         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1998         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1999         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2000         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2001
2002         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2003         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2004         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2005         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2006         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2007         Moved ...
2008         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2009         ... here.
2010         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2011         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2012         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2013         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2014         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2015         Moved ...
2016         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2017         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2018         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2019         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2020         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2021         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2022         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2023         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2024         Moved ...
2025         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2026         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2027         Moved ...
2028         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2029         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2030         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2031         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2032         Moved ...
2033         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2034         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2035         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2036         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2037         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2038         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2039         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2040         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2041         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2042         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2043         Moved ...
2044         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2045         ... here.
2046         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2047         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2048         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2049         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2050         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2051         Moved ...
2052         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2053         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2054         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2055         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2056         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2057         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2058         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2059         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2060         Moved ...
2061         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2062         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2063         Moved ...
2064         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2065         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2066         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2067         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2068         Moved ...
2069         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2070         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2071         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2072         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2073         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2074
2075 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2076
2077         * timezone/checktab.awk: Update from tzcode 2014e.
2078         * timezone/private.h: Likewise.
2079         * timezone/tzfile.h: Likewise.
2080         * timezone/zdump.c: Likewise.
2081         * timezone/zic.c: Likewise.
2082
2083         * sysdeps/unix/sysv/linux/kernel-features.h
2084         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2085         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2086         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2087         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2088         Remove conditional code.
2089
2090 2014-06-25  Will Newton  <will.newton@linaro.org>
2091
2092         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2093         (_dl_arm_cap_flags): Add HWCAP2 values.
2094         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2095         (_DL_HWCAP_COUNT): Increase to 37.
2096         (_DL_HWCAP_LAST): New define.
2097         (_DL_HWCAP2_LAST): New define.
2098         (_dl_procinfo): Add support for printing
2099         AT_HWCAP2 entries.
2100         (_dl_string_hwcap): Use _dl_hwcap_string.
2101
2102 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2103
2104         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2105
2106 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2107
2108         * README: Do not mention ports directory.
2109
2110         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2111         Remove macro.
2112         * sysdeps/unix/sysv/linux/futimes.c: Do not include
2113         <kernel-features.h>.
2114         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2115         conditional variable definition.
2116         (__futimes): Update comment.
2117         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2118         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2119
2120         [BZ #16560]
2121         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2122         arguments close to 0.
2123         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2124         Likewise.
2125         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2126         Likewise.
2127         * math/auto-libm-test-in: Add more tests of exp10.
2128         * math/auto-libm-test-out: Regenerated.
2129         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2130
2131         * sysdeps/unix/sysv/linux/kernel-features.h
2132         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2133         * sysdeps/unix/sysv/linux/readv.c: Do not include
2134         <kernel-features.h>.
2135         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2136         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2137         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2138         unconditional.
2139         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2140         conditional code.
2141         * sysdeps/unix/sysv/linux/writev.c: Do not include
2142         <kernel-features.h>.
2143         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2144         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2145         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2146         unconditional.
2147         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2148         conditional code.
2149
2150 2014-06-25  Will Newton  <will.newton@linaro.org>
2151
2152         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2153         comment changes throughout the file.  Remove checks
2154         for HAVE_*_H definitions that are not required.
2155         (__gen_tempname): Call abort if an unknown kind value is
2156         passed.
2157
2158 2014-06-25  Andreas Schwab  <schwab@suse.de>
2159
2160         [BZ #17086]
2161         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2162         scalbln, scalblnf, scalblnl in libc.
2163
2164 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2165
2166         [BZ #17086]
2167         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2168         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2169         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2170
2171 2014-06-24  Roland McGrath  <roland@hack.frob.com>
2172
2173         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2174         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2175         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2176         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2177         Update #include.
2178         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2179         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2180         Update #include.
2181         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2182         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2183         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2184         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2185         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2186         * sysdeps/x86/bits/pthreadtypes.h: ... here.
2187         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2188         * sysdeps/x86/bits/semaphore.h: ... here.
2189         * sysdeps/x86/nptl/elide.h: Moved ...
2190         * sysdeps/x86/elide.h: ... here.
2191         * sysdeps/x86_64/nptl/Implies: File removed.
2192         * sysdeps/i386/nptl/Implies: File removed.
2193
2194 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
2195
2196         [BZ #16539]
2197         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2198         return the argument for normal arguments with exponent below -64.
2199         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2200         Likewise.
2201         * math/auto-libm-test-in: Add another test of expm1.
2202         * math/auto-libm-test-out: Regenerated.
2203
2204         [BZ #16287]
2205         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2206         calling __erfcl for arguments at least 16.
2207         * math/auto-libm-test-in: Add more tests of erf.
2208         * math/auto-libm-test-out: Regenerated.
2209
2210         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2211         individual architectures.
2212         * sysdeps/unix/sysv/linux/configure: Regenerated.
2213         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2214         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2215         * sysdeps/unix/sysv/linux/powerpc/configure.ac
2216         (ldd_rewrite_script): Define variable.
2217         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2219         file.
2220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2221         generated file.
2222         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2223         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2224         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2225         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2226         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2227         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2228         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2229         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2230
2231 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2232
2233         [BZ #17084]
2234         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2235         Rename member __data.d to __data.__elision_data.
2236
2237 2014-06-24  Wilco  <wdijkstr@arm.com>
2238
2239         * NEWS: Add 16918 to fixed bug list.
2240
2241 2014-06-24  Wilco  <wdijkstr@arm.com>
2242
2243         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2244
2245 2014-06-24  Wilco  <wdijkstr@arm.com>
2246
2247         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2248         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2249         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2250         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2251         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2252         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2253         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2254         Use _FPU_MASK_RM.
2255
2256 2014-06-24  Wilco  <wdijkstr@arm.com>
2257
2258         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2259
2260 2014-06-24  Wilco  <wdijkstr@arm.com>
2261
2262         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2263         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2264         * sysdeps/arm/fesetround.c (fesetround): Remove space.
2265         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2266
2267 2014-06-24  Wilco  <wdijkstr@arm.com>
2268
2269         [BZ #16918]
2270         * sysdeps/arm/feupdateenv.c (feupdateenv):
2271         Rewrite to reduce FPSCR accesses and fix return value.
2272
2273 2014-06-24  Wilco  <wdijkstr@arm.com>
2274
2275         * sysdeps/arm/fclrexcpt.c (feclearexcept):
2276         Optimize to avoid unnecessary FPSCR writes.
2277         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2278         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2279         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2280         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2281
2282 2014-06-24  Wilco  <wdijkstr@arm.com>
2283
2284         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2285         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2286         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2287         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2288         Call libc_fetestexcept_vfp.
2289         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2290         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2291         __SOFTFP__ ifdef so that they can be built for softfp.
2292
2293 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2294
2295         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2296         argument type signed char.
2297
2298         * Makerules (check-abi): Dump diff of symlist if the test
2299         fails.
2300
2301 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2302
2303         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2304         using abort.
2305
2306         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2307         Remove unused variable ST.
2308
2309 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
2310
2311         [BZ #16354]
2312         [BZ #17061]
2313         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2314         small arguments before calling __expm1.
2315         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2316         small arguments before calling __expm1f.
2317         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2318         small arguments before calling __expm1l.
2319         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2320         Likewise.
2321         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2322         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
2323         spurious underflow for some cosh tests.
2324         * math/auto-libm-test-out: Regenerated.
2325         * sysdeps/i386/fpu/libm-test-ulps: Update.
2326
2327         [BZ #17050]
2328         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2329         (__ieee754_y1): Set errno if return value overflows.
2330         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2331         (__ieee754_y1f): Set errno if return value overflows.
2332         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2333         (__ieee754_y1l): Set errno if return value overflows.
2334         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2335         (__ieee754_y1l): Set errno if return value overflows.
2336         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2337         * math/auto-libm-test-out: Regenerated.
2338
2339         * math/gen-auto-libm-tests.c: Document use of
2340         ignore-zero-inf-sign.
2341         (input_flag_type): Add value flag_ignore_zero_inf_sign.
2342         (input_flags): Add ignore-zero-inf-sign.
2343         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2344         * math/gen-libm-test.pl (generate_testfile): Handle
2345         ignore-zero-inf-sign.
2346         * math/auto-libm-test-in: Mark some cpow tests with
2347         ignore-zero-inf-sign and some with xfail-rounding.
2348         * math/auto-libm-test-out: Regenerated.
2349         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2350         * sysdeps/i386/fpu/libm-test-ulps: Update.
2351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2352
2353         [BZ #16315]
2354         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2355         overflowing or underflowing operations take place with sign of
2356         result.
2357         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2358         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2359         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2360         (__ieee754_pow): Recompute overflowing and underflowing results in
2361         original rounding mode.
2362         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2363         (__powl_helper): Allow negative argument X and scale negated value
2364         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
2365         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2366         overflowing or underflowing operations take place with sign of
2367         result.
2368         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2369         Include <math.h>.
2370         * math/auto-libm-test-in: Add more tests of pow.
2371         * math/auto-libm-test-out: Regenerated.
2372         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2373         (pow_tonearest_test_data): Remove.
2374         (pow_test_tonearest): Likewise.
2375         (pow_towardzero_test_data): Likewise.
2376         (pow_test_towardzero): Likewise.
2377         (pow_downward_test_data): Likewise.
2378         (pow_test_downward): Likewise.
2379         (pow_upward_test_data): Likewise.
2380         (pow_test_upward): Likewise.
2381         (main): Don't call removed functions.
2382         * sysdeps/i386/fpu/libm-test-ulps: Update.
2383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2384
2385 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2386
2387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2388         Moved ...
2389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2391         Moved ...
2392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2394         Moved ...
2395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2397         Moved ...
2398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2400         File removed.
2401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2402         File removed.
2403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2404         File removed.
2405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2406         File removed.
2407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2408         File removed.
2409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2410         File removed.
2411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2412         File removed.
2413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2414         File removed.
2415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2416         File removed.
2417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2418         File removed.
2419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2420         File removed.
2421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2422         File removed.
2423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2424         Moved ...
2425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2427         Moved ...
2428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2429         ... here.
2430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2431         Moved ...
2432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2434         Moved ...
2435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2437         Moved ...
2438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2440         Moved ...
2441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2443         Moved ...
2444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2446         Moved ...
2447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2449         Moved ...
2450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2453         ... here.
2454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2455         Moved ...
2456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2458         Moved ...
2459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2460         ... here.
2461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2462         Moved ...
2463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2464         ... here.
2465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2466         Moved ...
2467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2468         ... here.
2469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2470         Moved ...
2471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2473         Moved ...
2474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2478         Moved ...
2479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2480         ... here.
2481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2482         Moved ...
2483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2484         ... here.
2485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2486         Moved ...
2487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2489         Moved ...
2490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2492         Moved ...
2493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2495         Moved ...
2496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2498         Moved ...
2499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2500         ... here.
2501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2502         Moved ...
2503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2505         Moved ...
2506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2508         Moved ...
2509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2511         Moved ...
2512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2516         Moved ...
2517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2519         Moved ...
2520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2522         Moved ...
2523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2524         ... here.
2525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2526         Moved ...
2527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2528         ... here.
2529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2530         Moved ...
2531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2532         ... here.
2533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2534         Moved ...
2535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2537         Moved ...
2538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2540         Moved ...
2541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2543         Moved ...
2544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2545         ... here.
2546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2547         Moved ...
2548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2549         ... here.
2550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2551         Moved ...
2552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2553         ... here.
2554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2555         Moved ...
2556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2558         Moved ...
2559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2560
2561 2014-06-23  Will Newton  <will.newton@linaro.org>
2562             Wilco  <wdijkstr@arm.com>
2563
2564         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2565         implementation.  Include get-rounding-mode.h.
2566         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2567         [!libc_feholdsetround_noex_ctx]: Define
2568         libc_feholdsetround_noex_ctx.
2569         [!libc_feholdsetround_noexf_ctx]: Define
2570         libc_feholdsetround_noexf_ctx.
2571         [!libc_feholdsetround_noexl_ctx]: Define
2572         libc_feholdsetround_noexl_ctx.
2573         (libc_feholdsetround_ctx): New function.
2574         (libc_feresetround_ctx): New function.
2575         (libc_feholdsetround_noex_ctx): New function.
2576         (libc_feresetround_noex_ctx): New function.
2577
2578 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2579
2580         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2581         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2582         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2583         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2584         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2585         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2586
2587         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2588         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2589         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2590         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2591         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2592         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2593         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2594         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2595         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2596         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2597         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2598         Moved ...
2599         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2600         ... here.
2601         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2602         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2603         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2604         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2605         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2606         Moved ...
2607         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2608         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2609         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2610         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2611         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2612         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2613         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2614         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2615         Moved ...
2616         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2617         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2618         Moved ...
2619         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2620         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2621         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2622         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2623         Moved ...
2624         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2625         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2626         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2627         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2628         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2629         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2630         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2631         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2632         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2633         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2634         Moved ...
2635         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2636         ... here.
2637         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2638         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2639         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2640         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2641         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2642         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2643         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2644         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2645         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2646         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2647         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2648         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2649         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2650         Moved ...
2651         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2652         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2653         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2654         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2655         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2656         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2657         Moved ...
2658         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2659         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2660         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2661         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2662         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2663
2664         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2665         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2666         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2667         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2668         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2669         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2670         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2671         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2672         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2673         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2674         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2675         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2676         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2677         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2678         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2679         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2680         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2681         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2682         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2683         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2684         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2685         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2686         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2687         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2688         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2689         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2690         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2691         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2692
2693 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
2694
2695         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2696         (FALLOC_FL_COLLAPSE_RANGE): New macro.
2697         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2698         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2699         (IPV6_PMTUDISC_INTERFACE): Likewise.
2700         (IPV6_PMTUDISC_OMIT): Likewise.
2701
2702 2014-06-23  Andreas Schwab  <schwab@suse.de>
2703
2704         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2705         Remove unused errout label.
2706
2707 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2708
2709         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2710         macro: hardware supports Vector Crypto instructions.
2711
2712 2014-06-23  Will Newton  <will.newton@linaro.org>
2713
2714         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2715         rather than __builtin_expect.
2716
2717         * elf/dl-lookup.c (undefined_msg): Remove variable.
2718         (_dl_lookup_symbol_x): Replace undefined_msg with string
2719         literal.
2720
2721         * elf/dl-lookup.c (do_lookup_unique): New function.
2722         (do_lookup_x): Move STB_GNU_UNIQUE handling code
2723         to a separate function.
2724
2725 2014-06-23  Andreas Schwab  <schwab@suse.de>
2726
2727         [BZ #17079]
2728         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2729         before reading the next line.
2730
2731 2014-06-23  Will Newton  <will.newton@linaro.org>
2732
2733         * test-skeleton.c (signal_handler): Use printf and %m
2734         rather than perror.  Use printf rather than fprintf to
2735         stderr.  Use puts rather than fputs to stderr.
2736         (main): Likewise.
2737
2738 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
2739
2740         * nscd/nscd.c (thread_info_t): Remove typedef.
2741         (thread_info): Remove variable.
2742
2743 2014-06-21  Allan McRae  <allan@archlinux.org>
2744
2745         * NEWS: Mention CVE-2014-4043.
2746
2747 2014-06-20  Roland McGrath  <roland@hack.frob.com>
2748
2749         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2750         * nptl/smp.h: ... here.
2751
2752         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2753
2754         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2755         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2756         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2757         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2758
2759         * nptl/allocatestack.c: Include <stack-aliasing.h>.
2760         * nptl/stack-aliasing.h: New file.
2761         * sysdeps/i386/i686/stack-aliasing.h: New file.
2762         * sysdeps/i386/i686/nptl/Makefile: File removed.
2763         * sysdeps/x86_64/stack-aliasing.h: New file.
2764         * sysdeps/x86_64/nptl/Makefile
2765         (CFLAGS-pthread_create.c): Variable removed.
2766
2767         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2768         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2769         old file.
2770         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2771         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2772         old file.
2773
2774 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
2775
2776         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2777         (__ASSUME_SIGFRAME_V2): Remove macro.
2778         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2779         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2780         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2781         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2782         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2783         Declare as function.  Remove conditional macro definitions.
2784         (__default_rt_sa_restorer): Likewise.
2785         (__default_sa_restorer_v1): Remove declaration.
2786         (__default_sa_restorer_v2): Likewise.
2787         (__default_rt_sa_restorer_v1): Likewise.
2788         (__default_rt_sa_restorer_v2): Likewise.
2789         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2790         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2791         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2792
2793 2014-06-20  Roland McGrath  <roland@hack.frob.com>
2794
2795         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2796         (libpthread-routines): Add sysdep.
2797         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2798         * sysdeps/unix/sysv/linux/sparc/Versions
2799         (libpthread: GLIBC_2.3.3): New version set.
2800         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2801         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2802         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2803         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2804         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
2805         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2806         Moved ...
2807         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2808         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2809         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2810         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2811         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2812         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2813         * sysdeps/sparc/nptl/sem_init.c: ... here.
2814         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2815         * sysdeps/sparc/nptl/sem_post.c: ... here.
2816         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2817         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2818         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2819         * sysdeps/sparc/nptl/sem_wait.c: ... here.
2820         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2821         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2822         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2823         (libpthread-routines): Add cpu_relax.
2824         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2825         File removed.
2826         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2827         (librt: GLIBC_2.3.3): New version set.
2828         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2829         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2830         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2831         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2832         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2833         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2834         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2835         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2836         Moved ...
2837         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2838         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2839         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2840         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2841         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2842         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2843         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2844         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2845         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2846         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2847         Moved ...
2848         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2849         Update #include.
2850         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2851         Moved ...
2852         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2853         Update #include.
2854         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2855         Moved ...
2856         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2857         Update #include.
2858         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2859         Moved ...
2860         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2861         Update #include.
2862         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2863         Moved ...
2864         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2865         Update #include.
2866         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2867         Moved ...
2868         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2869         Update #include.
2870         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2871         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2872         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2873         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2874         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2875         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2876         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2877         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2878         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2879         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2880         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2881         Moved ...
2882         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2883         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2884         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2885         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2886         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2887
2888 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2889
2890         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2891         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2892         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2893         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2894         * nscd/nscd.c: Likewise.
2895         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2896         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2897         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2898         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2899
2900         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2901         <kernel-features.h>.
2902         (init_mq_netlink): Remove conditional have_sock_cloexec
2903         definitions.  Remove code conditional on have_sock_cloexec < 0.
2904         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2905         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2906         * sysdeps/unix/sysv/linux/opensock.c: Do not include
2907         <kernel-features.h>.
2908         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2909         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2910
2911 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2912
2913         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2914         Add tests for memset_chk and memset.
2915
2916         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2917         with AVX2_Usable.
2918
2919 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
2920
2921         [BZ #16046]
2922         * elf/tst-dl-iter-static.c: New file.
2923         * elf/Makefile (tests-static): Add tst-dl-iter-static.
2924
2925         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2926         error.
2927
2928 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2929
2930         * sysdeps/unix/sysv/linux/kernel-features.h
2931         (__ASSUME_F_GETOWN_EX): Remove macro.
2932         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2933         <kernel-features.h>.
2934         (miss_F_GETOWN_EX): Remove variable or macro.
2935         (do_fcntl): Do not check miss_F_GETOWN_EX.
2936         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2937
2938         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2939         Remove macro.
2940         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2941         [!__ASSUME_AT_RANDOM]: Remove conditional code.
2942         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2943
2944         * sysdeps/unix/sysv/linux/kernel-features.h
2945         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2946         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2947         [ADJ_OFFSET_SS_READ]: Make code unconditional.
2948         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2949
2950 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
2951
2952         [BZ #17075]
2953         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2954         Fix calculation of the symbol's value.
2955         * sysdeps/arm/tst-armtlsdescloc.c: New file.
2956         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2957         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2958         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2959         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2960         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2961         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2962         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2963         (modules-names): Add `tst-armtlsdescmod',
2964         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2965         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2966         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2967         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2968         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2969         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2970         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2971         ($(objpfx)tst-armtlsdescloc): New dependency.
2972         ($(objpfx)tst-armtlsdescextnow): Likewise.
2973         ($(objpfx)tst-armtlsdescextlazy): Likewise.
2974         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2975         TLS scheme support.
2976         * sysdeps/arm/configure: Regenerate.
2977
2978 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2979
2980         * include/fcntl.h (__atfct_seterrno): Remove prototype.
2981         (__atfct_seterrno_2): Likewise.
2982         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2983         <kernel-features.h>.
2984         (__ASSUME_ATFCTS): Do not undefine and redefine.
2985         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2986         (__have_atfcts): Remove conditional definition.
2987         (__fxstatat([__NR_fstatat64]: Make code unconditional.
2988         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2989         unreachable if [__ASSUME_ATFCTS].
2990         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2991         not undefine and redefine.
2992         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2993         <kernel-features.h>.
2994         (faccessat) [__NR_faccessat]: Make code unconditional.
2995         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2996         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2997         <kernel-features.h>.
2998         (fchmodat) [__NR_fchmodat]: Make code unconditional.
2999         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3000         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3001         <kernel-features.h>.
3002         (fchownat) [__NR_fchownat]: Make code unconditional.
3003         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3004         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3005         <kernel-features.h>.
3006         (futimesat) [__NR_futimesat]: Make code unconditional.
3007         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3008         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3009         <kernel-features.h>.
3010         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3011         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3012         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3013         <kernel-features.h>.
3014         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3015         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3016         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3017         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3018         <kernel-features.h>.
3019         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3020         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3021         * sysdeps/unix/sysv/linux/linkat.c: Do not include
3022         <kernel-features.h>.
3023         (linkat) [__NR_linkat]: Make code unconditional.
3024         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3025         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3026         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3027         <kernel-features.h>.
3028         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3029         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3030         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3031         <kernel-features.h>.
3032         (mkdirat) [__NR_mkdirat]: Make code unconditional.
3033         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3034         * sysdeps/unix/sysv/linux/openat.c: Do not include
3035         <kernel-features.h>.
3036         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3037         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3038         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3039         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3040         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3041         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3042         <kernel-features.h>.
3043         (readlinkat) [__NR_readlinkat]: Make code unconditional.
3044         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
3045         result of INLINE_SYSCALL directly, not via int variable.
3046         * sysdeps/unix/sysv/linux/renameat.c: Do not include
3047         <kernel-features.h>.
3048         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3049         (renameat) [__NR_renameat]: Make code unconditional.
3050         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3051         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3052         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3053         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3054         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3055         (__ASSUME_ATFCTS): Do not undefine and redefine.
3056         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3057         <kernel-features.h>.
3058         (symlinkat) [__NR_symlinkat]: Make code unconditional.
3059         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3060         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3061         <kernel-features.h>.
3062         (unlinkat) [__NR_unlinkat]: Make code unconditional.
3063         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3064         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3065         (__ASSUME_ATFCTS): Do not undefine and redefine.
3066         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3067         <kernel-features.h>.
3068         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3069         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3070         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3071         <kernel-features.h>.
3072         (__xmknodat) [__NR_mknodat]: Make code unconditional.
3073         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3074
3075 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3076
3077         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3078
3079 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
3080
3081         [BZ #17069]
3082         * posix/regcomp.c (parse_reg_exp): Deallocate partially
3083         constructed tree before returning error.
3084         * posix/bug-regexp36.c: Expand test case.
3085
3086 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3087
3088         [BZ #6803]
3089         * math/libm-test.inc (scalbln_test_date):
3090         Add errno expectations.
3091         * math/w_scalblnf.c: New File.
3092         Add wrapper which checks for setting errno to ERANGE.
3093         Add weak_alias for corresponding scalbln function.
3094         * math/w_scalbln.c: Likewise.
3095         * math/w_scalblnl.c: Likewise.
3096         * math/Makefile (libm-calls): Add w_scalbln.
3097         * sysdeps/ieee754/flt-32/s_scalblnf.c:
3098         Remove weak_alias for corresponding scalbln function.
3099         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3100         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3101         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3102         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3103         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3104         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3105         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3106         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3107         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3108         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3109         Remove long_double_symbol for scalblnl function in libm, libc.
3110         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3111         Add wrapper which checks for setting errno to ERANGE.
3112         Add long_double_symbol for scalblnl function in libm, libc.
3113         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3114         Remove long_double_symbol for scalblnl in libm.
3115         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3116         Add wrapper which checks for setting errno to ERANGE.
3117         Add long_double_symbol for scalblnl function in libm.
3118         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3119         Do not use wrapper because of own implementation.
3120
3121 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
3122
3123         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3124         3 bytes for __pad1 for x32.
3125         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3126
3127 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
3128             H.J. Lu  <hongjiu.lu@intel.com>
3129
3130         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3131         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3132         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3133         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3134         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3135
3136 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
3137
3138         [BZ #17069]
3139         * posix/regcomp.c (parse_expression): Deallocate partially
3140         constructed tree before returning error.
3141         * posix/Makefile.c (tests): Add bug-regex36.
3142         (generated): Add bug-regex36.mtrace.
3143         (tests-special): Add $(objpfx)bug-regex36-mem.out
3144         (bug-regex36-ENV): New variable.
3145         ($(objpfx)bug-regex36-mem.out): New rule.
3146         * posix/bug-regex36.c: New file.
3147
3148 2014-06-19  Will Newton  <will.newton@linaro.org>
3149
3150         * malloc/malloc.c (systrim): If extra is zero then return
3151         early.
3152
3153 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3154
3155         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3156
3157 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
3158
3159         * sysdeps/aarch64/strchr.S: New file.
3160
3161 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3162
3163         [BZ #17022]
3164         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3165         from arguments -2 or below.
3166         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3167         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3168
3169 2014-06-18  Andreas Schwab  <schwab@suse.de>
3170
3171         [BZ #17062]
3172         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3173         of a bracket expr not to run off the end of the string.
3174         * posix/Makefile (tests): Add tst-fnmatch3.
3175         * posix/tst-fnmatch3.c: New file.
3176
3177 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3178
3179         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3180         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3181         [$(cross-compiling) = no]: Likewise.
3182         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3183         [$(cross-compiling) = no]: Likewise.
3184
3185 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3186
3187         [BZ #17031]
3188         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3189         double, adjusted for any remainder from the high double.
3190         * math/libm-test.inc (nearbyint): Add tests.
3191         (rint): Likewise.
3192
3193 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3194
3195         * nptl/sysdeps/powerpc/Makefile: Moved ...
3196         * sysdeps/powerpc/nptl/Makefile: ... here.
3197         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3198         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3199         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3200         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3201         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3202         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3203         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3204         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3205         * nptl/sysdeps/powerpc/tls.h: Moved ...
3206         * sysdeps/powerpc/nptl/tls.h: ... here.
3207
3208 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
3209
3210         [BZ #16681]
3211         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3212         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3213         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3214         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3215         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3216         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3217         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3218         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3219         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3220
3221 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
3222
3223         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3224
3225 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
3226
3227         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3228         defined operator.
3229
3230         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3231         $TIMEOUTFACTOR.
3232
3233 2014-06-16  Florian Weimer  <fweimer@redhat.com>
3234
3235         [BZ #17058]
3236         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3237         non-executed part of the test.
3238
3239 2014-06-16  Andreas Schwab  <schwab@suse.de>
3240
3241         * string/bits/string2.h (strdup, strndup): Update feature guard.
3242
3243 2014-06-14  David S. Miller  <davem@davemloft.net>
3244
3245         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3246
3247 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
3248
3249         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3250         that was previously under [RESET_PID].
3251         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3252
3253         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3254         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3255         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3256         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3257         (__libc_vfork): New strong alias.
3258         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3259
3260 2014-06-14 Andi Kleen  <ak@linux.intel.com>
3261
3262         * sysdeps/generic/elide.h: New file.
3263
3264 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3265
3266         * Makefile (installed-headers): Adjust path of pthread.h header.
3267
3268 2014-06-13  Roland McGrath  <roland@hack.frob.com>
3269
3270         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3271         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3272         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3273         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3274
3275         * nptl/sysdeps/s390/Makefile: Moved ...
3276         * sysdeps/s390/nptl/Makefile: ... here.
3277         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3278         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3279         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3280         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3281         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3282         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3283         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3284         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3285         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3286         * sysdeps/s390/nptl/pthreaddef.h: ... here.
3287         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3288         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3289         * nptl/sysdeps/s390/tls.h: Moved ...
3290         * sysdeps/s390/nptl/tls.h: ... here.
3291
3292         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3293         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3294
3295 2014-06-13  David S. Miller  <davem@davemloft.net>
3296
3297         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3298         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3299         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3300         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3301         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3302         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3303         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3304         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3305         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3306         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3307         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3308         Remove RESET_PID cpp guards.
3309         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3310         Remove RESET_PID cpp guards.
3311         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3312
3313 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
3314
3315         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3316         __sp to uintptr_t.
3317
3318 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3319
3320         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3321         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3322         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3323         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3324         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3325         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3326         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3327         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3328         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3329         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3330         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3331         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3332         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3333         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3334         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3335         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3336         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3337         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3338         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3339         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3340
3341         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3342         (pthread_rwlock_rdlock): Add elision.
3343         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3344         (pthread_rwlock_wrlock): Add elision.
3345         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3346         (pthread_rwlock_trywrlock): Add elision.
3347         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3348         (pthread_rwlock_tryrdlock): Add elision.
3349         * nptl/pthread_rwlock_unlock.c: Include elide.h.
3350         (pthread_rwlock_tryrdlock): Add elision unlock.
3351         * nptl/sysdeps/pthread/pthread.h:
3352         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3353         (PTHREAD_RWLOCK_INITIALIZER,
3354         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3355         Handle new elision field.
3356         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3357         * sysdeps/arm/nptl/bits/pthreadtypes.h
3358         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3359         * sysdeps/sh/nptl/bits/pthreadtypes.h
3360         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3361         * sysdeps/tile/nptl/bits/pthreadtypes.h
3362         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3363         * sysdeps/a/nptl/bits/pthreadtypes.h
3364         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3365         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3366         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3367         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3368         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3369         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3370         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3371         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3372         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3373         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3374         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3375         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3376         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3377         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3378         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3379         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3380         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3381         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3382         (elision_init): Set try_xbegin to zero when no RTM.
3383         * sysdeps/x86/nptl/bits/pthreadtypes.h
3384         (pthread_rwlock_t): Change __pad1 to __rwelision.
3385         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3386
3387 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3388
3389         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3390         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3391         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3392         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3393
3394 2014-06-13  Meador Inge  <meadori@codesourcery.com>
3395
3396         [BZ #16996]
3397         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3398         that the cached result has been set before returning it.
3399
3400 2014-06-12  Roland McGrath  <roland@hack.frob.com>
3401
3402         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3403         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3404         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3405         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3406         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3407         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3408
3409         * nptl/sysdeps/sparc/Makefile: Moved ...
3410         * sysdeps/sparc/nptl/Makefile: ... here.
3411         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3412         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3413         * nptl/sysdeps/sparc/tls.h: Moved ...
3414         * sysdeps/sparc/nptl/tls.h: ... here.
3415         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3416         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3417         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3418         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3419         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3420         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3421         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3422         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3423         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3424         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3425         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3426         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3427         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3428         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3429         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3430         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3431         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3432         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3433         Update #include.
3434         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3435         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3436         Update #include.
3437         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3438         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3439         Update #include.
3440         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3441         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3442         Update #include.
3443
3444         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3445
3446         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3447         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3448
3449         * sysdeps/pthread/posix-timer.h: Include <list.h>.
3450         (struct list_links): Type removed.
3451         (struct thread_node, struct timer_node): Replace struct list_links
3452         with struct list_head.
3453         (list_unlink_ip): Likewise.
3454         * sysdeps/pthread/timer_routines.c
3455         (timer_free_list, thread_free_list, thread_active_list): Likewise.
3456         (list_append, list_insbefore): Likewise.
3457         (list_init): Function removed.
3458         (thread_init, init_module): Use INIT_LIST_HEAD instead.
3459         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3460         * sysdeps/pthread/Makefile: ... here, new file.
3461
3462         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3463         * sysdeps/nptl/Implies: ... here.
3464         * sysdeps/unix/sysv/linux/Implies: Add nptl.
3465         * nptl/sysdeps/pthread/list.h: Moved ...
3466         * include/list.h: ... here.
3467         * nptl/sysdeps/pthread/createthread.c: Moved ...
3468         * nptl/createthread.c: ... here.
3469         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3470         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3471         * nptl/pt-longjmp.c: ... here.
3472         * nptl/sysdeps/pthread/Makefile: Moved ...
3473         * sysdeps/nptl/Makefile: ... here.
3474         * nptl/sysdeps/pthread/Subdirs: Moved ...
3475         * sysdeps/nptl/Subdirs: ... here.
3476         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3477         * sysdeps/nptl/aio_misc.h: ... here.
3478         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3479         * sysdeps/nptl/bits/libc-lock.h: ... here.
3480         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3481         * sysdeps/nptl/bits/libc-lockP.h: ... here.
3482         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3483         * sysdeps/nptl/bits/stdio-lock.h: ... here.
3484         * nptl/sysdeps/pthread/configure: Moved ...
3485         * sysdeps/nptl/configure: ... here.
3486         * nptl/sysdeps/pthread/configure.ac: Moved ...
3487         * sysdeps/nptl/configure.ac: ... here.
3488         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3489         * sysdeps/nptl/gai_misc.h: ... here.
3490         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3491         * sysdeps/nptl/librt-cancellation.c: ... here.
3492         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3493         * sysdeps/nptl/malloc-machine.h: ... here.
3494         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3495         * sysdeps/nptl/pthread-functions.h: ... here.
3496         * nptl/sysdeps/pthread/pthread.h: Moved ...
3497         * sysdeps/nptl/pthread.h: ... here.
3498         * nptl/sysdeps/pthread/setxid.h: Moved ...
3499         * sysdeps/nptl/setxid.h: ... here.
3500         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3501         * sysdeps/nptl/sigfillset.c: ... here.
3502         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3503         * sysdeps/nptl/tcb-offsets.h: ... here.
3504         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3505         * sysdeps/nptl/tst-mqueue8x.c: ... here.
3506         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3507         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3508         * nptl/sysdeps/pthread/allocalim.h: Moved ...
3509         * sysdeps/pthread/allocalim.h: ... here.
3510         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3511         * sysdeps/pthread/bits/sigthread.h: ... here.
3512         * nptl/sysdeps/pthread/flockfile.c: Moved ...
3513         * sysdeps/pthread/flockfile.c: ... here.
3514         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3515         * sysdeps/pthread/ftrylockfile.c: ... here.
3516         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3517         * sysdeps/pthread/funlockfile.c: ... here.
3518         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3519         * sysdeps/pthread/posix-timer.h: ... here.
3520         * nptl/sysdeps/pthread/timer_create.c: Moved ...
3521         * sysdeps/pthread/timer_create.c: ... here.
3522         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3523         * sysdeps/pthread/timer_delete.c: ... here.
3524         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3525         * sysdeps/pthread/timer_getoverr.c: ... here.
3526         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3527         * sysdeps/pthread/timer_gettime.c: ... here.
3528         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3529         * sysdeps/pthread/timer_routines.c: ... here.
3530         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3531         * sysdeps/pthread/timer_settime.c: ... here.
3532         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3533         * sysdeps/pthread/tst-timer.c: ... here.
3534         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3535         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3536
3537         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3538         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3539
3540         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3541         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3542         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3543         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3544         Update #include target.
3545         * nptl/sysdeps/i386/i686/Makefile: Moved ...
3546         * sysdeps/i386/i686/nptl/Makefile: ... here.
3547         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3548         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3549         Update #include target.
3550         * nptl/sysdeps/i386/i686/tls.h: Moved ...
3551         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
3552         * nptl/sysdeps/i386/Makefile: Moved ...
3553         * sysdeps/i386/nptl/Makefile: ... here.
3554         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3555         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3556         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3557         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3558         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3559         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3560         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3561         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3562         * sysdeps/i386/nptl/pthreaddef.h: ... here.
3563         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3564         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3565         * nptl/sysdeps/i386/tls.h: Moved ...
3566         * sysdeps/i386/nptl/tls.h: ... here.
3567
3568         * sysdeps/sh/Makefile [$(subdir) = csu]
3569         (gen-as-const-headers): Add tcb-offsets.sym.
3570         * nptl/sysdeps/sh/Makefile: File removed.
3571         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3572         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3573         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3574         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3575         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3576         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3577         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3578         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3579         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3580         * sysdeps/sh/nptl/pthreaddef.h: ... here.
3581         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3582         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3583         * nptl/sysdeps/sh/tls.h: Moved ...
3584         * sysdeps/sh/nptl/tls.h: ... here.
3585         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3586         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3587         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3588         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3589         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3590         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3591         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3592         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3593         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3594         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3595         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3596         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3597         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3598         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3599         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3600         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3601         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3602         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3603         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3604         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3605         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3606         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3607         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3608         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3609         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3610         Moved ...
3611         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3612         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3613         Moved ...
3614         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3615         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3616         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3617         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3618         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3619         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3620         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3621         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3622         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3623         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3624         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3625         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3626         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3627         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3628         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3629         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3630         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3631         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3632         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3633
3634 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3635
3636         * posix/spawn_faction_addopen.c: Include string.h.
3637
3638 2014-06-11  Roland McGrath  <roland@hack.frob.com>
3639
3640         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3641         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3642         * nptl/sysdeps/x86_64/Makefile: Moved ...
3643         * sysdeps/x86_64/nptl/Makefile: ... here.
3644         * nptl/sysdeps/x86_64/configure: Moved ...
3645         * sysdeps/x86_64/nptl/configure: ... here.
3646         * nptl/sysdeps/x86_64/configure.ac: Moved ...
3647         * sysdeps/x86_64/nptl/configure.ac: ... here.
3648         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3649         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3650         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3651         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3652         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3653         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3654         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3655         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3656         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3657         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3658         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3659         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3660         * nptl/sysdeps/x86_64/tls.h: Moved ...
3661         * sysdeps/x86_64/nptl/tls.h: ... here.
3662         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3663         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3664         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3665         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3666
3667         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3668
3669 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3670
3671         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3672
3673 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
3674
3675         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3676         type.
3677         [POSIX] (off_t): Likewise.
3678         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3679         [POSIX] (S_ISBLK): Require macro.
3680         [POSIX] (S_ISCHR): Likewise.
3681         [POSIX] (S_ISDIR): Likewise.
3682         [POSIX] (S_ISFIFO): Likewise.
3683         [POSIX] (S_ISREG): Likewise.
3684         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3685         optional-macro.
3686         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3687         type.
3688         [POSIX] (time_t): Likewise.
3689         [POSIX] (timer_t): Likewise.
3690
3691 2014-06-11  Florian Weimer  <fweimer@redhat.com>
3692
3693         [BZ #17048]
3694         * posix/spawn_int.h (struct __spawn_action): Make the path string
3695         non-const to support deallocation.
3696         * posix/spawn_faction_addopen.c
3697         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3698         * posix/spawn_faction_destroy.c
3699         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
3700         path in all spawn_do_open actions.
3701         * posix/tst-spawn.c (do_test): Exercise the copy operation in
3702         posix_spawn_file_actions_addopen.
3703
3704 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
3705
3706         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3707         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3708         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3709         conditional code always true.
3710         (__libc_vfork): New alias.
3711
3712 2014-06-11  Roland McGrath  <roland@hack.frob.com>
3713
3714         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3715         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3716
3717         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3718
3719         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3720         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3721
3722         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3723         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3724
3725         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3726         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3727
3728 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3729
3730         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3731         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3732         multiarch strcmp for PPC64.
3733         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3734         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3735         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3736         multiarch optimizations.
3737         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3738         (__libc_ifunc_impl_list): Likewise.
3739
3740 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3741
3742         * benchtests/scripts/validate_benchout.py: New script.
3743         * benchtests/Makefile (bench-func): Call it.
3744         * benchtests/scripts/benchout.schema.json: New file.
3745
3746 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
3747
3748         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3749         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3750         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3751         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3752         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3753         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3754         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3755         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3756         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3757         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3758         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3759         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3760         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3761         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3762         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3763         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
3765         Moved ...
3766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
3767         ... here.
3768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
3769         Moved ...
3770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
3772         Moved ...
3773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
3774         ... here.
3775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
3776         Moved ...
3777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
3778         ... here.
3779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
3780         Moved ...
3781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
3783         Moved ...
3784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
3785         ... here.
3786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
3787         Moved ...
3788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
3789         ... here.
3790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
3791         Moved ...
3792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
3794         Moved ...
3795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
3796         ... here.
3797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
3798         Moved ...
3799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
3800         ... here.
3801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
3802         Moved ...
3803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
3804         ... here.
3805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
3806         Moved ...
3807         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
3809         Moved ...
3810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
3811         ... here.
3812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
3813         Moved ...
3814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
3815         ... here.
3816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
3817         Moved ...
3818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
3819         ... here.
3820         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
3821         Moved ...
3822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
3824         Moved ...
3825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
3826         ... here.
3827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
3828         Moved ...
3829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
3830         ... here.
3831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
3832         Moved ...
3833         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
3835         Moved ...
3836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
3837         ... here.
3838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
3839         Moved ...
3840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
3842         Moved ...
3843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
3845         Moved ...
3846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3847         ... here.
3848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
3849         Moved ...
3850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3851         ... here.
3852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3853         Moved ...
3854         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3855         ... here.
3856         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3857         Moved ...
3858         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3860         Moved ...
3861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3862         ... here.
3863         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3864         Moved ...
3865         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3866         ... here.
3867         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3868         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3869         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3870         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3871         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3872         Moved ...
3873         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3874         ... here.
3875         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3876         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3877         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3878         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3879         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3880         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3881         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3882         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3883         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3884         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3885         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3886         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3887         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3888         Moved ...
3889         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3890         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3891         Moved ...
3892         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3893         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3894         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3895         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3896         Moved ...
3897         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3898         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3899         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3900         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3901         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3902         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3903         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3904
3905 2014-06-10  Wilco  <wdijkstr@arm.com>
3906
3907         * math/test-fenv-return.c: New file.
3908         * math/Makefile: Add new test test-fenv-return.
3909
3910 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
3911
3912         [BZ #17042]
3913         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3914         when x - 1 is zero.
3915         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3916         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3917         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3918         0.0L for an argument of 1.0L.
3919         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3920         Likewise.
3921         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3922         value when x - 1 is zero.
3923         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3924         * sysdeps/i386/fpu/libm-test-ulps: Update.
3925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3926
3927 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
3928
3929         [BZ #15119]
3930         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3931
3932 2014-06-09  Roland McGrath  <roland@hack.frob.com>
3933
3934         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3935         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3936
3937 2014-06-09  Roland McGrath  <roland@hack.frob.com>
3938
3939         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3940         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3941
3942         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3943         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3944
3945         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3946         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3947
3948         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3949         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3950
3951         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3952         if not already defined.
3953         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3954         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3955         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3956         (TLS_INIT_TP): Use it.
3957         (TLS_DEFINE_INIT_TP): New macro.
3958         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3959
3960 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
3961
3962         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3963         constant.
3964         [POSIX] (IXANY): Likewise.
3965         [POSIX] (OLCUC): Likewise.
3966         [POSIX || POSIX2008] (CBAUD): Do not allow.
3967         [POSIX || POSIX2008] (DEFECHO): Likewise.
3968         [POSIX || POSIX2008] (ECHOCTL): Likewise.
3969         [POSIX || POSIX2008] (ECHOKE): Likewise.
3970         [POSIX || POSIX2008] (ECHOPRT): Likewise.
3971         [POSIX || POSIX2008] (EXTA): Likewise.
3972         [POSIX || POSIX2008] (EXTB): Likewise.
3973         [POSIX || POSIX2008] (FLUSHO): Likewise.
3974         [POSIX || POSIX2008] (LOBLK): Likewise.
3975         [POSIX || POSIX2008] (PENDIN): Likewise.
3976         [POSIX || POSIX2008] (SWTCH): Likewise.
3977         [POSIX || POSIX2008] (VDISCARD): Likewise.
3978         [POSIX || POSIX2008] (VDSUSP): Likewise.
3979         [POSIX || POSIX2008] (VLNEXT): Likewise.
3980         [POSIX || POSIX2008] (VREPRINT): Likewise.
3981         [POSIX || POSIX2008] (VSTATUS): Likewise.
3982         [POSIX || POSIX2008] (VWERASE): Likewise.
3983         (B*): Change to B[0123456789]*.
3984         * conform/data/time.h-data [POSIX || UNIX98]
3985         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3986         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3987         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3988         [POSIX] (tm_*): Do not allow.
3989
3990 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
3991
3992         * Makefile (install): Don't set LANGUAGE.
3993         * Makefile.in (install): Likewise.
3994         * assert/Makefile (test-assert-ENV): Remove variable.
3995         (test-assert-perr-ENV): Likewise.
3996         * elf/Makefile (neededtest4-ENV): Likewise.
3997         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3998         [$(cross-compiling) = no]: Don't set LANGUAGE.
3999         * io/ftwtest-sh (LANG): Remove variable.
4000         * libio/Makefile (tst-widetext-ENV): Likewise.
4001         * manual/install.texi (Running make install): Don't refer to
4002         environment settings for make install.
4003         * INSTALL: Regenerated.
4004         * nptl/tst-tls6.sh: Don't set LANG.
4005         * posix/globtest.sh (LANG): Remove variable.
4006         * string/Makefile (tester-ENV): Likewise.
4007         (inl-tester-ENV): Likewise.
4008         (noinl-tester-ENV): Likewise.
4009         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4010         [$(cross-compiling) = no]: Don't set LANGUAGE.
4011         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4012         without explicit environment settings.
4013
4014 2014-06-06  Roland McGrath  <roland@hack.frob.com>
4015
4016         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4017         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4018         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4019         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4020
4021 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
4022
4023         * crypt/crypt-private.h [DOS]: Add some includes taken from the
4024         other files in the crypt directory.
4025         * crypt/crypt.c: Remove duplicate includes.
4026         * crypt/crypt-entry.c: Likewise.
4027         * crypt/crypt_util.c: Likewise.
4028
4029 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
4030
4031         * Makeconfig (run-program-env): New variable.
4032         (run-program-prefix-before-env): Likewise.
4033         (run-program-prefix-after-env): Likewise.
4034         (run-program-prefix): Define in terms of new variables.
4035         (built-program-cmd-before-env): New variable.
4036         (built-program-cmd-after-env): Likewise.
4037         (built-program-cmd): Define in terms of new variables.
4038         (test-program-prefix-before-env): New variable.
4039         (test-program-prefix-after-env): Likewise.
4040         (test-program-prefix): Define in terms of new variables.
4041         (test-program-cmd-before-env): New variable.
4042         (test-program-cmd-after-env): Likewise.
4043         (test-program-cmd): Define in terms of new variables.
4044         * Rules (make-test-out): Use $(run-program-env).
4045         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4046         (help): Do not mention environment variables.  Mention
4047         --timeoutfactor option.
4048         (timeoutfactor): New variable.
4049         (blacklist_exports): Remove function.
4050         (exports): Remove variable.
4051         (command): Do not include ${exports}.
4052         * manual/install.texi (Configuring and compiling): Do not mention
4053         test wrappers preserving environment variables.  Mention that last
4054         assignment to a variable must take precedence.
4055         * INSTALL: Regenerated.
4056         * benchtests/Makefile (run-bench): Use $(run-program-env).
4057         * catgets/Makefile ($(objpfx)test1.cat): Use
4058         $(built-program-cmd-before-env), $(run-program-env) and
4059         $(built-program-cmd-after-env).
4060         ($(objpfx)test2.cat): Do not specify environment variables
4061         explicitly.
4062         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4063         $(run-program-env) and $(built-program-cmd-after-env).
4064         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4065         $(run-program-env) and $(test-program-cmd-after-env).
4066         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4067         explicitly.
4068         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4069         run_program_env and test_program_cmd_after_env arguments.
4070         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4071         * elf/tst-pathopt.sh: Use run_program_env argument.
4072         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4073         $(test-wrapper-env) and $(run-program-env).
4074         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4075         run_program_env arguments.
4076         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4077         * intl/Makefile ($(objpfx)tst-gettext.out): Use
4078         $(test-program-prefix-before-env), $(run-program-env) and
4079         $(test-program-prefix-after-env).
4080         ($(objpfx)tst-gettext2.out): Likewise.
4081         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4082         run_program_env and test_program_prefix_after_env arguments.
4083         * intl/tst-gettext2.sh: Likewise.
4084         * intl/tst-gettext4.sh: Do not set environment variables
4085         explicitly.
4086         * intl/tst-gettext6.sh: Likewise.
4087         * intl/tst-translit.sh: Likewise.
4088         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4089         $(test-program-prefix-before-env), $(run-program-env) and
4090         $(test-program-prefix-after-env).
4091         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4092         run_program_env and test_program_prefix_after_env arguments.
4093         * math/Makefile (run-regen-ulps): Use $(run-program-env).
4094         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4095         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
4096         explicitly with each use of ${test_wrapper_env}.
4097         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4098         $(test-program-prefix-before-env), $(run-program-env) and
4099         $(test-program-prefix-after-env).
4100         * posix/tst-getconf.sh: Do not set environment variables
4101         explicitly.
4102         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4103         run_program_env and test_program_prefix_after_env arguments.
4104         * stdio-common/tst-printf.sh: Do not set environment variables
4105         explicitly.
4106         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4107         $(test-program-prefix-before-env), $(run-program-env) and
4108         $(test-program-prefix-after-env).
4109         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4110         run_program_env and test_program_prefix_after_env arguments.
4111         Split $test calls into $test_pre and $test.
4112         * timezone/Makefile (build-testdata): Use
4113         $(built-program-cmd-before-env), $(run-program-env) and
4114         $(built-program-cmd-after-env).
4115
4116 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4117
4118         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4119         strlen for non SHARED builds.
4120
4121 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4122
4123         * nptl/allocatestack.c (check_list): Inlined function...
4124         (__reclaim_stacks): ... here.
4125
4126 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4127
4128         [BZ #15698]
4129         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4130         memory overrun.
4131
4132 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
4133
4134         * Rules (make-test-out): Include
4135         LOCPATH=$(common-objpfx)localedata in default environment.
4136         * debug/Makefile (tst-chk1-ENV): Remove variable.
4137         (tst-chk2-ENV): Likewise.
4138         (tst-chk3-ENV): Likewise.
4139         (tst-chk4-ENV): Likewise.
4140         (tst-chk5-ENV): Likewise.
4141         (tst-chk6-ENV): Likewise.
4142         (tst-lfschk1-ENV): Likewise.
4143         (tst-lfschk2-ENV): Likewise.
4144         (tst-lfschk3-ENV): Likewise.
4145         (tst-lfschk4-ENV): Likewise.
4146         (tst-lfschk5-ENV): Likewise.
4147         (tst-lfschk6-ENV): Likewise.
4148         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4149         (tst-iconv7-ENV): Likewise.
4150         * intl/Makefile (LOCPATH-ENV): Likewise.
4151         (tst-codeset-ENV): Likewise.
4152         (tst-gettext3-ENV): Likewise.
4153         (tst-gettext5-ENV): Likewise.
4154         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4155         (tst-fopenloc-ENV): Likewise.
4156         (tst-fgetws-ENV): Remove variable.
4157         (tst-ungetwc1-ENV): Likewise.
4158         (tst-ungetwc2-ENV): Likewise.
4159         (bug-ungetwc2-ENV): Likewise.
4160         (tst-swscanf-ENV): Likewise.
4161         (bug-ftell-ENV): Likewise.
4162         (tst-fgetwc-ENV): Likewise.
4163         (tst-fseek-ENV): Likewise.
4164         (tst-ftell-partial-wide-ENV): Likewise.
4165         (tst-ftell-active-handler-ENV): Likewise.
4166         (tst-ftell-append-ENV): Likewise.
4167         * posix/Makefile (tst-fnmatch-ENV): Likewise.
4168         (tst-regexloc-ENV): Likewise.
4169         (bug-regex1-ENV): Likewise.
4170         (tst-regex-ENV): Likewise.
4171         (tst-regex2-ENV): Likewise.
4172         (bug-regex5-ENV): Likewise.
4173         (bug-regex6-ENV): Likewise.
4174         (bug-regex17-ENV): Likewise.
4175         (bug-regex18-ENV): Likewise.
4176         (bug-regex19-ENV): Likewise.
4177         (bug-regex20-ENV): Likewise.
4178         (bug-regex22-ENV): Likewise.
4179         (bug-regex23-ENV): Likewise.
4180         (bug-regex25-ENV): Likewise.
4181         (bug-regex26-ENV): Likewise.
4182         (bug-regex30-ENV): Likewise.
4183         (bug-regex32-ENV): Likewise.
4184         (bug-regex33-ENV): Likewise.
4185         (bug-regex34-ENV): Likewise.
4186         (bug-regex35-ENV): Likewise.
4187         (tst-rxspencer-ENV): Likewise.
4188         (tst-rxspencer-no-utf8-ENV): Likewise.
4189         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4190         (tst-sscanf-ENV): Likewise.
4191         (tst-swprintf-ENV): Likewise.
4192         (tst-swscanf-ENV): Likewise.
4193         (test-vfprintf-ENV): Likewise.
4194         (scanf13-ENV): Likewise.
4195         (bug14-ENV): Likewise.
4196         (tst-grouping-ENV): Likewise.
4197         * stdlib/Makefile (tst-strtod-ENV): Likewise.
4198         (tst-strtod3-ENV): Likewise.
4199         (tst-strtod4-ENV): Likewise.
4200         (tst-strtod5-ENV): Likewise.
4201         (testmb2-ENV): Likewise./
4202         * string/Makefile (tst-strxfrm-ENV): Likewise.
4203         (tst-strxfrm2-ENV): Likewise.
4204         (bug-strcoll1-ENV): Likewise.
4205         (test-strcasecmp-ENV): Likewise.
4206         (test-strncasecmp-ENV): Likewise.
4207         * time/Makefile (tst-strptime-ENV): Likewise.
4208         (tst-ftime_l-ENV): Likewise.
4209         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4210         (tst-mbrtowc-ENV): Likewise.
4211         (tst-wcrtomb-ENV): Likewise.
4212         (tst-mbrtowc2-ENV): Likewise.
4213         (tst-c16c32-1-ENV): Likewise.
4214         (tst-mbsnrtowcs-ENV): Likewise.
4215
4216 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4217
4218         * manual/resource.texi (How to get information about the memory
4219         subsystem?): Fix typo.
4220         Reported by Peon de la Parra Ivan <peon@keba.com>
4221
4222 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
4223
4224         [BZ #16882]
4225         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4226         (pthread_spin_lock): Branch out of spin loop to proper location.
4227         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4228         (pthread_spin_lock): Likewise.
4229
4230         * nptl/tst-spin4.c: New test.
4231         * nptl/Makefile (tests): Add tst-spin4.
4232
4233 2014-06-03  Andreas Schwab  <schwab@suse.de>
4234
4235         [BZ #15946]
4236         * resolv/res_send.c (send_dg): Reload file descriptor after
4237         calling reopen.
4238
4239 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
4240
4241         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4242
4243 2014-06-03  Richard Henderson  <rth@redhat.com>
4244
4245         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4246         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4247         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4248         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
4249         in the SAVE_PID block.
4250         (__libc_vfork): New alias.
4251         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4252
4253         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4254         child in registers, not on the stack.  Remove RESET_PID conditionals.
4255         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4256
4257 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4258
4259         * sysdeps/aarch64/libm-test-ulps: Regenerate.
4260
4261 2014-06-03  Wilco  <wdijkstr@arm.com>
4262
4263         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4264         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4265         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4266         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4267         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4268         Likewise.
4269
4270 2014-06-03  Wilco  <wdijkstr@arm.com>
4271
4272         * sysdeps/aarch64/fpu/math_private.h
4273         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4274         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4275         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4276         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4277         Fix declarations.
4278
4279 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4280
4281         * crypt/crypt-private.h: Include ufc-crypt.h.
4282         (__b64_from_24bit): Declare extern.
4283         * crypt/crypt_util.c(__b64_from_24bit): New function.
4284         (b64t): New static const variable.
4285         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4286         (b64t): Remove variable.
4287         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4288         * crypt/sha256-crypt.c: Include crypt-private.h.
4289         (b64t): Remove variable.
4290         (__sha256_crypt_r): Remove b64_from_24bit and replace
4291         with __b64_from_24bit.
4292         * crypt/sha512-crypt.c: Likewise.
4293
4294 2014-06-02  Roland McGrath  <roland@hack.frob.com>
4295
4296         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4297         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4298         Label the code __libc_vfork rather than __vfork.
4299         [!NOT_IN_libc] (vfork): Define as weak alias.
4300         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4301         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4302         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4303
4304 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4305
4306         * malloc/malloc.c (malloc_info): Fix format specifier for
4307         n_mmaps.
4308
4309 2014-06-02  Wilco  <wdijkstr@arm.com>
4310
4311         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4312         FPCR write.
4313
4314 2014-06-02  Wilco  <wdijkstr@arm.com>
4315
4316         [BZ #17009]
4317         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4318         Rewrite to reduce FPCR/FPSR accesses.
4319
4320 2014-06-01  David S. Miller  <davem@davemloft.net>
4321
4322         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4323
4324 2014-05-31  David S. Miller  <davem@davemloft.net>
4325
4326         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4327         to occur in round to nearest mode when |x| >= 2.0
4328
4329 2014-05-30  Richard Henderson  <rth@twiddle.net>
4330
4331         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4332         (PSEUDO_RET_NOERRNO): Remove.
4333         (ret): Don't redefine.
4334         (ret_NOERRNO): Define in terms of ret.
4335         (ret_ERRVAL): Likewise.
4336
4337         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4338         use of PSEUDO_RET; perform the error check directly.
4339
4340 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
4341
4342         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4343         with __int128_t.
4344
4345 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4346
4347         * malloc/malloc (malloc_info): Fix formatting.
4348
4349 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4350             Roland McGrath  <roland@hack.frob.com>
4351
4352         * malloc/malloc (malloc_info): Also print mmapped statistics.
4353
4354 2014-05-30  Roland McGrath  <roland@hack.frob.com>
4355
4356         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4357         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4358
4359 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
4360
4361         * malloc/malloc.c (malloc_info): Inline mi_arena.
4362
4363 2014-05-29  Richard Henderson  <rth@twiddle.net>
4364
4365         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4366         Remove comma before expanding ASM_ARGS_##nr.
4367         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4368         Make _x0 a strict output; make _x8 a strict input; adjust expansion
4369         of ASM_ARGS_##nr.
4370         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4371         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4372         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4373         (ASM_ARGS_1): Add leading comma.
4374
4375         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4376         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4377         to __errno_location.
4378         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4379         Remove the expected plt for __errno_location.
4380
4381         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4382         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4383         call to __read_tp.
4384
4385         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4386         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
4387         it and break it down.
4388         (DOCARGS_0, DOCARGS_1): Do nothing.
4389         (DOCARGS_2): Update to store into the new stack frame.
4390         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4391         (UNDOCARGS_1): Update to restore from the new stack frame.
4392         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4393         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4394
4395         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4396         (SINGLE_THREAD_P): New parameter for result regno.
4397         (PSEUDO): Update to match; use cbz instead of beq.
4398
4399         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4400         Use ENTRY to define the _nocancel entry point.  Share the syscall
4401         and syscall error check paths with the cancel path.
4402         (PSEUDO_END): New.
4403
4404         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4405         whitespace; tabs before and after asm mnemonics.
4406
4407 2014-05-29  Eric Wong  <normalperson@yhbt.net>
4408
4409         [BZ #15132]
4410         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4411         Call fstat64 or stat64 internally, depending on arguments passed.
4412         Replace stat buffer argument with file descriptor argument.
4413         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4414         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4415         Pass fd to __internal_statvfs instead of calling fstat64.
4416         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4417         Pass fd to __internal_statvfs64 instead of calling fstat64.
4418         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4419         Pass -1 to __internal_statvfs instead of calling stat64.
4420         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4421         Pass -1 to __internal_statvfs64 instead of calling stat64.
4422
4423 2014-05-28  Roland McGrath  <roland@hack.frob.com>
4424
4425         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4426         that was previously under [RESET_PID].
4427         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4428
4429         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4430         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4431
4432 2014-05-27  Roland McGrath  <roland@hack.frob.com>
4433
4434         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4435
4436         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4437         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4438
4439 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
4440
4441         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4442
4443 2014-05-27  Andreas Schwab  <schwab@suse.de>
4444
4445         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4446         TLS_INIT_TP macro.
4447         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4448         * elf/rtld.c (init_tls, dl_main): Likewise.
4449         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4450         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4451         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4452         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4453         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4454         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4455         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4456         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4457         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4458         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4459         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4460         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4461         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4462         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4463         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4464         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4465         * sysdeps/generic/tls.h: Update description.
4466
4467 2014-05-27  Will Newton  <will.newton@linaro.org>
4468
4469         [BZ #16990]
4470         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4471         and restore r2 rather than just restoring.
4472
4473 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4474
4475         [BZ #16724]
4476         * libio/tst-ftell-append.c: New test case.
4477         * libio/Makefile (tests): Add test case.
4478         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4479         append mode.
4480         * libio/wfileops.c (do_ftell_wide): Likewise.
4481
4482 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4483
4484         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4485
4486         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4487         ...
4488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4490         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4491         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4492         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4493         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4494         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4495         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4496         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4497         Moved ...
4498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4499         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4500         Moved ...
4501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4502         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4503         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4504         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4505         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4506         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4507         ...
4508         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4509         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4510         Moved ...
4511         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4512         here.
4513         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4514         ...
4515         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4516         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4517         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4518
4519         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4520         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4521         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4522         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4523
4524         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4525         merge into ...
4526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4527         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4528         ...
4529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4530         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4531         ...
4532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4533         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4534         Moved ...
4535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4536         here.
4537         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4538         Moved ...
4539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4540         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4541         Moved ...
4542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4543
4544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4545         conditional [RESET_PID].
4546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4547         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4548         removed.
4549         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4550         removed.
4551
4552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4553         <tcb-offsets.h>.
4554         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4555         (__libc_vfork): New strong alias.
4556         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4557         removed.
4558         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4559         Removed.
4560
4561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4562         <tcb-offsets.h>.
4563         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4564         (__libc_vfork): New strong alias.
4565         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4566         removed.
4567         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4568         removed.
4569
4570 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
4571
4572         * malloc/malloc.c (mi_arena): New function.
4573         (malloc_info): Remove nested function mi_arena. Call non-nosted
4574         function mi_arena.
4575
4576 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4577
4578         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4579         by insrwi.
4580         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4581         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4582         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4583         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4584         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4585         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4586         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4587
4588 2014-05-26  Andreas Schwab  <schwab@suse.de>
4589
4590         [BZ #16984]
4591         * locale/programs/repertoire.c (repertoire_read): Add slash
4592         between I18NPATH element and file name.
4593         * locale/programs/locfile.c (locfile_read): Likewise.
4594
4595 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4596
4597         * nptl/pthread_mutexattr_settype.c
4598         (__pthread_mutexattr_settype):
4599         Disable lock elision for PTHREAD_MUTEX_NORMAL.
4600
4601 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4602
4603         * nptl/tst-mutex5 (do_test):
4604         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4605
4606 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4607
4608         * benchtests/README: Document 'init' directive.
4609         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4610         BENCH_INIT.
4611         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4612         (parse_file): Recognize 'init' directive.
4613
4614 2014-05-26  Kyle McMartin  <kyle@redhat.com>
4615
4616         [BZ #16796]
4617         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4618         alignment of struct pthread.
4619
4620 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4621
4622         [BZ #16878]
4623         * nscd/netgroupcache.c (addgetnetgrentX): Look for
4624         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4625         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4626         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4627
4628 2014-05-25  Richard Henderson  <rth@twiddle.net>
4629
4630         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4631         (SINGLE_THREAD_P_PIC): Remove.
4632         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4633         (SINGLE_THREAD_P_PIC): Remove.
4634
4635         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4636         branch to syscall error ...
4637         (PSEUDO): ... here.
4638         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4639         from __local_syscall_error to .Lsyscall_error.
4640         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4641         (SYSCALL_ERROR): Update label name.
4642
4643         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4644         Do not use DOARGS/UNDOARGS.
4645         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4646         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4647         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4648         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4649         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4650
4651         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4652         block comment.
4653
4654         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4655         define if !NOT_IN_libc.
4656         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4657         define with non-default symbol versions.
4658
4659 2014-05-23  Richard Henderson  <rth@twiddle.net>
4660
4661         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4662         (vfork, __vfork): Define via compat_symbol.
4663
4664         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4665         [!HAVE_IFUNC] (vfork_compat): Remove.
4666         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4667
4668 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
4669
4670         [BZ #16978]
4671         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4672         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4673         variable.
4674
4675 2014-05-23  Richard Henderson  <rth@twiddle.net>
4676
4677         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4678         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4679         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4680         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4681
4682         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4683         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4684         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4685         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4686         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4687         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4688         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4689         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4690         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4691         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4692         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4693         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4694         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4695         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4696         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4697         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4698         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4699         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4700         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4701         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4702         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4703         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4704         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4705         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4706         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4707         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4708         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4709         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4710         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4711         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4712         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4713         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4714         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4715         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4716         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4717         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4718         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4719         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4720         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4721         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4722         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4723         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4724         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4725         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4726         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4727         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4728         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4729         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4730         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4731         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4732         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4733         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4734         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4735         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4736         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4737         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4738
4739         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4740         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4741         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
4742         before exiting on error.
4743         (__libc_vfork): New strong alias.
4744         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4745         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4746
4747         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4748         that was previously under [RESET_PID].
4749         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4750
4751         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4752
4753 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
4754
4755         [BZ #16977]
4756         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4757         value when x - 1 is zero.
4758         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4759         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4760         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4761         0.0L for an argument of 1.0L.
4762         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4763         Likewise.
4764         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4765         value when x - 1 is zero.
4766         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4767         * sysdeps/i386/fpu/libm-test-ulps: Update.
4768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4769
4770 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4771
4772         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4773         alphasort and versionsort.
4774
4775 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4776
4777         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4778         macro.
4779         [copysignf]: Likewise.
4780
4781 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4782
4783         * crypt/md5-crypt.c: Fix formatting.
4784
4785 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4786
4787         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4788         (b64_from_24bit): New function.
4789
4790 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4791
4792         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4793         libc_hidden_builtin_def to ifunc.
4794         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4795         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4796
4797 2014-05-21  Roland McGrath  <roland@hack.frob.com>
4798
4799         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4800         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4801
4802 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
4803
4804         * nscd/Depend (linuxthreads): Remove.
4805         (nptl): Add.
4806         * resolv/Depend (linuxthreads): Remove.
4807         * rt/Depend (linuxthreads): Remove.
4808
4809         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4810         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4811         $(common-objpfx)elf/.
4812         (link-libc-before-gnulib): Likewise.
4813         (elfobjdir): Remove variable.
4814         * Makefile (install): Use $(elf-objpfx) instead of
4815         $(common-objpfx)elf/.
4816         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4817         $(elfobjdir)/.
4818         (link-libc-deps): Likewise.
4819         ($(common-objpfx)libc.so): Likewise.
4820         ($(common-objpfx)linkobj/libc.so): Likewise.
4821         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4822         instead of $(common-objpfx)elf/.
4823         (symbolic-link-list): Likewise.
4824         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4825         [$(cross-compiling) = no]: Likewise.
4826         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4827         $(elfobjdir)/.
4828         (static-gnulib-arch): Likewise.
4829         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4830         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4831         $(common-objpfx)elf/.
4832
4833 2014-05-21  Richard Henderson  <rth@redhat.com>
4834
4835         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4836         (SINGLE_THREAD_P): Use the correct width load.  Fold
4837         into the ldr offset.
4838
4839         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4840         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4841
4842 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
4843
4844         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4845         (libgcc_s_resume): Use __attribute_used__.
4846         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4847         Likewise.
4848
4849 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4850
4851         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4852         optimization when used with float constants.
4853
4854         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4855
4856 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
4857
4858         [BZ #16915]
4859         * locale/nl_langinfo_l.c: Make direct reference to every
4860         _nl_current_CATEGORY symbol.
4861         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4862         (tests-static): Add tst-langinfo-static.
4863         (tests-special): Add tst-langinfo-static.out.
4864         ($(objpfx)tst-langinfo.out): Redirect output.
4865         ($(objpfx)tst-langinfo-static.out): New.
4866         * localedata/tst-langinfo.sh: Send output to stdout.
4867         * localedata/tst-langinfo-static.c: New file.
4868
4869         [BZ #16965]
4870         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4871         when the shift amount is modulo the limb size.
4872
4873 2014-05-20  Richard Henderson  <rth@redhat.com>
4874
4875         [BZ #16967]
4876         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4877         Change type of sa_flags from unsigned int to int.
4878
4879         [BZ #16966]
4880         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4881
4882         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4883
4884 2014-05-20  Will Newton  <will.newton@linaro.org>
4885
4886         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4887         Test the return value of the system call in the nocancel case.
4888
4889 2014-05-20  Will Newton  <will.newton@linaro.org>
4890             Yvan Roux  <yvan.roux@linaro.org>
4891
4892         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4893         #include of asm/ptrace.h.
4894         (PTRACE_GET_THREAD_AREA): Remove #undef.
4895         (PTRACE_GETHBPREGS): Likewise.
4896         (PTRACE_SETHBPREGS): Likewise.
4897         (struct user_regs_struct): New structure.
4898         (struct user_fpsimd_struct): New structure.
4899         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4900         #include of asm/ptrace.h and second #include of sys/user.h.
4901         (PTRACE_GET_THREAD_AREA): Remove #undef.
4902         (PTRACE_GETHBPREGS): Likewise.
4903         (PTRACE_SETHBPREGS): Likewise.
4904         (ELF_NGREG): Use new struct user_regs_struct.
4905         (elf_fpregset_t): Use new struct user_fpsimd_struct.
4906
4907 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4908
4909         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4910         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4911
4912 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
4913
4914         [BZ #16958]
4915         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4916         membar to avoid block loads/stores to overlap previous stores.
4917
4918 2014-05-17  Richard Henderson  <rth@redhat.com>
4919
4920         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4921         Create the __##syscall_name##_nocancel entry point.
4922         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4923         Remove; let the sysdep-cancel.h code create it.
4924
4925 2014-05-17  David S. Miller  <davem@davemloft.net>
4926
4927         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4928         Protect with __USE_GNU.
4929         (TIOCSET_TEMPT): Likewise.
4930         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4931         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4932         these are already provided in bits/ioctl-types.h
4933
4934 2014-05-16  Roland McGrath  <roland@hack.frob.com>
4935
4936         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4937         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4938
4939         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4940         Use wait4 regardless of [__NR_waitpid].
4941
4942 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
4943
4944         PR libgcc/60166
4945         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4946         (_FP_NANSIGN_Q): Set the quiet bit.
4947
4948 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
4949
4950         * benchtests/Makefile
4951         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4952         not $(common-objpfx)math/libm.so.
4953         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4954         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4955         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4956         $(common-objpfx)dlfcn/libdl.so.
4957         ($(objpfx)tst-audit8): Depend on $(libm), not
4958         $(common-objpfx)math/libm.so.
4959         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4960         not $(common-objpfx)dlfcn/libdl.so.
4961         * math/Makefile
4962         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4963         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
4964         [$(build-shared) = yes].
4965         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4966         $(common-objpfx)nptl/libpthread.so.
4967         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4968         $(common-objpfx)math/libm.so$(libm.so-version) or
4969         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4970         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4971         $(common-objpfx)dlfcn/libdl.so.
4972         * setjmp/Makefile (link-libm): Remove variable.
4973         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4974         * stdio-common/Makefile (link-libm): Remove variable.
4975         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4976         * stdlib/Makefile (link-libm): Remove variable.
4977         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4978         ($(objpfx)tst-strtod-round): Likewise.
4979         ($(objpfx)tst-tininess): Likewise.
4980         ($(objpfx)tst-strtod-underflow): Likewise.
4981         ($(objpfx)tst-strtod6): Likewise.
4982         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4983         $(libdl), not $(common-objpfx)nptl/libpthread.so and
4984         $(common-objpfx)dlfcn/libdl.so.
4985
4986 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4987
4988         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4989         BSD terminal modes definitions.
4990
4991 2014-05-16  Roland McGrath  <roland@hack.frob.com>
4992
4993         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4994         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4995
4996         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4997         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4998         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4999         Don't do #include_next.
5000         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5001         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5002         Don't do #include_next.
5003         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5004         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5005         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5006         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5007
5008 2014-05-16  Allan McRae  <allan@archlinux.org>
5009
5010         * po/sv.po: Update Swedish translation from translation project.
5011
5012         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5013         in sed expression.
5014
5015 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
5016
5017         [BZ #16917]
5018         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5019         errno if the TIOCGPTN ioctl fails with an error different than
5020         EINVAL.
5021         * login/tst-ptsname.c: New file.
5022         * login/Makefile (tests): Add tst-ptsname.
5023
5024         [BZ #16943]
5025         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5026         and prlimit64.
5027
5028 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5029
5030         [BZ #16849]
5031         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5032         herrno to return EAI_AGAIN.
5033
5034 2014-05-14  Roland McGrath  <roland@hack.frob.com>
5035
5036         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5037         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5038         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5039         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5040         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5041         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5042         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5043         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5044         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5045         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5046         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5047         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5048         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5049         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5050         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5051         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5052         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5053         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5054         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5055         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5056         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5057         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5058         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5059         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5060         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5061         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5062         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5063         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5064         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5065         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5066         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5067         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5068         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5069         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5070         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5071         Moved ...
5072         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5073         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5074         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5075         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5076         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5077         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5078         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5079         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5080         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5081         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5082         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5083         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5084         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5085         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5086         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5087         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5088         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5089         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5090         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5091         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5092         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5093         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5094         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5095         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5096         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5097         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5098         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5099         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5100         Moved ...
5101         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5102         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5103         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5104         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5105         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5106         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5107         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5108         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5109         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5110         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5111         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5112         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5113         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5114         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5115         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5116         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5117         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5118         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5119         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5120         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5121         Moved ...
5122         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5123         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5124         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5125
5126         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5127         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5128         (libpthread-sysdep_routines): Add elision-related stuff here instead.
5129         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5130         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5131         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5132         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5133         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5134         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5135         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5136         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5137         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5138         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5139         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5140         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5141         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5142         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5143         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5144         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5145         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5146         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5147         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5148         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5149         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5150         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5151         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5152         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5153         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5154         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5155         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5156         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5157
5158         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5159         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5160
5161         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5162         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5163         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5164         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5165         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5166         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5167         Moved ...
5168         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5169         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5170         Moved ...
5171         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5172         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5173         Moved ...
5174         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5175         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5176         Moved ...
5177         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5178         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5179         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5180         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5181         Moved ...
5182         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5183         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5184         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5185         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5186         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5187         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5188         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5189         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5190         Moved ...
5191         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5192         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5193         Moved ...
5194         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5195         ... here.
5196         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5197         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5198         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5199         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5200         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5201         Moved ...
5202         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5203         ... here.
5204         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5205         Moved ...
5206         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5207         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5208         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5209         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5210         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5211         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5212         Moved ...
5213         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5214         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5215         Moved ...
5216         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5217         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5218         Moved ...
5219         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5220         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5221         Moved ...
5222         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5223         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5224         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5225         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5226         Moved ...
5227         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5228         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5229         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5230         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5231         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5232         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5233         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5234         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5235         Moved ...
5236         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5237         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5238         Moved ...
5239         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5240         ... here.
5241         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5242         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5243         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5244         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5245         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5246         Moved ...
5247         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5248         ... here.
5249         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5250         Moved ...
5251         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5252         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5253         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5254         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5255         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5256         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5257         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5258         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5259         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5260         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5261         Moved ...
5262         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5263         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5264         Moved ...
5265         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5266         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5267         Moved ...
5268         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5269         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5270         Moved ...
5271         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5272         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5273         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5274         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5275         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5276         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5277         Moved ...
5278         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5279         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5280         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5281         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5282         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5283         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5284         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5285         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5286         Moved ...
5287         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5288         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5289         Moved ...
5290         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5291         ... here.
5292         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5293         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5294         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5295         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5296         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5297         Moved ...
5298         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5299         ... here.
5300         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5301         Moved ...
5302         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5303         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5304         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5305         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5306         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5307         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5308         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5309         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5310         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5311         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5312         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5313
5314         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5315         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5316
5317         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5318         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5319
5320         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5321         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5322         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5323         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5324         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5325         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5326         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5327         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5328         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5329         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5330         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5331         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5332         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5333         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5334         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5335         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5336         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5337         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5338         Moved ...
5339         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5340         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5341         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5342         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5343         Moved ...
5344         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5345         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5346         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5347         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5348         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5349         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5350         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5351         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5352         Moved ...
5353         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5354         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5355         Moved ...
5356         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5357         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5358         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5359         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5360         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5361         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5362         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5363         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5364         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5365         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5366         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5367         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5368         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5369         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5370         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5371         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5372         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5373
5374         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5375         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5376         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5377         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5378         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5379
5380         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5381         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5382         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5383         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5384         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5385         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5386         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5387         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5388         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5389         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5390
5391         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5392         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5393
5394         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5395         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5396         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5397         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5398         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5399         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5400         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5401         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5402         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5403         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5404         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5405         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5406         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5407         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5408         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5409         Update #include.
5410         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5411         Likewise.
5412         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5413         Likewise.
5414         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5415         Likewise.
5416         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5417         Likewise.
5418         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5419         Likewise.
5420         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5421         Likewise.
5422         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5423         Likewise.
5424         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5425         Likewise.
5426         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5427         Likewise.
5428         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5429         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5430         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5431         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5432         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5433         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5434         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5435         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5436         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5437         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5438         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5439         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5440         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5441         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
5442         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
5443
5444         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5445         that was previously under [RESET_PID].
5446         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5447         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5448         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5449
5450         * sysdeps/i386/nptl/Implies: New file.
5451         * sysdeps/x86_64/nptl/Implies: New file.
5452         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5453         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5454         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5455         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5456
5457         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5458         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5459         (__libc_vfork): New strong alias.
5460         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5461         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5462
5463         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5464         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5465         (__libc_vfork): New strong alias.
5466         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5467         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5468
5469         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5470         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5471         (__libc_vfork): New strong alias.
5472         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5473         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5474         * nptl/pt-vfork.c: New file.
5475         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5476         (libpthread: GLIBC_2.20): New version set (empty).
5477
5478 2014-05-14  Will Newton  <will.newton@linaro.org>
5479
5480         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5481         rather than #if.
5482
5483 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
5484
5485         [BZ #16564]
5486         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5487         arguments with exponent 65 or above.
5488         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5489         arguments 0x1p113L or above.
5490         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5491         to arguments 0x1p107L or above.
5492         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5493         positive arguments with exponent 65 or above.
5494         * math/auto-libm-test-in: Add more tests of log1p.
5495         * math/auto-libm-test-out: Regenerated.
5496
5497         [BZ #16928]
5498         * math/s_cacos.c (__cacos): Ensure zero real part of result from
5499         non-finite arguments is +0.
5500         * math/s_cacosf.c (__cacosf): Likewise.
5501         * math/s_cacosl.c (__cacosl): Likewise.
5502         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5503         * sysdeps/i386/fpu/libm-test-ulps: Update.
5504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5505
5506         [BZ #16927]
5507         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5508         value.
5509         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5510         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5511         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5512         for explicit high bit of mantissa when testing for argument equal
5513         to 1.
5514         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5515         * sysdeps/i386/fpu/libm-test-ulps: Update.
5516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5517
5518         [BZ #16516]
5519         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5520         (__erf): Scale by 16 instead of 8 in potentially underflowing
5521         case.  Ensure exception if result actually underflows.
5522         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5523         (__erff): Scale by 16 instead of 8 in potentially underflowing
5524         case.  Ensure exception if result actually underflows.
5525         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5526         (efx8): Remove variable.
5527         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5528         case.  Ensure exception if result actually underflows.
5529         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5530         (efx8): Remove variable.
5531         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5532         case.  Ensure exception if result actually underflows.
5533         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5534         (efx8): Remove variable.
5535         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5536         case.  Ensure exception if result actually underflows.
5537         * math/auto-libm-test-in: Add more tests of erf.
5538         * math/auto-libm-test-out: Regenerated.
5539
5540 2014-05-14  Andreas Schwab  <schwab@suse.de>
5541
5542         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5543         Remove code conditionalized on USE___THREAD.
5544
5545         * config.h.in (HAVE_PT_CHOWN): Define as 0.
5546         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5547         not definedness.
5548
5549 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
5550
5551         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5552         Define unconditionally.
5553         (__ASSUME_O_CLOEXEC): Likewise.
5554         (__ASSUME_SOCK_CLOEXEC): Likewise.
5555         (__ASSUME_IN_NONBLOCK): Likewise.
5556         (__ASSUME_PIPE2): Likewise.
5557         (__ASSUME_EVENTFD2): Likewise.
5558         (__ASSUME_SIGNALFD4): Likewise.
5559         (__ASSUME_DUP3): Likewise.
5560         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5561         (__ASSUME_DUP3): Do not define.
5562         (__ASSUME_EVENTFD2): Likewise.
5563         (__ASSUME_IN_NONBLOCK): Likewise.
5564         (__ASSUME_O_CLOEXEC): Likewise.
5565         (__ASSUME_PIPE2): Likewise.
5566         (__ASSUME_SIGNALFD4): Likewise.
5567         (__ASSUME_SOCK_CLOEXEC): Likewise.
5568         (__ASSUME_UTIMES): Undefine.
5569         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5570         (__ASSUME_UTIMES): Do not define.
5571         (__ASSUME_O_CLOEXEC): Likewise.
5572         (__ASSUME_SOCK_CLOEXEC): Likewise.
5573         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5574         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5575         0x020621].
5576         (__ASSUME_PIPE2): Likewise.
5577         (__ASSUME_EVENTFD2): Likewise.
5578         (__ASSUME_SIGNALFD4): Likewise.
5579         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5580         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5581         Do not define.
5582         (__ASSUME_EVENTFD2): Likewise.
5583         (__ASSUME_SIGNALFD4): Likewise.
5584         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5585         (__ASSUME_32BITUIDS): Likewise.
5586         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5587         (__ASSUME_IPC64): Likewise.
5588         (__ASSUME_ST_INO_64_BIT): Likewise.
5589         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5590         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5591         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5592         (__ASSUME_UTIMES): Do not define.
5593         (__ASSUME_PSELECT): Likewise.
5594         (__ASSUME_PPOLL): Likewise.
5595         (__ASSUME_O_CLOEXEC): Likewise.
5596         (__ASSUME_SOCK_CLOEXEC): Likewise.
5597         (__ASSUME_IN_NONBLOCK): Likewise.
5598         (__ASSUME_PIPE2): Likewise.
5599         (__ASSUME_EVENTFD2): Likewise.
5600         (__ASSUME_SIGNALFD4): Likewise.
5601         (__ASSUME_DUP3): Likewise.
5602         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5603         (__ASSUME_UTIMES): Likewise.
5604         (__ASSUME_O_CLOEXEC): Likewise.
5605         (__ASSUME_SOCK_CLOEXEC): Likewise.
5606         (__ASSUME_IN_NONBLOCK): Likewise.
5607         (__ASSUME_PIPE2): Likewise.
5608         (__ASSUME_EVENTFD2): Likewise.
5609         (__ASSUME_SIGNALFD4): Likewise.
5610         (__ASSUME_DUP3): Likewise.
5611         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5612         (__ASSUME_UTIMES): Likewise.
5613         (__ASSUME_O_CLOEXEC): Likewise.
5614         (__ASSUME_SOCK_CLOEXEC): Likewise.
5615         (__ASSUME_IN_NONBLOCK): Likewise.
5616         (__ASSUME_PIPE2): Likewise.
5617         (__ASSUME_EVENTFD2): Likewise.
5618         (__ASSUME_SIGNALFD4): Likewise.
5619         (__ASSUME_DUP3): Likewise.
5620         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5621         Likewise.
5622         (__ASSUME_UTIMES): Likewise.
5623         (__ASSUME_EVENTFD2): Likewise.
5624         (__ASSUME_SIGNALFD4): Likewise.
5625         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5626         (__ASSUME_O_CLOEXEC): Likewise.
5627         (__ASSUME_SOCK_CLOEXEC): Likewise.
5628         (__ASSUME_IN_NONBLOCK): Likewise.
5629         (__ASSUME_PIPE2): Likewise.
5630         (__ASSUME_EVENTFD2): Likewise.
5631         (__ASSUME_SIGNALFD4): Likewise.
5632         (__ASSUME_DUP3): Likewise.
5633         (__ASSUME_UTIMES): Undefine.
5634
5635         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5636         feclearexcept.  Remove symbol versioning code.
5637         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
5638         symbol versioning code.
5639         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
5640         symbol versioning code.
5641         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5642         feupdateenv.  Remove symbol versioning code.
5643         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5644         fegetexceptflag.  Remove symbol versioning code.
5645         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5646         fesetexceptflag.  Remove symbol versioning code.
5647         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5648         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
5649         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5650         (__posix_fadvise64_l32): Remove prototype.
5651         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5652         code.
5653
5654 2014-05-13  Roland McGrath  <roland@hack.frob.com>
5655
5656         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5657         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5658         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5659         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5660
5661 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
5662
5663         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5664         current working directory
5665
5666 2014-05-13  Roland McGrath  <roland@hack.frob.com>
5667
5668         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5669         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5670         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5671         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5672         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5673         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5674         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5675         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5676         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5677         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5678         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5679         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5680         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5681         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5682         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5683         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5684         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5685         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5686         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5687         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5688         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5689         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5690         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5691         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5692         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5693         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5694         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5695         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5696         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5697         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5698         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5699         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5700         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5701         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5702         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5703         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5704         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5705         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5706         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5707         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5708         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5709         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5710
5711         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5712         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5713
5714         * sysdeps/unix/sysv/linux/arm/Makefile
5715         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5716         Add rt-aeabi_unwind_cpp_pr1.
5717         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5718         Add nptl-aeabi_unwind_cpp_pr1.
5719         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5720         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5721         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5722         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5723         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5724         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5725
5726         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5727         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5728         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5729         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5730
5731         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5732         Deconditionalize the code that was previously under [RESET_PID].
5733         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5734
5735         * sysdeps/generic/exit-thread.h: New file.
5736         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5737         * include/unistd.h (__exit_thread): Remove declaration.
5738         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5739         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5740         * csu/libc-start.c: Include <exit-thread.h>.
5741         (LIBC_START_MAIN): Pass no argument to __exit_thread.
5742         * nptl/pthread_create.c: Include <exit-thread.h>.
5743         (start_thread): Call __exit_thread in place of __exit_thread_inline.
5744         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5745         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5746         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5747         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5748         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5749         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5750         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5751         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5752         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5753         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5754         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5755         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5756         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5757         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5758         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5759         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5760
5761 2014-05-13  Andreas Schwab  <schwab@suse.de>
5762
5763         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5764
5765 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
5766
5767         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5768         (__ASSUME_UTIMES): Do not condition on kernel version.
5769         (__ASSUME_PSELECT): Define unconditionally.
5770         (__ASSUME_PPOLL): Likewise.
5771         (__ASSUME_ATFCTS): Likewise.
5772         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5773         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5774         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5775         (__ASSUME_UTIMENSAT): Define unconditionally.
5776         (__ASSUME_PRIVATE_FUTEX): Likewise.
5777         (__ASSUME_FALLOCATE): Likewise.
5778         (__ASSUME_O_CLOEXEC): Likewise.
5779         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5780         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5781         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5782         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5783         (__ASSUME_IN_NONBLOCK): Likewise.
5784         (__ASSUME_PIPE2): Likewise.
5785         (__ASSUME_EVENTFD2): Likewise.
5786         (__ASSUME_SIGNALFD4): Likewise.
5787         (__ASSUME_DUP3): Likewise.
5788         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5789         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5790         (__ASSUME_AT_RANDOM): Likewise.
5791         (__ASSUME_PREADV): Likewise.
5792         (__ASSUME_PWRITEV): Likewise.
5793         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5794         (__ASSUME_F_GETOWN_EX): Define unconditionally.
5795         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5796         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5797         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5798         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5799         (__ASSUME_O_CLOEXEC): Define unconditionally.
5800         (__ASSUME_PSELECT): Do not undefine conditionally.
5801         (__ASSUME_PPOLL): Likewise.
5802         (__ASSUME_ATFCTS): Likewise.
5803         (__ASSUME_SET_ROBUST_LIST): Likewise.
5804         (__ASSUME_UTIMENSAT): Likewise.
5805         (__ASSUME_FDATASYNC): Define unconditionally.
5806         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5807         (__ASSUME_SIGFRAME_V2): Likewise.
5808         )__ASSUME_EVENTFD2): Likewise.
5809         (__ASSUME_SIGNALFD4): Likewise.
5810         (__ASSUME_PSELECT): Do not undefine conditionally.
5811         (__ASSUME_PPOLL): Likewise.
5812         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5813         (__ASSUME_PSELECT): Define unconditionally.
5814         (__ASSUME_PPOLL): Likewise.
5815         (__ASSUME_O_CLOEXEC): Likewise.
5816         (__ASSUME_SOCK_CLOEXEC): Likewise.
5817         (__ASSUME_IN_NONBLOCK): Likewise.
5818         (__ASSUME_PIPE2): Likewise.
5819         (__ASSUME_EVENTFD2): Likewise.
5820         (__ASSUME_SIGNALFD4): Likewise.
5821         (__ASSUME_DUP3): Likewise.
5822         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5823         (__ASSUME_O_CLOEXEC): Likewise.
5824         (__ASSUME_SOCK_CLOEXEC): Likewise.
5825         (__ASSUME_IN_NONBLOCK): Likewise.
5826         (__ASSUME_PIPE2): Likewise.
5827         (__ASSUME_EVENTFD2): Likewise.
5828         (__ASSUME_SIGNALFD4): Likewise.
5829         (__ASSUME_DUP3): Likewise.
5830         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5831         (__ASSUME_EVENTFD2): Likewise.
5832         (__ASSUME_SIGNALFD4): Likewise.
5833         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5834
5835 2014-05-12  Andreas Schwab  <schwab@suse.de>
5836
5837         [BZ #16932]
5838         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5839         (_nss_nis_gethostbyname4_r): Return error if item length is larger
5840         than maximum RPC packet size.
5841         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5842         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5843         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5844         (_nss_nis_getservbyport_r): Likewise.
5845
5846 2014-05-12  Will Newton  <will.newton@linaro.org>
5847
5848         * malloc/Makefile (tests): Add tst-mallopt.
5849         * malloc/tst-mallopt.c: New file.
5850
5851 2014-05-09  Roland McGrath  <roland@hack.frob.com>
5852
5853         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5854         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5855
5856 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5857
5858         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5859         (tst-tlsmod6.so): Likewise.
5860
5861 2014-05-09  Roland McGrath  <roland@hack.frob.com>
5862
5863         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5864
5865 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
5866
5867         [BZ #16064]
5868         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5869         and <dl-procinfo.h>.
5870         (__fegetenv): Save SSE state in envp->__eip if supported.
5871         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5872         envp->__eip if supported.
5873         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5874         and <dl-procinfo.h>.
5875         (__fesetenv): Always set __eip, __cs_selector, __opcode,
5876         __data_offset and __data_selector in environment to 0.  Set SSE
5877         state if supported.
5878         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5879         test-fenv-sse.
5880         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5881         -mfpmath=sse.
5882         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5883
5884 2014-05-09  Will Newton  <will.newton@linaro.org>
5885
5886         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5887         and libc_relro_required for ARM.
5888         * sysdeps/arm/preconfigure: Regenerate.
5889
5890 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
5891             Stefan Liebler  <stli@linux.vnet.ibm.com>
5892
5893         * config.make.in (enable-lock-elision): New Makefile variable.
5894         * configure.ac: Likewise.
5895         * configure: Regenerate.
5896         * sysdeps/s390/configure.ac:
5897         Add check for gcc transactions support.
5898         * sysdeps/s390/configure: Regenerate.
5899         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5900         Build elision files if enabled.
5901         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5902         Add lock elision support for s390.
5903         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5904         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5905         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5906         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5907         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5908         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5909         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5910         Likewise.
5911         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5912         Likewise.
5913         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5914         Likewise.
5915         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5916         Likewise.
5917         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5918         (__lll_timedlock_elision, __lll_lock_elision)
5919         (__lll_unlock_elision, __lll_trylock_elision)
5920         (lll_timedlock_elision, lll_lock_elision)
5921         (lll_unlock_elision, lll_trylock_elision): Add.
5922         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5923         (pthread_mutex_t): Add lock elision support for s390.
5924
5925 2014-05-14  Wilco  <wdijkstr@arm.com>
5926
5927         * sysdeps/arm/fclrexcpt.c: Cleanup.
5928         * sysdeps/arm/fedisblxcpt.c: Cleanup.
5929         * sysdeps/arm/feenablxcpt.c: Cleanup.
5930         * sysdeps/arm/fegetenv.c: Cleanup.
5931         * sysdeps/arm/fegetexcept.c: Cleanup.
5932         * sysdeps/arm/fegetround.c: Cleanup.
5933         * sysdeps/arm/feholdexcpt.c: Cleanup.
5934         * sysdeps/arm/fesetenv.c: Cleanup.
5935         * sysdeps/arm/fesetround.c: Cleanup.
5936         * sysdeps/arm/feupdateenv.c: Cleanup.
5937         * sysdeps/arm/fgetexcptflg.c: Cleanup.
5938         * sysdeps/arm/fraiseexcpt.c: Cleanup.
5939         * sysdeps/arm/fsetexcptflg.c: Cleanup.
5940         * sysdeps/arm/ftestexcept.c: Cleanup.
5941         * sysdeps/arm/get-rounding-mode.h: Cleanup.
5942         * sysdeps/arm/setfpucw.c: Cleanup.
5943
5944 2014-05-09  Will Newton  <will.newton@linaro.org>
5945
5946         * sysdeps/arm/armv7/strcmp.S: New file.
5947         * NEWS: Mention addition of ARMv7 optimized strcmp.
5948
5949 2014-05-08  Roland McGrath  <roland@hack.frob.com>
5950
5951         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5952         look for %.ac rather than %.in.
5953
5954         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5955         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5956         * sysdeps/mach/hurd/configure: Regenerated.
5957         * sysdeps/unix/sysv/linux/configure: Regenerated.
5958
5959         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5960
5961 2014-05-07  Steve Ellcey  <sellcey@mips.com>
5962
5963         [BZ# 16922]
5964         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5965         (LONG_SUB): Ditto.
5966         (PTR_SUB): Ditto.
5967
5968 2014-05-07  Andreas Schwab  <schwab@suse.de>
5969
5970         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5971         when skipping over non-matching result from nscd.
5972
5973 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
5974
5975         [BZ #16876]
5976         * nptl/sockperf.c (client): Check socket return value.
5977
5978         [BZ #16877]
5979         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5980         nscd security class.
5981
5982 2014-05-06  Roland McGrath  <roland@hack.frob.com>
5983
5984         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5985         * sysdeps/arm/unwind.h: ... here.
5986
5987 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
5988
5989         [BZ# 16916]
5990         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5991         Define.
5992
5993 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5994
5995         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5996         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5997         multiarch strncpy for PPC64.
5998         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5999         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6000         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6001         multiarch optimizations.
6002         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6003         (__libc_ifunc_impl_list): Likewise.
6004         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6005         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6006         multiarch stpncpy for PPC64.
6007         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6008         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6009
6010 2014-05-06  Andreas Schwab  <schwab@suse.de>
6011
6012         [BZ #16912]
6013         * gmon/mcount.c (_MCOUNT_DECL): Use
6014         atomic_compare_and_exchange_bool_acq instead of
6015         catomic_compare_and_exchange_bool_acq.
6016
6017 2014-05-05  Roland McGrath  <roland@hack.frob.com>
6018
6019         * elf/Makefile (others, install-bin): Remove pldd.
6020         (pldd-modules): Variable removed.
6021         ($(objpfx)pldd): Target removed.
6022         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6023         (others, install-bin): Append pldd here.
6024         ($(objpfx)pldd): New target.
6025
6026         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6027         to 0, so the first #if test emitted later doesn't see it undefined.
6028         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6029         * sysdeps/gnu/errlist.c: Regenerated.
6030
6031 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6032
6033         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6034         [libc_hidden_builtin_def]: Define to empty value.
6035         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6036         [libc_hidden_builtin_def]: Likewise.
6037         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6038         [libc_hidden_builtin_def]: Likewise.
6039         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6040         [libc_hidden_builtin_def]: Likewise.
6041         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6042         __redirect_memcpy and define ifunc as default hidden symbol.
6043         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6044         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6045
6046 2014-05-04  Adam Conrad  <adconrad@0c3.net>
6047
6048         * locale/iso-4217.def: Reintroduce XDR currency.
6049
6050 2014-05-04  Allan McRae  <allan@archlinux.org>
6051
6052         * po/eo.po: Update Esperanto translation from translation project.
6053
6054 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
6055
6056         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6057         and FEATURE_INDEX_MAX to 1.
6058         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6059
6060 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6061
6062         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6063         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6064         * iconvdata/big5.c (ONE_DIRECTION): Define.
6065         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6066         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6067         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6068         * iconvdata/cp932.c (ONE_DIRECTION): Define.
6069         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6070         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6071         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6072         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6073         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6074         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6075         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6076         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6077         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6078         * iconvdata/gbk.c (ONE_DIRECTION): Define.
6079         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6080         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6081         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6082         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6083         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6084         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6085         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6086         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6087         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6088         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6089         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6090         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6091         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6092         * iconvdata/iso646.c (ONE_DIRECTION): Define.
6093         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6094         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6095         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6096         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6097         * iconvdata/johab.c (ONE_DIRECTION): Define.
6098         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6099         * iconvdata/sjis.c (ONE_DIRECTION): Define.
6100         * iconvdata/t.61.c (ONE_DIRECTION): Define.
6101         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6102         * iconvdata/tscii.c (ONE_DIRECTION): Define.
6103         * iconvdata/uhc.c (ONE_DIRECTION): Define.
6104         * iconvdata/unicode.c (ONE_DIRECTION): Define.
6105         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6106         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6107         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6108
6109 2014-05-01  Roland McGrath  <roland@hack.frob.com>
6110
6111         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6112         (_IO_JUMPS_OFFSET): Define to 0.
6113
6114         * nptl/sysdeps/pthread/bits/libc-lock.h
6115         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6116         (__libc_lock_define_initialized_recursive): Always define using
6117         initializer.  Modern compilers treat uninitialized (implicit zero) and
6118         explicit zero initializers the same (i.e. put the datum in bss).
6119
6120 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6121
6122         * nscd/nscd-client.h: Include <string.h>.
6123
6124 2014-05-01  David S. Miller  <davem@davemloft.net>
6125
6126         [BZ #16885]
6127         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6128         multiple zero bytes exist at the end of a string.
6129         Reported by Aurelien Jarno <aurelien@aurel32.net>
6130
6131         * string/test-strcmp.c (check): Add explicit test for situations where
6132         there are multiple zero bytes after the first.
6133
6134 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6135
6136         [BZ #16890]
6137         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6138         when compiling wprintf.
6139         * stdio-common/tstdiomisc.c (t3): New function.
6140         (main): Call it.
6141
6142 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6143
6144         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6145         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6146         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6147         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6148
6149 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6150
6151         * stdlib/longlong.h: Updated from GCC.
6152
6153 2014-05-01  Will Newton  <will.newton@linaro.org>
6154             Bernard Ogden  <bernie.ogden@linaro.org>
6155
6156         * NEWS: Update fixed bug list.
6157
6158         [BZ #15119]
6159         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6160
6161 2014-04-30  David S. Miller  <davem@davemloft.net>
6162
6163         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6164         (libc_feholdexcept_setround_sparc_ctx): New function.
6165         (libc_fesetenv_sparc_ctx): Likewise.
6166         (libc_feupdateenv_sparc_ctx): Likewise.
6167         (libc_feholdsetround_sparc_ctx): Likewise.
6168         (libc_feholdexcept_setround_ctx): Define.
6169         (libc_feholdexcept_setroundf_ctx): Likewise.
6170         (libc_feholdexcept_setroundl_ctx): Likewise.
6171         (libc_fesetenv_ctx): Likewise.
6172         (libc_fesetenvf_ctx): Likewise.
6173         (libc_fesetenvl_ctx): Likewise.
6174         (libc_feupdateenv_ctx): Likewise.
6175         (libc_feupdateenvf_ctx): Likewise.
6176         (libc_feupdateenvl_ctx): Likewise.
6177         (libc_feresetround_ctx): Likewise.
6178         (libc_feresetroundf_ctx): Likewise.
6179         (libc_feresetroundl_ctx): Likewise.
6180         (libc_feholdsetround_ctx): Likewise.
6181         (libc_feholdsetroundf_ctx): Likewise.
6182         (libc_feholdsetroundl_ctx): Likewise.
6183
6184         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6185         with __USE_GNU instead of XOPEN cpp guards.
6186
6187         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6188         0.
6189
6190         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6191         with XOPEN cpp guards.
6192
6193 2014-04-30  Julian Brown  <julian@codesourcery.com>
6194
6195         [BZ #16888]
6196         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6197         handling.
6198
6199 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
6200
6201         [BZ #9894]
6202         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6203         Change to 2.6.32.
6204         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6205         * sysdeps/unix/sysv/linux/configure: Regenerated.
6206         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6207         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6208         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6209         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6210         * README: Update reference to required Linux kernel version.
6211         * manual/install.texi (Linux): Update reference to required Linux
6212         kernel headers version.
6213         * INSTALL: Regenerated.
6214
6215         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6216         header inclusion.
6217         [POSIX] (limits.h): Likewise.
6218         [POSIX] (math.h): Likewise.
6219         [POSIX] (sys/wait.h): Likewise.
6220         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6221         function.
6222         [POSIX] (stddef.h): Do not allow header inclusion.
6223
6224 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6225
6226         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6227
6228 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
6229
6230         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6231         Return immediately after lll_futex_wake.
6232
6233 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6234
6235         [BZ #16791]
6236         * nscd/nscd-client.h (datahead_init_common): Initialize entire
6237         structure.
6238         (datahead_init_pos): Call datahead_init_common early.
6239         (datahead_init_neg): Likewise.
6240
6241         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6242         datahead_init_neg): New functions.
6243         * nscd/aicache.c (addhstaiX): Use them.
6244         * nscd/grpcache.c (cache_addgr): Likewise.
6245         * nscd/hstcache.c (cache_addhst): Likewise.
6246         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6247         * nscd/netgroupcache.c (do_notfound): Likewise.
6248         (addgetnetgrentX): Likewise.
6249         (addinnetgrX): Likewise.
6250         * nscd/pwdcache.c (cache_addpw): Likewise.
6251         * nscd/servicescache.c (cache_addserv): Likewise.
6252
6253 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6254             Atsushi Onoe  <atsushi@onoe.org>
6255
6256         [BZ #14308]
6257         [BZ #12994]
6258         [BZ #13651]
6259         * resolv/res_query.c (__libc_res_nsearch): Return if at least
6260         one response is valid.
6261         * resolv/res_send.c (send_dg): Check for validity of other
6262         response if the current response is a referral.
6263
6264 2014-04-29  Steve Ellcey  <sellcey@mips.com>
6265
6266         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6267
6268 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
6269
6270         [BZ #16823]
6271         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6272         Always divide by positive zero when computing -Inf result.
6273         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6274         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6275
6276 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6277
6278         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6279         FPSCR if value do not change.
6280         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6281         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6282         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6283         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6284         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6285         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6286         function.
6287
6288 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
6289
6290         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6291         * sysdeps/unix/sysv/linux/hppa: Move directory from
6292         ports/systeps/unix/sysv/linux/hppa.
6293         * README: Update listing for hppa-*-linux-gnu.
6294
6295 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
6296
6297         [BZ #16754]
6298         * manual/stdio.texi (Hook functions): Fix types of stream hook
6299         functions.
6300         [BZ #16854]
6301         * socket/sys/socket.h: Fix typo in comment.
6302
6303 2014-04-28  Wilco  <wdijkstr@arm.com>
6304
6305         * sysdeps/arm/fenv_private.h: New file.
6306         * sysdeps/arm/math_private.h: New file.
6307         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6308
6309 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
6310
6311         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6312         with __int128_t.
6313         (La_x86_64_retval): Likewise.
6314
6315 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
6316
6317         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6318         fpsr if value didn't change.
6319         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6320         to fpcr if value didn't change.
6321         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6322         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6323         fpsr or fpcr if value didn't change.
6324         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6325         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6326         fpcr if value didn't change.
6327         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6328         to fpsr if value didn't change.
6329
6330 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6331
6332         * nptl/tst-sem3.c: Use test-skeleton.c
6333         (main): Rename to do_test.  Use return instead of
6334         exit.
6335         * nptl/tst-sem4.c: Use test-skeleton.c
6336         (main): Rename to do_test.
6337
6338 2014-04-22  David S. Miller  <davem@davemloft.net>
6339
6340         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6341         (struct sigaction): New struct member __glibc_reserved0, change
6342         type of sa_flags to int.
6343
6344 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
6345
6346         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6347         (COUNT_LEADING_ZEROS_0): Define for AArch64.
6348
6349 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6350
6351         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6352         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6353
6354 2014-04-22  Will Newton  <will.newton@linaro.org>
6355             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
6356
6357         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6358         (__longjmp): Add longjmp and longjmp_target SystemTap
6359         probes.
6360         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6361         (__sigsetjmp): Add setjmp SystemTap probe.
6362
6363 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
6364
6365         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6366         match manual order.
6367
6368 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6369
6370         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6371
6372         * sysdeps/powerpc/fpu/fenv_private.h
6373         (libc_feholdexcept_setroundl_ctx): Define to
6374         libc_feholdexcept_setround_ppc_ctx.
6375         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6376         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6377         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6378         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6379
6380 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6381
6382         * sysdeps/aarch64/math-tests.h: New file.
6383
6384 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
6385
6386         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6387         New.
6388         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6389         Check and set bit_AVX2_Usable.
6390         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6391         macro.
6392         (bit_AVX2): Likewise.
6393         (index_AVX2_Usable): Likewise.
6394         (CPUID_AVX2): Likewise.
6395         (HAS_AVX2): Likewise.
6396
6397 2014-04-17  Will Newton  <will.newton@linaro.org>
6398
6399         * manual/setjmp.texi (System V contexts): Add note that
6400         calling setcontext on a context created by a call to a
6401         signal handler is undefined.  Update text to note that
6402         setcontext from a signal handler is possible but not
6403         recommended.
6404
6405         [BZ #16629]
6406         * stdlib/tst-setcontext.c: Include signal.h.
6407         (main): Check that the signal stack before and
6408         after swapcontext is the same.
6409
6410         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6411         Re-implement to restore registers in user code and avoid
6412         rt_sigreturn system call.
6413
6414 2014-04-17  Wilco  <wdijkstr@arm.com>
6415
6416         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6417         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6418         * math/test-fenv.c: Skip exception trap tests on targets which only
6419         support non-stop mode.
6420
6421 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6422             Wilco Dijkstra  <wilco.dijkstra@arm.com>
6423
6424         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6425         (libc_feholdsetround_aarch64_ctx)
6426         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6427         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6428         (libc_feresetround_ctx, libc_feresetroundf_ctx)
6429         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6430         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6431         (libc_feresetround_noexl_ctx): Define.
6432
6433 2014-04-16  Richard Henderson  <rth@redhat.com>
6434
6435         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6436
6437         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6438         unwind tables.
6439
6440         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6441         const from the non-libc, non-ldso copy.
6442
6443         * sysdeps/alpha/libm-test-ulps: Regenerate.
6444
6445 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
6446             Wilco Dijkstra  <wilco.dijkstra@arm.com>
6447
6448         * sysdeps/aarch64/fpu/math_private.h: New file.
6449
6450 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6451
6452         * sysdeps/aarch64/libm-test-ulps: Regenerate.
6453
6454 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
6455
6456         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6457         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6458         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6459         Intel MPX bound registers before _dl_profile_fixup.
6460         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6461         registers after _dl_profile_fixup.  Save and restore bound
6462         registers bnd0/bnd1 when calling _dl_call_pltexit.
6463         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6464         (LR_BND_OFFSET): Likewise.
6465         (LRV_BND0_OFFSET): Likewise.
6466         (LRV_BND1_OFFSET): Likewise.
6467
6468 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6469
6470         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6471         to...
6472         * sysdeps/mach/hurd/i386/tls.h: ... here.
6473         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6474         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6475         fields.
6476
6477 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6478
6479         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6480
6481 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6482
6483         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6484
6485 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6486
6487         [BZ #14770]
6488         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6489         * sysdeps/s390/configure: Regenerate.
6490
6491         [BZ #16824]
6492         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6493         Set round-to-nearest internally to reduce error accumulation.
6494
6495 2014-04-16  Alan Modra  <amodra@gmail.com>
6496
6497         [BZ #16740]
6498         [BZ #16619]
6499         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6500         * math/libm-test.inc (frexp_test_data): Add tests.
6501         * NEWS: Update fixed bug list.
6502
6503 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6504
6505         * benchtests/Makefile: Depend on libraries in build directory.
6506         (bench-math): Separate out math tests.
6507         (bench-pthread): Separate out pthread tests.
6508         (bench): Include math and pthread tests.
6509
6510 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
6511
6512         [BZ #16831]
6513         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6514         _dl_debug_initialize.
6515
6516         * configure.ac: Remove SELinux header check.
6517         * configure: Regenerate.
6518         * nscd/selinux.c (perms): Array of const char* to permission names.
6519         (nscd_request_avc_has_perm): Call security_deny_unknown to find
6520         default policy. Call string_to_security_class and string_to_av_perm to
6521         translate strings. Enforce default policy and call avs_has_perm with
6522         results of translated strings.
6523
6524 2014-04-13  David S. Miller  <davem@davemloft.net>
6525
6526         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6527
6528 2014-04-12  Allan McRae  <allan@archlinux.org>
6529
6530         [BZ #16838]
6531         * manual/string.texi (Collation Functions): Fix qsort argument
6532         order in example.
6533         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6534
6535 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
6536
6537         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6538         Make the test a no-op if there are no exceptions defined.
6539
6540 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6541
6542         * elf/Makefile (tests): make tst-dlopen-aout conditional on
6543         enable-hardcoded-path-in-tests
6544
6545 2014-04-11  Will Newton  <will.newton@linaro.org>
6546
6547         * benchtests/Makefile (extra-objs): Add json-lib.o.
6548         (bench-func): Tidy up JSON output.
6549         * benchtests/bench-skeleton.c: Include json-lib.h.
6550         (main): Use JSON library functions to do output of
6551         benchmark results.
6552         * benchtests/bench-timing-type.c (main): Output the
6553         timing type simply, leaving formatting to the user.
6554         * benchtests/json-lib.c: New file.
6555         * benchtests/json-lib.h: Likewise.
6556
6557 2014-04-11  Torvald Riegel  <triegel@redhat.com>
6558
6559         [BZ #15215]
6560         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6561         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
6562         memory barriers.  Add comments.
6563         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6564         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6565         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6566         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6567         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6568         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6569
6570 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6571
6572         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6573         * sysdeps/s390/s390-64/configure.ac: ... this ...
6574         * sysdeps/s390/configure.ac: ... to here.
6575         * sysdeps/s390/s390-32/configure: Delete file.
6576         * sysdeps/s390/s390-64/configure: Delete file.
6577         * sysdeps/s390/configure: Regenerate.
6578
6579 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
6580
6581         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6582
6583 2014-04-11  Will Newton  <will.newton@linaro.org>
6584
6585         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6586         to zero if it is not defined elsewhere.  (mtrim): Test
6587         the value of MALLOC_DEBUG with #if rather than #ifdef.
6588
6589 2014-04-10 Torvald Riegel  <triegel@redhat.com>
6590
6591         * benchtests/pthread_once-inputs: New file.
6592         * benchtests/pthread_once-source.c: New file.
6593         * benchtests/README: Update documentation.
6594
6595 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
6596             H.J. Lu  <hongjiu.lu@intel.com>
6597
6598         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6599         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6600         * sysdeps/x86_64/configure: Regenerated.
6601         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6602         macro.
6603         (REGISTER_SAVE_RAX): Likewise.
6604         (REGISTER_SAVE_RCX): Likewise.
6605         (REGISTER_SAVE_RDX): Likewise.
6606         (REGISTER_SAVE_RSI): Likewise.
6607         (REGISTER_SAVE_RDI): Likewise.
6608         (REGISTER_SAVE_R8): Likewise.
6609         (REGISTER_SAVE_R9): Likewise.
6610         (REGISTER_SAVE_BND0): Likewise.
6611         (REGISTER_SAVE_BND1): Likewise.
6612         (REGISTER_SAVE_BND2): Likewise.
6613         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
6614         bound registers when calling _dl_fixup.
6615
6616 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6617
6618         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6619         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6620         of its definition.
6621         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6622         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6623         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6624         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6625         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6626         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6627         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6628
6629 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
6630
6631         [BZ #15514]
6632         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6633         pathconf(_PC_NAME_MAX).
6634
6635 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6636
6637         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6638         Remove macro usage.
6639         (__PTHREAD_SPINS): Move definition to ...
6640         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6641         (__PTHREAD_SPINS): ... here.
6642         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6643         (__PTHREAD_SPIN): Likewise.
6644         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6645         (__PTHREAD_SPIN): Likewise.
6646         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6647         (__PTHREAD_SPIN): Likewise.
6648         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6649         (__PTHREAD_SPIN): Likewise.
6650         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6651         (__PTHREAD_SPIN): Likewise.
6652         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6653         (__PTHREAD_SPIN): Likewise.
6654         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6655         (__PTHREAD_SPIN): Likewise.
6656         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6657         (__PTHREAD_SPIN): Likewise.
6658         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6659         (__PTHREAD_SPIN): Likewise.
6660         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6661         (__PTHREAD_SPIN): Likewise.
6662         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6663         (__PTHREAD_SPIN): Likewise.
6664         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6665         (__PTHREAD_SPIN): Likewise.
6666
6667         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6668         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6669         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6670         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6671         imply folder.
6672         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6673         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6674         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6675         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6676         correct imply path.
6677         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6678         strlen symbol for non multi-arch builds.
6679         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6680         missing hidden_def and weak_alias.
6681
6682 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
6683
6684         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6685
6686 2014-04-07  Will Newton  <will.newton@linaro.org>
6687
6688         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6689         and contents.  [!_LIBC] Remove #ifndef and contents.
6690         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
6691         * string/memccpy.c (__memccpy): Use ANSI prototype.
6692         * string/memfrob.c (memfrob): Likewise.
6693         * string/strcoll.c (STRCOLL): Likewise.
6694         * string/strlen.c (strlen): Likewise.
6695         * string/strtok.c (STRTOK): Likewise.
6696         * string/strcat.c: Remove unused #include of memcopy.h.
6697         (strcat): Use ANSI prototype.
6698         * string/strchr.c: Remove unused #include of memcopy.h.
6699         (strchr): Use ANSI prototype.
6700         * string/strcmp.c: Remove unused #include of memcopy.h.
6701         (strcmp): Use ANSI prototype.
6702         * string/strcpy.c: Remove unused #include of memcopy.h.
6703         (strcpy): Use ANSI prototype.
6704
6705 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6706
6707         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6708         * config.make.in (config-extra-cppflags): Set it from
6709         libc_extra_cppflags.
6710         * configure.ac (libc_extra_cflags): Make it accumulate over
6711         configure fragments.
6712         (libc_extra_cppflags): New flag.
6713         * configure. Regenerate.
6714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6715         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6716         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6718
6719         [BZ #16815]
6720         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6721         result for FE_DOWNWARD rounding mode.
6722         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6723         Likewise.
6724         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6725
6726 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
6727
6728         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6729         in function argument name.
6730
6731 2014-04-03  David Svoboda  <svoboda@cert.org>
6732
6733         [BZ #5666]
6734         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6735         explicitly.
6736
6737 2014-04-03  Roland McGrath  <roland@hack.frob.com>
6738
6739         * elf/dl-unmap-segments.h: New file.
6740         * sysdeps/generic/ldsodefs.h
6741         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6742         * elf/dl-close.c: Include <dl-unmap-segments.h>.
6743         * elf/dl-fptr.c: Likewise.
6744         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6745         * sysdeps/aarch64/tlsdesc.c: Likewise.
6746         * sysdeps/arm/tlsdesc.c: Likewise.
6747         * sysdeps/i386/tlsdesc.c: Likewise.
6748         * sysdeps/tile/dl-runtime.c: Likewise.
6749         * sysdeps/x86_64/tlsdesc.c: Likewise.
6750         * elf/dl-load.h: New file.
6751         * elf/dl-load.c: Include it.
6752         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6753         Macros moved to dl-load.h.
6754         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6755         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6756         Use _dl_unmap_segments in place of __munmap.
6757         Break out segment-mapping loop into ...
6758         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6759
6760 2014-04-03  Will Newton  <will.newton@linaro.org>
6761
6762         * elf/dl-lookup.c (do_lookup_x): Remove comment
6763         referring to nested function and move variable
6764         declarations down to before first use.
6765
6766 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
6767
6768         [BZ #16799]
6769         [BZ #16800]
6770         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6771         with 0 numerator.
6772         * math/s_catanf.c (__catanf): Likewise.
6773         * math/s_catanh.c (__catanh): Likewise.
6774         * math/s_catanhf.c (__catanhf): Likewise.
6775         * math/s_catanhl.c (__catanhl): Likewise.
6776         * math/s_catanl.c (__catanl): Likewise.
6777         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6778         by positive zero when computing -Inf result.
6779         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6780         (catanh_test): Likewise.
6781         * sysdeps/i386/fpu/libm-test-ulps: Update.
6782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6783
6784         [BZ #16789]
6785         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6786         instead of using underflowing value in computing result.
6787         * math/s_clog10.c (__clog10): Likewise.
6788         * math/s_clog10f.c (__clog10f): Likewise.
6789         * math/s_clog10l.c (__clog10l): Likewise.
6790         * math/s_clogf.c (__clogf): Likewise.
6791         * math/s_clogl.c (__clogl): Likewise.
6792         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6793         (clog10_test): Likewise.
6794         * sysdeps/i386/fpu/libm-test-ulps: Update.
6795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6796
6797 2014-04-02  Alan Modra  <amodra@gmail.com>
6798
6799         [BZ #16739]
6800         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6801         output when value is near a power of two.  Use int64_t for lx and
6802         remove casts.  Use decimal rather than hex exponent constants.
6803         Don't use long double multiplication when double will suffice.
6804         * math/libm-test.inc (nextafter_test_data): Add tests.
6805         * NEWS: Add 16739 and 16786 to bug list.
6806
6807         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6808
6809         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6810
6811 2014-04-01  Will Newton  <will.newton@linaro.org>
6812
6813         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6814         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
6815
6816 2014-04-01  Florian Weimer  <fweimer@redhat.com>
6817
6818         [BZ #13347]
6819         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6820         * nptl/tst-setuid2.c: New file.
6821         * nptl/Makefile (xtests): Add tst-setuid2.
6822
6823 2014-04-01  Alan Modra  <amodra@gmail.com>
6824
6825         [BZ #16786]
6826         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6827
6828 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
6829
6830         [BZ #6803]
6831         [BZ #6804]
6832         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6833         set errno as appropriate.
6834         * math/w_scalbf.c (__scalbf): Likewise.
6835         * math/w_scalbl.c (__scalbl): Likewise.
6836         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6837         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6838         * math/libm-test.inc (scalb_test_data): Add errno expectations.
6839         Add more NaN tests.
6840
6841         [BZ #16349]
6842         * math/w_atan2.c: Include <errno.h>.
6843         (__atan2): Set errno for result underflowing to zero.
6844         * math/w_atan2f.c: Include <errno.h>.
6845         (__atan2f): Set errno for result underflowing to zero.
6846         * math/w_atan2l.c: Include <errno.h>.
6847         (__atan2l): Set errno for result underflowing to zero.
6848         * math/auto-libm-test-in: Don't allow missing errno for some atan2
6849         tests.
6850         * math/auto-libm-test-out: Regenerated.
6851
6852 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6853
6854         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6855         Encode instruction correctly in little endian.
6856         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6857         Likewise.
6858         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6859         Likewise.
6860         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6861         Likewise.
6862         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6863         Likewise.
6864
6865 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
6866
6867         [BZ #9894]
6868         * sysdeps/unix/sysv/linux/kernel-features.h
6869         [__sparc__ && !__arch64__ && !__sparc_v9__]
6870         (__ASSUME_SET_ROBUST_LIST): Do not define.
6871         [__sparc__ && !__arch64__ && !__sparc_v9__]
6872         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6873         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6874         Likewise.
6875         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6876         (__ASSUME_FUTEX_LOCK_PI): Undefine.
6877         (__ASSUME_REQUEUE_PI): Likewise.
6878         (__ASSUME_SET_ROBUST_LIST): Likewise.
6879         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6880         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6881         Undefine.
6882         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6883         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6884         Likewise.
6885         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6886         Likewise.
6887         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6888         Likewise.
6889         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6890         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6891         Undefine.
6892         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6893         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6894         Likewise.
6895
6896         [BZ #16648]
6897         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6898         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6899         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6900
6901 2014-03-31  Will Newton  <will.newton@linaro.org>
6902
6903         * benchtests/Makefile (bench): Add ffs and ffsll to list
6904         of tests.
6905         * benchtests/ffs-inputs: New file.
6906         * benchtests/ffsll-inputs: Likewise.
6907
6908 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
6909
6910         [BZ #16770]
6911         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6912         too large before casting to int.
6913         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6914         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6915         * math/libm-test.inc (scalb_test_data): Add more tests.
6916
6917 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6918
6919         * benchtests/Makefile (DETAILED_OPT): New make option.
6920         (bench-func): Run benchmark program with -d if DETAILED_OPT is
6921         set.
6922         * benchtests/bench-skeleton.c: Include stdbool.h.
6923         (main): Store and print timings per input.
6924         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6925         member to each argument value.
6926         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6927         (_print_arg_data): Initialize per-input timing to 0.
6928
6929         * benchtests/Makefile (timing-type): New binary.
6930         (bench-clean): Also remove bench-timing-type.
6931         (bench): New target for timing-type.
6932         (bench-func): Print output in JSON format.
6933         * benchtests/bench-skeleton.c (main): Print output in JSON
6934         format.
6935         * benchtests/bench-timing-type.c: New file.
6936         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6937         (TIMING_PRINT_STATS): Remove.
6938         * benchtests/scripts/bench.py (_print_arg_data): Store variant
6939         name separately.
6940
6941         * benchtests/bench-modf.c: Remove.
6942         * benchtests/modf-inputs: New inputs file.
6943
6944 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
6945
6946         [BZ #16362]
6947         * math/s_clog10.c (M_PI_LOG10E): New macro.
6948         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6949         imaginary parts are 0.
6950         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6951         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6952         imaginary parts are 0.
6953         * math/s_clog10l.c (M_PI_LOG10El): New macro.
6954         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6955         imaginary parts are 0.
6956         * math/libm-test.inc (clog10_test_data): Update expected results
6957         for when real and imaginary parts are 0.
6958
6959 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
6960
6961         * elf/dl-load.c: Finish conversion of __builtin_expect into
6962         __glibc_{un}likely.
6963
6964 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
6965
6966         [BZ #16348]
6967         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6968         1+x for argument with exponent below -67.
6969         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6970         Likewise.
6971         * math/auto-libm-test-in: Add more tests of exp.
6972         * math/auto-libm-test-out: Regenerated.
6973
6974 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6975
6976         [BZ #16759]
6977         * inet/getnetgrent_r.c (get_nonempty_val): New function.
6978         (nscd_getnetgrent): Use it.
6979
6980         [BZ #16760]
6981         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6982         of stpcpy.
6983
6984 2014-03-27  Andi Kleen  <ak@linux.intel.com>
6985
6986         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6987         (lll_robust_lock, lll_cond_lock, lll_timedlock)
6988         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6989         (lll_robust_unlock): Remove out of line section. Use cfi
6990         intrinsics.
6991         (LLL_STUB_UNWIND_INFO*): Remove.
6992         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6993         (lll_robust_lock, lll_cond_lock, lll_timedlock)
6994         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6995         (lll_robust_unlock): Remove out of line section. Use cfi
6996         intrinsics.
6997         (LLL_STUB_UNWIND_INFO*): Remove.
6998
6999 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7000
7001         [BZ #16758]
7002         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7003         blank values.
7004
7005 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
7006
7007         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7008
7009 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
7010
7011         [BZ #16198]
7012         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7013         fnstenv.
7014         * math/test-fenv-preserve.c: New file.
7015         * math/Makefile (tests): Add test-fenv-preserve.
7016
7017 2014-03-26  Will Newton <will.newton@linaro.org>
7018
7019         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7020
7021 2014-03-25  Roland McGrath  <roland@hack.frob.com>
7022
7023         * scripts/versionlist.awk: Partition the version sets and emit all
7024         GLIBC_* (sorted) before all others (sorted).
7025
7026 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7027
7028         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7029         GLIBC_2.2.5 version.
7030
7031 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7032
7033         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7034         calls.
7035
7036         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7037         previous change.
7038
7039         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7040
7041 2014-03-25  Andreas Schwab  <schwab@suse.de>
7042
7043         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7044         label to be used after in6ailist is initialized.
7045
7046 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7047
7048         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7049         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7050
7051 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7052
7053         [BZ #16357]
7054         [BZ #16599]
7055         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7056         min_plus_half.
7057         (fp_formats): Update initializers.
7058         (init_fp_formats): Initialize new field.
7059         (output_for_one_input_case): Allow underflow for results up to
7060         min_plus_half.
7061         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7062         * math/auto-libm-test-in: Don't mark some underflows from asin and
7063         atanh as spurious.
7064         * math/auto-libm-test-out: Regenerated.
7065         * sysdeps/i386/fpu/libm-test-ulps: Update.
7066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7067
7068 2014-03-25  Andreas Schwab  <schwab@suse.de>
7069
7070         * libio/Makefile (tst-ftell-partial-wide-ENV)
7071         (tst-ftell-active-handler-ENV): Define.
7072
7073 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
7074
7075         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7076
7077 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7078
7079         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7080
7081 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7082
7083         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7084         * sysdeps/x86_64/fpu/multiarch/e_exp.c
7085         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7086
7087 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7088
7089         [BZ #16634]
7090         * elf/dl-load.c (open_verify): Add mode parameter.
7091         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7092         (open_path): Change from boolean 'secure' to complete flag 'mode'
7093         (_dl_map_object): Adjust.
7094         * elf/Makefile (tests): Add tst-dlopen-aout.
7095         * elf/tst-dlopen-aout.c: New test.
7096
7097 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
7098
7099         [BZ #16714]
7100         * sysdeps/unix/sysv/linux/s390/bits/stat.h
7101         (struct stat): Rename member pad0 to __glibc_reserved0.
7102
7103         [BZ #16712]
7104         * sysdeps/s390/s390-32/bits/wordsize.h
7105         (__WORDSIZE32_SIZE_ULONG): New define.
7106         * sysdeps/s390/s390-64/bits/wordsize.h
7107         (__WORDSIZE32_SIZE_ULONG): Likewise.
7108         * sysdeps/generic/stdint.h (SIZE_MAX):
7109         Define as UL if __WORDSIZE32_SIZE_ULONG.
7110
7111         [BZ #16713]
7112         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7113         (__glibc_reserved0): New variable.
7114         (sa_flags): Change type to int.
7115
7116         * posix/Makefile (before-compile): Use += before-compile instead
7117         of a :=.
7118
7119         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7120         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7121
7122 2014-03-20  Andreas Schwab  <schwab@suse.de>
7123
7124         [BZ #16743]
7125         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7126         non-matching result from nscd.
7127
7128 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7129
7130         * scripts/bench.py: Moved to ...
7131         * benchtests/scripts/bench.py: ... here.
7132         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7133
7134 2014-03-24  Andreas Schwab  <schwab@suse.de>
7135
7136         [BZ #16002]
7137         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7138         alloca_account and account alloca use for struct in6ailist.
7139
7140 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7141
7142         [BZ #16284]
7143         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7144         rounding mode to recompute results that overflow to infinity or
7145         underflow to zero.
7146         * math/auto-libm-test-in: Don't mark tests as expected to fail for
7147         bug 16284.
7148         * math/auto-libm-test-out: Regenerated.
7149         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7150         (ccosh_test): Likewise.
7151         (csin_test_data): Use plus_oflow.
7152         (csin_test): Use ALL_RM_TEST.
7153         (csinh_test_data): Use plus_oflow.
7154         (csinh_test): Use ALL_RM_TEST.
7155         * sysdeps/i386/fpu/libm-test-ulps: Update.
7156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7157
7158 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
7159
7160         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7161         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7162         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7163
7164         [BZ #16731]
7165         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7166         when x - 1 is zero.
7167         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7168         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7169         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7170         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7171         argument is 1.
7172         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7173         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7174         zero.
7175         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7176         * sysdeps/i386/fpu/libm-test-ulps: Update.
7177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7178
7179 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7180
7181         * scripts/bench.pl: Remove file.
7182         * scripts/bench.py: New benchmark script.
7183         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7184         * benchtests/README: Mention python dependency.
7185         * scripts/pylintrc: New file.
7186         * scripts/pylint: New file.
7187
7188         * bits/mathdef.h: Use #ifdef instead of #if.
7189         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7190         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7191         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7192         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7193         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7194         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7195
7196 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7197             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7198
7199         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7200         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7201         and strpbrk-ppc64 objects.
7202         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7203         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7204         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7205         multiarch strpbrk for POWER7.
7206         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7207         multiarch strpbrk for PPC64.
7208         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7209         ifunc selector.
7210         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7211         strpbrk for POWER7.
7212
7213 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7214
7215         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7216         (atan_test): Likewise.
7217         (atanh_test_data): Use NO_TEST_INLINE for two tests.
7218         (atanh_test): Use ALL_RM_TEST.
7219         (atan2_test_data): Likewise.
7220         (cabs_test): Likewise.
7221         (cacosh_test): Likewise.
7222         (carg_test): Likewise.
7223         (casin_test): Likewise.
7224         (casinh_test): Likewise.
7225         (cbrt_test): Likewise.
7226         (csqrt_test): Likewise.
7227         (erf_test): Likewise.
7228         (erfc_test): Likewise.
7229         (pow10_test): Likewise.
7230         (exp2_test): Likewise.
7231         (hypot_test): Likewise.
7232         (j0_test): Likewise.
7233         (j1_test): Likewise.
7234         (lgamma_test): Likewise.
7235         (gamma_test): Likewise.
7236         (sincos_test): Likewise.
7237         (tanh_test): Likewise.
7238         (y0_test): Likewise.
7239         (y1_test): Likewise.
7240         * sysdeps/i386/fpu/libm-test-ulps: Update.
7241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7242
7243 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7244
7245         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7246         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7247         and strcspn-ppc64 objects.
7248         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7249         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7250         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7251         multiarch strcspn for POWER7.
7252         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7253         multiarch strcspn for PPC64.
7254         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7255         ifunc selector.
7256         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7257         strcspn for POWER7.
7258
7259 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7260
7261         * math/gen-libm-test.pl (generate_testfile): Expect only function
7262         name as argument to AUTO_TESTS_* and pass results for all rounding
7263         modes to parse_args.
7264         (parse_auto_input): Separate inputs of automatic tests from
7265         outputs before storing in %auto_tests.
7266         * math/libm-test.inc (acos_test_data): Update call to
7267         AUTO_TESTS_f_f.
7268         (acos_test): Use ALL_RM_TEST.
7269         (acos_tonearest_test_data): Remove.
7270         (acos_test_tonearest): Likewise.
7271         (acos_towardzero_test_data): Likewise.
7272         (acos_test_towardzero): Likewise.
7273         (acos_downward_test_data): Likewise.
7274         (acos_test_downward): Likewise.
7275         (acos_upward_test_data): Likewise.
7276         (acos_test_upward): Likewise.
7277         (acosh_test_data): Update call to AUTO_TESTS_f_f.
7278         (asin_test_data): Likewise.
7279         (asin_test): Use ALL_RM_TEST.
7280         (asin_tonearest_test_data): Remove.
7281         (asin_test_tonearest): Likewise.
7282         (asin_towardzero_test_data): Likewise.
7283         (asin_test_towardzero): Likewise.
7284         (asin_downward_test_data): Likewise.
7285         (asin_test_downward): Likewise.
7286         (asin_upward_test_data): Likewise.
7287         (asin_test_upward): Likewise.
7288         (asinh_test_data): Update call to AUTO_TESTS_f_f.
7289         (atan_test_data): Likewise.
7290         (atanh_test_data): Likewise.
7291         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7292         (cabs_test_data): Update call to AUTO_TESTS_c_f.
7293         (carg_test_data): Likewise.
7294         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7295         (ccos_test_data): Update call to AUTO_TESTS_c_c.
7296         (ccosh_test_data): Likewise.
7297         (cexp_test_data): Likewise.
7298         (clog_test_data): Likewise.
7299         (clog10_test_data): Likewise.
7300         (cos_test_data): Update call to AUTO_TESTS_f_f.
7301         (cos_test): Use ALL_RM_TEST.
7302         (cos_tonearest_test_data): Remove.
7303         (cos_test_tonearest): Likewise.
7304         (cos_towardzero_test_data): Likewise.
7305         (cos_test_towardzero): Likewise.
7306         (cos_downward_test_data): Likewise.
7307         (cos_test_downward): Likewise.
7308         (cos_upward_test_data): Likewise.
7309         (cos_test_upward): Likewise.
7310         (cosh_test_data): Update call to AUTO_TESTS_f_f.
7311         (cosh_test): Use ALL_RM_TEST.
7312         (cosh_tonearest_test_data): Remove.
7313         (cosh_test_tonearest): Likewise.
7314         (cosh_towardzero_test_data): Likewise.
7315         (cosh_test_towardzero): Likewise.
7316         (cosh_downward_test_data): Likewise.
7317         (cosh_test_downward): Likewise.
7318         (cosh_upward_test_data): Likewise.
7319         (cosh_test_upward): Likewise.
7320         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7321         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7322         (ctan_test_data): Likewise.
7323         (ctan_test): Use ALL_RM_TEST.
7324         (ctan_tonearest_test_data): Remove.
7325         (ctan_test_tonearest): Likewise.
7326         (ctan_towardzero_test_data): Likewise.
7327         (ctan_test_towardzero): Likewise.
7328         (ctan_downward_test_data): Likewise.
7329         (ctan_test_downward): Likewise.
7330         (ctan_upward_test_data): Likewise.
7331         (ctan_test_upward): Likewise.
7332         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7333         (ctanh_test): Use ALL_RM_TEST.
7334         (ctanh_tonearest_test_data): Remove.
7335         (ctanh_test_tonearest): Likewise.
7336         (ctanh_towardzero_test_data): Likewise.
7337         (ctanh_test_towardzero): Likewise.
7338         (ctanh_downward_test_data): Likewise.
7339         (ctanh_test_downward): Likewise.
7340         (ctanh_upward_test_data): Likewise.
7341         (ctanh_test_upward): Likewise.
7342         (erf_test_data): Update call to AUTO_TESTS_f_f.
7343         (erfc_test_data): Likewise.
7344         (exp_test_data): Likewise.
7345         (exp_test): Use ALL_RM_TEST.
7346         (exp_tonearest_test_data): Remove.
7347         (exp_test_tonearest): Likewise.
7348         (exp_towardzero_test_data): Likewise.
7349         (exp_test_towardzero): Likewise.
7350         (exp_downward_test_data): Likewise.
7351         (exp_test_downward): Likewise.
7352         (exp_upward_test_data): Likewise.
7353         (exp_test_upward): Likewise.
7354         (exp10_test_data): Update call to AUTO_TESTS_f_f.
7355         (exp10_test): Use ALL_RM_TEST.
7356         (exp10_tonearest_test_data): Remove.
7357         (exp10_test_tonearest): Likewise.
7358         (exp10_towardzero_test_data): Likewise.
7359         (exp10_test_towardzero): Likewise.
7360         (exp10_downward_test_data): Likewise.
7361         (exp10_test_downward): Likewise.
7362         (exp10_upward_test_data): Likewise.
7363         (exp10_test_upward): Likewise.
7364         (exp2_test_data): Update call to AUTO_TESTS_f_f.
7365         (expm1_test_data): Likewise.
7366         (expm1_test): Use ALL_RM_TEST.
7367         (expm1_tonearest_test_data): Remove.
7368         (expm1_test_tonearest): Likewise.
7369         (expm1_towardzero_test_data): Likewise.
7370         (expm1_test_towardzero): Likewise.
7371         (expm1_downward_test_data): Likewise.
7372         (expm1_test_downward): Likewise.
7373         (expm1_upward_test_data): Likewise.
7374         (expm1_test_upward): Likewise.
7375         (fma_test_data): Update call to AUTO_TESTS_fff_f.
7376         (fma_test): Use ALL_RM_TEST.
7377         (fma_towardzero_test_data): Remove.
7378         (fma_test_towardzero): Likewise.
7379         (fma_downward_test_data): Likewise.
7380         (fma_test_downward): Likewise.
7381         (fma_upward_test_data): Likewise.
7382         (fma_test_upward): Likewise.
7383         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7384         (j0_test_data): Update call to AUTO_TESTS_f_f.
7385         (j1_test_data): Likewise.
7386         (jn_test_data): Update call to AUTO_TESTS_if_f.
7387         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7388         (log_test_data): Update call to AUTO_TESTS_f_f.
7389         (log10_test_data): Likewise.
7390         (log1p_test_data): Likewise.
7391         (log2_test_data): Likewise.
7392         (pow_test_data): Update call to AUTO_TESTS_ff_f.
7393         (pow_tonearest_test_data): Likewise.
7394         (sin_test_data): Update call to AUTO_TESTS_f_f.
7395         (sin_test): Use ALL_RM_TEST.
7396         (sin_tonearest_test_data): Remove.
7397         (sin_test_tonearest): Likewise.
7398         (sin_towardzero_test_data): Likewise.
7399         (sin_test_towardzero): Likewise.
7400         (sin_downward_test_data): Likewise.
7401         (sin_test_downward): Likewise.
7402         (sin_upward_test_data): Likewise.
7403         (sin_test_upward): Likewise.
7404         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7405         (sinh_test_data): Update call to AUTO_TESTS_f_f.
7406         (sinh_test): Use ALL_RM_TEST.
7407         (sinh_tonearest_test_data): Remove.
7408         (sinh_test_tonearest): Likewise.
7409         (sinh_towardzero_test_data): Likewise.
7410         (sinh_test_towardzero): Likewise.
7411         (sinh_downward_test_data): Likewise.
7412         (sinh_test_downward): Likewise.
7413         (sinh_upward_test_data): Likewise.
7414         (sinh_test_upward): Likewise.
7415         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7416         (sqrt_test): Use ALL_RM_TEST.
7417         (sqrt_tonearest_test_data): Remove.
7418         (sqrt_test_tonearest): Likewise.
7419         (sqrt_towardzero_test_data): Likewise.
7420         (sqrt_test_towardzero): Likewise.
7421         (sqrt_downward_test_data): Likewise.
7422         (sqrt_test_downward): Likewise.
7423         (sqrt_upward_test_data): Likewise.
7424         (sqrt_test_upward): Likewise.
7425         (tan_test_data): Update call to AUTO_TESTS_f_f.
7426         (tan_test): Use ALL_RM_TEST.
7427         (tan_tonearest_test_data): Remove.
7428         (tan_test_tonearest): Likewise.
7429         (tan_towardzero_test_data): Likewise.
7430         (tan_test_towardzero): Likewise.
7431         (tan_downward_test_data): Likewise.
7432         (tan_test_downward): Likewise.
7433         (tan_upward_test_data): Likewise.
7434         (tan_test_upward): Likewise.
7435         (tanh_test_data): Update call to AUTO_TESTS_f_f.
7436         (tgamma_test_data): Likewise.
7437         (y0_test_data): Likewise.
7438         (y1_test_data): Likewise.
7439         (yn_test_data): Update call to AUTO_TESTS_if_f.
7440         (main): Do not call removed functions.
7441
7442 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
7443
7444         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7445         (ldexp_test_data): Remove.
7446         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
7447         scalbn_test_data.
7448         (scalb_test): Use ALL_RM_TEST.
7449
7450 2014-03-19  Andreas Schwab  <schwab@suse.de>
7451
7452         * nscd/nscd.service: Also invalidate netgroup cache on reload.
7453
7454 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
7455
7456         [BZ #16649]
7457         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7458         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7459         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7460         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7461         (__ASSUME_PREADV): Undefine.
7462         (__ASSUME_PWRITEV): Likewise.
7463
7464 2014-03-18  Roland McGrath  <roland@hack.frob.com>
7465
7466         * bits/mman-linux.h: Add comment about non-Linux use.
7467         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7468         bits/mman-linux.h resting place.
7469
7470         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7471         * bits/mman-linux.h: ... here.
7472
7473 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7474
7475         * conform/conformtest.pl: Add standard definition when calling C
7476         preprocessor on data files.
7477         (checknamespace): Remove unused variable.
7478
7479 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
7480
7481         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7482         minus_oflow, plus_uflow and minus_uflow in expected results.
7483         * math/libm-test.inc (scalbn_test_data): Add more tests of
7484         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
7485         minus_uflow.
7486         (scalbn_test): Use ALL_RM_TEST.
7487         (scalbln_test_data): Add more tests of negative arguments.  Use
7488         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7489         (scalbln_test): Use ALL_RM_TEST.
7490
7491 2014-03-18  Roland McGrath  <roland@hack.frob.com>
7492
7493         * scripts/abilist.awk: Ignore symbols marked with .hidden.
7494
7495 2014-03-18  Will Newton  <will.newton@linaro.org>
7496
7497         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7498         inaccurate comment.
7499
7500 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
7501
7502         * Makerules [!subdir] (check-abi): Exit with error status if a
7503         test failed.
7504
7505 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
7506
7507         * math/libm-test.inc (nearbyint_test_data): Include all tests used
7508         for rint.  Include results for all rounding modes.
7509         (nearbyint_test): Use ALL_RM_TEST.
7510         (rint_test_data): Include all tests used for nearbyint.
7511
7512 2014-03-17  Will Newton  <will.newton@linaro.org>
7513
7514         * nptl/sysdeps/pthread/pthread.h: Revert previous
7515         change.
7516
7517         * sysdeps/generic/ldsodefs.h: Revert previous
7518         change.
7519
7520         * libio/genops.c: Revert previous change.
7521         * libio/libioP.h: Likewise.
7522         * stdio-common/vfprintf.c: Likewise.
7523
7524         * sysdeps/generic/math_private.h: Revert previous
7525         change.
7526
7527         * sysdeps/generic/math_private.h: Check whether
7528         HAVE_RM_CTX is defined with #ifdef rather
7529         than #if.
7530
7531         * argp/argp-fmtstream.h: Check whether
7532         __STRICT_ANSI__ is defined with #ifdef rather
7533         than #if.
7534         * argp/argp.h: Likewise.
7535
7536         * libio/genops.c: Check whether
7537         _IO_JUMPS_OFFSET is defined with #ifdef rather
7538         than #if.
7539         * libio/libioP.h: Likewise.
7540         * stdio-common/vfprintf.c: Likewise.
7541
7542         * sysdeps/generic/ldsodefs.h: Check whether
7543         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7544         than #if.
7545
7546         * nptl/sysdeps/pthread/pthread.h: Check
7547         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7548         its value.
7549
7550 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7551
7552         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7553         setting O_APPEND.
7554         * libio/tst-ftell-active-handler.c (do_append_test): Add a
7555         test case.
7556
7557         [BZ #16680]
7558         * libio/fileops.c (_IO_file_open): Seek to end of file but
7559         don't cache the offset.
7560         (get_file_offset): Remove function.
7561         (do_ftell): Use cached offset when available.
7562         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7563         don't cache the offset.
7564         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7565         case.
7566         (do_one_test): Call it.
7567         (do_ftell_test): Fix up expected old offset for a+ mode.
7568         * libio/wfileops.c (do_ftell_wide): Used cached offset when
7569         available.
7570
7571         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7572         up test status with function return status.
7573         (do_write_test): Likewise.
7574         (do_append_test): Likewise.
7575
7576         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7577         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7578         Remove.
7579
7580 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
7581
7582         * math/gen-libm-test.pl (parse_args): Handle results specified for
7583         each rounding mode separately.
7584         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7585         tests and results from lrint_tonearest_test_data,
7586         lrint_towardzero_test_data, lrint_downward_test_data and
7587         lrint_upward_test_data.
7588         (lrint_test): Use ALL_RM_TEST.
7589         (lrint_tonearest_test_data): Remove.
7590         (lrint_test_tonearest): Likewise.
7591         (lrint_towardzero_test_data): Likewise.
7592         (lrint_test_towardzero): Likewise.
7593         (lrint_downward_test_data): Likewise.
7594         (lrint_test_downward): Likewise.
7595         (lrint_upward_test_data): Likewise.
7596         (lrint_test_upward): Likewise.
7597         (llrint_test_data): Merge in per-rounding-mode tests and results
7598         from llrint_tonearest_test_data, llrint_towardzero_test_data,
7599         llrint_downward_test_data and llrint_upward_test_data.
7600         (llrint_test): Use ALL_RM_TEST.
7601         (llrint_tonearest_test_data): Remove.
7602         (llrint_test_tonearest): Likewise.
7603         (llrint_towardzero_test_data): Likewise.
7604         (llrint_test_towardzero): Likewise.
7605         (llrint_downward_test_data): Likewise.
7606         (llrint_test_downward): Likewise.
7607         (llrint_upward_test_data): Likewise.
7608         (llrint_test_upward): Likewise.
7609         (rint_test_data): Merge in per-rounding-mode tests and results
7610         from rint_tonearest_test_data, rint_towardzero_test_data,
7611         rint_downward_test_data and rint_upward_test_data.  Add
7612         per-rounding-mode results for tests not in those arrays.
7613         (rint_test): Use ALL_RM_TEST.
7614         (rint_tonearest_test_data): Remove.
7615         (rint_test_tonearest): Likewise.
7616         (rint_towardzero_test_data): Likewise.
7617         (rint_test_towardzero): Likewise.
7618         (rint_downward_test_data): Likewise.
7619         (rint_test_downward): Likewise.
7620         (rint_upward_test_data): Likewise.
7621         (rint_test_upward): Likewise.
7622         (main): Don't call removed functions.
7623
7624 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7625
7626         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7627         "Compiled on ..." crapola.  It is anti-useful.
7628
7629 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
7630
7631         * scripts/evaluate-test.sh: Handle fourth argument to determine
7632         whether test run should stop on failure.
7633         * Makeconfig (stop-on-test-failure): New variable.
7634         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7635         $(stop-on-test-failure).
7636         * Makefile (tests): Give a summary of results from testing and
7637         exit with failure status if they include an ERROR or FAIL.
7638         (xtests): Likewise.
7639         * manual/install.texi (Configuring and compiling): Mention
7640         stop-on-test-failure=y.
7641         * INSTALL: Regenerated.
7642
7643 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7644
7645         * scripts/versionlist.awk: New file.
7646         * Makerules [$(build-shared) = yes]
7647         (postclean-generated): Add Versions.def, not Versions.def.v and
7648         Versions.def.v.i.
7649         ($(common-objpfx)Versions.def.v.i): Target removed.
7650         ($(common-objpfx)Versions.def): New target.
7651         ($(common-objpfx)Versions.all): Depend on that rather that
7652         $(common-objpfx)Versions.def.v.
7653         * Versions.def: File removed.
7654
7655         * Makeconfig (+gccwarn): Add -Wundef.
7656         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7657         a dl-sysdep.h breaking its contract.
7658         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7659         * include/stackinfo.h: New file.
7660         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7661         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7662         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7663         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7664         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7665         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7666         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7667         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7668         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7669         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7670         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7671         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7672         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7673         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7674         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7675
7676 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7677
7678         [BZ #16707]
7679         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7680         implementation.
7681         * math/libm-test.inc (round_test_data): Add more tests.
7682
7683         [BZ #16706]
7684         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7685         implementation.
7686         * math/libm-test.inc (nearbyint_test_data): Add more tests.
7687
7688         [BZ #16701]
7689         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7690         implementation.
7691         * math/libm-test.inc (ceil_test_data): Add more tests.
7692
7693         * math/libm-test.inc (trunc_test_data): Add more tests related to
7694         BZ#16414.
7695
7696 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7697
7698         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7699         with #if rather than #ifdef.
7700         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7701
7702 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
7703
7704         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7705         first.  Disable AVX-512 GCC support if assembler doesn't support
7706         it.
7707         * sysdeps/x86_64/configure: Regenerated.
7708
7709 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
7710
7711         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7712         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7713         (__old_pthread_attr_setstack): Likewise.
7714         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7715         [!_STACK_GROWS_DOWN]: Likewise.
7716
7717 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
7718
7719         * config.make.in (have-bash2): Delete.
7720         * configure.ac (libc_cv_have_bash2): Delete.
7721         * configure: Regenerate.
7722         * elf/Makefile (common-ldd-rewrite): Rename to ...
7723         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
7724         (sh-ldd-rewrite): Delete.
7725         (bash-ldd-rewrite): Delete.
7726         (have-bash2): Delete checks.
7727         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7728         ldd-rewrite.
7729
7730         * config.make.in (have-ksh): Delete.
7731         (KSH): Delete.
7732         * configure.ac (libc_cv_have_ksh): Delete.
7733         * configure: Regenerate.
7734
7735         * elf/Makefile: Delete $(have-ksh) check.
7736         ($(objpfx)sotruss): Change KSH to BASH.
7737         * elf/sotruss.ksh: Rename to ...
7738         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
7739         function style to match POSIX.  Drop ksh vim mode setting.
7740
7741         * manual/time.texi (Specifying the Time Zone with TZ): Change
7742         Tuesday to Thursday.
7743
7744         * debug/tst-longjmp_chk2.c: Update header comment.
7745         (stackoverflow_handler): Add comment.  Call assert on pass value.
7746
7747 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
7748
7749         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7750         (HAVE_AVX512_ASM_SUPPORT): Likewise.
7751         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7752         (La_x86_64_vector): Add zmm.
7753         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7754         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7755         ($(objpfx)tst-audit10): New target.
7756         ($(objpfx)tst-audit10.out): Likewise.
7757         (tst-audit10-ENV): New.
7758         (AVX512-CFLAGS): Likewise.
7759         (CFLAGS-tst-audit10.c): Likewise.
7760         (CFLAGS-tst-auditmod10a.c): Likewise.
7761         (CFLAGS-tst-auditmod10b.c): Likewise.
7762         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7763         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7764         * sysdeps/x86_64/configure: Regenerated.
7765         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7766         AVX-512 zmm register support.
7767         (_dl_x86_64_save_sse): Likewise.
7768         (_dl_x86_64_restore_sse): Likewise.
7769         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7770         size vector registers.
7771         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7772         (ZMM_SIZE): Likewise.
7773         * sysdeps/x86_64/tst-audit10.c: New file.
7774         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7775         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7776
7777 2014-03-13  Roland McGrath  <roland@hack.frob.com>
7778
7779         * configure.ac (HAVE_EHDR_START): New check.
7780         * configure: Regenerated.
7781         * config.h.in (HAVE_EHDR_START): New #undef.
7782         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7783         assuming the lowest-addressed segment maps the start of the file.
7784
7785 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
7786
7787         * INSTALL: Regenerated.
7788
7789 2014-03-13  Will Newton  <will.newton@linaro.org>
7790
7791         * manual/setjmp.texi (System V contexts): Improve
7792         clarity and grammar of documentation.
7793
7794 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
7795
7796         [BZ #16381]
7797         * elf/Makefile (tests): Add tst-pie2.
7798         (tests-pie): Add tst-pie2.
7799         * elf/tst-pie2.c: New file.
7800         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7801         for ET_EXEC.
7802         * elf/rtld.c (map_doit): Load executable as lt_executable.
7803         (dl_main): Likewise.
7804
7805 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
7806
7807         [BZ #16642]
7808         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7809         (__ASSUME_PSELECT): Undefine.
7810
7811 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7812
7813         [BZ #16689]
7814         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7815         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7816         static build.
7817         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7818         selector for static builds.
7819
7820 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7821
7822         [BZ #16695]
7823         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7824         key in the buffer.
7825
7826 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7827
7828         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7829         IFUNC selector for static builds.
7830
7831 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
7832
7833         * sysdeps/mips/math_private.h [__mips_hard_float]
7834         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7835         libc_feresetround_mips_ctx.
7836         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7837         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7838         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7839
7840         [BZ #16677]
7841         * math/s_nextafter.c (__nextafter): Do not return value from
7842         overflowing computation.
7843         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7844         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7845         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7846         Likewise.
7847         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7848         Likewise.
7849         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7850         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7851
7852 2014-03-11  Roland McGrath  <roland@hack.frob.com>
7853
7854         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7855         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7856         Move sfi_sp use from the load-multiple (that no longer sets sp) to
7857         the new mov targetting sp.
7858
7859 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7860
7861         [BZ #16683]
7862         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7863         Define it for static builds as well.
7864         (NO_BZERO_IMPL): Likewise.
7865
7866 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7867
7868         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7869         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7870         multiarch strspn for PPC64.
7871         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7872         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7873         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7874         (__libc_ifunc_impl_list): Likewise.
7875         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7876         multiarch optimizations
7877         * string/strspn.c (strspn): Using macro to redefine symbol name.
7878
7879 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7880             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7881
7882         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7883         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7884         multiarch strncat for PPC64.
7885         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7886         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7887         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7888         (__libc_ifunc_impl_list): Likewise.
7889         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7890         multiarch optimizations
7891
7892 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7893
7894         [BZ #16639]
7895         * nscd/nscd.service: Make service type forking.
7896
7897 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7898
7899         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7900         sign in non default rounding modes.
7901         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7902
7903 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
7904
7905         * math/libm-test.inc (ALL_RM_TEST): New macro.
7906         (ceil_test): Use ALL_RM_TEST.
7907         (cimag_test): Likewise.
7908         (conj_test): Likewise.
7909         (copysign_test): Likewise.
7910         (cproj_test): Likewise.
7911         (creal_test): Likewise.
7912         (fabs_test): Likewise.
7913         (floor_test): Likewise.
7914         (fmax_test): Likewise.
7915         (fmin_test): Likewise.
7916         (fmod_test): Likewise.
7917         (fpclassify_test): Likewise.
7918         (frexp_test): Likewise.
7919         (ilogb_test): Likewise.
7920         (isfinite_test): Likewise.
7921         (finite_test): Likewise.
7922         (isgreater_test): Likewise.
7923         (isgreaterequal_test): Likewise.
7924         (isinf_test): Likewise.
7925         (isless_test): Likewise.
7926         (islessequal_test): Likewise.
7927         (islessgreater_test): Likewise.
7928         (isnan_test): Likewise.
7929         (isnormal_test): Likewise.
7930         (issignaling_test): Likewise.
7931         (isunordered_test): Likewise.
7932         (logb_test): Likewise.
7933         (logb_downward_test_data): Remove.
7934         (logb_test_downward): Likewise.
7935         (lround_test): Use ALL_RM_TEST.
7936         (llround_test): Likewise.
7937         (modf_test): Likewise.
7938         (nexttoward_test): Likewise.
7939         (remainder_test): Likewise.
7940         (drem_test): Likewise.
7941         (remainder_tonearest_test_data): Likewise.
7942         (remainder_test_tonearest): Likewise.
7943         (drem_test_tonearest): Likewise.
7944         (remainder_towardzero_test_data): Likewise.
7945         (remainder_test_towardzero): Likewise.
7946         (drem_test_towardzero): Likewise.
7947         (remainder_downward_test_data): Likewise.
7948         (remainder_test_downward): Likewise.
7949         (drem_test_downward): Likewise.
7950         (remainder_upward_test_data): Likewise.
7951         (remainder_test_upward): Likewise.
7952         (drem_test_upward): Likewise.
7953         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
7954         (round_test): Use ALL_RM_TEST.
7955         (signbit_test): Likewise.
7956         (trunc_test): Likewise.
7957         (significand_test): Likewise.
7958         (main): Don't call removed functions.
7959
7960 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
7961
7962         [BZ #16674]
7963         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7964         || __USE_XOPEN2K8].
7965         (ILL_ILLOPN): Likewise.
7966         (ILL_ILLADR): Likewise.
7967         (ILL_ILLTRP): Likewise.
7968         (ILL_PRVOPC): Likewise.
7969         (ILL_PRVREG): Likewise.
7970         (ILL_COPROC): Likewise.
7971         (ILL_BADSTK): Likewise.
7972         (FPE_INTDIV): Likewise.
7973         (FPE_INTOVF): Likewise.
7974         (FPE_FLTDIV): Likewise.
7975         (FPE_FLTOVF): Likewise.
7976         (FPE_FLTUND): Likewise.
7977         (FPE_FLTRES): Likewise.
7978         (FPE_FLTINV): Likewise.
7979         (FPE_FLTSUB): Likewise.
7980         (SEGV_MAPERR): Likewise.
7981         (SEGV_ACCERR): Likewise.
7982         (BUS_ADRALN): Likewise.
7983         (BUS_ADRERR): Likewise.
7984         (BUS_OBJERR): Likewise.
7985         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7986         (TRAP_TRACE): Likewise.
7987         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7988         __USE_XOPEN2K8].
7989         (CLD_KILLED): Likewise.
7990         (CLD_DUMPED): Likewise.
7991         (CLD_TRAPPED): Likewise.
7992         (CLD_STOPPED): Likewise.
7993         (CLD_CONTINUED): Likewise.
7994         (POLL_IN): Likewise.
7995         (POLL_OUT): Likewise.
7996         (POLL_MSG): Likewise.
7997         (POLL_ERR): Likewise.
7998         (POLL_PRI): Likewise.
7999         (POLL_HUP): Likewise.
8000         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8001         Likewise.
8002         (ILL_ILLOPN): Likewise.
8003         (ILL_ILLADR): Likewise.
8004         (ILL_ILLTRP): Likewise.
8005         (ILL_PRVOPC): Likewise.
8006         (ILL_PRVREG): Likewise.
8007         (ILL_COPROC): Likewise.
8008         (ILL_BADSTK): Likewise.
8009         (FPE_INTDIV): Likewise.
8010         (FPE_INTOVF): Likewise.
8011         (FPE_FLTDIV): Likewise.
8012         (FPE_FLTOVF): Likewise.
8013         (FPE_FLTUND): Likewise.
8014         (FPE_FLTRES): Likewise.
8015         (FPE_FLTINV): Likewise.
8016         (FPE_FLTSUB): Likewise.
8017         (SEGV_MAPERR): Likewise.
8018         (SEGV_ACCERR): Likewise.
8019         (BUS_ADRALN): Likewise.
8020         (BUS_ADRERR): Likewise.
8021         (BUS_OBJERR): Likewise.
8022         (BUS_MCEERR_AR): Likewise.
8023         (BUS_MCEERR_AO): Likewise.
8024         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8025         (TRAP_TRACE): Likewise.
8026         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8027         __USE_XOPEN2K8].
8028         (CLD_KILLED): Likewise.
8029         (CLD_DUMPED): Likewise.
8030         (CLD_TRAPPED): Likewise.
8031         (CLD_STOPPED): Likewise.
8032         (CLD_CONTINUED): Likewise.
8033         (POLL_IN): Likewise.
8034         (POLL_OUT): Likewise.
8035         (POLL_MSG): Likewise.
8036         (POLL_ERR): Likewise.
8037         (POLL_PRI): Likewise.
8038         (POLL_HUP): Likewise.
8039         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8040         (ILL_ILLOPN): Likewise.
8041         (ILL_ILLADR): Likewise.
8042         (ILL_ILLTRP): Likewise.
8043         (ILL_PRVOPC): Likewise.
8044         (ILL_PRVREG): Likewise.
8045         (ILL_COPROC): Likewise.
8046         (ILL_BADSTK): Likewise.
8047         (FPE_INTDIV): Likewise.
8048         (FPE_INTOVF): Likewise.
8049         (FPE_FLTDIV): Likewise.
8050         (FPE_FLTOVF): Likewise.
8051         (FPE_FLTUND): Likewise.
8052         (FPE_FLTRES): Likewise.
8053         (FPE_FLTINV): Likewise.
8054         (FPE_FLTSUB): Likewise.
8055         (SEGV_MAPERR): Likewise.
8056         (SEGV_ACCERR): Likewise.
8057         (BUS_ADRALN): Likewise.
8058         (BUS_ADRERR): Likewise.
8059         (BUS_OBJERR): Likewise.
8060         (BUS_MCEERR_AR): Likewise.
8061         (BUS_MCEERR_AO): Likewise.
8062         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8063         (TRAP_TRACE): Likewise.
8064         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8065         __USE_XOPEN2K8].
8066         (CLD_KILLED): Likewise.
8067         (CLD_DUMPED): Likewise.
8068         (CLD_TRAPPED): Likewise.
8069         (CLD_STOPPED): Likewise.
8070         (CLD_CONTINUED): Likewise.
8071         (POLL_IN): Likewise.
8072         (POLL_OUT): Likewise.
8073         (POLL_MSG): Likewise.
8074         (POLL_ERR): Likewise.
8075         (POLL_PRI): Likewise.
8076         (POLL_HUP): Likewise.
8077         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8078         Likewise.
8079         (ILL_ILLOPN): Likewise.
8080         (ILL_ILLADR): Likewise.
8081         (ILL_ILLTRP): Likewise.
8082         (ILL_PRVOPC): Likewise.
8083         (ILL_PRVREG): Likewise.
8084         (ILL_COPROC): Likewise.
8085         (ILL_BADSTK): Likewise.
8086         (ILL_BADIADDR): Likewise.
8087         (ILL_BREAK): Likewise.
8088         (FPE_INTDIV): Likewise.
8089         (FPE_INTOVF): Likewise.
8090         (FPE_FLTDIV): Likewise.
8091         (FPE_FLTOVF): Likewise.
8092         (FPE_FLTUND): Likewise.
8093         (FPE_FLTRES): Likewise.
8094         (FPE_FLTINV): Likewise.
8095         (FPE_FLTSUB): Likewise.
8096         (FPE_DECOVF): Likewise.
8097         (FPE_DECDIV): Likewise.
8098         (FPE_DECERR): Likewise.
8099         (FPE_INVASC): Likewise.
8100         (FPE_INVDEC): Likewise.
8101         (SEGV_MAPERR): Likewise.
8102         (SEGV_ACCERR): Likewise.
8103         (SEGV_PSTKOVF): Likewise.
8104         (BUS_ADRALN): Likewise.
8105         (BUS_ADRERR): Likewise.
8106         (BUS_OBJERR): Likewise.
8107         (BUS_MCEERR_AR): Likewise.
8108         (BUS_MCEERR_AO): Likewise.
8109         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8110         (TRAP_TRACE): Likewise.
8111         (TRAP_BRANCH): Likewise.
8112         (TRAP_HWBKPT): Likewise.
8113         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8114         __USE_XOPEN2K8].
8115         (CLD_KILLED): Likewise.
8116         (CLD_DUMPED): Likewise.
8117         (CLD_TRAPPED): Likewise.
8118         (CLD_STOPPED): Likewise.
8119         (CLD_CONTINUED): Likewise.
8120         (POLL_IN): Likewise.
8121         (POLL_OUT): Likewise.
8122         (POLL_MSG): Likewise.
8123         (POLL_ERR): Likewise.
8124         (POLL_PRI): Likewise.
8125         (POLL_HUP): Likewise.
8126         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8127         (ILL_ILLOPN): Likewise.
8128         (ILL_ILLADR): Likewise.
8129         (ILL_ILLTRP): Likewise.
8130         (ILL_PRVOPC): Likewise.
8131         (ILL_PRVREG): Likewise.
8132         (ILL_COPROC): Likewise.
8133         (ILL_BADSTK): Likewise.
8134         (FPE_INTDIV): Likewise.
8135         (FPE_INTOVF): Likewise.
8136         (FPE_FLTDIV): Likewise.
8137         (FPE_FLTOVF): Likewise.
8138         (FPE_FLTUND): Likewise.
8139         (FPE_FLTRES): Likewise.
8140         (FPE_FLTINV): Likewise.
8141         (FPE_FLTSUB): Likewise.
8142         (SEGV_MAPERR): Likewise.
8143         (SEGV_ACCERR): Likewise.
8144         (BUS_ADRALN): Likewise.
8145         (BUS_ADRERR): Likewise.
8146         (BUS_OBJERR): Likewise.
8147         (BUS_MCEERR_AR): Likewise.
8148         (BUS_MCEERR_AO): Likewise.
8149         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8150         (TRAP_TRACE): Likewise.
8151         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8152         __USE_XOPEN2K8].
8153         (CLD_KILLED): Likewise.
8154         (CLD_DUMPED): Likewise.
8155         (CLD_TRAPPED): Likewise.
8156         (CLD_STOPPED): Likewise.
8157         (CLD_CONTINUED): Likewise.
8158         (POLL_IN): Likewise.
8159         (POLL_OUT): Likewise.
8160         (POLL_MSG): Likewise.
8161         (POLL_ERR): Likewise.
8162         (POLL_PRI): Likewise.
8163         (POLL_HUP): Likewise.
8164         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8165         (ILL_ILLOPN): Likewise.
8166         (ILL_ILLADR): Likewise.
8167         (ILL_ILLTRP): Likewise.
8168         (ILL_PRVOPC): Likewise.
8169         (ILL_PRVREG): Likewise.
8170         (ILL_COPROC): Likewise.
8171         (ILL_BADSTK): Likewise.
8172         (FPE_INTDIV): Likewise.
8173         (FPE_INTOVF): Likewise.
8174         (FPE_FLTDIV): Likewise.
8175         (FPE_FLTOVF): Likewise.
8176         (FPE_FLTUND): Likewise.
8177         (FPE_FLTRES): Likewise.
8178         (FPE_FLTINV): Likewise.
8179         (FPE_FLTSUB): Likewise.
8180         (SEGV_MAPERR): Likewise.
8181         (SEGV_ACCERR): Likewise.
8182         (BUS_ADRALN): Likewise.
8183         (BUS_ADRERR): Likewise.
8184         (BUS_OBJERR): Likewise.
8185         (BUS_MCEERR_AR): Likewise.
8186         (BUS_MCEERR_AO): Likewise.
8187         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8188         (TRAP_TRACE): Likewise.
8189         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8190         __USE_XOPEN2K8].
8191         (CLD_KILLED): Likewise.
8192         (CLD_DUMPED): Likewise.
8193         (CLD_TRAPPED): Likewise.
8194         (CLD_STOPPED): Likewise.
8195         (CLD_CONTINUED): Likewise.
8196         (POLL_IN): Likewise.
8197         (POLL_OUT): Likewise.
8198         (POLL_MSG): Likewise.
8199         (POLL_ERR): Likewise.
8200         (POLL_PRI): Likewise.
8201         (POLL_HUP): Likewise.
8202         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8203         (ILL_ILLOPN): Likewise.
8204         (ILL_ILLADR): Likewise.
8205         (ILL_ILLTRP): Likewise.
8206         (ILL_PRVOPC): Likewise.
8207         (ILL_PRVREG): Likewise.
8208         (ILL_COPROC): Likewise.
8209         (ILL_BADSTK): Likewise.
8210         (FPE_INTDIV): Likewise.
8211         (FPE_INTOVF): Likewise.
8212         (FPE_FLTDIV): Likewise.
8213         (FPE_FLTOVF): Likewise.
8214         (FPE_FLTUND): Likewise.
8215         (FPE_FLTRES): Likewise.
8216         (FPE_FLTINV): Likewise.
8217         (FPE_FLTSUB): Likewise.
8218         (SEGV_MAPERR): Likewise.
8219         (SEGV_ACCERR): Likewise.
8220         (BUS_ADRALN): Likewise.
8221         (BUS_ADRERR): Likewise.
8222         (BUS_OBJERR): Likewise.
8223         (BUS_MCEERR_AR): Likewise.
8224         (BUS_MCEERR_AO): Likewise.
8225         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8226         (TRAP_TRACE): Likewise.
8227         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8228         __USE_XOPEN2K8].
8229         (CLD_KILLED): Likewise.
8230         (CLD_DUMPED): Likewise.
8231         (CLD_TRAPPED): Likewise.
8232         (CLD_STOPPED): Likewise.
8233         (CLD_CONTINUED): Likewise.
8234         (POLL_IN): Likewise.
8235         (POLL_OUT): Likewise.
8236         (POLL_MSG): Likewise.
8237         (POLL_ERR): Likewise.
8238         (POLL_PRI): Likewise.
8239         (POLL_HUP): Likewise.
8240         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8241         (ILL_ILLOPN): Likewise.
8242         (ILL_ILLADR): Likewise.
8243         (ILL_ILLTRP): Likewise.
8244         (ILL_PRVOPC): Likewise.
8245         (ILL_PRVREG): Likewise.
8246         (ILL_COPROC): Likewise.
8247         (ILL_BADSTK): Likewise.
8248         (ILL_DBLFLT): Likewise.
8249         (ILL_HARDWALL): Likewise.
8250         (FPE_INTDIV): Likewise.
8251         (FPE_INTOVF): Likewise.
8252         (FPE_FLTDIV): Likewise.
8253         (FPE_FLTOVF): Likewise.
8254         (FPE_FLTUND): Likewise.
8255         (FPE_FLTRES): Likewise.
8256         (FPE_FLTINV): Likewise.
8257         (FPE_FLTSUB): Likewise.
8258         (SEGV_MAPERR): Likewise.
8259         (SEGV_ACCERR): Likewise.
8260         (BUS_ADRALN): Likewise.
8261         (BUS_ADRERR): Likewise.
8262         (BUS_OBJERR): Likewise.
8263         (BUS_MCEERR_AR): Likewise.
8264         (BUS_MCEERR_AO): Likewise.
8265         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8266         (TRAP_TRACE): Likewise.
8267         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8268         __USE_XOPEN2K8].
8269         (CLD_KILLED): Likewise.
8270         (CLD_DUMPED): Likewise.
8271         (CLD_TRAPPED): Likewise.
8272         (CLD_STOPPED): Likewise.
8273         (CLD_CONTINUED): Likewise.
8274         (POLL_IN): Likewise.
8275         (POLL_OUT): Likewise.
8276         (POLL_MSG): Likewise.
8277         (POLL_ERR): Likewise.
8278         (POLL_PRI): Likewise.
8279         (POLL_HUP): Likewise.
8280         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8281         (ILL_ILLOPN): Likewise.
8282         (ILL_ILLADR): Likewise.
8283         (ILL_ILLTRP): Likewise.
8284         (ILL_PRVOPC): Likewise.
8285         (ILL_PRVREG): Likewise.
8286         (ILL_COPROC): Likewise.
8287         (ILL_BADSTK): Likewise.
8288         (FPE_INTDIV): Likewise.
8289         (FPE_INTOVF): Likewise.
8290         (FPE_FLTDIV): Likewise.
8291         (FPE_FLTOVF): Likewise.
8292         (FPE_FLTUND): Likewise.
8293         (FPE_FLTRES): Likewise.
8294         (FPE_FLTINV): Likewise.
8295         (FPE_FLTSUB): Likewise.
8296         (SEGV_MAPERR): Likewise.
8297         (SEGV_ACCERR): Likewise.
8298         (BUS_ADRALN): Likewise.
8299         (BUS_ADRERR): Likewise.
8300         (BUS_OBJERR): Likewise.
8301         (BUS_MCEERR_AR): Likewise.
8302         (BUS_MCEERR_AO): Likewise.
8303         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8304         (TRAP_TRACE): Likewise.
8305         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8306         __USE_XOPEN2K8].
8307         (CLD_KILLED): Likewise.
8308         (CLD_DUMPED): Likewise.
8309         (CLD_TRAPPED): Likewise.
8310         (CLD_STOPPED): Likewise.
8311         (CLD_CONTINUED): Likewise.
8312         (POLL_IN): Likewise.
8313         (POLL_OUT): Likewise.
8314         (POLL_MSG): Likewise.
8315         (POLL_ERR): Likewise.
8316         (POLL_PRI): Likewise.
8317         (POLL_HUP): Likewise.
8318         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8319         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8320
8321         [BZ #16670]
8322         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8323         before #include of <time.h>.
8324         [!__USE_XOPEN2K] (__need_timespec): Likewise.
8325         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8326         (test-xfail-UNIX98/sched.h/conform): Likewise.
8327
8328 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8329
8330         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8331         error absence of trapping exception support.
8332         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8333
8334 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8335
8336         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8337         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8338         * timezone/Makefile (testdata): Move definition above include of
8339         Rules.
8340         (test-zones): New variable.
8341         (tests-special): Add zone files.
8342         (build-testdata): Use $(evaluate-test).
8343
8344         * elf/Makefile (tests-special): Rename tests to end with .out.
8345         ($(objpfx)noload-mem): Likewise.
8346         ($(objpfx)tst-leaks1-mem): Likewise.
8347         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8348         * iconv/Makefile (xtests-special): Change test-iconvconfig to
8349         $(objpfx)test-iconvconfig.out.
8350         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
8351         set -e inside subshell and redirect output to file.
8352         * iconvdata/Makefile (generated): Rename tests to end with .out.
8353         Correct type.
8354         (tests-special): Rename tests to end with .out.
8355         ($(objpfx)mtrace-tst-loading): Likewise.
8356         * intl/Makefile (generated): Likewise.
8357         (tests-special): Likewise.
8358         ($(objpfx)mtrace-tst-gettext): Likewise.
8359         * misc/Makefile (generated): Likewise.
8360         (tests-special): Likewise.
8361         ($(objpfx)tst-error1-mem): Likewise.
8362         * nptl/Makefile (tests-special): Likewise.
8363         ($(objpfx)tst-stack3-mem): Likewise.
8364         (generated): Likewise.
8365         * posix/Makefile (generated): Likewise.
8366         (tests-special): Likewise.
8367         (xtests-special): Likewise.
8368         ($(objpfx)tst-fnmatch-mem): Likewise.
8369         ($(objpfx)bug-regex2-mem): Likewise.
8370         ($(objpfx)bug-regex14-mem): Likewise.
8371         ($(objpfx)bug-regex21-mem): Likewise.
8372         ($(objpfx)bug-regex31-mem): Likewise.
8373         ($(objpfx)tst-vfork3-mem): Likewise.
8374         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8375         ($(objpfx)tst-pcre-mem): Likewise.
8376         ($(objpfx)tst-boost-mem): Likewise.
8377         ($(objpfx)bug-ga2-mem): Likewise.
8378         ($(objpfx)bug-glob2-mem): Likewise.
8379         * resolv/Makefile (generate): Likewise.
8380         (tests-special): Likewise.
8381         (xtests-special): Likewise.
8382         (generated): Likewise.
8383         ($(objpfx)mtrace-tst-leaks): Likewise.
8384         ($(objpfx)mtrace-tst-leaks2): Likewise.
8385
8386         * scripts/merge-test-results.sh: New file.
8387         * Makefile (tests-special-notdir): New variable.
8388         (tests): Run merge-test-results.sh.
8389         (xtests): Likewise.
8390         * Rules (tests-special-notdir): New variable.
8391         (xtests-special-notdir): Likewise.
8392         (tests): Run merge-test-results.sh
8393         (xtests): Likewise.
8394
8395         * Makeconfig (test-xfail-name): New variable.
8396         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8397         compute variable name for expected failures.
8398         * conform/Makefile (conformtest-headers-data): New variable.
8399         (conformtest-standards): Likewise.
8400         (conformtest-headers-ISO): Likewise.
8401         (conformtest-headers-ISO99): Likewise.
8402         (conformtest-headers-ISO11): Likewise.
8403         (conformtest-headers-POSIX): Likewise.
8404         (conformtest-headers-XPG3): Likewise.
8405         (conformtest-headers-XPG4): Likewise.
8406         (conformtest-headers-UNIX98): Likewise.
8407         (conformtest-headers-XOPEN2K): Likewise.
8408         (conformtest-headers-POSIX2008): Likewise.
8409         (conformtest-headers-XOPEN2K8): Likewise.
8410         (conformtest-header-list-base): Likewise.
8411         (conformtest-header-list-tests): Likewise.
8412         (conformtest-header-base): Likewise.
8413         (conformtest-header-tests): Likewise.
8414         (tests-special): Add $(conformtest-header-list-tests).  If
8415         [$(fast-check) && !$(cross-compiling)], add
8416         $(conformtest-header-tests) instead of
8417         $(objpfx)run-conformtest.out.
8418         (generated): Add $(conformtest-header-list-base).  If
8419         [$(fast-check) && !$(cross-compiling)], add
8420         $(conformtest-header-base).  Remove previous setting.
8421         ($(conformtest-header-list-tests)): New target.
8422         (test-xfail-run-conformtest): Remove variable.
8423         ($(objpfx)run-conformtest.out): Remove target.
8424         (test-xfail-ISO11/complex.h/conform): New variable.
8425         (test-xfail-ISO11/stdalign.h/conform): Likewise.
8426         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8427         (test-xfail-XPG3/varargs.h/conform): Likewise.
8428         (test-xfail-XPG4/varargs.h/conform): Likewise.
8429         (test-xfail-UNIX98/varargs.h/conform): Likewise.
8430         (test-xfail-XPG4/ndbm.h/conform): Likewise.
8431         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8432         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8433         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8434         (test-xfail-XPG3/fcntl.h/conform): Likewise.
8435         (test-xfail-XPG3/ftw.h/conform): Likewise.
8436         (test-xfail-XPG3/grp.h/conform): Likewise.
8437         (test-xfail-XPG3/langinfo.h/conform): Likewise.
8438         (test-xfail-XPG3/limits.h/conform): Likewise.
8439         (test-xfail-XPG3/pwd.h/conform): Likewise.
8440         (test-xfail-XPG3/search.h/conform): Likewise.
8441         (test-xfail-XPG3/signal.h/conform): Likewise.
8442         (test-xfail-XPG3/stdio.h/conform): Likewise.
8443         (test-xfail-XPG3/stdlib.h/conform): Likewise.
8444         (test-xfail-XPG3/string.h/conform): Likewise.
8445         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8446         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8447         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8448         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8449         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8450         (test-xfail-XPG3/sys/types.h/conform): Likewise.
8451         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8452         (test-xfail-XPG3/termios.h/conform): Likewise.
8453         (test-xfail-XPG3/time.h/conform): Likewise.
8454         (test-xfail-XPG3/unistd.h/conform): Likewise.
8455         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8456         (test-xfail-XPG4/fcntl.h/conform): Likewise.
8457         (test-xfail-XPG4/langinfo.h/conform): Likewise.
8458         (test-xfail-XPG4/netdb.h/conform): Likewise.
8459         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8460         (test-xfail-XPG4/signal.h/conform): Likewise.
8461         (test-xfail-XPG4/stdio.h/conform): Likewise.
8462         (test-xfail-XPG4/stdlib.h/conform): Likewise.
8463         (test-xfail-XPG4/stropts.h/conform): Likewise.
8464         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8465         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8466         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8467         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8468         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8469         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8470         (test-xfail-XPG4/sys/time.h/conform): Likewise.
8471         (test-xfail-XPG4/sys/types.h/conform): Likewise.
8472         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8473         (test-xfail-XPG4/termios.h/conform): Likewise.
8474         (test-xfail-XPG4/ucontext.h/conform): Likewise.
8475         (test-xfail-XPG4/unistd.h/conform): Likewise.
8476         (test-xfail-XPG4/utmpx.h/conform): Likewise.
8477         (test-xfail-POSIX/sched.h/conform): Likewise.
8478         (test-xfail-POSIX/signal.h/conform): Likewise.
8479         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8480         (test-xfail-POSIX/tar.h/conform): Likewise.
8481         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8482         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8483         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8484         (test-xfail-UNIX98/netdb.h/conform): Likewise.
8485         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8486         (test-xfail-UNIX98/sched.h/conform): Likewise.
8487         (test-xfail-UNIX98/signal.h/conform): Likewise.
8488         (test-xfail-UNIX98/stdio.h/conform): Likewise.
8489         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8490         (test-xfail-UNIX98/stropts.h/conform): Likewise.
8491         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8492         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8493         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8494         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8495         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8496         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8497         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8498         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8499         (test-xfail-UNIX98/unistd.h/conform): Likewise.
8500         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8501         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8502         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8503         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8504         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8505         (test-xfail-XOPEN2K/math.h/conform): Likewise.
8506         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8507         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8508         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8509         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8510         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8511         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8512         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8513         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8514         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8515         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8516         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8517         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8518         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8519         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8520         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8521         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8522         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8523         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8524         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8525         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8526         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8527         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8528         (test-xfail-POSIX2008/signal.h/conform): Likewise.
8529         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8530         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8531         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8532         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8533         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8534         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8535         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8536         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8537         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8538         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8539         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8540         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8541         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8542         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8543         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8544         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8545         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8546         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8547         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8548         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8549         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8550         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8551         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8552         (conformtest-cc-flags): Likewise.
8553         ($(conformtest-header-tests): New target.
8554         * conform/check-header-lists.sh: New file.
8555         * conform/run-conformtest.sh: Remove.
8556
8557         * conform/conformtest.pl: Allow ' and \ in values given for
8558         constants.
8559         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8560         inclusion.
8561         [POSIX] (sys/types.h): Likewise.
8562         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8563         inclusion.
8564         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8565         inclusion.
8566         * conform/data/signal.h-data (SIGIO): Remove expectation.
8567         [XPG3] (SIGBUS): Do not expect.
8568         [POSIX || XPG3] (SIGPOLL): Likewise.
8569         [POSIX || XPG3] (SIGPROF): Likewise.
8570         [POSIX || XPG3] (SIGSYS): Likewise.
8571         [XPG3] (SIGTRAP): Likewise.
8572         [POSIX || XPG3] (SIGURG): Likewise.
8573         [POSIX || XPG3] (SIGVTALRM): Likewise.
8574         [POSIX || XPG3] (SIGXCPU): Likewise.
8575         [POSIX || XPG3] (SIGXFSZ): Likewise.
8576         [POSIX] (SA_SIGINFO): Expect.
8577         [XPG3] (siginfo_t): Do not expect type or contents.
8578         [POSIX] (si_pid): Do not expect element.
8579         [POSIX] (si_uid): Likewise.
8580         [POSIX] (si_addr): Likewise.
8581         [POSIX] (si_status): Likewise.
8582         [POSIX] (si_band): Likewise.
8583         [XPG4] (si_value): Likewise.
8584         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8585         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8586         [POSIX || XPG3] (ILL_ILLADR): Likewise.
8587         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8588         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8589         [POSIX || XPG3] (ILL_PRVREG): Likewise.
8590         [POSIX || XPG3] (ILL_COPROC): Likewise.
8591         [POSIX || XPG3] (ILL_BADSTK): Likewise.
8592         [POSIX || XPG3] (FPE_INTDIV): Likewise.
8593         [POSIX || XPG3] (FPE_INTOVF): Likewise.
8594         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8595         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8596         [POSIX || XPG3] (FPE_FLTUND): Likewise.
8597         [POSIX || XPG3] (FPE_FLTRES): Likewise.
8598         [POSIX || XPG3] (FPE_FLTINV): Likewise.
8599         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8600         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8601         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8602         [POSIX || XPG3] (BUS_ADRALN): Likewise.
8603         [POSIX || XPG3] (BUS_ADRERR): Likewise.
8604         [POSIX || XPG3] (BUS_OBJERR): Likewise.
8605         [POSIX || XPG3] (CLD_EXITED): Likewise.
8606         [POSIX || XPG3] (CLD_KILLED): Likewise.
8607         [POSIX || XPG3] (CLD_DUMPED): Likewise.
8608         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8609         [POSIX || XPG3] (CLD_STOPPED): Likewise.
8610         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8611         [POSIX || XPG3] (POLL_IN): Likewise.
8612         [POSIX || XPG3] (POLL_OUT): Likewise.
8613         [POSIX || XPG3] (POLL_MSG): Likewise.
8614         [POSIX || XPG3] (POLL_ERR): Likewise.
8615         [POSIX || XPG3] (POLL_PRI): Likewise.
8616         [POSIX || XPG3] (POLL_HUP): Likewise.
8617         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8618         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8619         (SIG*): Do not allow.
8620         [XPG3] (si_*): Likewise.
8621         [XPG3] (SI_*): Likewise.
8622         [XPG3 || XPG4] (sigev_*): Likewise.
8623         [XPG3 || XPG4] (SIGEV_*): Likewise.
8624         [XPG3 || XPG4] (sival_*): Likewise.
8625         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8626         [POSIX || XPG3] (BUS_*): Likewise.
8627         [POSIX || XPG3] (CLD_*): Likewise.
8628         [POSIX || XPG3] (FPE_*): Likewise.
8629         [POSIX || XPG3] (ILL_*): Likewise.
8630         [POSIX || XPG3] (POLL_*): Likewise.
8631         [POSIX || XPG3] (SEGV_*): Likewise.
8632         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8633         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8634         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8635         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8636         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8637         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8638         Specify type and value.
8639         (TVERSLEN): Likewise.
8640         (REGTYPE): Likewise.
8641         (AREGTYPE): Likewise.
8642         (LNKTYPE): Likewise.
8643         (SYMTYPE): Likewise.
8644         (CHRTYPE): Likewise.
8645         (BLKTYPE): Likewise.
8646         (DIRTYPE): Likewise.
8647         (FIFOTYPE): Likewise.
8648         (CONTTYPE): Likewise.
8649         (TSUID): Likewise.
8650         (TSGID): Likewise.
8651         (TSVTX): Likewise.
8652         (TUREAD): Likewise.
8653         (TUWRITE): Likewise.
8654         (TUEXEC): Likewise.
8655         (TGREAD): Likewise.
8656         (TGWRITE): Likewise.
8657         (TGEXEC): Likewise.
8658         (TOREAD): Likewise.
8659         (TOWRITE): Likewise.
8660         (TOEXEC): Likewise.
8661         [POSIX] (TSVTX): Expect constant.
8662
8663 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
8664
8665         * Makefile (tests): Change dependencies to ....
8666         (tests-special): ... additions to this variable.
8667         (tests): Depend on $(tests-special).
8668         * Makerules (check-abi-list): New variable.
8669         (check-abi): Depend on $(check-abi-list).
8670         [$(subdir) = elf] (tests-special): Add
8671         $(objpfx)check-abi-libc.out.
8672         [$(build-shared) = yes && subdir] (tests-special): Add
8673         $(check-abi-list).
8674         [$(build-shared) = yes && subdir] (tests): Do not depend on
8675         check-abi.
8676         * Rules (tests): Depend on $(tests-special).
8677         (xtests): Depend on $(xtests-special).
8678         * catgets/Makefile (tests): Change dependencies to ....
8679         (tests-special): ... additions to this variable.
8680         * conform/Makefile (tests): Change dependencies to ....
8681         (tests-special): ... additions to this variable.
8682         * elf/Makefile (tests): Change dependencies to ....
8683         (tests-special): ... additions to this variable.
8684         * grp/Makefile (tests): Change dependencies to ....
8685         (tests-special): ... additions to this variable.
8686         * iconv/Makefile (xtests): Change dependencies to ....
8687         (xtests-special): ... additions to this variable.
8688         * iconvdata/Makefile (tests): Change dependencies to ....
8689         (tests-special): ... additions to this variable.
8690         * intl/Makefile (tests): Change dependencies to ....
8691         (tests-special): ... additions to this variable.  Also add
8692         $(objpfx)tst-gettext.out.
8693         * io/Makefile (tests): Change dependencies to ....
8694         (tests-special): ... additions to this variable.
8695         * libio/Makefile (tests): Change dependencies to ....
8696         (tests-special): ... additions to this variable.
8697         * malloc/Makefile (tests): Change dependencies to ....
8698         (tests-special): ... additions to this variable.
8699         * misc/Makefile (tests): Change dependencies to ....
8700         (tests-special): ... additions to this variable.
8701         * nptl/Makefile (tests): Change dependencies to ....
8702         (tests-special): ... additions to this variable.
8703         * nptl_db/Makefile (tests): Change dependencies to ....
8704         (tests-special): ... additions to this variable.
8705         * posix/Makefile (tests): Change dependencies to ....
8706         (tests-special): ... additions to this variable.
8707         (xtests): Change dependencies to ....
8708         (xtests-special): ... additions to this variable.
8709         * resolv/Makefile (tests): Change dependencies to ....
8710         (tests-special): ... additions to this variable.
8711         (xtests): Change dependencies to ....
8712         (xtests-special): ... additions to this variable.
8713         * stdio-common/Makefile (tests): Change dependencies to ....
8714         (tests-special): ... additions to this variable.
8715         (do-tst-unbputc): Remove target.
8716         (do-tst-printf): Likewise.
8717         * stdlib/Makefile (tests): Change dependencies to ....
8718         (tests-special): ... additions to this variable.
8719         * string/Makefile (tests): Change dependencies to ....
8720         (tests-special): ... additions to this variable.
8721         * sysdeps/x86/Makefile (tests): Change dependencies to ....
8722         (tests-special): ... additions to this variable.
8723
8724         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8725         whole file.
8726         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8727         whole file.
8728         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8729         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8730
8731         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8732         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8733         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8734         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8735         * conform/data/libgen.h-data [XPG3]: Likewise.
8736         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8737         * conform/data/ndbm.h-data [XPG3]: Likewise.
8738         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8739         * conform/data/netdb.h-data [XPG3]: Likewise.
8740         * conform/data/netinet/in.h-data [XPG3]: Likewise.
8741         * conform/data/poll.h-data [XPG3]: Likewise.
8742         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8743         * conform/data/strings.h-data [XPG3]: Likewise.
8744         * conform/data/stropts.h-data [XPG3]: Likewise.
8745         * conform/data/sys/mman.h-data [XPG3]: Likewise.
8746         * conform/data/sys/resource.h-data [XPG3]: Likewise.
8747         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8748         Likewise.
8749         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8750         * conform/data/sys/time.h-data [XPG3]: Likewise.
8751         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8752         * conform/data/sys/uio.h-data [XPG3]: Likewise.
8753         * conform/data/sys/un.h-data [XPG3]: Likewise.
8754         * conform/data/syslog.h-data [XPG3]: Likewise.
8755         * conform/data/ucontext.h-data [XPG3]: Likewise.
8756         * conform/data/utmpx.h-data [XPG3]: Likewise.
8757         * conform/data/varargs.h-data [UNIX98]: Enable file.
8758
8759         * manual/Makefile (INSTALL_INFO): Remove variable setting.
8760
8761         * math/libm-test.inc (struct test_f_f_data): Move expected results
8762         into structure for each rounding mode.
8763         (struct test_ff_f_data): Likewise.
8764         (struct test_ff_f_data_nexttoward): Likewise.
8765         (struct test_fi_f_data): Likewise.
8766         (struct test_fl_f_data): Likewise.
8767         (struct test_if_f_data): Likewise.
8768         (struct test_fff_f_data): Likewise.
8769         (struct test_c_f_data): Likewise.
8770         (struct test_f_f1_data): Likewise.
8771         (struct test_fF_f1_data): Likewise.
8772         (struct test_ffI_f1_data): Likewise.
8773         (struct test_c_c_data): Likewise.
8774         (struct test_cc_c_data): Likewise.
8775         (struct test_f_i_data): Likewise.
8776         (struct test_ff_i_data): Likewise.
8777         (struct test_f_l_data): Likewise.
8778         (struct test_f_L_data): Likewise.
8779         (struct test_fFF_11_data): Likewise.
8780         (RM_): New macro.
8781         (RM_FE_DOWNWARD): Likewise.
8782         (RM_FE_TONEAREST): Likewise.
8783         (RM_FE_TOWARDZERO): Likewise.
8784         (RM_FE_UPWARD): Likewise.
8785         (RUN_TEST_LOOP_f_f): Update references to expected results.
8786         (RUN_TEST_LOOP_2_f): Likewise.
8787         (RUN_TEST_LOOP_fff_f): Likewise.
8788         (RUN_TEST_LOOP_c_f): Likewise.
8789         (RUN_TEST_LOOP_f_f1): Likewise.
8790         (RUN_TEST_LOOP_fF_f1): Likewise.
8791         (RUN_TEST_LOOP_fI_f1): Likewise.
8792         (RUN_TEST_LOOP_ffI_f1): Likewise.
8793         (RUN_TEST_LOOP_c_c): Likewise.
8794         (RUN_TEST_LOOP_cc_c): Likewise.
8795         (RUN_TEST_LOOP_f_i): Likewise.
8796         (RUN_TEST_LOOP_f_i_tg): Likewise.
8797         (RUN_TEST_LOOP_ff_i_tg): Likewise.
8798         (RUN_TEST_LOOP_f_b): Likewise.
8799         (RUN_TEST_LOOP_f_b_tg): Likewise.
8800         (RUN_TEST_LOOP_f_l): Likewise.
8801         (RUN_TEST_LOOP_f_L): Likewise.
8802         (RUN_TEST_LOOP_fFF_11): Likewise.
8803         * math/gen-libm-test.pl (parse_args): Output four copies of
8804         expected results for each test.
8805
8806         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8807         (__ASSUME_UTIMES): Remove.
8808         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8809         (__ASSUME_UTIMES): Likewise.
8810
8811         * math/gen-auto-libm-tests.c: Update comment on output format.
8812         (output_for_one_input_case): Generate before-rounding and
8813         after-rounding information as conditions on output flags not
8814         floating-point format.
8815         * math/auto-libm-test-out: Regenerated.
8816         * math/gen-libm-test.pl (cond_value): New function.
8817         (or_cond_value): Use cond_value.
8818         (generate_testfile): Handle conditional exceptions.
8819
8820 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
8821
8822         * math/libm-test.inc (max_valid_error): New variable.
8823         (init_max_error): Take new argument specifying whether function
8824         results are exactly determined.  Set max_valid_error and bound
8825         other variables for errors based on this argument.
8826         (set_max_error): Do not record results above max_valid_error.
8827         (check_float_internal): Only accept errors of up to 0.5ulps if
8828         also at most max_valid_error.
8829         (START): Take new argument EXACT and pass it to init_max_error.
8830         (acos_test): Update call to START.
8831         (acos_test_tonearest): Likewise.
8832         (acos_test_towardzero): Likewise.
8833         (acos_test_downward): Likewise.
8834         (acos_test_upward): Likewise.
8835         (acosh_test): Likewise.
8836         (asin_test): Likewise.
8837         (asin_test_tonearest): Likewise.
8838         (asin_test_towardzero): Likewise.
8839         (asin_test_downward): Likewise.
8840         (asin_test_upward): Likewise.
8841         (asinh_test): Likewise.
8842         (atan_test): Likewise.
8843         (atanh_test): Likewise.
8844         (atan2_test): Likewise.
8845         (cabs_test): Likewise.
8846         (cacos_test): Likewise.
8847         (cacosh_test): Likewise.
8848         (carg_test): Likewise.
8849         (casin_test): Likewise.
8850         (casinh_test): Likewise.
8851         (catan_test): Likewise.
8852         (catanh_test): Likewise.
8853         (cbrt_test): Likewise.
8854         (ccos_test): Likewise.
8855         (ccosh_test): Likewise.
8856         (ceil_test): Likewise.
8857         (cexp_test): Likewise.
8858         (cimag_test): Likewise.
8859         (clog_test): Likewise.
8860         (clog10_test): Likewise.
8861         (conj_test): Likewise.
8862         (copysign_test): Likewise.
8863         (cos_test): Likewise.
8864         (cos_test_tonearest): Likewise.
8865         (cos_test_towardzero): Likewise.
8866         (cos_test_downward): Likewise.
8867         (cos_test_upward): Likewise.
8868         (cosh_test): Likewise.
8869         (cosh_test_tonearest): Likewise.
8870         (cosh_test_towardzero): Likewise.
8871         (cosh_test_downward): Likewise.
8872         (cosh_test_upward): Likewise.
8873         (cpow_test): Likewise.
8874         (cproj_test): Likewise.
8875         (creal_test): Likewise.
8876         (csin_test): Likewise.
8877         (csinh_test): Likewise.
8878         (csqrt_test): Likewise.
8879         (ctan_test): Likewise.
8880         (ctan_test_tonearest): Likewise.
8881         (ctan_test_towardzero): Likewise.
8882         (ctan_test_downward): Likewise.
8883         (ctan_test_upward): Likewise.
8884         (ctanh_test): Likewise.
8885         (ctanh_test_tonearest): Likewise.
8886         (ctanh_test_towardzero): Likewise.
8887         (ctanh_test_downward): Likewise.
8888         (ctanh_test_upward): Likewise.
8889         (erf_test): Likewise.
8890         (erfc_test): Likewise.
8891         (exp_test): Likewise.
8892         (exp_test_tonearest): Likewise.
8893         (exp_test_towardzero): Likewise.
8894         (exp_test_downward): Likewise.
8895         (exp_test_upward): Likewise.
8896         (exp10_test): Likewise.
8897         (exp10_test_tonearest): Likewise.
8898         (exp10_test_towardzero): Likewise.
8899         (exp10_test_downward): Likewise.
8900         (exp10_test_upward): Likewise.
8901         (pow10_test): Likewise.
8902         (exp2_test): Likewise.
8903         (expm1_test): Likewise.
8904         (expm1_test_tonearest): Likewise.
8905         (expm1_test_towardzero): Likewise.
8906         (expm1_test_downward): Likewise.
8907         (expm1_test_upward): Likewise.
8908         (fabs_test): Likewise.
8909         (fdim_test): Likewise.
8910         (floor_test): Likewise.
8911         (fma_test): Likewise.
8912         (fma_test_towardzero): Likewise.
8913         (fma_test_downward): Likewise.
8914         (fma_test_upward): Likewise.
8915         (fmax_test): Likewise.
8916         (fmin_test): Likewise.
8917         (fmod_test): Likewise.
8918         (fpclassify_test): Likewise.
8919         (frexp_test): Likewise.
8920         (hypot_test): Likewise.
8921         (ilogb_test): Likewise.
8922         (isfinite_test): Likewise.
8923         (finite_test): Likewise.
8924         (isgreater_test): Likewise.
8925         (isgreaterequal_test): Likewise.
8926         (isinf_test): Likewise.
8927         (isless_test): Likewise.
8928         (islessequal_test): Likewise.
8929         (islessgreater_test): Likewise.
8930         (isnan_test): Likewise.
8931         (isnormal_test): Likewise.
8932         (issignaling_test): Likewise.
8933         (isunordered_test): Likewise.
8934         (j0_test): Likewise.
8935         (j1_test): Likewise.
8936         (jn_test): Likewise.
8937         (ldexp_test): Likewise.
8938         (lgamma_test): Likewise.
8939         (gamma_test): Likewise.
8940         (lrint_test): Likewise.
8941         (lrint_test_tonearest): Likewise.
8942         (lrint_test_towardzero): Likewise.
8943         (lrint_test_downward): Likewise.
8944         (lrint_test_upward): Likewise.
8945         (llrint_test): Likewise.
8946         (llrint_test_tonearest): Likewise.
8947         (llrint_test_towardzero): Likewise.
8948         (llrint_test_downward): Likewise.
8949         (llrint_test_upward): Likewise.
8950         (log_test): Likewise.
8951         (log10_test): Likewise.
8952         (log1p_test): Likewise.
8953         (log2_test): Likewise.
8954         (logb_test): Likewise.
8955         (logb_test_downward): Likewise.
8956         (lround_test): Likewise.
8957         (llround_test): Likewise.
8958         (modf_test): Likewise.
8959         (nearbyint_test): Likewise.
8960         (nextafter_test): Likewise.
8961         (nexttoward_test): Likewise.
8962         (pow_test): Likewise.
8963         (pow_test_tonearest): Likewise.
8964         (pow_test_towardzero): Likewise.
8965         (pow_test_downward): Likewise.
8966         (pow_test_upward): Likewise.
8967         (remainder_test): Likewise.
8968         (drem_test): Likewise.
8969         (remainder_test_tonearest): Likewise.
8970         (drem_test_tonearest): Likewise.
8971         (remainder_test_towardzero): Likewise.
8972         (drem_test_towardzero): Likewise.
8973         (remainder_test_downward): Likewise.
8974         (drem_test_downward): Likewise.
8975         (remainder_test_upward): Likewise.
8976         (drem_test_upward): Likewise.
8977         (remquo_test): Likewise.
8978         (rint_test): Likewise.
8979         (rint_test_tonearest): Likewise.
8980         (rint_test_towardzero): Likewise.
8981         (rint_test_downward): Likewise.
8982         (rint_test_upward): Likewise.
8983         (round_test): Likewise.
8984         (scalb_test): Likewise.
8985         (scalbn_test): Likewise.
8986         (scalbln_test): Likewise.
8987         (signbit_test): Likewise.
8988         (sin_test): Likewise.
8989         (sin_test_tonearest): Likewise.
8990         (sin_test_towardzero): Likewise.
8991         (sin_test_downward): Likewise.
8992         (sin_test_upward): Likewise.
8993         (sincos_test): Likewise.
8994         (sinh_test): Likewise.
8995         (sinh_test_tonearest): Likewise.
8996         (sinh_test_towardzero): Likewise.
8997         (sinh_test_downward): Likewise.
8998         (sinh_test_upward): Likewise.
8999         (sqrt_test): Likewise.
9000         (sqrt_test_tonearest): Likewise.
9001         (sqrt_test_towardzero): Likewise.
9002         (sqrt_test_downward): Likewise.
9003         (sqrt_test_upward): Likewise.
9004         (tan_test): Likewise.
9005         (tan_test_tonearest): Likewise.
9006         (tan_test_towardzero): Likewise.
9007         (tan_test_downward): Likewise.
9008         (tan_test_upward): Likewise.
9009         (tanh_test): Likewise.
9010         (tgamma_test): Likewise.
9011         (trunc_test): Likewise.
9012         (y0_test): Likewise.
9013         (y1_test): Likewise.
9014         (yn_test): Likewise.
9015         (significand_test): Likewise.
9016
9017         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9018         individual tests in comment.
9019         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9020         (prev_max_error): New variable.
9021         (prev_real_max_error): Likewise.
9022         (prev_imag_max_error): Likewise.
9023         (compare_ulp_data): Don't refer to test names in comment.
9024         (find_test_ulps): Remove function.
9025         (find_function_ulps): Likewise.
9026         (find_complex_function_ulps): Likewise.
9027         (init_max_error): Take function name as argument.  Look up ulps
9028         for that function.
9029         (print_ulps): Remove function.
9030         (print_max_error): Use prev_max_error instead of calling
9031         find_function_ulps.
9032         (print_complex_max_error): Use prev_real_max_error and
9033         prev_imag_max_error instead of calling find_complex_function_ulps.
9034         (check_float_internal): Take max_ulp parameter instead of calling
9035         find_test_ulps.  Don't call print_ulps.
9036         (check_float): Update call to check_float_internal.
9037         (check_complex): Update calls to check_float_internal.
9038         (START): Pass argument to init_max_error.
9039         * math/gen-libm-test.pl (%results): Don't include "kind"
9040         information.
9041         (parse_ulps): Don't handle ulps of individual tests.
9042         (print_ulps_file): Likewise.
9043         (output_ulps): Likewise.
9044         * math/README.libm-test: Update.
9045         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9046         individual tests.
9047         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9048         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9049         * sysdeps/arm/libm-test-ulps: Likewise.
9050         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9051         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9052         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9053         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9054         * sysdeps/microblaze/libm-test-ulps: Likewise.
9055         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9056         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9057         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9058         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9059         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9060         * sysdeps/sh/libm-test-ulps: Likewise.
9061         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9062         * sysdeps/tile/libm-test-ulps: Likewise.
9063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9064
9065 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
9066
9067         * math/libm-test.inc (print_complex_max_error): Check separately
9068         whether real and imaginary errors are within allowed range and
9069         pass 0 to print_complex_function_ulps instead of value within
9070         allowed range.
9071
9072 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9073
9074         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9075         formatting.
9076         (get_handles_fopen): Likewise.
9077         (do_write_test): Likewise.
9078
9079         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9080
9081         * libio/fileops.c (do_ftell): Use cached offset when
9082         available.
9083         * libio/iofwide.c (do_ftell_wide): Likewise.
9084         * libio/iofdopen.c (_IO_new_fdopen): Don't use
9085         _IO_file_attach.
9086         * libio/wfileops.c (_IO_fwide): Don't cache offset.
9087
9088         [BZ #16532]
9089         * libio/libioP.h (get_file_offset): New function.
9090         * libio/fileops.c (get_file_offset): Likewise.
9091         (do_ftell): Likewise.
9092         (_IO_new_file_seekoff): Split out ftell logic.
9093         * libio/wfileops.c (do_ftell_wide): Likewise.
9094         (_IO_wfile_seekoff): Split out ftell logic.
9095         * libio/tst-ftell-active-handler.c: New test case.
9096         * libio/Makefile (tests): Add it.
9097
9098 2014-03-03  Roland McGrath  <roland@hack.frob.com>
9099
9100         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9101         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9102
9103 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9104
9105         [BZ #16639]
9106         * nscd/connections.c (nscd_init): Call do_exit.
9107         (start_threads): Call do_exit and notify_parent.
9108         (begin_drop_privileges): Call do_exit.
9109         (finish_drop_privileges): Likewise.
9110         * nscd/selinux.c (preserve_capabilities): Likewise.
9111         (install_real_capabilities): Likewise.
9112         (nscd_selinux_enabled): Likewise.
9113         (avc_create_thread): Likewise.
9114         (avc_alloc_lock): Likewise.
9115         (nscd_avc_init): Likewise.
9116         * nscd/nscd.c (parent_fd): New static variable.
9117         (main): Create a pipe between parent and child processes.
9118         Skip closing parent_fd.
9119         (monitor_child): New function.
9120         (do_exit): Likewise.
9121         (notify_parent): Likewise.
9122         * nscd/nscd.h (notify_parent): Likewise.
9123         (do_exit): Likewise.
9124
9125 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
9126
9127         * malloc/malloc.c (__libc_calloc): Revert last change.
9128
9129 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9130
9131         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9132
9133 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9134
9135         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9136         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9137         implementation.
9138         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9139         (__libc_ifunc_impl_list): Likewise.
9140         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9141         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9142         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9143         * string/strrchr.c: Define STRRCHR.
9144
9145 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
9146
9147         * benchtest/bench-strtok.c (simple_strtok): Delete.
9148         (strtok_string): Use as benchmark.
9149         * string/strtok (STRTOK): New macro.
9150
9151 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
9152
9153         * manual/threads.texi: Add header and standard comments to all
9154         functions.
9155
9156         * elf/dl-lookup.c (check_match): New function.
9157         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9158         (do_lookup_x): Remove nested function check_match. Use non-nested
9159         function check_match.
9160
9161 2014-02-28  Roland McGrath  <roland@hack.frob.com>
9162
9163         * csu/Makefile (generated, before-compile): Use += rather than =.
9164         * catgets/Makefile (generated, generated-dirs): Likewise.
9165         * debug/Makefile (generated): Likewise.
9166         * dlfcn/Makefile (generated): Likewise.
9167         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9168         * iconvdata/Makefile (before-compile, generated): Likewise.
9169         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9170         * libio/Makefile (generated): Likewise.
9171         * malloc/Makefile (generated): Likewise.
9172         * manual/Makefile (generated, generated-dirs): Likewise.
9173         * misc/Makefile (generated): Likewise.
9174         * posix/Makefile (generated): Likewise.
9175         * resolv/Makefile (generated): Likewise.
9176         * sunrpc/Makefile (generated, generated-dirs): Likewise.
9177         * timezone/Makefile (generated, generated-dirs): Likewise.
9178
9179         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9180
9181 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9182
9183         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9184         power8 implementation.
9185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9186         file: POWER8 llround ifunc implementation.
9187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9188         (__lllround): Add POWER8 implementation.
9189         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9190         POWER8 llround implementation.
9191
9192         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9193         power8 implementation.
9194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9195         file: POWER8 llrint ifunc implementation.
9196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9197         Add POWER8 implementation.
9198         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9199         POWER8 llrint implementation.
9200
9201         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9202         power8 implementation.
9203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9204         file: POWER8 finite ifunc implementation.
9205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9206         Add POWER8 implementation.
9207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9208         Likewise.
9209         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9210         POWER8 finite implementation.
9211         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9212
9213         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9214         power8 implementation.
9215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9216         file: POWER8 isinf ifunc implementation.
9217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9218         POWER8 implementation.
9219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9220         Likewise.
9221         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9222         isinf implementation.
9223         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9224
9225         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9226         (INIT_ARCH): Add hwcap2 initialization.
9227         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9228         power8 implementation.
9229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9230         file: POWER8 isnan ifunc implementation.
9231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9232         POWER8 implementation.
9233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9234         Likewise.
9235         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9236         isnan implementation.
9237         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9238
9239 2014-02-27  Joey Ye  <joey.ye@arm.com>
9240
9241         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9242         (_FP_NANFRAC_Q): Set to zero.
9243
9244 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9245
9246         [BZ #16623]
9247         * math/auto-libm-test-in: New test inputs.
9248         * math/auto-libm-test-out: Regenerate.
9249         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9250         and DA.
9251         (__cos): Likewise.
9252         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9253
9254 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
9255
9256         * scripts/evaluate-test.sh: Take new argument indicating whether
9257         failure is expected.
9258         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9259         indicating whether failure is expected.
9260         * conform/Makefile (test-xfail-run-conformtest): New variable.
9261         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9262         level.
9263         * posix/Makefile (test-xfail-annexc): New variable.
9264         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9265
9266 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
9267
9268         * argp/Makefile: Include Makeconfig immediately after defining
9269         subdir.
9270         * assert/Makefile: Likewise.
9271         * benchtests/Makefile: Likewise.
9272         * catgets/Makefile: Likewise.
9273         * conform/Makefile: Likewise.
9274         * crypt/Makefile: Likewise.
9275         * csu/Makefile: Likewise.
9276         (all): Remove target.
9277         * ctype/Makefile: Include Makeconfig immediately after defining
9278         subdir.
9279         * debug/Makefile: Likewise.
9280         * dirent/Makefile: Likewise.
9281         * dlfcn/Makefile: Likewise.
9282         * gmon/Makefile: Likewise.
9283         * gnulib/Makefile: Likewise.
9284         * grp/Makefile: Likewise.
9285         * gshadow/Makefile: Likewise.
9286         * hesiod/Makefile: Likewise.
9287         * hurd/Makefile: Likewise.
9288         (all): Remove target.
9289         * iconvdata/Makefile: Include Makeconfig immediately after
9290         defining subdir.
9291         * inet/Makefile: Likewise.
9292         * intl/Makefile: Likewise.
9293         * io/Makefile: Likewise.
9294         * libio/Makefile: Likewise.
9295         (all): Remove target.
9296         * locale/Makefile: Include Makeconfig immediately after defining
9297         subdir.
9298         * login/Makefile: Likewise.
9299         * mach/Makefile: Likewise.
9300         (all): Remove target.
9301         * malloc/Makefile: Include Makeconfig immediately after defining
9302         subdir.
9303         (all): Remove target.
9304         * manual/Makefile: Include Makeconfig immediately after defining
9305         subdir.
9306         * math/Makefile: Likewise.
9307         * misc/Makefile: Likewise.
9308         * nis/Makefile: Likewise.
9309         * nss/Makefile: Likewise.
9310         * po/Makefile: Likewise.
9311         (all): Remove target.
9312         * posix/Makefile: Include Makeconfig immediately after defining
9313         subdir.
9314         * pwd/Makefile: Likewise.
9315         * resolv/Makefile: Likewise.
9316         * resource/Makefile: Likewise.
9317         * rt/Makefile: Likewise.
9318         * setjmp/Makefile: Likewise.
9319         * shadow/Makefile: Likewise.
9320         * signal/Makefile: Likewise.
9321         * socket/Makefile: Likewise.
9322         * soft-fp/Makefile: Likewise.
9323         * stdio-common/Makefile: Likewise.
9324         * stdlib/Makefile: Likewise.
9325         * streams/Makefile: Likewise.
9326         * string/Makefile: Likewise.
9327         * sunrpc/Makefile: Likewise.
9328         (all): Remove target.
9329         * sysvipc/Makefile: Include Makeconfig immediately after defining
9330         subdir.
9331         * termios/Makefile: Likewise.
9332         * time/Makefile: Likewise.
9333         * timezone/Makefile: Likewise.
9334         (all): Remove target.
9335         * wcsmbs/Makefile: Include Makeconfig immediately after defining
9336         subdir.
9337         * wctype/Makefile: Likewise.
9338
9339 2014-02-26  Steve Ellcey  <sellcey@mips.com>
9340
9341         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9342         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9343         (libc_feholdexcept_setround_mips): Ditto.
9344         (libc_feholdsetround): New.
9345         (libc_feholdsetroundf): New.
9346         (libc_feholdsetroundl): New.
9347         (libc_feupdateenv_test_mips): New.
9348         (libc_feupdateenv_test): New.
9349         (libc_feupdateenv_testf): New.
9350         (libc_feupdateenv_testl): New.
9351         (libc_feresetround): New.
9352         (libc_feresetroundf): New.
9353         (libc_feresetroundl): New.
9354         (libc_fetestexcept_mips): New.
9355         (libc_fetestexcept): New.
9356         (libc_fetestexceptf): New.
9357         (libc_fetestexceptl): New.
9358         (HAVE_RM_CTX): New.
9359         (libc_feholdexcept_setround_mips_ctx): New.
9360         (libc_feholdexcept_setround_ctx): New.
9361         (libc_feholdexcept_setroundf_ctx): New.
9362         (libc_feholdexcept_setroundl_ctx): New.
9363         (libc_fesetenv_mips_ctx): New.
9364         (libc_fesetenv_ctx): New.
9365         (libc_fesetenv_ctxf): New.
9366         (libc_fesetenv_ctxl): New.
9367         (libc_feupdateenv_mips_ctx): New.
9368         (libc_feupdateenv_ctx): New.
9369         (libc_feupdateenvf_ctx): New.
9370         (libc_feupdateenvl_ctx): New.
9371         (libc_feholdsetround_mips_ctx): New.
9372         (libc_feholdsetround_ctx): New.
9373         (libc_feholdsetroundf_ctx): New.
9374         (libc_feholdsetroundl_ctx): New.
9375         (libc_feresetround_mips_ctx): New.
9376         (libc_feresetround_ctx): New.
9377         (libc_feresetroundf_ctx): New.
9378         (libc_feresetroundl_ctx): New.
9379
9380 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
9381
9382         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9383
9384         * manual/ipc.texi: New file.
9385         * manual/Makefile (chapters): Add ipc.
9386         * manual/job.texi: Add "Inter-Process Communication" to next.
9387         * manual/process.texi: Add "Inter-Process Communication" to prev.
9388
9389 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9390
9391         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9392
9393 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
9394
9395         * malloc/malloc.c (__libc_calloc): Simplify implementation.
9396
9397         * manual/arith.texi: Fix spaces after sentences.
9398         * manual/charset.texi: Likewise.
9399         * manual/errno.texi: Likewise.
9400         * manual/install.texi: Likewise.
9401         * manual/llio.texi: Likewise.
9402         * manual/locale.texi: Likewise.
9403         * manual/maint.texi: Likewise.
9404         * manual/math.texi: Likewise.
9405         * manual/memory.texi: Likewise.
9406         * manual/message.texi: Likewise.
9407         * manual/probes.texi: Likewise.
9408         * manual/resource.texi: Likewise.
9409         * manual/signal.texi: Likewise.
9410         * manual/socket.texi: Likewise.
9411         * manual/stdio.texi: Likewise.
9412         * manual/string.texi: Likewise.
9413         * manual/time.texi: Likewise.
9414         * manual/users.texi: Likewise.
9415
9416 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
9417
9418         [BZ #16632]
9419         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9420         _DEFAULT_SOURCE is defined.
9421
9422 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
9423             Carlos O'Donell  <carlos@redhat.com>
9424
9425         [BZ #16613]
9426         * elf/dl-tls.c (_dl_count_modids): New function.
9427         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9428         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9429         audit library and increment generation counter.
9430         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9431         * elf/tst-audit9.c: New file.
9432         * elf/tst-auditmod9a.c: New file.
9433         * elf/tst-auditmod9b.c: New file.
9434         * elf/Makefile: Add rules to build and run tst-audit9.
9435
9436 2014-02-25  Florian Weimer  <fweimer@redhat.com>
9437
9438         [BZ #15347]
9439         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9440
9441 2014-02-25  Will Newton  <will.newton@linaro.org>
9442
9443         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9444         (__longjmp): Restore sp and lr before restoring callee
9445         saved registers.  Add longjmp and longjmp_target
9446         SystemTap probe point.
9447         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9448         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9449         Define to zero to match jmpbuf layout.
9450         * sysdeps/arm/setjmp.S: Include stap-probe.h.
9451         (__sigsetjmp): Save sp and lr before saving callee
9452         saved registers.  Add setjmp SystemTap probe point.
9453
9454 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
9455
9456         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9457
9458 2014-02-24  Andreas Schwab  <schwab@suse.de>
9459
9460         [BZ #15804]
9461         * elf/pldd.c (wait_for_ptrace_stop): New function.
9462         (main): Call it after attaching.
9463
9464 2014-02-22  Roland McGrath  <roland@hack.frob.com>
9465
9466         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9467         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9468         Versions files is now verboten.
9469         * hurd/Versions (libc: GLIBC_2.0):
9470         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9471         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9472         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9473         * mach/Versions: Likewise.
9474
9475         * csu/Versions: Remove unused %include.
9476         * resolv/Versions: Likewise.
9477
9478 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
9479
9480         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9481         ($(objpfx)check-local-headers.out): Likewise.
9482         ($(objpfx)begin-end-check.out): Likewise.
9483         * Makerules (check-abi-%.out): Likewise.
9484         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9485         ($(objpfx)test2.cat): Likewise.
9486         ($(objpfx)de/libc.cat): Likewise.
9487         ($(objpfx)test-gencat.out): Likewise.
9488         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9489         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9490         ($(objpfx)noload-mem): Likewise.
9491         ($(objpfx)tst-pathopt.out): Likewise.
9492         ($(objpfx)tst-rtld-load-self.out): Likewise.
9493         ($(objpfx)tst-array1-cmp.out): Likewise.
9494         ($(objpfx)tst-array1-static-cmp.out): Likewise.
9495         ($(objpfx)tst-array2-cmp.out): Likewise.
9496         ($(objpfx)tst-array3-cmp.out): Likewise.
9497         ($(objpfx)tst-array4-cmp.out): Likewise.
9498         ($(objpfx)tst-array5-cmp.out): Likewise.
9499         ($(objpfx)tst-array5-static-cmp.out): Likewise.
9500         ($(objpfx)check-textrel.out): Likewise.
9501         ($(objpfx)check-execstack.out): Likewise.
9502         ($(objpfx)check-localplt.out): Likewise.
9503         ($(objpfx)order2-cmp.out): Likewise.
9504         ($(objpfx)tst-leaks1-mem): Likewise.
9505         ($(objpfx)tst-leaks1-static-mem): Likewise.
9506         ($(objpfx)tst-initorder-cmp.out): Likewise.
9507         ($(objpfx)tst-initorder2-cmp.out): Likewise.
9508         ($(objpfx)tst-unused-dep.out): Likewise.
9509         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9510         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9511         * iconv/Makefile (test-iconvconfig): Likewise.
9512         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9513         ($(objpfx)iconv-test.out): Likewise.
9514         ($(objpfx)tst-tables.out): Likewise.
9515         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9516         ($(objpfx)tst-gettext.out): Likewise.
9517         ($(objpfx)tst-translit.out): Likewise.
9518         ($(objpfx)tst-gettext2.out): Likewise.
9519         ($(objpfx)tst-gettext4.out): Likewise.
9520         ($(objpfx)tst-gettext6.out): Likewise.
9521         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9522         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9523         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9524         ($(objpfx)tst-fopenloc-mem.out): Likewise.
9525         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9526         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9527         * posix/Makefile ($(objpfx)globtest.out): Likewise.
9528         ($(objpfx)wordexp-tst.out): Likewise.
9529         ($(objpfx)annexc.out): Likewise.
9530         ($(objpfx)tst-fnmatch-mem): Likewise.
9531         ($(objpfx)bug-regex2-mem): Likewise.
9532         ($(objpfx)bug-regex14-mem): Likewise.
9533         ($(objpfx)bug-regex21-mem): Likewise.
9534         ($(objpfx)bug-regex31-mem): Likewise.
9535         ($(objpfx)tst-vfork3-mem): Likewise.
9536         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9537         ($(objpfx)tst-pcre-mem): Likewise.
9538         ($(objpfx)tst-boost-mem): Likewise.
9539         ($(objpfx)tst-getconf.out): Likewise.
9540         ($(objpfx)bug-ga2-mem): Likewise.
9541         ($(objpfx)bug-glob2-mem): Likewise.
9542         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9543         ($(objpfx)mtrace-tst-leaks2): Likewise.
9544         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9545         ($(objpfx)tst-printf.out): Likewise.
9546         ($(objpfx)tst-setvbuf1.out): Likewise.
9547         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9548         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9549         ($(objpfx)tst-fmtmsg.out): Likewise.
9550         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9551         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9552
9553         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9554         * bits/sigaction.h [__USE_MISC]: Likewise.
9555         * bits/waitstatus.h: Update #endif comments.
9556         * ctype/ctype.h: Likewise.
9557         * dirent/dirent.h: Likewise.
9558         [__USE_MISC]: Remove redundant conditionals.
9559         * grp/grp.h: Update #endif comments.
9560         [__USE_GNU]: Remove redundant conditionals.
9561         [__USE_MISC]: Likewise.
9562         * inet/netinet/in.h [__USE_GNU]: Likewise.
9563         * io/sys/stat.h [__USE_MISC]: Likewise.
9564         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9565         * libio/bits/stdio.h: Update #endif comments.
9566         [__USE_MISC]: Remove redundant conditionals.
9567         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9568         * libio/stdio.h: Update #endif comments.
9569         [__USE_MISC]: Remove redundant conditionals.
9570         * math/bits/math-finite.h [__USE_MISC]: Likewise.
9571         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9572         * math/math.h: Update #else and #endif comments.
9573         [__USE_MISC]: Remove redundant conditionals.
9574         * misc/sys/uio.h: Update #endif comments.
9575         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9576         * posix/glob.h [__USE_MISC]: Likewise.
9577         * posix/sys/types.h: Update #endif comments.
9578         [__USE_MISC]: Remove redundant conditionals.
9579         * posix/sys/wait.h: Update #endif comments.
9580         [__USE_MISC]: Remove redundant conditionals.
9581         * posix/unistd.h: Update #endif comments.
9582         [__USE_MISC]: Remove redundant conditionals.
9583         * pwd/pwd.h [__USE_GNU]: Likewise.
9584         [__USE_MISC]: Likewise.
9585         * resolv/netdb.h [__USE_GNU]: Likewise.
9586         * signal/signal.h: Update #endif comments.
9587         [__USE_MISC]: Remove redundant conditionals.
9588         * stdlib/stdlib.h: Update #else and #endif comments.
9589         [__USE_MISC]: Remove redundant conditionals.
9590         [__USE_GNU]: Likewise.
9591         * string/bits/string2.h [__USE_MISC]: Likewise.
9592         * string/string.h: Update #endif comments.
9593         [__USE_MISC]: Remove redundant conditionals.
9594         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9595         Likewise.
9596         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9597         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9598         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9599         Likewise.
9600         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9601         Likewise.
9602         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9603         comments.
9604         [__USE_MISC]: Remove redundant conditionals.
9605         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9606         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9607         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9608         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9609         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9610         Likewise.
9611         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9612         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9613         Likewise.
9614         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9615         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9616         Likewise.
9617         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9618         Likewise.
9619         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9620         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9621         Likewise.
9622         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9623         Likewise.
9624         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9625         * sysdeps/x86/bits/string.h: Update #endif comments.
9626         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9627         conditionals.
9628         * time/sys/time.h: Update #endif comments.
9629         * time/time.h: Likewise.
9630         [__USE_MISC]: Remove redundant conditionals.
9631
9632 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
9633
9634         [BZ #16600]
9635         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9636
9637 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
9638
9639         * Versions.def (librt): Add GLIBC_2.17.
9640
9641 2014-02-21  Adam Conrad  <adconrad@0c3.net>
9642
9643         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9644         synonym for _SYS_AUXV_H to allow direct inclusion.
9645         * sysdeps/sparc/bits/hwcap.h: Likewise.
9646         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9647         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9648         * sysdeps/sparc/sysdep.h: Likewise.
9649
9650 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9651
9652         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9653
9654 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9655
9656         * benchtests/bench-strrchr.c: Print length instead of position.
9657
9658 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
9659
9660         [BZ #16611]
9661         * sysdeps/unix/sysv/linux/kernel-features.h
9662         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9663         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9664         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9665         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9666         Likewise.
9667         [__i386__ || __powerpc__ || __sh__ || __sparc__]
9668         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9669         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9670         (__ASSUME_SENDMMSG): Define instead of using previous
9671         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9672         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9673         (__ASSUME_SENDMMSG_SYSCALL): Define.
9674         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9675         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9676         Likewise.
9677         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9678         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9679         Likewise.
9680         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9681         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9682         Likewise.
9683         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9684         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9685         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9686         [__ASSUME_SENDMMSG]: Change conditionals to
9687         [__ASSUME_SENDMMSG_SOCKETCALL].
9688         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9689         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9690         Define.
9691         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9692         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9693         Likewise.
9694         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9695         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9696         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9697         [!__ASSUME_SENDMMSG]: Change conditional to
9698         [!__ASSUME_SENDMMSG_SOCKETCALL].
9699         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9700         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9701         Define.
9702
9703         [BZ #16610]
9704         * sysdeps/unix/sysv/linux/kernel-features.h
9705         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9706         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9707         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9708         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9709         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9710         [__i386__ || __sparc__]
9711         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9712         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9713         (__ASSUME_RECVMMSG): Define instead of using previous
9714         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9715         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9716         (__ASSUME_RECVMMSG_SYSCALL): Define.
9717         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9718         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9719         Likewise.
9720         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9721         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9722         Likewise.
9723         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9724         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9725         Likewise.
9726         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9727         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9728         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9729         [__ASSUME_RECVMMSG]: Change condition to
9730         [__ASSUME_RECVMMSG_SOCKETCALL].
9731         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9732         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9733         Define.
9734         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9735         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9736         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9737         Likewise.
9738         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9739         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9740         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9741         [!__ASSUME_RECVMMSG]: Change condition to
9742         [!__ASSUME_RECVMMSG_SOCKETCALL].
9743         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9744         (__ASSUME_RECVMMSG_SYSCALL): Define.
9745
9746         [BZ #16609]
9747         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9748         __powerpc__ || __s390__ || __sh__ || __sparc__]
9749         (__ASSUME_SOCKETCALL): Define.
9750         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9751         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9752         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9753         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9754         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9755         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9756         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9757         (__ASSUME_ACCEPT4): Define instead of using previous
9758         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9759         __powerpc__ || __sparc__ || __s390__)] condition.
9760         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9761         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9762         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9763         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9764         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9765         [!__ASSUME_ACCEPT4]: Change condition to
9766         [!__ASSUME_ACCEPT4_SOCKETCALL].
9767         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9768         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
9769         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9770         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9771         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9772         __ASSUME_ACCEPT4_SYSCALL.
9773         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9774         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9775         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9776         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9777         __ASSUME_ACCEPT4_SYSCALL.
9778         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9779         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9780         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9781         [__ASSUME_ACCEPT4]: Change condition to
9782         [__ASSUME_ACCEPT4_SOCKETCALL].
9783         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9784         (__ASSUME_SOCKETCALL): Define.
9785         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9786         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9787         (__ASSUME_SOCKETCALL): Define.
9788         (__ASSUME_ACCEPT4): Remove.
9789         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9790         Define.
9791         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9792         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9793         Likewise.
9794         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9795         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9796
9797         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9798         macro.
9799         (HWCAP_ARM_LPAE): Likewise.
9800         (HWCAP_ARM_EVTSTRM): Likewise.
9801         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9802         Add vpfd32, lpae and evtstrm.
9803         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9804         Increase to 22.
9805
9806 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
9807
9808         * math/auto-libm-test-in: Add tests of clog10.
9809         * math/auto-libm-test-out: Regenerated.
9810         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9811         * sysdeps/i386/fpu/libm-test-ulps: Update.
9812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9813
9814 2014-02-18  Andreas Schwab  <schwab@suse.de>
9815
9816         [BZ #16574]
9817         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9818         Store non-zero if the second buffer was newly allocated.
9819         (send_dg): Likewise.
9820         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9821         to send_vc and send_dg.
9822         (res_nsend): Pass NULL for ansp2_malloced.
9823         * resolv/res_query.c (__libc_res_nquery): Add parameter
9824         answerp2_malloced and pass it down to __libc_res_nsend.
9825         (res_nquery): Pass additional NULL to __libc_res_nquery.
9826         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9827         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
9828         second answer buffer if answerp2_malloced was set.
9829         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9830         (__libc_res_nquerydomain): Add parameter
9831         answerp2_malloced and pass it down to __libc_res_nquery.
9832         (res_nquerydomain): Pass additional NULL to
9833         __libc_res_nquerydomain.
9834         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9835         additional NULL to __libc_res_nsend and __libc_res_nquery.
9836         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9837         additional NULL to __libc_res_nsearch.
9838         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
9839         parameter of __libc_res_nsearch to check for separately allocated
9840         second buffer.
9841         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9842         __libc_res_nquery.
9843         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9844         additional NULL to __libc_res_nquery.
9845         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9846         __libc_res_nsearch.
9847         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9848         * include/resolv.h: Update prototypes of __libc_res_nquery,
9849         __libc_res_nsearch, __libc_res_nsend.
9850
9851 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
9852
9853         * math/auto-libm-test-in: Add tests of fma.
9854         * math/auto-libm-test-out: Regenerated.
9855         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9856         (fma_towardzero_test_data): Likewise.
9857         (fma_downward_test_data): Likewise.
9858         (fma_upward_test_data): Likewise.
9859         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9860         mpc_mode.
9861         (rounding_modes): Add values for new field.
9862         (func_calc_method): Add value mpfr_fff_f.
9863         (func_calc_desc): Add mpfr_fff_f union field.
9864         (test_function): Add field exact_args.
9865         (FUNC): Add macro argument EXACT_ARGS.
9866         (FUNC_mpfr_f_f): Update call to FUNC.
9867         (FUNC_mpfr_f_f): Likewise.
9868         (FUNC_mpfr_ff_f): Likewise.
9869         (FUNC_mpfr_if_f): Likewise.
9870         (FUNC_mpc_c_f): Likewise.
9871         (FUNC_mpc_c_c): Likewise.
9872         (test_functions): Add fma.  Update calls to FUNC.
9873         (handle_input_arg): Add argument exact_args.
9874         (add_test): Update call to handle_input_arg.
9875         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
9876         (output_for_one_input_case): Update call to calc_generic_results.
9877         Recalculate exact zero results in each rounding mode.
9878
9879         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9880         non-negative before setting low bit.
9881         * math/auto-libm-test-in: Mark one asin test possibly having
9882         spurious underflow.
9883         * math/auto-libm-test-out: Regenerated.
9884         * sysdeps/i386/fpu/libm-test-ulps: Update.
9885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9886
9887 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
9888
9889         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9890         * sysdeps/unix/sysv/linux/microblaze: Move directory from
9891         ports/sysdeps/unix/sysv/linux/microblaze.
9892         * README: Add missing listing for microblaze*-*-linux-gnu.
9893
9894 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
9895
9896         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
9897         duplicate code
9898
9899 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
9900
9901         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9902         * sysdeps/unix/sysv/linux/ia64: Move directory from
9903         ports/sysdeps/unix/sysv/linux/ia64.
9904         * README: Update listing for ia64-*-linux-gnu.
9905
9906 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
9907             Joseph Myers  <joseph@codesourcery.com>
9908
9909         * Makeconfig (test-name): New variable.
9910         (evaluate-test): Likewise.
9911         * Makerules (do-test-clean): Remove .test-result files.
9912         (common-mostlyclean): Likewise.
9913         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9914         * scripts/evaluate-test.sh: New file.
9915
9916 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
9917
9918         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9919         separate $(objpfx)tst-fopenloc-cmp.out and
9920         $(objpfx)tst-fopenloc-mem.out targets.
9921         (tests): Update dependencies.
9922         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9923         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9924         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9925         (tst-rxspencer-no-utf8-ARGS): New variable.
9926         (tst-rxspencer-no-utf8-ENV): Likewise.
9927         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9928         instead of $(objpfx)tst-rxspencer-mem.
9929         ($(objpfx)tst-rxspencer-mem): Change target to
9930         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
9931         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9932         * posix/tst-rxspencer-no-utf8.c: New file.
9933
9934         * elf/Makefile ($(objpfx)order.out): Remove rule.
9935         [$(run-built-tests) = yes] (tests): Depend on
9936         $(objpfx)order-cmp.out.
9937         ($(objpfx)order-cmp.out): New rule.
9938         [$(run-built-tests) = yes] (tests): Depend on
9939         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9940         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9941         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9942         $(objpfx)tst-array5-static-cmp.out.
9943         ($(objpfx)tst-array1.out): Remove rule.
9944         ($(objpfx)tst-array1-cmp.out): New rule.
9945         ($(objpfx)tst-array1-static.out): Remove rule.
9946         ($(objpfx)tst-array1-static-cmp.out): New rule.
9947         ($(objpfx)tst-array2.out): Remove rule.
9948         ($(objpfx)tst-array2-cmp.out): New rule.
9949         ($(objpfx)tst-array3.out): Remove rule.
9950         ($(objpfx)tst-array3-cmp.out): New rule.
9951         ($(objpfx)tst-array4.out): Remove rule.
9952         ($(objpfx)tst-array4-cmp.out): New rule.
9953         ($(objpfx)tst-array5.out): Remove rule.
9954         ($(objpfx)tst-array5-cmp.out): New rule.
9955         ($(objpfx)tst-array5-static.out): Remove rule.
9956         ($(objpfx)tst-array5-static-cmp.out): New rule.
9957         [$(run-built-tests) = yes] (tests): Depend on
9958         $(objpfx)order2-cmp.out.
9959         ($(objpfx)order2.out): Remove rule.
9960         ($(objpfx)order2-cmp.out): New rule.
9961         ($(objpfx)tst-initorder.out): Remove rule.
9962         [$(run-built-tests) = yes] (tests): Depend on
9963         $(objpfx)tst-initorder-cmp.out.
9964         ($(objpfx)tst-initorder-cmp.out): New rule.
9965         ($(objpfx)tst-initorder2.out): Remove rule.
9966         [$(run-built-tests) = yes] (tests): Depend on
9967         $(objpfx)tst-initorder2-cmp.out.
9968         ($(objpfx)tst-initorder2-cmp.out): New rule.
9969         [$(run-built-tests) = yes] (tests): Depend on
9970         $(objpfx)tst-unused-dep-cmp.out.
9971         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9972         ($(objpfx)tst-unused-dep-cmp.out): New rule.
9973         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9974         on $(objpfx)tst-setvbuf1-cmp.out.
9975         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9976         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9977         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9978         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9979         ($(objpfx)tst-svc.out): Remove rule.
9980         ($(objpfx)tst-svc-cmp.out): New rule.
9981
9982 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
9983
9984         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9985         * ctype/ctype.h [__USE_MISC]: Likewise.
9986         * dirent/dirent.h [__USE_MISC]: Likewise.
9987         * grp/grp.h [__USE_MISC]: Likewise.
9988         * io/fcntl.h [__USE_MISC]: Likewise.
9989         * io/sys/stat.h [__USE_MISC]: Likewise.
9990         * libio/stdio.h [__USE_MISC]: Likewise.
9991         * posix/unistd.h [__USE_MISC]: Likewise.
9992         * pwd/pwd.h [__USE_MISC]: Likewise.
9993         * stdlib.h [__USE_MISC]: Likewise.
9994         * string/bits/string2.h [__USE_MISC]: Likewise.
9995         * string/string.h [__USE_MISC]: Likewise.
9996         * time/time.h [__USE_MISC]: Likewise.
9997
9998 2014-02-13  Andreas Schwab  <schwab@suse.de>
9999
10000         [BZ #16574]
10001         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10002         second answer buffer if it was separately allocated.
10003
10004 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
10005
10006         * sysdeps/mips/math-tests.h: Include <features.h>.
10007         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10008         (ROUNDING_TESTS_long_double): Do not define.
10009         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10010         (EXCEPTION_TESTS_long_double): Likewise.
10011         * sysdeps/mips/mips64/libm-test-ulps: Update.
10012
10013         * include/features.h (__USE_BSD): Remove macro definitions.
10014         (__USE_SVID): Likewise.
10015         (_BSD_SOURCE): Likewise.
10016         (_SVID_SOURCE): Likewise.
10017         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10018         from definition of _DEFAULT_SOURCE.
10019         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10020         [_DEFAULT_SOURCE].
10021         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10022         * bits/mman.h [__USE_BSD]: Likewise.
10023         * bits/termios.h [__USE_BSD]: Likewise.
10024         * bits/waitstatus.h [__USE_BSD]: Likewise.
10025         * ctype/ctype.h [__USE_SVID]: Likewise.
10026         * dirent/dirent.h [__USE_BSD]: Likewise.
10027         * grp/grp.h [__USE_SVID]: Likewise.
10028         [__USE_BSD]: Likewise.
10029         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10030         * io/fcntl.h [__USE_BSD]: Likewise.
10031         * io/ftw.h [__USE_BSD]: Likewise.
10032         * io/sys/stat.h [__USE_BSD]: Likewise.
10033         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10034         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10035         * libio/stdio.h [__USE_SVID]: Likewise.
10036         [__USE_BSD]: Likewise.
10037         * math/math.h [__USE_SVID]: Likewise.
10038         [__USE_BSD]: Likewise.
10039         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10040         * misc/bits/syslog.h [__USE_BSD]: Likewise.
10041         * misc/search.h [__USE_SVID]: Likewise.
10042         * misc/sys/mman.h [__USE_BSD]: Likewise.
10043         * misc/sys/syslog.h [__USE_BSD]: Likewise.
10044         * misc/sys/uio.h [__USE_BSD]: Likewise.
10045         * posix/bits/unistd.h [__USE_BSD]: Likewise.
10046         * posix/glob.h [__USE_BSD]: Likewise.
10047         * posix/regex.h [__USE_BSD]: Likewise.
10048         * posix/sys/types.h [__USE_BSD]: Likewise.
10049         [__USE_SVID]: Likewise.
10050         * posix/sys/utsname.h [__USE_SVID]: Likewise.
10051         * posix/sys/wait.h [__USE_BSD]: Likewise.
10052         [__USE_SVID]: Likewise.
10053         * posix/unistd.h [__USE_BSD]: Likewise.
10054         [__USE_SVID]: Likewise.
10055         * pwd/pwd.h [__USE_SVID]: Likewise.
10056         * resolv/netdb.h [__USE_BSD]: Likewise.
10057         * setjmp/setjmp.h [__USE_BSD]: Likewise.
10058         * signal/signal.h [__USE_BSD]: Likewise.
10059         [__USE_SVID]: Likewise.
10060         * socket/sys/socket.h [__USE_BSD]: Likewise.
10061         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10062         * stdlib/stdlib.h [__USE_BSD]: Likewise.
10063         [__USE_SVID]: Likewise.
10064         * string/bits/string2.h [__USE_BSD]: Likewise.
10065         [__USE_SVID]: Likewise.
10066         * string/bits/string3.h [__USE_BSD]: Likewise.
10067         * string/endian.h [__USE_BSD]: Likewise.
10068         * string/string.h [__USE_SVID]: Likewise.
10069         [__USE_BSD]: Likewise.
10070         * string/strings.h [__USE_BSD]: Likewise.
10071         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10072         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10073         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10074         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10075         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10076         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10077         Likewise.
10078         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10079         Likewise.
10080         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10081         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10082         Likewise.
10083         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10084         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10085         Likewise.
10086         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10087         Likewise.
10088         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10089         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10090         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10091         Likewise.
10092         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10093         Likewise.
10094         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10095         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10096         * termios/termios.h [__USE_BSD]: Likewise.
10097         * time/sys/time.h [__USE_BSD]: Likewise.
10098         * time/time.h [__USE_BSD]: Likewise.
10099         [__USE_SVID]: Likewise.
10100
10101         * Makefile (subdir_targets): Remove subdir_lint.out.
10102
10103         * stdio-common/Makefile (do-tst-unbputc): Remove target.
10104         (do-tst-printf): Likewise.
10105         (tests): Depend directly on $(objpfx)tst-unbputc.out and
10106         $(objpfx)tst-printf.out.
10107
10108         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10109
10110         * Makerules (check-abi-%): Change target to
10111         $(objpfx)check-abi-%.out.
10112         (check-abi target): Update dependencies.
10113         (check-abi-pattern variable): Redirect output of diff to $@.
10114         (check-abi variable): Likewise.
10115         * elf/Makefile (check-abi): Update dependencies.
10116
10117         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10118         unused.
10119         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10120         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10121         subnormal range.
10122         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10123         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10124         value has largest subnormal exponent.
10125         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10126         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10127         * sysdeps/aarch64/soft-fp/sfp-machine.h
10128         (_FP_TININESS_AFTER_ROUNDING): New macro.
10129         * sysdeps/alpha/soft-fp/sfp-machine.h
10130         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10131         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10132         Likewise.
10133         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10134         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10135         * sysdeps/mips/soft-fp/sfp-machine.h
10136         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10137         * sysdeps/powerpc/soft-fp/sfp-machine.h
10138         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10139         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10140         Likewise.
10141         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10142         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10143         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10144         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10145         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10146         Likewise.
10147
10148 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
10149
10150         [BZ #16545]
10151         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10152         model 1.
10153
10154 2014-02-12  Richard Henderson  <rth@redhat.com>
10155
10156         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10157         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10158         * sysdeps/unix/sysv/linux/alpha: Move directory from
10159         ports/sysdeps/unix/sysv/linux/alpha.
10160         * README: Update listing for alpha-*-linux-gnu.
10161
10162 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
10163
10164         * include/features.h: Update comment documenting feature test
10165         macros.
10166         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
10167         _DEFAULT_SOURCE.
10168         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10169         (_SVID_SOURCE): Likewise.
10170         (_DEFAULT_SOURCE): Update description of default features.
10171         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10172         with _GNU_SOURCE.
10173         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10174         (S_ISVTX): Likewise.
10175         * manual/math.texi (Mathematical Constants): Likewise.
10176         * manual/signal.texi (Interrupted Primitives): Likewise.
10177         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10178         * math/test-matherr.c (_SVID_SOURCE): Do not define.
10179         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10180         Don't refer to _SVID_SOURCE in warning text.
10181
10182         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10183
10184         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10185         already defined.
10186         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10187         * sysdeps/mips/dl-lookup.c: Remove.
10188         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10189
10190 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10191
10192         [BZ #16447]
10193         * math/auto-libm-test-in: Add testcase for expl.
10194         * math/auto-libm-test-out: Regenerate.
10195         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10196         calculation of unsafe.
10197         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10198
10199 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10200
10201         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10202         * sysdeps/unix/sysv/linux/aarch64: Move directory from
10203         ports/sysdeps/unix/sysv/linux/aarch64.
10204         * README: Update listing for aarch64*-*-linux-gnu.
10205
10206 2014-02-11  Will Newton  <will.newton@linaro.org>
10207
10208         * manual/probes.texi (Mathematical Function Probes): Use
10209         "triggered" instead of "hit".
10210
10211         * manual/probes.texi (Internal Probes): Add documentation
10212         of setjmp, longjmp and longjmp_target probes.
10213
10214         * include/stap-probe.h: Add comment about probe argument
10215         format.
10216
10217         * malloc/mtrace.c (attribute_hidden): Remove unused macro
10218         definition.  (tr_where, tr_freehook, tr_mallochook,
10219         tr_reallochook, tr_memalignhook): Use ANSI protoype.
10220
10221 2014-02-11  David S. Miller  <davem@davemloft.net>
10222
10223         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10224         processing int_tests.
10225
10226 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
10227
10228         * sysdeps/mips: Move directory from ports/sysdeps/mips.
10229         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10230         * sysdeps/unix/sysv/linux/mips: Move directory from
10231         ports/sysdeps/unix/sysv/linux/mips.
10232         * README: Update listing for mips-*-linux-gnu and
10233         mips64-*-linux-gnu.
10234
10235 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
10236
10237         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10238         * sysdeps/unix/sysv/linux/m68k: Move directory from
10239         ports/sysdeps/unix/sysv/linux/m68k.
10240         * README: Update listing for m68k-*-linux-gnu.
10241
10242 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
10243
10244         * sysdeps/tile: Move directory from ports/sysdeps/tile.
10245         * sysdeps/unix/sysv/linux/generic: Move directory from
10246         ports/sysdeps/unix/sysv/linux/generic.
10247         * sysdeps/unix/sysv/linux/tile: Move directory from
10248         ports/sysdeps/unix/sysv/linux/tile.
10249         * README: Update listing for tile*-*-linux-gnu.
10250
10251 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
10252
10253         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10254         __builtin_expect.
10255         * benchtests/bench-memmem.c (simple_memmem): Likewise.
10256         * catgets/open_catalog.c (__open_catalog): Likewise.
10257         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10258         * debug/confstr_chk.c: Likewise.
10259         * debug/fread_chk.c (__fread_chk): Likewise.
10260         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10261         * debug/getgroups_chk.c: Likewise.
10262         * debug/mbsnrtowcs_chk.c: Likewise.
10263         * debug/mbsrtowcs_chk.c: Likewise.
10264         * debug/mbstowcs_chk.c: Likewise.
10265         * debug/memcpy_chk.c: Likewise.
10266         * debug/memmove_chk.c: Likewise.
10267         * debug/mempcpy_chk.c: Likewise.
10268         * debug/memset_chk.c: Likewise.
10269         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10270         * debug/strcat_chk.c (__strcat_chk): Likewise.
10271         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10272         * debug/strncat_chk.c (__strncat_chk): Likewise.
10273         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10274         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10275         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10276         * debug/wcpncpy_chk.c: Likewise.
10277         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10278         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10279         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10280         * debug/wcsncpy_chk.c: Likewise.
10281         * debug/wcsnrtombs_chk.c: Likewise.
10282         * debug/wcsrtombs_chk.c: Likewise.
10283         * debug/wcstombs_chk.c: Likewise.
10284         * debug/wmemcpy_chk.c: Likewise.
10285         * debug/wmemmove_chk.c: Likewise.
10286         * debug/wmempcpy_chk.c: Likewise.
10287         * debug/wmemset_chk.c: Likewise.
10288         * dirent/scandirat.c (SCANDIRAT): Likewise.
10289         * dlfcn/dladdr1.c (dladdr1): Likewise.
10290         * dlfcn/dladdr.c (dladdr): Likewise.
10291         * dlfcn/dlclose.c (dlclose_doit): Likewise.
10292         * dlfcn/dlerror.c (__dlerror): Likewise.
10293         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10294         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10295         * dlfcn/dlopen.c (dlopen_doit): Likewise.
10296         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10297         * dlfcn/dlsym.c (dlsym_doit): Likewise.
10298         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10299         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10300         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10301         Likewise.
10302         * elf/dl-conflict.c: Likewise.
10303         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10304         * elf/dl-dst.h: Likewise.
10305         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10306         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10307         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10308         * elf/dl-init.c (call_init, _dl_init): Likewise.
10309         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10310         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10311         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10312         Likewise.
10313         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10314         Likewise.
10315         * elf/dl-minimal.c (__libc_memalign): Likewise.
10316         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10317         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10318         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10319         * elf/dl-sym.c (do_sym): Likewise.
10320         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10321         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10322         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10323         * elf/dl-writev.h (_dl_writev): Likewise.
10324         * elf/ldconfig.c (search_dir): Likewise.
10325         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10326         (dl_main): Likewise.
10327         * elf/setup-vdso.h (setup_vdso): Likewise.
10328         * grp/compat-initgroups.c (compat_call): Likewise.
10329         * grp/fgetgrent.c (fgetgrent): Likewise.
10330         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10331         * grp/putgrent.c (putgrent): Likewise.
10332         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10333         Likewise.
10334         * hurd/hurdinit.c: Likewise.
10335         * iconvdata/8bit-gap.c (struct): Likewise.
10336         * iconvdata/ansi_x3.110.c : Likewise.
10337         * iconvdata/big5.c : Likewise.
10338         * iconvdata/big5hkscs.c : Likewise.
10339         * iconvdata/cp1255.c: Likewise.
10340         * iconvdata/cp1258.c : Likewise.
10341         * iconvdata/cp932.c : Likewise.
10342         * iconvdata/euc-cn.c: Likewise.
10343         * iconvdata/euc-jisx0213.c : Likewise.
10344         * iconvdata/euc-jp.c: Likewise.
10345         * iconvdata/euc-jp-ms.c : Likewise.
10346         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10347         * iconvdata/gb18030.c : Likewise.
10348         * iconvdata/gbbig5.c (const): Likewise.
10349         * iconvdata/gbgbk.c: Likewise.
10350         * iconvdata/gbk.c : Likewise.
10351         * iconvdata/ibm1364.c : Likewise.
10352         * iconvdata/ibm930.c : Likewise.
10353         * iconvdata/ibm932.c: Likewise.
10354         * iconvdata/ibm933.c : Likewise.
10355         * iconvdata/ibm935.c : Likewise.
10356         * iconvdata/ibm937.c : Likewise.
10357         * iconvdata/ibm939.c : Likewise.
10358         * iconvdata/ibm943.c: Likewise.
10359         * iconvdata/iso_11548-1.c: Likewise.
10360         * iconvdata/iso-2022-cn.c : Likewise.
10361         * iconvdata/iso-2022-cn-ext.c : Likewise.
10362         * iconvdata/iso-2022-jp-3.c: Likewise.
10363         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10364         * iconvdata/iso-2022-kr.c : Likewise.
10365         * iconvdata/iso646.c (gconv_end): Likewise.
10366         * iconvdata/iso_6937-2.c : Likewise.
10367         * iconvdata/iso_6937.c : Likewise.
10368         * iconvdata/iso8859-1.c: Likewise.
10369         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10370         * iconvdata/shift_jisx0213.c : Likewise.
10371         * iconvdata/sjis.c : Likewise.
10372         * iconvdata/t.61.c : Likewise.
10373         * iconvdata/tcvn5712-1.c : Likewise.
10374         * iconvdata/tscii.c: Likewise.
10375         * iconvdata/uhc.c : Likewise.
10376         * iconvdata/unicode.c (gconv_end): Likewise.
10377         * iconvdata/utf-16.c (gconv_end): Likewise.
10378         * iconvdata/utf-32.c (gconv_end): Likewise.
10379         * iconvdata/utf-7.c (base64): Likewise.
10380         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10381         * iconv/gconv_close.c (__gconv_close): Likewise.
10382         * iconv/gconv_open.c (__gconv_open): Likewise.
10383         * iconv/gconv_simple.c (internal_ucs4_loop_single)
10384         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10385         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10386         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10387         (ucs4le_internal_loop_single): Likewise.
10388         * iconv/iconv.c (iconv): Likewise.
10389         * iconv/iconv_close.c: Likewise.
10390         * iconv/loop.c (SINGLE): Likewise.
10391         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10392         * include/atomic.h: Likewise.
10393         * inet/inet6_option.c (option_alloc): Likewise.
10394         * intl/bindtextdom.c (set_binding_values): Likewise.
10395         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10396         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10397         * intl/localealias.c (read_alias_file): Likewise.
10398         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10399         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10400         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10401         * libio/fmemopen.c (fmemopen): Likewise.
10402         * libio/iofgets.c (_IO_fgets): Likewise.
10403         * libio/iofgets_u.c (fgets_unlocked): Likewise.
10404         * libio/iofgetws.c (fgetws): Likewise.
10405         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10406         * libio/iogetdelim.c (_IO_getdelim): Likewise.
10407         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10408         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10409         * locale/findlocale.c (_nl_find_locale): Likewise.
10410         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10411         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10412         Likewise.
10413         * locale/setlocale.c (setlocale): Likewise.
10414         * login/programs/pt_chown.c (main): Likewise.
10415         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10416         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10417         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10418         (mmap, mmap64, mremap, munmap): Likewise.
10419         * math/e_exp2l.c: Likewise.
10420         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10421         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10422         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10423         * math/s_catan.c (__catan): Likewise.
10424         * math/s_catanf.c (__catanf): Likewise.
10425         * math/s_catanh.c (__catanh): Likewise.
10426         * math/s_catanhf.c (__catanhf): Likewise.
10427         * math/s_catanhl.c (__catanhl): Likewise.
10428         * math/s_catanl.c (__catanl): Likewise.
10429         * math/s_ccosh.c (__ccosh): Likewise.
10430         * math/s_ccoshf.c (__ccoshf): Likewise.
10431         * math/s_ccoshl.c (__ccoshl): Likewise.
10432         * math/s_cexp.c (__cexp): Likewise.
10433         * math/s_cexpf.c (__cexpf): Likewise.
10434         * math/s_cexpl.c (__cexpl): Likewise.
10435         * math/s_clog10.c (__clog10): Likewise.
10436         * math/s_clog10f.c (__clog10f): Likewise.
10437         * math/s_clog10l.c (__clog10l): Likewise.
10438         * math/s_clog.c (__clog): Likewise.
10439         * math/s_clogf.c (__clogf): Likewise.
10440         * math/s_clogl.c (__clogl): Likewise.
10441         * math/s_csin.c (__csin): Likewise.
10442         * math/s_csinf.c (__csinf): Likewise.
10443         * math/s_csinh.c (__csinh): Likewise.
10444         * math/s_csinhf.c (__csinhf): Likewise.
10445         * math/s_csinhl.c (__csinhl): Likewise.
10446         * math/s_csinl.c (__csinl): Likewise.
10447         * math/s_csqrt.c (__csqrt): Likewise.
10448         * math/s_csqrtf.c (__csqrtf): Likewise.
10449         * math/s_csqrtl.c (__csqrtl): Likewise.
10450         * math/s_ctan.c (__ctan): Likewise.
10451         * math/s_ctanf.c (__ctanf): Likewise.
10452         * math/s_ctanh.c (__ctanh): Likewise.
10453         * math/s_ctanhf.c (__ctanhf): Likewise.
10454         * math/s_ctanhl.c (__ctanhl): Likewise.
10455         * math/s_ctanl.c (__ctanl): Likewise.
10456         * math/w_pow.c: Likewise.
10457         * math/w_powf.c: Likewise.
10458         * math/w_powl.c: Likewise.
10459         * math/w_scalb.c (sysv_scalb): Likewise.
10460         * math/w_scalbf.c (sysv_scalbf): Likewise.
10461         * math/w_scalbl.c (sysv_scalbl): Likewise.
10462         * misc/error.c (error_tail): Likewise.
10463         * misc/pselect.c (__pselect): Likewise.
10464         * nis/nis_callback.c (__nis_create_callback): Likewise.
10465         * nis/nis_call.c (__nisfind_server): Likewise.
10466         * nis/nis_creategroup.c (nis_creategroup): Likewise.
10467         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10468         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10469         * nis/nis_getservlist.c (nis_getservlist): Likewise.
10470         * nis/nis_lookup.c (nis_lookup): Likewise.
10471         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10472         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10473         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10474         * nis/nis_xdr.c (xdr_endpoint): Likewise.
10475         * nis/nss_compat/compat-grp.c (getgrent_next_file)
10476         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10477         * nis/nss_compat/compat-initgroups.c (add_group)
10478         (internal_getgrent_r): Likewise.
10479         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10480         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10481         * nis/nss_compat/compat-spwd.c (getspent_next_file)
10482         (internal_getspnam_r): Likewise.
10483         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10484         (_nss_nis_getaliasbyname_r): Likewise.
10485         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10486         (_nss_nis_getntohost_r): Likewise.
10487         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10488         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10489         (_nss_nis_getgrgid_r): Likewise.
10490         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10491         (internal_nis_gethostent_r, internal_gethostbyname2_r)
10492         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10493         (_nss_nis_gethostbyname4_r): Likewise.
10494         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10495         (initgroups_netid): Likewise.
10496         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10497         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10498         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10499         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10500         (_nss_nis_getprotobynumber_r): Likewise.
10501         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10502         (_nss_nis_getsecretkey): Likewise.
10503         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10504         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10505         (_nss_nis_getpwuid_r): Likewise.
10506         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10507         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10508         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10509         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10510         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10511         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10512         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10513         Likewise.
10514         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10515         (_nss_nisplus_getntohost_r): Likewise.
10516         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10517         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10518         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10519         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10520         Likewise.
10521         * nis/nss_nisplus/nisplus-initgroups.c
10522         (_nss_nisplus_initgroups_dyn): Likewise.
10523         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10524         (_nss_nisplus_getnetbyaddr_r): Likewise.
10525         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10526         (_nss_nisplus_getprotobynumber_r): Likewise.
10527         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10528         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10529         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10530         Likewise.
10531         * nis/nss_nisplus/nisplus-service.c
10532         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10533         (_nss_nisplus_getservbyport_r): Likewise.
10534         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10535         (_nss_nisplus_getspnam_r): Likewise.
10536         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10537         Likewise.
10538         * nscd/aicache.c (addhstaiX): Likewise.
10539         * nscd/cache.c (cache_search, prune_cache): Likewise.
10540         * nscd/connections.c (register_traced_file, send_ro_fd)
10541         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10542         (main_loop_epoll): Likewise.
10543         * nscd/grpcache.c (addgrbyX): Likewise.
10544         * nscd/hstcache.c (addhstbyX): Likewise.
10545         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10546         * nscd/mem.c (gc, mempool_alloc): Likewise.
10547         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10548         (addinnetgrX): Likewise.
10549         * nscd/nscd-client.h (__nscd_acquire_maplock)
10550         (__nscd_drop_map_ref): Likewise.
10551         * nscd/nscd_getai.c (__nscd_getai): Likewise.
10552         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10553         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10554         Likewise.
10555         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10556         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10557         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10558         (__nscd_get_map_ref): Likewise.
10559         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10560         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10561         Likewise.
10562         * nscd/pwdcache.c (addpwbyX): Likewise.
10563         * nscd/selinux.c (preserve_capabilities): Likewise.
10564         * nscd/servicescache.c (addservbyX): Likewise.
10565         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10566         * posix/fnmatch.c (fnmatch): Likewise.
10567         * posix/getopt.c (_getopt_internal_r): Likewise.
10568         * posix/glob.c (glob, glob_in_dir): Likewise.
10569         * posix/wordexp.c (exec_comm_child): Likewise.
10570         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10571         (getanswer_r, gaih_getanswer_slice): Likewise.
10572         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10573         * resolv/res_init.c: Likewise.
10574         * resolv/res_mkquery.c (res_nmkquery): Likewise.
10575         * resolv/res_query.c (__libc_res_nquery): Likewise.
10576         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10577         Likewise.
10578         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10579         * stdio-common/perror.c (perror): Likewise.
10580         * stdio-common/printf_fp.c (___printf_fp): Likewise.
10581         * stdio-common/tmpnam.c (tmpnam): Likewise.
10582         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10583         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10584         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10585         Likewise.
10586         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10587         * stdlib/putenv.c (putenv): Likewise.
10588         * stdlib/setenv.c (__add_to_environ): Likewise.
10589         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10590         * stdlib/strtol_l.c (INTERNAL): Likewise.
10591         * string/memmem.c (memmem): Likewise.
10592         * string/strerror.c (strerror): Likewise.
10593         * string/strnlen.c (__strnlen): Likewise.
10594         * string/test-memmem.c (simple_memmem): Likewise.
10595         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10596         * sunrpc/pm_getport.c (__get_socket): Likewise.
10597         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10598         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10599         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10600         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10601         Likewise.
10602         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10603         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10604         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10605         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10606         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10607         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10608         Likewise.
10609         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10610         Likewise.
10611         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10612         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10613         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10614         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10615         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10616         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10617         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10618         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10619         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10620         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10621         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10622         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10623         Likewise.
10624         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10625         Likewise.
10626         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10627         Likewise.
10628         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10629         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10630         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10631         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10632         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10633         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10634         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10635         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10636         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10637         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10638         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10639         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10640         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10641         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10642         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10643         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10644         Likewise.
10645         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10646         Likewise.
10647         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10648         Likewise.
10649         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10650         Likewise.
10651         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10652         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10653         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10654         Likewise.
10655         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10656         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10657         * sysdeps/posix/opendir.c (__opendirat): Likewise.
10658         * sysdeps/posix/sleep.c: Likewise.
10659         * sysdeps/posix/tempname.c: Likewise.
10660         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10661         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10662         Likewise.
10663         * sysdeps/powerpc/powerpc32/dl-machine.h
10664         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10665         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10666         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10667         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10668         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10669         Likewise.
10670         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10671         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10672         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10673         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10674         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10675         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10676         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10677         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10678         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10679         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10680         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10681         (elf_machine_lazy_rel): Likewise.
10682         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10683         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10684         (elf_machine_lazy_rel): Likewise.
10685         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10686         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10687         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10688         * sysdeps/unix/grantpt.c (grantpt): Likewise.
10689         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10690         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10691         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10692         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10693         Likewise.
10694         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10695         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10696         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10697         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10698         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10699         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10700         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10701         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10702         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10703         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10704         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10705         Likewise.
10706         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10707         (__posix_fallocate64_l64): Likewise.
10708         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10709         (posix_fallocate): Likewise.
10710         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10711         Likewise.
10712         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10713         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10714         (getifaddrs_internal): Likewise.
10715         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10716         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10717         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10718         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10719         * sysdeps/unix/sysv/linux/posix_fallocate64.c
10720         (__posix_fallocate64_l64): Likewise.
10721         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10722         Likewise.
10723         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10724         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10725         (__get_clockfreq): Likewise.
10726         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10727         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10728         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10729         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10730         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10731         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10732         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10733         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10734         Likewise.
10735         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10736         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10737         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10738         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10739         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10740         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10741         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10742         Likewise.
10743         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10744         (posix_fallocate): Likewise.
10745         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10746         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10747         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
10748         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10749         (elf_machine_rela, elf_machine_rela_relative)
10750         (elf_machine_lazy_rel): Likewise.
10751         * time/asctime.c (asctime_internal): Likewise.
10752         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10753         * time/tzset.c (__tzset_parse_tz): Likewise.
10754         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10755         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10756         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10757         * wcsmbs/wcsmbsload.h: Likewise.
10758
10759         [BZ #15894]
10760         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10761
10762         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10763         (arena_get2): Remove THREAD_STATS conditionals.
10764         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10765         (__malloc_stats, int): Likewise.
10766
10767 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
10768
10769         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10770         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
10771
10772         * manual/setjmp.texi: Fix typos/grammar errors.
10773
10774         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10775         Only return early when n is <= 0.  Delete unused return statement.
10776
10777         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10778         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10779         * debug/tst-longjmp_chk3.c: New file.
10780
10781         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10782         (test_main): Replace code with set_fortify_handler call.
10783         * debug/test-strcpy_chk.c: Likewise.
10784         * debug/tst-chk1.c: Likewise.
10785         * debug/tst-longjmp_chk.c: Likewise.
10786         * test-skeleton.c: Include fcntl.h & paths.h
10787         (set_fortify_handler): Define.
10788
10789         * debug/tst-longjmp_chk.c: Add header comment and include
10790         ../test-skeleton.c.
10791         (do_test): Mark static.
10792         (TEST_FUNCTION): Define.
10793
10794         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10795         (IP_PMTUDISC_INTERFACE): Likewise.
10796         (IP_MULTICAST_IF): Likewise.
10797         (IP_MULTICAST_TTL): Likewise.
10798         (IP_MULTICAST_LOOP): Likewise.
10799         (IP_ADD_MEMBERSHIP): Likewise.
10800         (IP_DROP_MEMBERSHIP): Likewise.
10801         (IP_UNBLOCK_SOURCE): Likewise.
10802         (IP_BLOCK_SOURCE): Likewise.
10803         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10804         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10805         (IP_MSFILTER): Likewise.
10806         (MCAST_JOIN_GROUP): Likewise.
10807         (MCAST_BLOCK_SOURCE): Likewise.
10808         (MCAST_UNBLOCK_SOURCE): Likewise.
10809         (MCAST_LEAVE_GROUP): Likewise.
10810         (MCAST_JOIN_SOURCE_GROUP): Likewise.
10811         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10812         (MCAST_MSFILTER): Likewise.
10813         (IP_MULTICAST_ALL): Likewise.
10814         (IP_UNICAST_IF): Likewise.
10815
10816         * timezone/Makefile: Delete $(have-ksh) check.
10817         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10818         * timezone/tzselect.ksh: Add +x mode bits.
10819
10820         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10821         (ANON_INODE_FS_MAGIC): Likewise.
10822         (BDEVFS_MAGIC): Likewise.
10823         (BINFMTFS_MAGIC): Likewise.
10824         (BTRFS_TEST_MAGIC): Likewise.
10825         (CRAMFS_MAGIC_WEND): Likewise.
10826         (DEBUGFS_MAGIC): Likewise.
10827         (ECRYPTFS_SUPER_MAGIC): Likewise.
10828         (EXT3_SUPER_MAGIC): Likewise.
10829         (EXT4_SUPER_MAGIC): Likewise.
10830         (FUTEXFS_SUPER_MAGIC): Likewise.
10831         (HOSTFS_SUPER_MAGIC): Likewise.
10832         (HUGETLBFS_MAGIC): Likewise.
10833         (MINIX3_SUPER_MAGIC): Likewise.
10834         (MTD_INODE_FS_MAGIC): Likewise.
10835         (NILFS_SUPER_MAGIC): Likewise.
10836         (OPENPROM_SUPER_MAGIC): Likewise.
10837         (PIPEFS_MAGIC): Likewise.
10838         (PSTOREFS_MAGIC): Likewise.
10839         (QNX6_SUPER_MAGIC): Likewise.
10840         (RAMFS_MAGIC): Likewise.
10841         (REISERFS_SUPER_MAGIC_STRING): Likewise.
10842         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10843         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10844         (SECURITYFS_MAGIC): Likewise.
10845         (SELINUX_MAGIC): Likewise.
10846         (SMACK_MAGIC): Likewise.
10847         (SOCKFS_MAGIC): Likewise.
10848         (SQUASHFS_MAGIC): Likewise.
10849         (STACK_END_MAGIC): Likewise.
10850         (TMPFS_MAGIC): Likewise.
10851         (USBDEVICE_SUPER_MAGIC): Likewise.
10852         (V9FS_MAGIC): Likewise.
10853         (XENFS_SUPER_MAGIC): Likewise.
10854         (CRAMFS_MAGIC): Fix typo in comment.
10855         (EXT2_SUPER_MAGIC): Update comment.
10856         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10857
10858 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
10859
10860         * sysdeps/arm: Move directory from ports/sysdeps/arm.
10861         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10862         * sysdeps/unix/sysv/linux/arm: Move directory from
10863         ports/sysdeps/unix/sysv/linux/arm.
10864         * README: Update listing for arm-*-linux-gnueabi.
10865
10866         * README: Remove mention of am33.
10867
10868 2014-02-07  Roland McGrath  <roland@hack.frob.com>
10869
10870         * bits/sigset.h (__sigemptyset): Use a statement expression rather
10871         than the comma operator, to avoid "rhs of comma has no effect"
10872         compiler warnings.
10873         (__sigfillset, __sigandset, __sigorset): Likewise.
10874         * include/signal.h (__sigemptyset): Likewise.
10875         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10876
10877 2014-02-07  Allan McRae  <allan@archlinux.org>
10878
10879         * version.h (RELEASE): Set to "development".
10880         (VERSION): Set to "2.19.90"
10881         * NEWS: Add 2.20 section.
10882
10883 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
10884
10885         [BZ #16529]
10886         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10887
10888 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10889
10890         * manual/contrib.texi: Update entry for Carlos O'Donell,
10891         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10892
10893 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
10894
10895         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10896
10897         * sysdeps/unix/sysv/linux/kernel-features.h
10898         [__LINUX_KERNEL_VERSION >= 0x020621]
10899         (__ASSUME_PROC_PID_TASK_COMM): Define.
10900
10901 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10902
10903         [BZ #16398]
10904         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10905         conversion when destination buffer does not have enough space.
10906         * libio/tst-ftell-partial-wide.c: New test case.
10907         * libio/Makefile (tests): Add tst-ftell-partial-wide.
10908
10909         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10910         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
10911         Leonard and Allan McRae.
10912
10913 2014-02-04  David S. Miller  <davem@davemloft.net>
10914
10915         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10916         32-bit.
10917
10918 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10919
10920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10921         New file
10922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10923         New file
10924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10925         New file.
10926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10927         New file.
10928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10929         New file.
10930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10931         New file.
10932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10933         New file.
10934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10935         New file.
10936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10937         New file.
10938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10939         New file.
10940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10941         New file.
10942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10943         New file.
10944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10945         New file.
10946
10947 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10948
10949         * nptl/shlib-versions: Change powerpc*le start to 2.17.
10950         * shlib-versions: Likewise.
10951
10952 2014-02-04  Roland McGrath  <roland@hack.frob.com>
10953             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10954
10955         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10956         (abilist-pattern): New variable, set to %-le.abilist.
10957
10958         * Makerules (abilist-pattern): New variable.
10959         (vpath): Use $(abilist-pattern) in place of %.abilist.
10960         (check-abi-% pattern rule): Likewise.
10961         (check-abi, update-abi): Likewise.
10962
10963 2014-02-04  Eric Wong  <normalperson@yhbt.net>
10964
10965         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10966
10967 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
10968
10969         * manual/startup.texi: Add next, previous, and top entries for
10970         the `Program Arguments' and `Environment Variables' nodes.
10971
10972 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
10973
10974         * manual/macros.texi: Add comments before MTASC-safety macros.
10975
10976         * manual/users.texi: Document MTASC-safety properties.
10977
10978         * manual/threads.texi (pthread_key_create, pthread_key_delete)
10979         (pthread_getspecific, pthread_setspecific): Format with
10980         @deftypefun, and add @safety note.
10981         * manual/signal.texi: Move comments that analyze the above
10982         functions to their home place.
10983
10984 2014-02-03  Allan McRae  <allan@archlinux.org>
10985
10986         * po/sl.po: Update Slovenian translation from translation project.
10987
10988 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
10989
10990         * manual/time.texi (timegm): Add missing blank after @c.
10991         Reported by Joseph Myers <joseph@codesourcery.com>.
10992
10993 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
10994
10995         * manual/check-safety.sh: New.
10996         * manual/Makefile ($(objpfx)stamp-summary): Run it.
10997
10998         * manual/terminal.texi: Document MTASC-safety properties.
10999
11000         * manual/filesys.texi: Document MTASC-safety properties.
11001
11002         * manual/errno.texi: Document MTASC-safety properties.
11003
11004         * manual/intro.texi: Document safety identifiers and
11005         conditionals.
11006
11007         * manual/string.texi (wcstok): Fix prototype.
11008         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11009
11010         * manual/time.texi: Document MTASC-safety properties.
11011
11012         * manual/string.texi: Document MTASC-safety properties.
11013
11014         * manual/threads.texi: Document MTASC-safety properties.
11015
11016         * manual/stdio.texi: Document MTASC-safety properties.
11017
11018         * manual/syslog.texi: Document MTASC-safety properties.
11019
11020         * manual/sysinfo.texi: Document MTASC-safety properties.
11021
11022         * manual/startup.texi: Document MTASC-safety properties.
11023
11024         * manual/socket.texi: Document MTASC-safety properties.
11025
11026         * manual/signal.texi: Document MTASC-safety properties.
11027
11028 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
11029
11030         * manual/setjmp.texi: Document MTASC-safety properties.
11031
11032         * manual/search.texi: Document MTASC-safety properties.
11033
11034         * manual/resource.texi: Document MTASC-safety properties.
11035
11036         * manual/process.texi: Document MTASC-safety properties.
11037
11038         * manual/platform.texi: Document MTASC-safety properties.
11039
11040         * manual/pipe.texi: Document MTASC-safety properties.
11041
11042         * manual/pattern.texi: Document MTASC-safety properties.
11043
11044         * manual/message.texi: Document MTASC-safety properties.
11045
11046         [BZ #12751]
11047         * manual/memory.texi: Document MTASC-safety properties.
11048
11049         * manual/math.texi: Document MTASC-safety properties.
11050
11051         * manual/locale.texi: Document MTASC-safety properties.
11052
11053         * manual/llio.texi: Document MTASC-safety properties.
11054
11055         * manual/libdl.texi: New.
11056
11057         * manual/lang.texi: Document MTASC-safety properties.
11058
11059         * manual/job.texi: Document MTASC-safety properties.
11060
11061         * manual/getopt.texi: Document MTASC-safety properties.
11062
11063         * manual/ctype.texi: Document MTASC-safety properties.
11064
11065 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
11066
11067         [BZ #16046]
11068         * csu/libc-tls.c (static_map): Remove variable.
11069         (__libc_setup_tls): Use main executable's link map for TLS data.
11070         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11071         casing for LM_ID_BASE and GL(dl_nns).
11072         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11073         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
11074         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11075         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11076         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11077         member.
11078         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11079         l_phnum members.
11080
11081 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
11082
11083         * manual/debug.texi: Document MTASC-safety properties.
11084
11085 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
11086
11087         [BZ #16510]
11088         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11089         of __x86_64__ when disabling x87 inline functions.
11090
11091 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
11092
11093         * manual/charset.texi: Document MTASC-safety properties.
11094
11095         * manual/crypt.texi: Document MTASC-safety properties.
11096
11097         * manual/conf.texi: Document MTASC-safety properties.
11098
11099         * manual/arith.texi: Document MTASC-safety properties.
11100
11101         * manual/argp.texi: Document MTASC-safety properties.
11102
11103         * manual/macros.texi: Introduce macros to document multi
11104         thread, asynchronous signal and asynchronous cancellation
11105         safety properties.
11106         * manual/intro.texi: Introduce the properties themselves.
11107
11108 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11109
11110         * sysdeps/sh/sh4/Makefile: New file.
11111
11112 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
11113
11114         * math/gen-libm-test.pl ($srcdir): New variable.
11115         ($auto_input): Use it.
11116
11117 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11118
11119         [BZ #16506]
11120         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11121         access beyond array bounds when parsing netgroups file.
11122
11123         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11124         the old buffer before realloc.
11125
11126 2014-01-27  Allan McRae  <allan@archlinux.org>
11127
11128         * po/fr.po: Update French translation from translation project.
11129
11130 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11131
11132         * sysdeps/sh/libm-test-ulps: Regenerate.
11133
11134 2014-01-24  David S. Miller  <davem@davemloft.net>
11135
11136         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11137
11138 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11139
11140         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11141         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11142
11143 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11144
11145         [BZ #16474]
11146         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11147         string pointers after reallocation.
11148
11149 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11150
11151         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11152         __SH4A__ instead of __SH_FPU_ANY__.
11153
11154 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11155
11156         * sysdeps/sh/fpu_control.h: New file.
11157         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11158         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11159         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11160         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11161         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11162         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11163         * sysdeps/sh/sys/ucontext.h: Remove.
11164         * sysdeps/sh/sys: Remove directory.
11165
11166 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11167
11168         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11169         s390/sys/ucontext.h.
11170         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11171         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11172
11173 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
11174
11175         [BZ #15605]
11176         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11177
11178 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11179
11180         [BZ#16431]
11181         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11182         Adjust the vDSO correctly for internal calls.
11183         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11184
11185 2014-01-20  Allan McRae  <allan@archlinux.org>
11186
11187         * po/ca.po: Update Catalan translation from translation project.
11188
11189 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
11190
11191         * sysdeps/s390/sotruss-lib.c: New file.
11192
11193 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11194
11195         [BZ#16430]
11196         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11197         (__GI___gettimeofday): Alias for a different internal symbol to avoid
11198         local calls issues by not having a PLT stub required for IFUNC calls.
11199         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11200
11201 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
11202
11203         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11204         * math/test-fpucw-static.c: Likewise.
11205
11206 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11207
11208         [BZ #16453]
11209         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11210
11211 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11212
11213         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11214         implementation for powerpc.
11215
11216 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
11217
11218         [BZ #14782]
11219         * sysdeps/posix/system.c (__libc_system): Do not enable
11220         asynchronous cancellation.
11221
11222 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11223
11224         [BZ #16427]
11225         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11226         handling only for numbers special also in the IEEE case.
11227
11228 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11229
11230         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11231
11232 2014-01-11  Allan McRae  <allan@archlinux.org>
11233
11234         * po/bg.po: Update Bulgarian translation from translation project.
11235
11236         * po/de.po: Update German translation from translation project.
11237
11238 2014-01-10  Roland McGrath  <roland@hack.frob.com>
11239
11240         * sysdeps/generic/gcc-compat.h: New file.
11241
11242 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11243
11244         * benchtests/asin-inputs: Correct slow inputs.
11245         * benchtests/acos-inputs: Likewise.
11246
11247 2014-01-10  Allan McRae  <allan@archlinux.org>
11248
11249         * po:sv.po: Update Swedish translation from translation project.
11250
11251         * po/vi.po: Update Vietnamese translation from translation project.
11252
11253         * po/eo.po: Update Esperanto translation from translation project.
11254
11255         * po/cs.po: Update Czech translation from translation project.
11256
11257         * po/nl.po: Update Dutch translation from translation project.
11258
11259         * po/pl.po: Update Polish translation from translation project.
11260
11261         * po/ru.po: Update Russian translation from translation project.
11262
11263         * po/uk.po: Update Ukrainian translation from translation project.
11264
11265 2014-01-08  Brooks Moses  <bmoses@google.com>
11266
11267         * elf/dl-load.c: Fix comment typo.
11268
11269 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
11270
11271         * po/header.pot: Rename to...
11272         * po/pot.header: ... this.
11273         * po/Makefile: Use pot.header.
11274
11275 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
11276             Maxim Kuvyrkov  <maxim@kugelworks.com>
11277
11278         [BZ #16394]
11279         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11280         SRC and DEST against LEN.
11281
11282 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11283
11284         [BZ #16414]
11285         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11286         implementation.
11287         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11288
11289 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11290
11291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11292
11293 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
11294
11295         [BZ #16408]
11296         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11297         for large positive arguments.
11298
11299 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
11300
11301         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11302
11303         * math/auto-libm-test-in: Mark various tests with
11304         xfail-rounding:ldbl-128ibm.
11305         * math/auto-libm-test-out: Regenerated.
11306
11307         [BZ #16407]
11308         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11309         Increase overflow threshold.
11310
11311 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
11312
11313         [BZ #14286]
11314         * stdio-common/vfprintf.c: Check for integer overflow.
11315
11316 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11317
11318         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11319         the first argument and return value of __tls_get_addr_internal.
11320
11321 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11322
11323         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11324         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11325
11326 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11327
11328         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11329         * sysdeps/s390/rtld-global-offsets.sym: New file.
11330         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11331         GLIBC_2.19 symbol.
11332         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11333         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11334         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11335         ... this.
11336         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11337         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11338         ... this.
11339         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11340         Regenerate.
11341         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11342         Regenerate.
11343         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11344         halfs of GPRs for high_gprs contexts.
11345         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11346         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
11347         field.
11348         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11349         uc_flags field.
11350         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11351         64 bit versions:
11352         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11353         for high GPRs (uc_high_gprs) and for future extensions
11354         (__reserved).
11355         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11356         for future extensions (__reserved).
11357         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11358         64 bit versions:
11359         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11360         SC_HIGHGPRS offset definition.
11361         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11362         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11363
11364         * Versions.def: Add GLIBC_2.19 for libpthread.
11365         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11366         siglongjmp for libpthread with GLIBC_2.19 symver.
11367         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11368         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11369         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11370         * sysdeps/s390/__longjmp.c: New file.
11371         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11372         * sysdeps/s390/longjmp.c: New file.
11373         * sysdeps/s390/setjmp.S: New file.
11374         * sysdeps/s390/sigjmp.S: New file.
11375         * sysdeps/s390/v1-longjmp.c: New file.
11376         * sysdeps/s390/v1-setjmp.h: New file.
11377         * sysdeps/s390/v1-sigjmp.c: New file.
11378         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11379         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11380         GLIBC_2.19 version.
11381         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11382         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11383         versioned symbols for ____longjmp_chk.
11384         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11385         Likewise.
11386         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11387         Regenerate.
11388         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11389         Regenerate.
11390         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11391         Regenerate.
11392         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11393         Regenerate.
11394         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11395         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11396         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11397         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11398         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11399         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11400         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11401         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11402         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11403         * sysdeps/s390/rtld-__longjmp.c: New file.
11404         * sysdeps/s390/rtld-setjmp.S: New file.
11405
11406 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
11407
11408         [BZ #16400]
11409         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11410         Return -__logl (x) for small positive arguments without evaluating
11411         a polynomial.
11412
11413 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
11414
11415         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11416         Rename to ...
11417         (__ptrace_peeksiginfo_args): ... this.
11418         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11419         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11420         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11421
11422 2014-01-06  Allan McRae  <allan@archlinux.org>
11423
11424         * inet/netinet/in.h: Fix typo in comment.
11425
11426 2014-01-05  Andreas Jaeger  <aj@suse.de>
11427
11428         * sysdeps/i386/fpu/libm-test-ulps: Update.
11429
11430 2014-01-05  Allan McRae  <allan@archlinux.org>
11431
11432         * po/libc.pot: Regenerated.
11433
11434         * malloc/memusagestat.c: Fix gettext call formatting.
11435
11436 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
11437
11438         * nscd/nscd.c: Improve usage() output.
11439
11440 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
11441
11442         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11443         * sysdeps/unix/sysv/linux/configure: Regenerated.
11444         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11445         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11446
11447 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
11448
11449         [BZ #16390]
11450         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11451         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11452
11453 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11454
11455         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11456         extra tokens at end of #undef directive.
11457         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11458         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11459         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11460
11461 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
11462
11463         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11464
11465         * math/auto-libm-test-in: Mark various tests with
11466         xfail-rounding:ldbl-128ibm.
11467         * math/auto-libm-test-out: Regenerated.
11468
11469 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
11470
11471         [BZ #16386]
11472         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11473         numbers with subnormal high part when calculating exponent.
11474
11475         [BZ #16385]
11476         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11477         fabs.
11478
11479         [BZ #16384]
11480         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11481         M_LN2l.
11482         (__ieee754_acoshl): Use __log1pl not __log1p.
11483
11484 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
11485
11486         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11487         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11488         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11489         (grow_heap, heap_trim, _int_new_arena, get_free_list)
11490         (reused_arena, arena_get2): Convert to GNU style.
11491         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11492         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11493         (memalign_check, __malloc_set_state): Likewise.
11494         * malloc/mallocbug.c (main): Likewise.
11495         * malloc/malloc.c (__malloc_assert, malloc_init_state)
11496         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11497         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11498         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11499         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11500         (__posix_memalign, malloc_info): Likewise.
11501         * malloc/malloc.h: Likewise.
11502         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11503         (mallochook, memalignhook, reallochook, mabort): Likewise.
11504         * malloc/mcheck.h: Likewise.
11505         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11506         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11507         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11508         * malloc/morecore.c (__default_morecore): Likewise.
11509         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11510         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11511         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11512         (print_and_abort): Likewise.
11513         * malloc/obstack.h: Likewise.
11514         * malloc/set-freeres.c (__libc_freeres): Likewise.
11515         * malloc/tst-mallocstate.c (main): Likewise.
11516         * malloc/tst-mtrace.c (main): Likewise.
11517         * malloc/tst-realloc.c (do_test): Likewise.
11518
11519 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11520
11521         [BZ #16366]
11522         * nscd/netgroupcache.c (do_notfound): New function.
11523         (addgetnetgrentX): Use it.
11524
11525         [BZ # 16365]
11526         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11527         NSS_STATUS_NOTFOUND.
11528
11529 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
11530
11531         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11533
11534 2014-01-01  Allan McRae  <allan@archlinux.org>
11535
11536         * scripts/update-copyrights: Update configure input file suffix.
11537
11538         * NEWS: Update copyright year.
11539         * catgets/gencat.c: Likewise.
11540         * csu/version.c: Likewise.
11541         * debug/catchsegv.sh: Likewise.
11542         * debug/pcprofiledump.c: Likewise.
11543         * debug/xtrace.sh: Likewise.
11544         * elf/ldconfig.c: Likewise.
11545         * elf/ldd.bash.in: Likewise.
11546         * elf/pldd.c: Likewise.
11547         * elf/sotruss.ksh: Likewise.
11548         * elf/sprof.c: Likewise.
11549         * iconv/iconv_prog.c: Likewise.
11550         * iconv/iconvconfig.c: Likewise.
11551         * locale/programs/locale.c: Likewise.
11552         * locale/programs/localedef.c: Likewise.
11553         * login/programs/pt_chown.c: Likewise.
11554         * malloc/memusage.sh: Likewise.
11555         * malloc/memusagestat.c: Likewise.
11556         * malloc/mtrace.pl: Likewise.
11557         * manual/libc.texinfo: Likewise.
11558         * nscd/nscd.c: Likewise.
11559         * nss/getent.c: Likewise.
11560         * nss/makedb.c: Likewise.
11561         * posix/getconf.c: Likewise.
11562         * scripts/test-installation.pl: Likewise.
11563
11564         * All files with FSF copyright notices: Update copyright dates
11565         using scripts/update-copyrights.
11566         * intl/plural.c: Regenerated.
11567         * locale/programs/charmap-kw.h: Likewise.
11568         * locale/programs/locfile-kw.h: Likewise.
11569
11570 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
11571
11572         * sysdeps/unix/sysv/linux/configure: Regenerated.
11573         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11574         the linux/fanotify.h header.
11575         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11576         HAVE_LINUX_FANOTIFY_H is defined.
11577
11578 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11579
11580         * benchtests/cos-inputs: New inputs.
11581         * benchtests/sin-inputs: Likewise.
11582
11583         * benchtests/atan-inputs: New inputs. Fix name of multiple
11584         precision fallback inputs.
11585
11586         * benchtests/atanh-inputs: New inputs.
11587         * benchtests/tanh-inputs: Likewise.
11588
11589         * benchtests/acosh-inputs: New inputs.
11590         * benchtests/asinh-inputs: Likewise.
11591
11592         * benchtests/cosh-inputs: New inputs.
11593         * benchtests/sinh-inputs: Likewise.
11594
11595         * benchtests/acos-inputs: Add more inputs.
11596         * benchtests/asin-inputs: Likewise.
11597
11598 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
11599
11600         [BZ #16375]
11601         * manual/arith.texi: Fix spelling.
11602         * manual/charset.texi: Likewise.
11603         * manual/errno.texi: Likewise.
11604         * manual/filesys.texi: Likewise.
11605         * manual/lang.texi: Likewise.
11606         * manual/llio.texi: Likewise.
11607         * manual/locale.texi: Likewise.
11608         * manual/message.texi: Likewise.
11609         * manual/resource.texi: Likewise.
11610         * manual/search.texi: Likewise.
11611         * manual/setjmp.texi: Likewise.
11612         * manual/stdio.texi: Likewise.
11613         * manual/string.texi: Likewise.
11614         * manual/sysinfo.texi: Likewise.
11615         * manual/time.texi: Likewise.
11616
11617 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
11618
11619         * po/sl.po: New file.
11620
11621 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
11622
11623         * .gitignore: Add core/.gdbinit/.gdb_history.
11624
11625 2013-12-27  Allan McRae  <allan@archlinux.org>
11626
11627         [BZ #16369]
11628         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11629         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11630
11631 2013-12-24  Brooks Moses  <bmoses@google.com>
11632
11633         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11634         all compilers that claim C++98 compliance, not just GCC.
11635         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11636         Likewise.
11637
11638 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
11639
11640         * NEWS: Restore accidentally deleted bug-fix entries.
11641
11642 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
11643             Ondřej Bílka  <neleai@seznam.cz>
11644
11645         [BZ #15073]
11646         * malloc/malloc.c (_int_free): Perform sanity check only if we
11647         have_lock.
11648
11649 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
11650
11651         [BZ #12986]
11652         * manual/stdio.texi (String Input Conversions): Clarify that character
11653         classes are not supported.
11654
11655 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11656
11657         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11658
11659 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
11660
11661         [BZ #16337]
11662         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11663         Calculate results for small negative arguments directly rather
11664         than using reflection formula with special underflow handling.
11665
11666         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11667         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11668         sysdeps/unix/bsd/bsd4.4/syscalls.list.
11669         (fchflags): Likewise.
11670         (revoke): Likewise.
11671         (setlogin): Likewise.
11672         (sigaltstack): Likewise.
11673         (wait4): Likewise.
11674         (sigblock): Remove.
11675         (sigsetmask): Likewise.
11676         (wait3): Likewise.
11677         (waitpid): Likewise.
11678         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11679         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11680         file.
11681         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11682         * sysdeps/unix/bsd/Makefile: ... here.
11683         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11684         * sysdeps/unix/bsd/Versions: ... here.
11685         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11686         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11687         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11688         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11689         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11690         * sysdeps/unix/bsd/sigblock.c: ... here.
11691         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11692         * sysdeps/unix/bsd/sigsetmask.c: ... here.
11693         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11694         * sysdeps/unix/bsd/sigvec.c: ... here.
11695         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11696         * sysdeps/unix/bsd/tcdrain.c: ... here.
11697         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11698         * sysdeps/unix/bsd/tcgetattr.c: ... here.
11699         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11700         * sysdeps/unix/bsd/tcsetattr.c: ... here.
11701         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11702         * sysdeps/unix/bsd/wait.c: ... here.
11703         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11704         * sysdeps/unix/bsd/wait3.c: ... here.
11705         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11706         * sysdeps/unix/bsd/waitpid.c: ... here.
11707
11708 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
11709
11710         [BZ #16356]
11711         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11712         round-to-nearest for [!USE_AS_EXPM1L].
11713         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11714         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
11715         more tests of exp and exp10.  Expect some exp10 tests to miss
11716         exceptions or fail in directed rounding modes.
11717         * math/auto-libm-test-out: Regenerated.
11718         * math/libm-test.inc (exp10_tonearest_test_data): New array.
11719         (exp10_test_tonearest): New function.
11720         (exp10_towardzero_test_data): New array.
11721         (exp10_test_towardzero): New function.
11722         (exp10_downward_test_data): New array.
11723         (exp10_test_downward): New function.
11724         (exp10_upward_test_data): New array.
11725         (exp10_test_upward): New function.
11726         (main): Call the new functions.
11727         * sysdeps/i386/fpu/libm-test-ulps: Update.
11728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11729
11730 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
11731
11732         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11733         asinh, atan, atan2, atanh, cbrt, cos and cosh.
11734         * math/auto-libm-test-out: Regenerated.
11735         * math/libm-test.inc (acosh_test_data): Add more tests.
11736         (atanh_test_data): Likewise.
11737         (ceil_test_data): Likewise.
11738         (copysign_test_data): Likewise.
11739         * sysdeps/i386/fpu/libm-test-ulps: Update.
11740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11741
11742         * timezone/checktab.awk: Update from tzcode 2013i.
11743         * timezone/private.h: Likewise.
11744         * timezone/scheck.c: Likewise.
11745         * timezone/tzfile.h: Likewise.
11746         * timezone/tzselect.ksh: Likewise.
11747         * timezone/zdump.c: Likewise.
11748         * timezone/zic.c: Likewise.
11749
11750         * math/auto-libm-test-in: Add tests of cpow.
11751         * math/auto-libm-test-out: Regenerated.
11752         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
11753         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11754         mpc_cc_c.
11755         (func_calc_desc): Add mpc_cc_c union field.
11756         (test_functions): Add cpow.
11757         (special_fill_2pi): New function.
11758         (special_real_inputs): Add 2pi.
11759         (calc_generic_results): Handle mpc_cc_c.
11760         * sysdeps/i386/fpu/libm-test-ulps: Update.
11761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11762
11763         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11764         csqrt, ctan and ctanh.
11765         * math/auto-libm-test-out: Regenerated.
11766         * math/libm-test.inc (TEST_COND_x86_64): New macro.
11767         (TEST_COND_x86): Likewise.
11768         (ccos_test_data): Use AUTO_TESTS_c_c.
11769         (ccosh_test_data): Likewise.
11770         (cexp_test_data): Likewise.
11771         (clog_test_data): Likewise.
11772         (csqrt_test_data): Likewise.
11773         (ctan_test_data): Likewise.
11774         (ctan_tonearest_test_data): Likewise.
11775         (ctan_towardzero_test_data): Likewise.
11776         (ctan_downward_test_data): Likewise.
11777         (ctan_upward_test_data): Likewise.
11778         (ctanh_test_data): Likewise.
11779         (ctanh_tonearest_test_data): Likewise.
11780         (ctanh_towardzero_test_data): Likewise.
11781         (ctanh_downward_test_data): Likewise.
11782         (ctanh_upward_test_data): Likewise.
11783         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11784         mpc_c_c.
11785         (func_calc_desc): Add mpc_c_c union field.
11786         (FUNC_mpc_c_c): New macro.
11787         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11788         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11789         ctanh.
11790         (special_fill_min_subnorm_p120): New function.
11791         (special_real_inputs): Add min_subnorm_p120.
11792         (calc_generic_results): Handle mpc_c_c.
11793         * sysdeps/i386/fpu/libm-test-ulps: Update.
11794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11795
11796 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11797
11798         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11799         (do_sin_slow): New functions.
11800         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11801         (cslow2, csloww1, csloww2): Use the new functions.
11802
11803         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11804         Use M to change sign of result instead of X.  Assume X is
11805         positive.
11806         (csloww1): Likewise.
11807         (__sin): Adjust.
11808         (__cos): Adjust.
11809
11810         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11811         arguments A and DA.
11812         (__sin): Adjust.
11813         (__cos): Likewise.
11814
11815         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11816         (__cos): Likewise.
11817         (sloww1): Don't adjust sign of DX.
11818         (csloww1): Likewise.
11819         (sloww2): Use X directly and don't adjust sign of DX.
11820         (csloww2): Likewise.
11821
11822 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11823
11824         * math/auto-libm-test-in: Add tests of cabs and carg.
11825         * math/auto-libm-test-out: Regenerated.
11826         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11827         (carg_test_data): Likewise.
11828         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11829         mpc_c_f.
11830         (func_calc_desc): Add mpc_c_f union field.
11831         (test_functions): Add cabs and carg.
11832         (calc_generic_results): Handle mpc_c_f.
11833
11834         * sysdeps/powerpc/powerpc32/libgcc-compat.S
11835         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11836         as a macro and a compat symbol.
11837         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11838         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11839         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11840         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11841         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11842         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11843         not use .hidden.
11844         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11845         Likewise.
11846         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11847         Likewise.
11848         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11849         Likewise.
11850         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11851         Likewise.
11852         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11853         Likewise.
11854         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11855         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11856         from GLIBC_2.3.2.
11857
11858 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11859
11860         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11861
11862 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11863
11864         * manual/texinfo.tex: Update to version 2013-11-26.10 with
11865         trailing whitespace removed.
11866         * scripts/config.guess: Update to version 2013-11-29.
11867         * scripts/config.sub: Update to version 2013-10-01.
11868
11869         * math/auto-libm-test-in: Add tests of sincos.
11870         * math/auto-libm-test-out: Regenerated.
11871         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11872         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11873         mpfr_f_11.
11874         (func_calc_desc): Add mpfr_f_11 union field.
11875         (test_functions): Add sincos.
11876         (calc_generic_results): Handle mpfr_f_11.
11877         * sysdeps/i386/fpu/libm-test-ulps: Update.
11878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11879
11880 2013-12-19  Andreas Schwab  <schwab@suse.de>
11881
11882         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11883         CALL_MCOUNT.
11884         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11885         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11886         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11887
11888 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11889
11890         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11891         * sysdeps/i386/fpu/libm-test-ulps: Update.
11892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11893
11894         [BZ #16293]
11895         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11896         round-to-nearest mode when using frndint.
11897         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11898         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11899         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11900         Likewise.
11901         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
11902         sinh test to fail.
11903         * math/auto-libm-test-out: Regenerated.
11904         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11905         (TEST_COND_x86): Likewise.
11906         (expm1_tonearest_test_data): New array.
11907         (expm1_test_tonearest): New function.
11908         (expm1_towardzero_test_data): New array.
11909         (expm1_test_towardzero): New function.
11910         (expm1_downward_test_data): New array.
11911         (expm1_test_downward): New function.
11912         (expm1_upward_test_data): New array.
11913         (expm1_test_upward): New function.
11914         (main): Run the new test functions.
11915         * sysdeps/i386/fpu/libm-test-ulps: Update.
11916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11917
11918         * include/features.h: Update comment documenting feature test
11919         macros.  Mention _DEFAULT_SOURCE in comment.
11920         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11921         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11922         _BSD_SOURCE and _SVID_SOURCE.
11923         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11924         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11925         !_SVID_SOURCE]: Likewise.
11926         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11927         (__USE_POSIX_IMPLICITLY): Define.
11928         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11929         (_POSIX_SOURCE): Undefine and redefine.
11930         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11931         (_POSIX_C_SOURCE): Likewise.
11932         * manual/creature.texi (_DEFAULT_SOURCE): Document.
11933         (Feature Test Macros): Update documentation of default features.
11934
11935 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11936
11937         * benchtests/Makefile: Add bench-strtok.
11938         * benchtests/bench-strtok.c: New file: strtok benchtest.
11939
11940 2013-12-19  Allan McRae  <allan@archlinux.org>
11941
11942         * manual/install.texi: Suppress menu for plain text output.
11943         * INSTALL: Regenerated.
11944
11945 2013-12-18  Brooks Moses  <bmoses@google.com>
11946
11947         [BZ #15846]
11948         * misc/getauxval.c: Include errno.h.
11949         (__getauxval): Set errno to ENOENT if the requested type is not
11950         found.
11951         * misc/sys/auxv.h (getauxval): Document that it may set errno;
11952         don't declare with __attribute_const__.
11953         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11954         * manual/startup.texi: Document that getauxval sets errno.
11955
11956 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
11957
11958         * math/auto-libm-test-in: Add tests of jn and yn.
11959         * math/auto-libm-test-out: Regenerated.
11960         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11961         (yn_test_data): Likewise.
11962         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11963         mpfr_if_f.
11964         (func_calc_desc): Add mpfr_if_f union field.
11965         (FUNC_mpfr_if_f): New macro.
11966         (test_functions): Add jn and yn.
11967         (calc_generic_results): Assert type of second input for
11968         mpfr_ff_f.  Handle mpfr_if_f.
11969         (output_for_one_input_case): Disable all checking for arguments
11970         fitting floating-point types in case of an integer argument.
11971         * sysdeps/i386/fpu/libm-test-ulps: Update.
11972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11973
11974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11975         Don't expect fegetround reference in libm.so.
11976
11977 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11978
11979         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11980         $(config-cflags-nofma).
11981
11982 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
11983
11984         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11985         * math/auto-libm-test-out: Regenerated.
11986
11987         [BZ #16338]
11988         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11989         to determine exponent and adjust argument to have exponent of -1.
11990         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11991         log2.
11992         * math/auto-libm-test-out: Regenerated.
11993         * sysdeps/i386/fpu/libm-test-ulps: Update.
11994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11995
11996 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
11997
11998         * manual/probes.texi: Remove cases when per-thread arenas are
11999         disabled.
12000
12001 2013-12-18  Andreas Schwab  <schwab@suse.de>
12002
12003         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12004         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12005         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12006         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12007         * sysdeps/i386/i686/multiarch/Makefile: Update.
12008         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12009
12010 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12011
12012         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12013         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12014
12015 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
12016
12017         [BZ #15968]
12018         Support TZ transition times < 00:00:00.
12019         This is needed for version-3 tz-format files; it supports time
12020         stamps past 2037 for America/Godthab (the only entry in the tz
12021         database for which this change is relevant).
12022         * manual/time.texi (TZ Variable): Document transition times
12023         from -167:59:59 through -00:00:01.
12024         * time/tzset.c (tz_rule): Time of day is now signed.
12025         (__tzset_parse_tz): Parse negative time of day.
12026
12027         Document TZ transition times >= 25:00:00.
12028         * manual/time.texi (TZ Variable): Document transition times from
12029         25:00:00 through 167:59:59.  These are already supported, and this
12030         support will help with version-3 tz-format files.
12031
12032         * manual/time.texi (TZ Variable): Modernize North America example
12033         to reflect current (i.e., 2007-and-later) daylight saving rules.
12034
12035         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12036
12037 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12038
12039         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12040         * sysdeps/unix/bsd/bits/stat.h: Likewise.
12041         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12042         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12043         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12044         * sysdeps/unix/bsd/bsdstat.h: Likewise.
12045         * sysdeps/unix/bsd/clock.c: Likewise.
12046         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12047         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12048         * sysdeps/unix/bsd/init-posix.c: Likewise.
12049         * sysdeps/unix/bsd/poll.c: Likewise.
12050         * sysdeps/unix/bsd/ptsname.c: Likewise.
12051         * sysdeps/unix/bsd/seekdir.c: Likewise.
12052         * sysdeps/unix/bsd/setegid.c: Likewise.
12053         * sysdeps/unix/bsd/seteuid.c: Likewise.
12054         * sysdeps/unix/bsd/setgid.c: Likewise.
12055         * sysdeps/unix/bsd/setrgid.c: Likewise.
12056         * sysdeps/unix/bsd/setruid.c: Likewise.
12057         * sysdeps/unix/bsd/setsid.c: Likewise.
12058         * sysdeps/unix/bsd/setuid.c: Likewise.
12059         * sysdeps/unix/bsd/sigaction.c: Likewise.
12060         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12061         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12062         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12063         * sysdeps/unix/bsd/telldir.c: Likewise.
12064         * sysdeps/unix/bsd/times.c: Likewise.
12065         * sysdeps/unix/bsd/usleep.c: Likewise.
12066
12067         * misc/Makefile (install-lib): Remove libbsd-compat.a.
12068         ($(objpfx)libbsd-compat.a): Remove rule.
12069
12070         * include/features.h (__FAVOR_BSD): Do not define.
12071         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12072         features conflicting with POSIX.
12073         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12074         (_BSD_SOURCE): Remove description of not being a subset of other
12075         feature test macros.
12076         * manual/job.texi (getpgrp): Do not document BSD version.
12077         (getpgid): Do not document by reference to BSD getpgrp.
12078         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12079         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12080         * signal/signal.h [__FAVOR_BSD]: Likewise.
12081         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12082         instead of making contents conditional on [__FAVOR_BSD].
12083         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12084
12085 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12086
12087         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12088
12089 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12090
12091         [BZ #16314]
12092         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12093         values below 2**-450, not 2**-500.
12094         * math/auto-libm-test-in: Don't allow spurious underflow from
12095         hypot.
12096         * math/auto-libm-test-out: Regenerated.
12097
12098         [BZ #16316]
12099         [BZ #16330]
12100         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12101         values of ha and hb and sort them after adjusting subnormal
12102         arguments.
12103         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12104         Likewise.
12105         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12106         values of ea and eb and sort them after adjusting subnormal
12107         arguments.
12108         * math/auto-libm-test-in: Do not expect some hypot tests of
12109         subnormals to fail.  Add more hypot tests.
12110         * math/auto-libm-test-out: Regenerated.
12111
12112 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12113
12114         [BZ #13304]
12115         * sysdeps/sh/s_fma.c: New file.
12116         * sysdeps/sh/s_fmaf.c: New file.
12117         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
12118         version.
12119         * sysdeps/sh/Implies: Add sh/soft-fp.
12120
12121 2013-12-16  Roland McGrath  <roland@hack.frob.com>
12122
12123         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
12124         level of indirection to members `objname', `errstring', `malloced'.
12125         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12126         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
12127         it as the __longjmp argument (just pass 1 instead).
12128         (_dl_catch_error): Initialize C with argument pointers and address of
12129         volatile local ERRCODE rather than copying values out of C at return.
12130
12131 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
12132
12133         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12134         * math/auto-libm-test-out: Regenerated.
12135         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12136         (hypot_test_data): Likewise.
12137         (pow_test_data): Likewise.
12138         (pow_tonearest_test_data): Likewise.
12139         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12140         mpfr_ff_f.
12141         (func_calc_desc): Add mpfr_ff_f union field.
12142         (FUNC_mpfr_ff_f): New macro.
12143         (test_functions): Add atan2, hypot and pow.
12144         (special_fill_min): New function.
12145         (special_fill_minus_min): Likewise.
12146         (special_fill_min_subnorm): Likewise.
12147         (special_fill_minus_min_subnorm): Likewise.
12148         (special_real_inputs): Add min, -min, min_subnorm and
12149         -min_subnorm.
12150         (calc_generic_results): Handle mpfr_ff_f.
12151         * sysdeps/i386/fpu/libm-test-ulps: Update.
12152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12153
12154 2013-12-16  Will Newton  <will.newton@linaro.org>
12155
12156         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12157         (Aligned Memory Blocks): Add documentation for aligned_alloc
12158         and suggest it as an alternative to posix_memalign.
12159         (Hooks for Malloc): Document __memalign_hook is also called
12160         for aligned_alloc.  (Summary of Malloc): Add summary for
12161         aligned alloc.  Document __memalign_hook is also called
12162         for aligned_alloc.
12163
12164 2013-12-16  Will Newton  <will.newton@linaro.org>
12165
12166         * manual/memory.texi (Malloc Examples): Clarify default
12167         alignment documentation.  Suggest posix_memalign rather
12168         than memalign or valloc.
12169         (Aligned Memory Blocks): Remove suggestion to use memalign
12170         or valloc.  Remove obsolete comment about BSD.
12171         Document memalign errno values and mark the function obsolete.
12172         Document posix_memalign returned error codes.  Mark valloc
12173         as obsolete.  (Hooks for Malloc): __memalign_hook is also
12174         called for posix_memalign and valloc.
12175         (Summary of Malloc): Add posix_memalign to function summary.
12176         __memalign_hook is also called for posix_memalign and valloc.
12177
12178 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12179
12180         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12181         TAYLOR_SIN.
12182         (__sin): Adjust.
12183         (__cos): Likewise.
12184         (sloww): Use mynumber union.  Expand ternary operator into
12185         if-else statements.
12186         (cslow): use mynumber union.
12187
12188 2013-12-16  Allan McRae  <allan@archlinux.org>
12189
12190         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12191         * configure: Regenerated.
12192
12193         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12194
12195         [BZ #14120]
12196         * configure.ac: Added --enable-maintainer-mode. Check for
12197         autoconf when enabled.
12198         * configure: Regenerated.
12199
12200         * nscd/nscd.service: New file.
12201         * nscd/nscd.tmpfiles: New file.
12202
12203 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
12204
12205         [BZ #12100]
12206         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12207         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12208         * sysdeps/x86_64/multiarch/strstr.c: ... here.
12209         (strstr): Add __strstr_sse2_unaligned ifunc.
12210         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12211         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12212         (strcasestr): Remove __strcasestr_sse42 ifunc.
12213         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12214         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12215         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12216
12217 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12218
12219         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12220         * sysdeps/sh/bits/fenv.h: ... here.
12221         * sysdeps/sh/sh4/fpu/bits: Remove directory.
12222
12223 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12224
12225         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12226
12227         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12228         hypotf multiarch implementations.
12229         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12230         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12231         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12232         multiarch hypot for PPC64.
12233         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12234         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12235         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12236         multiarch hypotf for PPC64.
12237
12238         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12239         modff multiarch implementations.
12240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12243         multiarch modf for PPC64.
12244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12247         multiarch modff for PPC64.
12248
12249         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12250         and logl multiarch implementations.
12251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12254         multiarch logb for PPC64.
12255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12258         multiarch logb for PPC64.
12259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12262         multiarch logb for PPC64.
12263
12264         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12265         isinff multiarch implementation.
12266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12267         file.
12268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12270         multiarch isinf for PPC64.
12271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12272         file.
12273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12274         multiarch isinff for PPC64.
12275
12276         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12277         finitef multiarch implementation.
12278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12279         file.
12280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12282         multiarch finite for PPC64.
12283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12284         file.
12285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12286         multiarch finitef for PPC64.
12287
12288         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12289         lrint multiarch implementation.
12290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12291         file.
12292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12294         multiarch llrint for PPC64.
12295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12296         multiarch lrint for PPC64.
12297
12298         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12299         copysignf multiarch implementation.
12300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12301         file.
12302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12303         file.
12304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12305         multiarch copysign for PPC64.
12306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12307         multiarch copysignf for PPC64.
12308
12309         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12310         multiarch implementation.
12311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12312         file.
12313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12314         file.
12315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12316         file.
12317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12318         file.
12319         multiarch llround for PPC64.
12320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12321         multiarch trunc for PPC64.
12322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12323         multiarch truncf for PPC64.
12324
12325         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12326         multiarch implementation.
12327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12328         file.
12329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12330         file.
12331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12332         file.
12333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12334         file.
12335         multiarch llround for PPC64.
12336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12337         multiarch round for PPC64.
12338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12339         multiarch roundf for PPC64.
12340
12341         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12342         multiarch implementation.
12343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12344         file.
12345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12346         file.
12347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12348         file.
12349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12350         file.
12351         multiarch llround for PPC64.
12352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12353         multiarch floor for PPC64.
12354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12355         multiarch floorf for PPC64.
12356
12357         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12358         multiarch implementation.
12359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12360         file.
12361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12362         file.
12363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12364         file.
12365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12366         file.
12367         multiarch llround for PPC64.
12368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12369         multiarch ceil for PPC64.
12370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12371         multiarch ceilf for PPC64.
12372
12373         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12374         multiarch implementation.
12375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12376         file.
12377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12378         file.
12379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12380         file.
12381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12382         multiarch llround for PPC64.
12383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12384         multiarch lround for PPC64.
12385
12386         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12387         multiarch implementation.
12388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12391         file.
12392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12395         multiarch isnan for PPC64.
12396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12397         multiarch isnanf for PPC64.
12398
12399         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12400         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12401         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12402         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12403         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12405
12406         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12407         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12408         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12409         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12410
12411         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12412         multiarch implementations.
12413         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12414         (__libc_ifunc_impl_list): Likewise.
12415         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12416         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12417         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12418         multiarch stpcpy for PPC64.
12419
12420         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12421         multiarch implementations.
12422         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12423         (__libc_ifunc_impl_list): Likewise.
12424         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12425         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12426         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12427         multiarch strcpy for PPC64.
12428
12429         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12430         redefine function name.
12431         (_wordcopy_fwd_dest_aligned): Likewise.
12432         (_wordcopy_bwd_aligned): Likewise.
12433         (_wordcopy_bwd_dest_aligned): Likewise.
12434         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12435         multiarch implementations.
12436         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12437         (__libc_ifunc_impl_list): Likewise.
12438         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12439         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12440         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12441         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12442         multiarch wcscpy for PPC64.
12443
12444         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12445         multiarch implementations.
12446         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12447         (__libc_ifunc_impl_list): Likewise.
12448         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12449         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12450         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12451         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12452         multiarch wcscpy for PPC64.
12453
12454         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12455         multiarch implementations.
12456         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12457         (__libc_ifunc_impl_list): Likewise.
12458         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12459         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12460         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12461         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12462         multiarch wcsrchr for PPC64.
12463
12464         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12465         multiarch implementations.
12466         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12467         (__libc_ifunc_impl_list): Likewise.
12468         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12469         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12470         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12471         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12472         multiarch wcschr for PPC64.
12473
12474         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12475         multiarch implementations.
12476         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12477         (__libc_ifunc_impl_list): Likewise.
12478         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12479         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12480         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12481         multiarch strchrnul for PPC64.
12482
12483         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12484         implementations.
12485         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12486         (__libc_ifunc_impl_list): Likewise.
12487         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12488         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12489         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12490         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12491         strchr for PPC64.
12492
12493         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12494         implementations.
12495         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12496         (__libc_ifunc_impl_list): Likewise.
12497         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12498         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12499         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12500         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12501         strncmp for PPC64.
12502
12503         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12504         multiarch implementations.
12505         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12506         (__libc_ifunc_impl_list): Likewise.
12507         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12508         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12509         strncasecmp for PPC64.
12510         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12511         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12512         multiarch strncasecmp_l for PPC64.
12513
12514         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12515         multiarch implementations.
12516         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12517         (__libc_ifunc_impl_list): Likewise.
12518         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12519         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12520         multiarch strcasecmp for PPC64.
12521         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12522         file.
12523         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12524         multiarch strcasecmp_l for PPC64.
12525
12526         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12527         implementations.
12528         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12529         (__libc_ifunc_impl_list): Likewise.
12530         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12531         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12532         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12533         strnlen for PPC64.
12534
12535         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12536         implementations.
12537         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12538         (__libc_ifunc_impl_list): Likewise.
12539         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12540         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12541         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12542         strlen for PPC64.
12543
12544         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12545         implementations.
12546         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12547         (__libc_ifunc_impl_list): Likewise.
12548         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12549         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12550         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12551         rawmemrchr for PPC64.
12552
12553         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12554         implementation.
12555         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12556         (__libc_ifunc_impl_list): Likewise.
12557         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12558         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12559         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12560         memrchr for PPC64.
12561
12562         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12563         implementation.
12564         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12565         (__libc_ifunc_impl_list): Likewise.
12566         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12567         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12568         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12569         memchr for PPC64.
12570
12571         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12572         implementation.
12573         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12574         (__libc_ifunc_impl_list): Likewise.
12575         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12576         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12577         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12578         mempcpy for PPC64.
12579
12580         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12581         avoid cretion of __bzero symbol.
12582         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12583         Likewise.
12584         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12585         Likewise.
12586         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12587         Likewise.
12588         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12589         multiarch implementations.
12590         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12591         (__libc_ifunc_impl_list): Likewise.
12592         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12593         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12594         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12595         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12596         bzero for PPC32.
12597         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12598         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12599         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12600         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12601         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12602         memset for PPC64.
12603         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12604
12605         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12606         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12607         implementations.
12608         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12609         (__libc_ifunc_impl_list): Likewise.
12610         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12611         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12612         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12613         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12614         memcmp for PPC64.
12615
12616         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12617         multiarch for POWER/PPC64.
12618         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12619         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12620         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12621         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12622         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12623         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12624         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12625         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12626         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12627         memcpy for PPC64.
12628
12629         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12630         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12631         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12632         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12633         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12634         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12635         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12636         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12637         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12638         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12639         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12640         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12641         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12642         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12643         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12651
12652 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12653
12654         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12655
12656 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12657
12658         * benchtests/Makefile (bench): Add exp2 and log2.
12659         (LDLIBS-bench-exp2): Add -lm.
12660         (LDLIBS-bench-log2): Likewise.
12661         * benchtests/exp2-inputs: New inputs file.
12662         * benchtests/log2-inputs: New inputs file.
12663         * benchtests/log-inputs: Add new inputs.
12664         * benchtests/tan-inputs: Likewise.
12665
12666 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12667
12668         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12669         definition...
12670         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12671         (csloww2): ... from here.
12672
12673         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12674         instead of structures.
12675         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12676         (POLYNOMIAL): Likewise.
12677         (TAYLOR_SLOW): Likewise.
12678         (__sin): Likewise.
12679         (__cos): Likewise.
12680         (slow1): Likewise.
12681         (slow2): Likewise.
12682         (sloww): Likewise.
12683         (sloww1); Likewise.
12684         (sloww2): Likewise.
12685         (bsloww1): Likewise.
12686         (bsloww2): Likewise.
12687         (cslow2): Likewise.
12688         (csloww): Likewise.
12689         (csloww1): Likewise.
12690         (csloww2): Likewise.
12691
12692 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
12693
12694         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12695         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12696         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12697         * malloc/hooks.c (realloc_check): Likewise.
12698
12699         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12700         * malloc/arena.c: Remove PER_THREAD conditional.
12701         [!PER_THREAD]: Remove code.
12702         (ptmalloc_unlock_all2): Likewise.
12703         (ptmalloc_init): Likewise.
12704         (_int_new_arena): Likewise.
12705         (arena_get2): Likewise.
12706         * malloc/hooks.c (__malloc_get_state): Likewise.
12707         (__malloc_set_state): Likewise.
12708         * malloc/malloc.c: Likewise.
12709         (struct malloc_state): Likewise.
12710         (struct malloc_par): Likewise.
12711         (__libc_realloc): Likewise.
12712         (__libc_mallopt): Likewise.
12713
12714 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12715
12716         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12717
12718 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
12719
12720         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12721         macro to a function.  Check for zero perturb_byte.
12722         (_int_malloc, _int_free): Remove zero perturb_byte checks.
12723
12724         * malloc/malloc.c: (force_reg): Remove.
12725         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12726         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12727         force_reg by atomic_forced_read.
12728         * malloc/arena.c (ptmalloc_init): Likewise.
12729         * malloc/hooks.c (top_check): Likewise.
12730
12731 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12732
12733         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12734
12735 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
12736
12737         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12738
12739 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
12740
12741         * math/auto-libm-test-in: Add tests of lgamma.
12742         * math/auto-libm-test-out: Regenerated.
12743         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12744         (M_LOG_2_SQRT_PIl): Likewise.
12745         (lgamma_test_data): Use AUTO_TESTS_f_f1.
12746         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12747         mpfr_f_f1.
12748         (func_calc_desc): Add mpfr_f_f1 union field.
12749         (ARGS1): New macro.
12750         (ARGS2): Likewise.
12751         (ARGS3): Likewise.
12752         (ARGS4): Likewise.
12753         (RET1): Likewise.
12754         (RET2): Likewise.
12755         (CALC): Likewise.
12756         (FUNC): Likewise.
12757         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12758         (test_functions): Add lgamma.
12759         (calc_generic_results): Handle mpfr_f_f1.
12760         * sysdeps/i386/fpu/libm-test-ulps: Update.
12761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12762
12763 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12764
12765         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12766         __mpn_add_n for PowerPC64/POWER7.
12767         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12768         __mpn_sub_n for PowerPC64/POWER7.
12769
12770         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12771         __mpn_addmul_1 for PowerPC64.
12772         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12773         __mpn_submul_1 for PowerPC64.
12774         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12775         for PowerPC64.
12776         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12777         for PowerPC64.
12778
12779 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
12780
12781         [BZ #15089]
12782         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12783
12784 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12785
12786         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12787
12788         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12789         add multiarch folders.
12790         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12791         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12792         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12793         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12794         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12795         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12796         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12797         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12798         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12799         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12800         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12807
12808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12809         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12811         New file.
12812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12813         New file.
12814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12815         multiarch __ieee754_hypot for PowerPC32.
12816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12817         New file.
12818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12819         New file.
12820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12821         multiarch __ieee754_hypotf for PowerPC32.
12822
12823         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12824         long_double_symbol only if __logbl is defined.
12825         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12826         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12827         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12828         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12829         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12830         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12831         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12832         path for implementation.
12833         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12834         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12836         logb, and logbl multiarch implementations for PowerPC32.
12837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12838         file.
12839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12840         file.
12841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12842         multiarch logb for PowerPC32.
12843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12844         file.
12845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12846         file.
12847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12848         multiarch logbf for PowerPC32.
12849         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12851         file.
12852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12853         multiarch logbl implementation for PowerPC32.
12854
12855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12856         and modff multiarch implementations.
12857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12858         New file.
12859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12860         New file.
12861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12862         multiarch modf for PowerPC32.
12863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12864         New file.
12865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12866         New file.
12867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12868         multiarch modff for PowerPC32.
12869
12870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12871         and lrintf multiarch implementations.
12872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12873         New file.
12874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12875         New file.
12876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12877         multiarch lrint for PowerPC32.
12878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12879         file: multiarch lrintf for PowerPC32.
12880
12881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12882         and lroundf multiarch implementations.
12883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12884         New file.
12885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12886         New file.
12887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12888         New file.
12889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12890         multiarch lround for PowerPC32.
12891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12892         file: multiarch lroundf for PowerPC32.
12893
12894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12895         copysign and copysignf multiarch implementations.
12896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12897         New file.
12898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12899         New file.
12900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12901         file: multiarch copysign for PowerPC32.
12902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12903         file: multiarch copysignf for PowerPC32.
12904
12905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12906         and truncf multiarch implementations.
12907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12908         New file.
12909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12910         file.
12911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12912         multiarch trunc for PowerPC32.
12913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12914         New file.
12915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12916         New file.
12917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12918         multiarch truncf for PowerPC32.
12919
12920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12921         and roundf multiarch implementations.
12922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12923         New file.
12924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12925         file.
12926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12927         multiarch round for PowerPC32.
12928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12929         New file.
12930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12931         New file.
12932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12933         multiarch roundf for PowerPC32.
12934
12935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12936         and floorf multiarch implementations.
12937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12938         New file.
12939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12940         file.
12941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12942         multiarch floor for PowerPC32.
12943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12944         New file.
12945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12946         New file.
12947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12948         multiarch floorf for PowerPC32.
12949
12950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12951         and ceilf multiarch implementations.
12952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12953         New file.
12954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12955         file.
12956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12957         multiarch ceil for PowerPC32.
12958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12959         New file.
12960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12961         file.
12962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12963         multiarch ceilf for PowerPC32.
12964
12965         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12966         is defined.
12967         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12968         FINITEF is defined.
12969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12970         and finitef multiarch implementations.
12971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12972         New file.
12973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12974         file.
12975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12976         multiarch finite for PowerPC32.
12977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12978         New file.
12979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12980         file: multiarch finitef for PowerPC32.
12981
12982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12983         and isinff multiarch implementations.
12984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12985         file.
12986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12987         file.
12988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12989         multiarch isinf for PowerPC32.
12990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12991         New file.
12992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12993         multiarch isinff for PowerPC32.
12994
12995         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12996         alias when __isnan is defined.
12997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12998         and isnanf multiarch implementations.
12999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13000         file.
13001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13002         file.
13003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13004         file.
13005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13006         file.
13007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13008         multiarch isnan for PowerPC32.
13009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13010         New file.
13011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13012         New file.
13013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13014         multiarch isnanf for PowerPC32.
13015
13016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13017         and sqrtf multiarch implementations.
13018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13019         file.
13020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13021         file.
13022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13023         multiarch sqrt for PowerPC32.
13024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13025         file.
13026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13027         file.
13028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13029         multiarch sqrtf for PowerPC32.
13030
13031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13032         and llroundf multiarch implementations.
13033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13034         New file.
13035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13036         New file.
13037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13038         New file.
13039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13040         file: multiarch llround for PowerPC32.
13041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13042         file: multiarch llroundf for PowerPC32.
13043
13044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13045         multiarch PowerPC32 fpu implementations.
13046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13047         New file.
13048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13049         New file.
13050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13051         multiarch llrint for PowerPC32.
13052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13053         New file.
13054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13055         New file.
13056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13057         file.
13058
13059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13060
13061         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13062         file.
13063         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13064         file.
13065         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13066         file.
13067         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13068         multiarch wordcopy for PPC32.
13069         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13070         wordcopy objects.
13071         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13072         (__libc_ifunc_impl_list): Likewise.
13073         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13074         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13075         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13076         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13077         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13078         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13079
13080         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13081         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13082         file.
13083         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13084         file.
13085         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13086         file.
13087         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13088         multiarch wcscpy for PPC32.
13089         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13090         multiarch objects.
13091         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13092         (__libc_ifunc_impl_list): Likewise.
13093         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13094         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13095         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13096         sysdeps/powerpc/power6/wcscpy.c.
13097
13098         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13099         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13100         file.
13101         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13102         file.
13103         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13104         file.
13105         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13106         multiarch wcsrchr for PPC32.
13107         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13108         multiarch objects.
13109         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13110         (__libc_ifunc_impl_list): Likewise.
13111         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13112         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13113         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13114         sysdeps/powerpc/power6/wcsrchr.c.
13115
13116         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13117         file.
13118         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13119         file.
13120         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13121         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13122         multiarch wcschr for PPc32.
13123         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13124         multiarch objects.
13125         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13126         (__libc_ifunc_impl_list): Likewise.
13127         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13128         * sysdeps/powerpc/power6/wcschr.c: ... to here.
13129         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13130         sysdeps/powerpc/power6/wcschr.c.
13131
13132         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13133         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13134         file.
13135         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13136         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13137         file: multiarch strchr for PPC32.
13138         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13139         multiarch objects.
13140         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13141         (__libc_ifunc_impl_list): Likewise.
13142
13143         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13144         name.
13145         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13146         file.
13147         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13148         file.
13149         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13150         multiarch strchrnul for PPC32.
13151         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13152         multiarch objects.
13153         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13154         (__libc_ifunc_impl_list): Likewise.
13155
13156         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13157         file.
13158         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13159         multiarch strncasecmp for PPC32.
13160         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13161         file.
13162         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13163         multiarch strncasecmp_l for PPC32.
13164         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13165         strncasecmp multiarch objects.
13166         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13167         (__libc_ifunc_impl_list): Likewise.
13168
13169         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13170         file.
13171         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13172         multiarch strncasecmp for PPC32.
13173         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13174         New file.
13175         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13176         multiarch strcasecmp_l for PPC32.
13177         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13178         multiarch objects.
13179         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13180         (__libc_ifunc_impl_list): Likewise.
13181
13182         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13183         file.
13184         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13185         file.
13186         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13187         multiarch strncmp for PPC32.
13188         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13189         multiarch objects.
13190         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13191         (__libc_ifunc_impl_list): Likewise.
13192
13193         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13194         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13195         file.
13196         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13197         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13198         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13199         multiarch objects.
13200         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13201         (__libc_ifunc_impl_list): Likewise.
13202
13203         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13204         file.
13205         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13206         file.
13207         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13208         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13209         multiarch objects.
13210         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13211         (__libc_ifunc_impl_list): Likewise.
13212
13213         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13214         file.
13215         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13216         file.
13217         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13218         multiarch rawmemchr for PPC32.
13219         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13220         multiarch objects.
13221         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13222         (__libc_ifunc_impl_list): Likewise.
13223
13224         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13225         file.
13226         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13227         file.
13228         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13229         file: memrchr multiarch for PPC32.
13230         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13231         multiarch objects.
13232         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13233         (__libc_ifunc_impl_list): Likewise.
13234
13235         * string/memchr.c (__memchr): Using macro to redefine symbol name.
13236         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13237         file.
13238         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13239         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13240         multiarch memchr for PPC32.
13241         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13242         multiarch objects.
13243         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13244         (__libc_ifunc_impl_list): Likewise.
13245
13246         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13247         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13248         file.
13249         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13250         file.
13251         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13252         file: multiarch mempcpy for PPC32.
13253         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13254         multiarch objects.
13255         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13256         (__libc_ifunc_impl_list): Likewise.
13257
13258         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13259         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13260         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13261         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13262         multiarch bzero for PPC32.
13263         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13264         file.
13265         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13266         file.
13267         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13268         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13269         file: multiarch memset for PPC32.
13270         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13271         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13272         memset multiarch objects.
13273         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13274         (__libc_ifunc_impl_list): Likewise.
13275
13276         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13277         file.
13278         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13279         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13280         memcmp for PPC32.
13281         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13282         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13283         multiarch objects.
13284         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13285         (__libc_ifunc_impl_list): Likewise.
13286
13287         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13288         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13289         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13290         file.
13291         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13292         file.
13293         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13294         file.
13295         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13296         multiarch memcpy for PPC32.
13297         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13298         multiarch objects.
13299         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13300         (__libc_ifunc_impl_list): Likewise.
13301
13302         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13303         support multiarch for POWER/PPC32.
13304         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13305         Likewise.
13306         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13308         Implies file to make multiarch folder appers before the fpu and
13309         default folder for power4 configuration.
13310
13311 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
13312
13313         * scripts/bench.pl: Append volatile keyword to type.
13314
13315 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13316
13317         * sysdeps/sh/sotruss-lib.c: New file.
13318         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13319
13320 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13321
13322         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13323
13324 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
13325
13326         [BZ #6810]
13327         * math/w_tgamma.c: Include <errno.h>.
13328         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
13329         * math/w_tgammaf.c: Include <errno.h>.
13330         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
13331         * math/w_tgammal.c: Include <errno.h>.
13332         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
13333         * math/auto-libm-test-in: Do not allow missing errno on tgamma
13334         underflow.  Add more tgamma tests.
13335         * math/auto-libm-test-out: Regenerated.
13336         * sysdeps/i386/fpu/libm-test-ulps: Update.
13337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13338
13339         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13340         sin, sinh, tan, tanh, tgamma, y0 and y1.
13341         * math/auto-libm-test-out: Regenerated.
13342         * math/libm-test.inc (TEST_COND_x86_64): New macro.
13343         (TEST_COND_x86): Likewise.
13344         (M_E2l): Remove macro.
13345         (M_E3l): Likewise.
13346         (M_2_SQRT_PIl): Likewise.
13347         (M_SQRT_PIl): Likewise.
13348         (M_1_DIV_El): Likewise.
13349         (log_test_data): Use AUTO_TESTS_f_f.
13350         (log10_test_data): Likewise.
13351         (log1p_test_data): Likewise.
13352         (log2_test_data): Likewise.
13353         (sin_test_data): Likewise.
13354         (sin_tonearest_test_data): Likewise.
13355         (sin_towardzero_test_data): Likewise.
13356         (sin_downward_test_data): Likewise.
13357         (sin_upward_test_data): Likewise.
13358         (sinh_test_data): Likewise.
13359         (sinh_tonearest_test_data): Likewise.
13360         (sinh_towardzero_test_data): Likewise.
13361         (sinh_downward_test_data): Likewise.
13362         (sinh_upward_test_data): Likewise.
13363         (tan_test_data): Likewise.
13364         (tan_tonearest_test_data): Likewise.
13365         (tan_towardzero_test_data): Likewise.
13366         (tan_downward_test_data): Likewise.
13367         (tan_upward_test_data): Likewise.
13368         (tanh_test_data): Likewise.
13369         (tgamma_test_data): Likewise.
13370         (y0_test_data): Likewise.
13371         (y1_test_data): Likewise.
13372         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13373         (special_real_inputs): Add pi/4.
13374         * sysdeps/i386/fpu/libm-test-ulps: Update.
13375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13376
13377 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13378
13379         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13380         "longjmp_target" static probes.
13381         (__longjmp): Rename to __longjmp_symbol.
13382         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13383         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13384         on which longjmp to generate.
13385         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13386         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13387         probe.
13388         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13389         (__sigjmp_save): Rename to __sigjmp_save_symbol.
13390         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13391         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13392         and __sigjmp_save_symbol based on which sigsetjmp to generated.
13393         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13395         __longjmp_symbol based on which __longjmp to generate.
13396         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13397         probe.
13398         (setjmp): Rename to setjmp_symbol.
13399         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13400         (_setjmp): Rename to _setjmp_symbol.
13401         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13402         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13403         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13404         which setjmp to generate.
13405         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13406         "longjmp_target" static probes.
13407
13408 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13409
13410         * benchtests/README: Add note about output arguments.
13411         * benchtests/bench-sincos.c: Remove file.
13412         * benchtests/sincos-inputs: New file.
13413         * scripts/bench.pl: Identify output arguments and define
13414         static variables for them.
13415
13416         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13417
13418         [BZ #15941]
13419         * Makefile (INSTALL): Add install-plain.texi as the primary
13420         dependency.
13421         * manual/install-plain.texi: New file.
13422         * manual/install.texi: Include node directive only for
13423         non-plaintext output.
13424
13425 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
13426
13427         * stdlib/longlong.h: Update from GCC.
13428
13429         [BZ #6807]
13430         [BZ #15901]
13431         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13432         * math/w_j0f.c (y0f): Likewise.
13433         * math/w_j0l.c (__y0l): Likewise.
13434         * math/w_j1.c (y1): Likewise.
13435         * math/w_j1f.c (y1f): Likewise.
13436         * math/w_j1l.c (__y1l): Likewise
13437         * math/w_jn.c (yn): Likewise.
13438         * math/w_jnf.c (ynf): Likewise.
13439         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13440         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
13441         value for Bessel function domain errors outside _SVID_ mode.
13442         Adjust sign of return value for yn (negative integer, 0).
13443         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13444         by zero in return for negative x and set sign appropriately for
13445         negative n.
13446         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13447         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13448         * math/libm-test.inc (y0_test_data): Add more tests and adjust
13449         expectations in error cases.
13450         (y1_test_data): Likewise.
13451         (yn_test_data): Likewise.
13452         * sysdeps/i386/fpu/libm-test-ulps: Update.
13453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13454
13455 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13456
13457         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13458         "64" to "64-v1".  Add "64-v2".
13459         (abi-64-options): Rename to ...
13460         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
13461         (abi-64-condition): Rename to ...
13462         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
13463         (abi-64-ld-soname): Rename to ...
13464         (abi-64-v1-ld-soname): ... this.
13465         (abi-64-v2-options): Define.
13466         (abi-64-v2-condition): Likewise.
13467         (abi-64-v2-ld-soname): Likewise.
13468         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13469         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13473
13474 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13475             Alan Modra  <amodra@gmail.com>
13476
13477         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13478         New versions for use with the ELFv2 ABI.
13479         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13480         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13481         declaration.
13482         (struct La_ppc64v2_retval): Likewise.
13483         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13484         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13485         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13486         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13487         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13488         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13489         Do not save or restore CR.
13490         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13491         (_dl_profile_resolve): Do no save or restore CR.  Support extended
13492         return values for ELFv2 ABI.  Fix location of FPR return registers.
13493         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13494         updated values for _CALL_ELF == 2.
13495         (La_regs, La_retval, int_retval): Likewise.
13496
13497 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13498
13499         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13500         (FRAME_MIN_SIZE_PARM): Likewise.
13501         (FRAME_BACKCHAIN): Likewise.
13502         (FRAME_CR_SAVE): Likewise.
13503         (FRAME_LR_SAVE): Likewise.
13504         (FRAME_TOC_SAVE): Likewise.
13505         (FRAME_PARM_SAVE): Likewise.
13506         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13507         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13508         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13509         (call_mcount_parm_offset): New macro.
13510         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13511         (PROF): Use symbolic stack frame offsets.
13512         (TAIL_CALL_SYSCALL_ERROR): Likewise.
13513         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13514         Redefine in terms of FRAME_MIN_SIZE.
13515         (_dl_runtime_resolve): Use symbolic stack frame offsets.
13516         (_dl_profile_resolve): Likewise.  Update comment.
13517         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13518         symbols stack frame offsets.
13519         (__sigsetjmp): Likewise.
13520         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13521         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13522         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13523         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13524
13525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13526         (FRAME_BACKCHAIN): Remove.
13527         (FRAME_CR_SAVE): Likewise.
13528         (FRAME_LR_SAVE): Likewise.
13529         (FRAME_COMPILER_DW): Likewise.
13530         (FRAME_LINKER_DW): Likewise.
13531         (FRAME_TOC_SAVE): Likewise.
13532         (FRAME_PARM_SAVE): Likewise.
13533         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13534         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13535         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13537         (CHECK_SP): Use symbolic stack frame offsets.
13538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13539         zone" instead of caller's parameter save area for temp storage.
13540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13541         Likewise.  Also, use symbolic stack frame offsets.
13542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13543         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13544         our own stack frame instead of the caller's.
13545         (__socket): Use symbolic stack frame offsets.
13546
13547 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13548             Alan Modra  <amodra@gmail.com>
13549
13550         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13551         Define.
13552         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13553         (PPC64_LOCAL_ENTRY_OFFSET): Define.
13554         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13555         New function.
13556         (elf_machine_fixup_plt): Call it.
13557         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
13558         reloc arguments.
13559         (elf_machine_rela): Update call to elf_machine_plt_conflict.
13560         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13561         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13562         r2 before calling target.
13563
13564 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13565             Alan Modra  <amodra@gmail.com>
13566
13567         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13568         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13569         versions of macros to support ELFv2 ABI.
13570         (LOCALENTRY): New macro.
13571         (ENTRY, EALIGN): Use it.
13572         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13573         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13574         fall through into ENTRY entry point.
13575         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13576         Only define if _CALL_ELF != 2.
13577
13578         (elf_machine_matches_host): Verify ABI version matches.
13579         (RTLD_START): Use LOCALENTRY.
13580         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13581         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13582         (PLT_ENTRY_WORDS): New macro.
13583         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13584         (elf_machine_runtime_setup): Support ELFv2 ABI.
13585         (elf_machine_fixup_plt): Likewise.
13586         (elf_machine_plt_conflict): Likewise.
13587         (resolve_ifunc): Likewise.
13588         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13589         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13590         Likewise.
13591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13592         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13594         (makecontext): Support ELFv2 ABI.
13595         * elf/elf.h (EF_PPC64_ABI): Define.
13596
13597 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13598
13599         * sysdeps/powerpc/powerpc64/sysdep.h
13600         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13601         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13602         (ENTRY) [ASSEMBLER]: ... but instead here ...
13603         (EALIGN) [ASSEMBLER]: ... and here.
13604         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13605         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13606         (ENTRY_2) [!ASSEMBLER]: Use it.
13607         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13608         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
13609         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13610         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13611         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13613         Use PPC64_LOAD_FUNCPTR.
13614
13615         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13616
13617 2013-12-04  Alan Modra  <amodra@gmail.com>
13618
13619         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13620         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13621         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13622         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13623
13624         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13625         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13626         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13627         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13628         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13629         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13630
13631 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13632
13633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13634         (__makecontext): Fix incorrect CFI when backtracing out of
13635         context created via makecontext.
13636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13637         (__setcontext): Fix incorrect CFI during switch to new context.
13638         (__novec_setcontext): Likewise.
13639
13640 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
13641
13642         [BZ #4772]
13643         * time/strptime_l.c (__strptime_internal): Allow modifiers
13644         in strptime.
13645         * time/tst-strptime.c (day_tests): Add testcase.
13646
13647 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13648
13649         * scripts/bench.pl: Skip over blank lines.
13650
13651 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
13652
13653         [BZ #926]
13654         * manual/time.texi (Calendar Time): Clarify what timezone functions
13655         use.
13656
13657 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13658
13659         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13660
13661 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
13662
13663         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13664         implementation.
13665         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13666         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13667         * debug/memset_chk.c (__memset_chk): Likewise.
13668         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13669         * debug/strncpy_chk.c: Likewise.
13670
13671 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
13672
13673         [BZ #15268]
13674         [BZ #15425]
13675         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13676         (__ieee754_exp): For possibly underflowing results, check size of
13677         result and force underflow exception if required.
13678         * math/auto-libm-test-in: Add more tests of exp.
13679         * math/auto-libm-test-out: Regenerated.
13680         * sysdeps/i386/fpu/libm-test-ulps: Update.
13681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13682
13683         [BZ #16283]
13684         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13685         * math/w_exp2f.c (__exp2f): Likewise.
13686         * math/w_exp2l.c (__exp2l): Likewise.
13687         * math/auto-libm-test-in: Do not allow missing errno on exp2
13688         underflow.
13689         * math/auto-libm-test-out: Regenerated.
13690
13691 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
13692
13693         [BZ #16274]
13694         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13695         handle filename validation.
13696         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13697         (do_open): Delete.
13698
13699 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
13700
13701         [BZ #6786]
13702         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13703         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13704         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13705         <float.h>.
13706         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13707         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13708         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13709         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13710         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13711         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13712         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13713         * math/auto-libm-test-in: Don't allow missing errno from erfc.
13714         Add more erfc tests.
13715         * math/auto-libm-test-out: Regenerated.
13716         * sysdeps/i386/fpu/libm-test-ulps: Update.
13717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13718
13719         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13720         exp2, expm1, j0 and j1.
13721         * math/auto-libm-test-out: Regenerated.
13722         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13723         (erfc_test_data): Likewise.
13724         (exp_test_data): Likewise.
13725         (exp_tonearest_test_data): Likewise.
13726         (exp_towardzero_test_data): Likewise.
13727         (exp_downward_test_data): Likewise.
13728         (exp_upward_test_data): Likewise.
13729         (exp10_test_data): Likewise.
13730         (exp2_test_data): Likewise.
13731         (expm1_test_data): Likewise.
13732         (j0_test_data): Likewise.
13733         (j1_test_data): Likewise.
13734         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13735         (input_flag_type): Add flag_xfail_rounding.
13736         (input_flags): Add xfail-rounding.
13737         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13738         (output_for_one_input_case): Handle flag_xfail_rounding.
13739         * sysdeps/i386/fpu/libm-test-ulps: Update.
13740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13741
13742 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
13743
13744         [BZ #16289]
13745         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13746         division by 0.
13747
13748 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
13749
13750         [BZ #16195]
13751         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13752         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13753         (STAP_PROBE0): New macro.
13754         (STAP_PROBE1): Likewise.
13755         (STAP_PROBE2): Likewise.
13756         (STAP_PROBE3): Likewise.
13757         (STAP_PROBE4): Likewise.
13758
13759 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
13760
13761         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13762
13763 2013-12-02  Steve Ellcey  <sellcey@mips.com>
13764
13765         * benchtests/Makefile (bench): Add sqrt.
13766         (LDLIBS-bench-sqrt): New.
13767         * benchtests/sqrt-input: New.
13768
13769 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
13770
13771         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13772         (GAIH_EAI): Likewise.
13773         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13774         (gaih_inet): Likewise.
13775         (getaddrinfo): Don't use GAIH_EAI.
13776
13777         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13778         (struct gaih): Remove definition.
13779
13780 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13781
13782         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13783         Use HERRNOP directly.
13784
13785 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13786
13787         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13788
13789 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
13790
13791         * math/gen-auto-libm-tests.c (test_functions): Add more
13792         single-argument functions.
13793         (special_fill_pi_2): New function.
13794         (special_fill_minus_pi_2): Likewise.
13795         (special_fill_pi_6): Likewise.
13796         (special_fill_minus_pi_6): Likewise.
13797         (special_fill_pi_3): Likewise.
13798         (special_fill_2pi_3): Likewise.
13799         (special_fill_e): Likewise.
13800         (special_fill_1_e): Likewise.
13801         (special_fill_e_minus_1): Likewise.
13802         (special_real_inputs): Add more special inputs.
13803         (output_for_one_input_case): Do not require ERANGE on underflow to
13804         zero if round-to-nearest result does not underflow to zero, unless
13805         exact results required.
13806         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13807         atan, atanh, cbrt, cos and cosh.
13808         * math/auto-libm-test-out: Regenerated.
13809         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13810         (acos_tonearest_test_data): Likewise.
13811         (acos_towardzero_test_data): Likewise.
13812         (acos_downward_test_data): Likewise.
13813         (acos_upward_test_data): Likewise.
13814         (acosh_test_data): Likewise.
13815         (asin_test_data): Likewise.
13816         (asin_tonearest_test_data): Likewise.
13817         (asin_towardzero_test_data): Likewise.
13818         (asin_upward_test_data): Likewise.
13819         (asinh_test_data): Likewise.
13820         (atan_test_data): Likewise.
13821         (atanh_test_data): Likewise.
13822         (cbrt_test_data): Likewise.
13823         (cos_test_data): Likewise.
13824         (cos_tonearest_test_data): Likewise.
13825         (cos_towardzero_test_data): Likewise.
13826         (cos_downward_test_data): Likewise.
13827         (cos_upward_test_data): Likewise.
13828         (cosh_test_data): Likewise.
13829         (cosh_tonearest_test_data): Likewise.
13830         (cosh_towardzero_test_data): Likewise.
13831         (cosh_downward_test_data): Likewise.
13832         (cosh_upward_test_data): Likewise.
13833         * sysdeps/i386/fpu/libm-test-ulps: Update.
13834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13835
13836 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
13837
13838         [BZ #6787]
13839         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13840         * math/w_exp10f.c (__exp10f): Likewise.
13841         * math/w_exp10l.c (__exp10l): Likewise.
13842         * math/libm-test.inc (exp10_test_data): Add more tests and expect
13843         errno settings in existing tests.
13844
13845         [BZ #14032]
13846         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13847         precision control set to double precision.
13848         * sysdeps/i386/fpu/w_sqrt.c: New file.
13849         * math/auto-libm-test-in: Add more tests.
13850         * math/auto-libm-test-out: Update.
13851
13852         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13853         (sqrt_test_tonearest): New function.
13854         (sqrt_towardzero_test_data): New variable.
13855         (sqrt_test_towardzero): New function.
13856         (sqrt_downward_test_data): New variable.
13857         (sqrt_test_downward): New function.
13858         (sqrt_upward_test_data): New variable.
13859         (sqrt_test_upward): New function.
13860         (main): Call the new functions.
13861
13862         * math/gen-auto-libm-tests.c: New file.
13863         * math/auto-libm-test-in: Likewise.
13864         * math/auto-libm-test-out: New generated file.
13865         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13866         variables.
13867         (%beautify): Add generated representations of zero.
13868         (top level): Set $auto_input and call parse_auto_input.
13869         (beautify): Remove trailing "f" from hex float constants.
13870         (parse_args): Handle XFAIL_TEST.
13871         (convert_condition): New function.
13872         (or_value): Likewise.
13873         (or_cond_value): Likewise.
13874         (generate_testfile): Handle AUTO_TESTS_* lines.
13875         (parse_auto_input): New function.
13876         * math/libm-test.inc (XFAIL_TEST): New macro.
13877         (ERRNO_UNCHANGED): Update value.
13878         (ERRNO_EDOM): Likewise.
13879         (ERRNO_ERANGE): Likewise.
13880         (IGNORE_RESULT): Likewise.
13881         (TEST_COND_flt_32): New macro.
13882         (TEST_COND_dbl_64): Likewise.
13883         (TEST_COND_ldbl_96_intel): Likewise.
13884         (TEST_COND_ldbl_96_m68k): Likewise.
13885         (TEST_COND_ldbl_128): Likewise.
13886         (TEST_COND_ldbl_128ibm): Likewise.
13887         (TEST_COND_long32): Likewise.
13888         (TEST_COND_long64): Likewise.
13889         (TEST_COND_before_rounding): Likewise.
13890         (TEST_COND_after_rounding): Likewise.
13891         (enable_test): Handle XFAIL_TEST flag.
13892         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13893         with finite results.
13894         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13895         auto-libm-test-out.
13896
13897 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13898             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13899
13900         [BZ #16214]
13901         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13902         __tls_get_addr_internal instead of __tls_get_offset in order to
13903         avoid GOT pointer dependency.  Make rtld export
13904         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13905         __tls_get_addr since we are a __tls_get_offset platform.
13906         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13907         GOT pointer being set up before.
13908         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13909
13910 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
13911
13912         * manual/math.texi (Errors in Math Functions): Document accuracy
13913         goals.
13914
13915         [BZ #15004]
13916         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13917         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13918         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13919         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13920         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13921         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13922         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13923         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13924         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13925         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13926         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13927         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13928         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13929         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13930         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13931         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13932
13933         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13934         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13935         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13936         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13937         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13938         Likewise.
13939         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13940         Likewise.
13941         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13942         Likewise.
13943         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13944         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13945         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13946         atomic-feupdateenv and flt-rounds.
13947         * sysdeps/powerpc/nofpu/Versions (libc): Add
13948         __atomic_feholdexcept, __atomic_feclearexcept,
13949         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13950         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13951         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13952         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13953         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13954         here.
13955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13956         Update.
13957
13958         * manual/arith.texi (FP Exceptions): Document that exceptions may
13959         not be raised when matherr is used.
13960         (Math Error Reporting): Document overflow in directed rounding
13961         modes.  Document that errno may not be set when finite values are
13962         returned on overflow.  Document intent to set errno on underflow
13963         only for underflow to zero.
13964
13965         [BZ #16271]
13966         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13967         round-to-nearest then adjust result for other rounding modes.
13968         * include/fenv.h (fegetround): Use libm_hidden_proto.
13969         * math/fegetround.c (fegetround): Use libm_hidden_def.
13970         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13971         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13972         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13973         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13974         Likewise.
13975         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13976         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13977         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13978         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13979
13980 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13981
13982         [BZ #16077]
13983         * nss/Versions (libnss_files): Add
13984         _nss_files_gethostbyname3_r.
13985         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13986         New function.
13987         (HOST_DB_LOOKUP): Remove macro.
13988         (_nss_files_gethostbyname_r): Implement function without the
13989         HOST_DB_LOOKUP macro.
13990         (_nss_files_gethostbyname2_r): Likewise.
13991
13992 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
13993
13994         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13995
13996 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
13997
13998         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13999         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14000         warning.
14001
14002 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14003
14004         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14005         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14006         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14007         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14008         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14009         __fe_nomask_env_priv and attribute_hidden.
14010         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14011         (libc_feupdateenv_test_ppc): Likewise.
14012         (libc_feresetround_ppc): Likewise.
14013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14014         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14015         compat_symbol macro.
14016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14017         (__fe_nomask_env): Likewise.
14018         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14019
14020 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14021
14022         * string/Makefile: Remove ifunc tests.
14023         * string/test-string.h: Define TEST_IFUNC.
14024         * string/test-bcopy-ifunc.c: Remove.
14025         * string/test-bzero-ifunc.c: Likewise.
14026         * string/test-memccpy-ifunc.c: Likewise.
14027         * string/test-memchr-ifunc.c: Likewise.
14028         * string/test-memcmp-ifunc.c: Likewise.
14029         * string/test-memcpy-ifunc.c: Likewise.
14030         * string/test-memmem-ifunc.c: Likewise.
14031         * string/test-memmove-ifunc.c: Likewise.
14032         * string/test-mempcpy-ifunc.c: Likewise.
14033         * string/test-memrchr-ifunc.c: Likewise.
14034         * string/test-memset-ifunc.c: Likewise.
14035         * string/test-rawmemchr-ifunc.c: Likewise.
14036         * string/test-stpcpy-ifunc.c: Likewise.
14037         * string/test-stpncpy-ifunc.c: Likewise.
14038         * string/test-strcasecmp-ifunc.c: Likewise.
14039         * string/test-strcasestr-ifunc.c: Likewise.
14040         * string/test-strcat-ifunc.c: Likewise.
14041         * string/test-strchr-ifunc.c: Likewise.
14042         * string/test-strchrnul-ifunc.c: Likewise.
14043         * string/test-strcmp-ifunc.c: Likewise.
14044         * string/test-strcpy-ifunc.c: Likewise.
14045         * string/test-strcspn-ifunc.c: Likewise.
14046         * string/test-strlen-ifunc.c: Likewise.
14047         * string/test-strncasecmp-ifunc.c: Likewise.
14048         * string/test-strncat-ifunc.c: Likewise.
14049         * string/test-strncmp-ifunc.c: Likewise.
14050         * string/test-strncpy-ifunc.c: Likewise.
14051         * string/test-strnlen-ifunc.c: Likewise.
14052         * string/test-strpbrk-ifunc.c: Likewise.
14053         * string/test-strrchr-ifunc.c: Likewise.
14054         * string/test-strspn-ifunc.c: Likewise.
14055         * string/test-strstr-ifunc.c: Likewise.
14056
14057 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14058
14059         * benchtests/Makefile: Remove ifunc tests.
14060         * benchtests/bench-string.h: Define TEST_IFUNC.
14061         * benchtests/bench-bcopy-ifunc.c: Remove.
14062         * benchtests/bench-bzero-ifunc.c: Likewise.
14063         * benchtests/bench-memccpy-ifunc.c: Likewise.
14064         * benchtests/bench-memchr-ifunc.c: Likewise.
14065         * benchtests/bench-memcmp-ifunc.c: Likewise.
14066         * benchtests/bench-memcpy-ifunc.c: Likewise.
14067         * benchtests/bench-memmem-ifunc.c: Likewise.
14068         * benchtests/bench-memmove-ifunc.c: Likewise.
14069         * benchtests/bench-mempcpy-ifunc.c: Likewise.
14070         * benchtests/bench-memrchr-ifunc.c: Likewise.
14071         * benchtests/bench-memset-ifunc.c: Likewise.
14072         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14073         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14074         * benchtests/bench-stpcpy-ifunc.c: Likewise.
14075         * benchtests/bench-stpncpy-ifunc.c: Likewise.
14076         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14077         * benchtests/bench-strcasestr-ifunc.c: Likewise.
14078         * benchtests/bench-strcat-ifunc.c: Likewise.
14079         * benchtests/bench-strchr-ifunc.c: Likewise.
14080         * benchtests/bench-strchrnul-ifunc.c: Likewise.
14081         * benchtests/bench-strcmp-ifunc.c: Likewise.
14082         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14083         * benchtests/bench-strcpy-ifunc.c: Likewise.
14084         * benchtests/bench-strcspn-ifunc.c: Likewise.
14085         * benchtests/bench-strlen-ifunc.c: Likewise.
14086         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14087         * benchtests/bench-strncat-ifunc.c: Likewise.
14088         * benchtests/bench-strncmp-ifunc.c: Likewise.
14089         * benchtests/bench-strncpy-ifunc.c: Likewise.
14090         * benchtests/bench-strnlen-ifunc.c: Likewise.
14091         * benchtests/bench-strpbrk-ifunc.c: Likewise.
14092         * benchtests/bench-strrchr-ifunc.c: Likewise.
14093         * benchtests/bench-strsep-ifunc.c: Likewise.
14094         * benchtests/bench-strspn-ifunc.c: Likewise.
14095         * benchtests/bench-strstr-ifunc.c: Likewise.
14096
14097 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14098
14099         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14100
14101 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14102
14103         * resolv/netdb.h: Use __glibc_reserved instead __unused.
14104         * rt/aio.h: Likewise.
14105         * sysdeps/gnu/bits/utmp.h: Likewise.
14106         * sysdeps/gnu/bits/utmpx.h: Likewise.
14107         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14108         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14109         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14110         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14111         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14112         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14113         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14114         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14115         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14116         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14117         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14118         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14119         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14121         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14122         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14123         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14124         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14125         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14126         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14127         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14128         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14129         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14130         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14131         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14132         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14133         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14134         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14135         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14136         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14137         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14138         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14139         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14140         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14141         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14142         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14143         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14144         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14145         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14146         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14147         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14148         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14149
14150 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
14151
14152         [BZ #16245]
14153         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14154         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14155
14156 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
14157
14158         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14159         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14160         Likewise.
14161
14162 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14163
14164         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14165         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14166         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14167         (__fesetround): Remove define.
14168         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14169         rounding and exceptions handling.
14170         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14171         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14172         (__fe_nomask_env): Likewise.
14173         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14174         __fegetround instead of fegetround.
14175         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14176         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14177
14178 2013-11-21  Roland McGrath  <roland@hack.frob.com>
14179
14180         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14181         it's there.
14182
14183         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14184
14185 2013-11-21  Meador Inge  <meadori@codesourcery.com>
14186
14187         [BZ #11157]
14188         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14189         (encrypt_r): Likewise.
14190         * malloc/obstack.h (obstack_free): Likewise.
14191         * posix/unistd.h (encrypt): Likewise.
14192
14193 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
14194
14195         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14196         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14197         DL_CALL_DT_FINI() that call the functions directly.
14198         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14199         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14200         * elf/dl-fini.c: Likewise.
14201
14202 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
14203
14204         * malloc/hooks.c (memalign_check): Add alignment rounding.
14205         * malloc/malloc.c (_mid_memalign): New function.
14206         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14207         Implement by calling _mid_memalign.
14208         * manual/probes.texi (Memory Allocation Probes): Remove
14209         memory_valloc_retry and memory_pvalloc_retry.
14210
14211 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14212
14213         * locale/programs/locarchive.c (open_archive): Add const
14214         qualifier to ARCHIVEFNAME and copy default fname to
14215         DEFAULT_FNAME.
14216
14217         [BZ #15601]
14218         * libio/tst-widetext.input: Rename Oriya to Odia.
14219         * locale/iso-639.def: Likewise.
14220
14221         * manual/probes.texi (Mathematical Function Probes): Add
14222         documentation for sin, cos, asin and acos probes.
14223         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14224         (__sin32): Add slowasin probe.
14225         (__cos32): Add slowacos probe.
14226         (__mpsin): Add slowsin probe.
14227         (__mpcos): Add slowcos probe.
14228
14229 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
14230
14231         [BZ #15483]
14232         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14233         thread-local __sim_exceptions_thread and global
14234         __sim_exceptions_global.
14235         (__sim_disabled_exceptions): Change to thread-local
14236         __sim_disabled_exceptions_thread and global
14237         __sim_disabled_exceptions_global.
14238         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14239         and global __sim_round_mode_global.
14240         (__simulate_exceptions): Use thread-local floating-point state and
14241         set global state from it as needed.
14242         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14243         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14244         __sim_round_mode_thread.
14245         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14246         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14247         and global __sim_exceptions_global.
14248         (__sim_disabled_exceptions): Change to thread-local
14249         __sim_disabled_exceptions_thread and global
14250         __sim_disabled_exceptions_global.
14251         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14252         and global __sim_round_mode_global.
14253         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14254         (SIM_SET_GLOBAL): Likewise.
14255         * sysdeps/powerpc/soft-fp/sfp-machine.h
14256         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14257         __sim_round_mode_thread.
14258         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14259         __sim_disabled_exceptions_thread.
14260         (__sim_exceptions): Change to __sim_exceptions_thread.
14261         (__sim_disabled_exceptions): Change to
14262         __sim_disabled_exceptions_thread.
14263         (__sim_round_mode): Change to __sim_round_mode_thread.
14264         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14265         thread-local floating-point state and set global state from it as
14266         needed.
14267         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14268         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14269         (__sim_disabled_exceptions): Remove extern declaration.
14270         (feenableexcept): Use thread-local floating-point state and set
14271         global state from it as needed.
14272         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14273         extern declaration.
14274         (__sim_disabled_exceptions): Likewise.
14275         (__sim_round_mode): Likewise.
14276         (__fegetenv): Use thread-local floating-point state.
14277         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14278         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14279         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14280         floating-point state and set global state from it as needed.
14281         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14282         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14283         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14284         Likewise.
14285         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14286         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14287         Likewise.
14288         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14289         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14290         Use __sim_round_mode_thread.
14291         * math/test-fenv-tls.c: New file.
14292         * math/Makefile (tests): Add test-fenv-tls.
14293         ($(objpfx)test-fenv-tls): Depend on
14294         $(common-objpfx)nptl/libpthread.so.
14295
14296 2013-11-19  Andreas Schwab  <schwab@suse.de>
14297
14298         * locale/programs/locale.c (show_info): Decode wordarray elements.
14299         * locale/categories.def (LC_MONETARY): Add element for
14300         _NL_MONETARY_CRNCYSTR.
14301         * locale/C-monetary.c (conversion_rate): New variable.
14302         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14303         element.
14304
14305 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
14306
14307         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14308         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14309
14310 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
14311
14312         * elf/Makefile (tst-auxv): New test.
14313         * elf/tst-auxv.c: New
14314         * elf/rtld.c (dl_main): Adjust AT_EXECFN
14315
14316 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
14317
14318         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14319         (hidden_proto): Caller changed.
14320         (hidden_tls_proto): New macro.
14321         (libc_hidden_tls_proto): Likewise.
14322         (rtld_hidden_tls_proto): Likewise.
14323         (libm_hidden_tls_proto): Likewise.
14324         (libresolv_hidden_tls_proto): Likewise.
14325         (librt_hidden_tls_proto): Likewise.
14326         (libdl_hidden_tls_proto): Likewise.
14327         (libnss_files_hidden_tls_proto): Likewise.
14328         (libnsl_hidden_tls_proto): Likewise.
14329         (libnss_nisplus_hidden_tls_proto): Likewise.
14330         (libutil_hidden_tls_proto): Likewise.
14331
14332 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
14333
14334         [BZ #10253]
14335         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14336         (decompose_rpath): Defer expansion to fillin_rpath.
14337         (_dl_init_paths): Pass linkmap to fillin_rpath.
14338
14339 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14340
14341         * benchtests/Makefile: Add strsep.
14342         * benchtests/bench-strsep.c: New file: strsep benchtest.
14343         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14344
14345 2013-11-18  Andreas Schwab  <schwab@suse.de>
14346
14347         * locale/programs/locale.c (show_info) [case byte]: Check for
14348         '\377' instead of '\177'.
14349         * locale/C-monetary.c (not_available): Always use "\377".
14350         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14351         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
14352         detect unavailable sign_posn locale elements.
14353         * locale/localeconv.c (__localeconv): For grouping and
14354         mon_grouping handle "\177" and "\377" like no grouping.
14355         (INT_ELEM): New macro.  Use it to set all numeric members.
14356         * locale/programs/ld-monetary.c (monetary_read)
14357         <tok_mon_grouping>: Normalize single -1 to the empty string.
14358         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14359         Likewise.
14360
14361 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14362
14363         [BZ #16055]
14364         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14365         when we match (nil).
14366         * stdio-common/tst-sscanf.c (struct test): Add testcase.
14367
14368 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
14369
14370         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14371         (NO_TEST_INLINE): Update value.
14372         (ERRNO_UNCHANGED): Likewise.
14373         (ERRNO_EDOM): Likewise.
14374         (ERRNO_ERANGE): Likewise.
14375         (IGNORE_RESULT): Likewise.
14376         (check_float_internal): Check signs of NaN results if
14377         TEST_NAN_SIGN used.
14378         (check_complex): Pass TEST_NAN_SIGN flag through to second
14379         check_float_internal call.
14380         (copysign_test_data): Add tests with quiet NaNs as second
14381         argument.  Use TEST_NAN_SIGN.
14382         (fabs_test_data): Add test of negative quiet NaN argument.  Use
14383         TEST_NAN_SIGN.
14384         (signbit_test_data): Add tests of quiet NaN argument.
14385         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14386
14387         * math/gen-libm-test.pl (show_exceptions): Take extra argument
14388         $ignore_result.
14389         (parse_args): Handle function results specified as IGNORE.
14390         * math/libm-test.inc (IGNORE_RESULT): New macro.
14391         (check_float_internal): Do not check numerical result if flag
14392         IGNORE_RESULT set.
14393         (check_complex): Pass through IGNORE_RESULT to second
14394         check_float_internal call.
14395         (check_int): Do not check numerical result if flag IGNORE_RESULT
14396         set.
14397         (check_long): Likewise.
14398         (check_bool): Likewise.
14399         (check_longlong): Likewise.
14400         (lrint_test_data): Add tests of infinite and NaN arguments.
14401         (lrint_tonearest_test_data): Likewise.
14402         (lrint_towardzero_test_data): Likewise.
14403         (lrint_downward_test_data): Likewise.
14404         (lrint_upward_test_data): Likewise.
14405         (llrint_test_data): Likewise.
14406         (llrint_tonearest_test_data): Likewise.
14407         (llrint_towardzero_test_data): Likewise.
14408         (llrint_downward_test_data): Likewise.
14409         (llrint_upward_test_data): Likewise.
14410         (lround_test_data): Likewise.
14411         (llround_test_data): Likewise.
14412
14413         * math/libm-test.inc (NO_TEST_INLINE): New macro.
14414         (ERRNO_UNCHANGED): Update value.
14415         (ERRNO_EDOM): Likewise.
14416         (ERRNO_ERANGE): Likewise.
14417         (NO_TEST_INLINE_FLOAT): New macro.
14418         (NO_TEST_INLINE_DOUBLE): Likewise.
14419         (enable_test): New function.
14420         (RUN_TEST_f_f): Check enable_test before running test.
14421         (RUN_TEST_2_f): Likewise.
14422         (RUN_TEST_fff_f): Likewise.
14423         (RUN_TEST_c_f): Likewise.
14424         (RUN_TEST_f_f1): Likewise.
14425         (RUN_TEST_fF_f1): Likewise.
14426         (RUN_TEST_fI_f1): Likewise.
14427         (RUN_TEST_ffI_f1): Likewise.
14428         (RUN_TEST_c_c): Likewise.
14429         (RUN_TEST_cc_c): Likewise.
14430         (RUN_TEST_f_i): Likewise.
14431         (RUN_TEST_f_i_tg): Likewise.
14432         (RUN_TEST_ff_i_tg): Likewise.
14433         (RUN_TEST_f_b): Likewise.
14434         (RUN_TEST_f_b_tg): Likewise.
14435         (RUN_TEST_f_l): Likewise.
14436         (RUN_TEST_f_L): Likewise.
14437         (RUN_TEST_fFF_11): Likewise.
14438         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14439         conditionals.
14440         (cosh_test_data): Likewise.
14441         (exp_test_data): Likewise.
14442         (expm1_test_data): Likewise.
14443         (hypot_test_data): Likewise.
14444         (pow_test_data): Likewise.
14445         (sinh_test_data): Likewise.
14446         (tanh_test_data): Likewise.
14447         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14448         flags argument.
14449
14450         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14451         tests with quiet NaN input and output.
14452         (acosh_test_data): Likewise.
14453         (asin_test_data): Likewise.
14454         (asinh_test_data): Likewise.
14455         (atan_test_data): Likewise.
14456         (atanh_test_data): Likewise.
14457         (atan2_test_data): Likewise.
14458         (cbrt_test_data): Likewise.
14459         (cos_test_data): Likewise.
14460         (cosh_test_data): Likewise.
14461         (erf_test_data): Likewise.
14462         (erfc_test_data): Likewise.
14463         (exp_test_data): Likewise.
14464         (exp10_test_data): Likewise.
14465         (exp2_test_data): Likewise.
14466         (expm1_test_data): Likewise.
14467         (hypot_test_data): Likewise.
14468         (j0_test_data): Likewise.
14469         (j1_test_data): Likewise.
14470         (jn_test_data): Likewise.
14471         (lgamma_test_data): Likewise.
14472         (log_test_data): Likewise.
14473         (log10_test_data): Likewise.
14474         (log1p_test_data): Likewise.
14475         (log2_test_data): Likewise.
14476         (pow_test_data): Likewise.
14477         (scalb_test_data): Likewise.
14478         (sin_test_data): Likewise.
14479         (sincos_test_data): Likewise.
14480         (sinh_test_data): Likewise.
14481         (tan_test_data): Likewise.
14482         (tanh_test_data): Likewise.
14483         (tgamma_test_data): Likewise.
14484         (y0_test_data): Likewise.
14485         (y1_test_data): Likewise.
14486         (yn_test_data): Likewise.
14487
14488         [BZ #16167]
14489         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14490         argument being NaN and avoid computations with second argument in
14491         that case.
14492         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14493         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14494         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14495
14496 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
14497
14498         * locale/iso-639.def: Add Chitwani Tharu (the).
14499
14500 2013-11-14  Andreas Schwab  <schwab@suse.de>
14501
14502         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14503         word instead of empty string.
14504
14505 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14506
14507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14508         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14510         (__fe_nomask_env): Likewise.
14511
14512 2013-11-13  Steve Ellcey  <sellcey@mips.com>
14513
14514         * benchtests/bench-timing.h: Include time.h.
14515
14516 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
14517
14518         [BZ #15997]
14519         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14520         to 3.4.0 for x32.
14521         * sysdeps/unix/sysv/linux/configure: Regenerated.
14522
14523 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
14524
14525         [BZ #16151]
14526         * stdlib/strtod_l.c (round_and_return): Do not consider
14527         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14528         exponent one less than half the least subnormal exponent.
14529         * stdlib/test-strtod-round-data: Add more tests.
14530         * stdlib/tst-strtod-round.c (tests): Regenerated.
14531
14532 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14533
14534         [BZ #14143]
14535         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14536         (__fe_mask_env): Likewise.
14537         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14538         libm_hidden_proto and add function prototype.
14539         (__fe_mask_env): Add function prototype.
14540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14541         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14543         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14545         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14546
14547 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14548
14549         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14550         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14551
14552 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14553
14554         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14555         of htab_find_slot().
14556
14557 2013-11-11  David S. Miller  <davem@davemloft.net>
14558
14559         [BZ #16150]
14560         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14561         symbol in the non-vis3 case in static builds.
14562         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14563         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14564         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14565         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14566
14567 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
14568
14569         [BZ #387]
14570         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14571         it is empty.
14572
14573 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14574
14575         * benchtests/Makefile: Add bench-strtod.
14576         * benchtests/bench-strtod.c: New file: strtod benchtest
14577
14578 2013-11-11  Andreas Schwab  <schwab@suse.de>
14579
14580         [BZ #16153]
14581         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14582         terminating NUL in key length.
14583
14584 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14585
14586         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14587         Add artificial ODP entry for vDSO symbol for PPC64.
14588         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14589         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14590
14591 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14592
14593         [BZ #15374]
14594         * nss/getent.c (services_keys): Recognize services starting with digit.
14595
14596 2013-11-06  David S. Miller  <davem@davemloft.net>
14597
14598         [BZ #15985]
14599         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14600         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14601
14602 2013-11-06  Will Newton  <will.newton@linaro.org>
14603
14604         * manual/memory.texi (Malloc Examples): Remove register
14605         keyword from examples.
14606
14607 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
14608
14609         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14610
14611 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
14612
14613         [BZ #6981]
14614         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14615         depending on [__GCC_IEC_559 > 0].
14616         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14617         depending on [__GCC_IEC_559_COMPLEX > 0].
14618
14619 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
14620
14621         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14622         to iso-639.def.
14623
14624 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
14625
14626         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14627
14628 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
14629
14630         [BZ #16112]
14631         * malloc/malloc (malloc_info): Do not handle first bin as
14632         special case.
14633
14634 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
14635
14636         * locale/iso-639.def: Add Central Nahuatl (nhn).
14637
14638 2013-11-01  Bruno Haible  <bruno@clisp.org>
14639
14640         [BZ #7003]
14641         * manual/math.texi (BSD Random): Specify range upper bound as
14642         in POSIX.
14643
14644 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
14645
14646         * locale/iso-639.def: Add Meadow Mari (mhr).
14647
14648 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
14649
14650         [BZ #14752], [BZ #15763]
14651         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14652         Validate name.
14653         * rt/tst_shm.c: Add test for escaping directory.
14654
14655 2013-10-31  Andreas Schwab  <schwab@suse.de>
14656
14657         [BZ #15917]
14658         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14659         followed by 'x' as part of digit sequence.
14660         * stdio-common/tst-sscanf.c (double_tests2): New tests.
14661
14662 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14663
14664         [BZ #16037]
14665         * configure.ac: allow GNU Make 4.0 and greater.
14666         * configure: Regenerated.
14667
14668 2013-10-30  Will Newton  <will.newton@linaro.org>
14669
14670         [BZ #16038]
14671         * malloc/hooks.c (memalign_check): Limit alignment to the
14672         maximum representable power of two.
14673         * malloc/malloc.c (__libc_memalign): Likewise.
14674         * malloc/tst-memalign.c (do_test): Add test for very
14675         large alignment values.
14676         * malloc/tst-posix_memalign.c (do_test): Likewise.
14677
14678 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
14679
14680         [BZ #11087]
14681         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14682         (munmap_chunk): Likewise.
14683         (mremap_chunk): Likewise.
14684
14685 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
14686
14687         [BZ #15799]
14688         * stdlib/div.c (div): Remove obsolete code.
14689         * stdlib/ldiv.c (ldiv): Likewise.
14690         * stdlib/lldiv.c (lldiv): Likewise.
14691
14692 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14693
14694         [BZ #16071]
14695         * nss/nss_files/files-XXX.c (get_contents_ret): New
14696         enumerator.
14697         (get_contents): New function.
14698         (internal_getent): Use it.  Expand size of LINEBUFLEN.
14699
14700 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
14701
14702         * configure.in: Moved to ...
14703         * configure.ac: ... here. Change reference to configure.in
14704         to configure.ac.
14705         * sysdeps/arm/preconfigure.ac: ... here.
14706         configure.in to configure.ac.
14707         * sysdeps/gnu/configure.in: Moved to ...
14708         * sysdeps/gnu/configure.ac: ... here.
14709         * sysdeps/i386/configure.in: Moved to ...
14710         * sysdeps/i386/configure.ac: ... here.
14711         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14712         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14713         * sysdeps/mach/configure.in: Moved to ...
14714         * sysdeps/mach/configure.ac: ... here.
14715         * sysdeps/mach/hurd/configure.in: Moved to ...
14716         * sysdeps/mach/hurd/configure.ac: ... here.
14717         * sysdeps/powerpc/configure.in: Moved to ...
14718         * sysdeps/powerpc/configure.ac: ... here.
14719         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14720         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14721         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14722         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14723         * sysdeps/s390/s390-32/configure.in: Moved to ...
14724         * sysdeps/s390/s390-32/configure.ac: ... here.
14725         * sysdeps/s390/s390-64/configure.in: Moved to ...
14726         * sysdeps/s390/s390-64/configure.ac: ... here.
14727         * sysdeps/sh/configure.in: Moved to ...
14728         * sysdeps/sh/configure.ac: ... here.
14729         * sysdeps/sparc/configure.in: Moved to ...
14730         * sysdeps/sparc/configure.ac: ... here.
14731         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14732         * sysdeps/unix/sysv/linux/configure.ac: ... here.
14733         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14734         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14735         * sysdeps/x86_64/configure.in: Moved to ...
14736         * sysdeps/x86_64/configure.ac: ... here.
14737         * sysdeps/x86_64/preconfigure.in: Moved to ...
14738         * sysdeps/x86_64/preconfigure.ac: ... here.
14739         * aclocal.m4: Change reference to configure.in to configure.ac.
14740         * config.h.in: Likewise.
14741         * manual/install.texi: Likewise.
14742         * manual/maint.texi: Likewise.
14743         * Makefile: Likewise.
14744         * malloc/Makefile: Likewise.
14745         * nscd/Makefile: Likewise.
14746         * Makeconfig: Change reference to configure.in and
14747         preconfigure.in to configure.ac and preconfigure.ac
14748         respectively.
14749         * INSTALL: Regenerated.
14750         * configure: Likewise.
14751         * sysdeps/gnu/configure: Likewise.
14752         * sysdeps/i386/configure: Likewise.
14753         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14754         * sysdeps/mach/configure: Likewise.
14755         * sysdeps/mach/hurd/configure: Likewise.
14756         * sysdeps/powerpc/configure: Likewise.
14757         * sysdeps/powerpc/powerpc32/configure: Likewise.
14758         * sysdeps/powerpc/powerpc64/configure: Likewise.
14759         * sysdeps/s390/s390-32/configure: Likewise.
14760         * sysdeps/s390/s390-64/configure: Likewise.
14761         * sysdeps/sh/configure: Likewise.
14762         * sysdeps/sparc/configure: Likewise.
14763         * sysdeps/unix/sysv/linux/configure: Likewise.
14764         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14765         * sysdeps/x86_64/configure: Likewise.
14766         * sysdeps/x86_64/preconfigure: Likewise.
14767
14768 2013-10-29  Andreas Schwab  <schwab@suse.de>
14769
14770         * stdio-common/Makefile (tst-swscanf-ENV): Define.
14771
14772 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14773
14774         * benchtests/pow-inputs: Add new inputs.
14775
14776         * benchtests/exp-inputs: Add new inputs.
14777
14778         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14779         conditional check for return value.
14780         (__cos32): Likewise.
14781
14782 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14783
14784         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14785         to provide a boost for large inputs with word alignment.
14786         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14787         implementation based on optimized PPC64 strcpy.
14788         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14789         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14790         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14791         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14792
14793 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
14794
14795         [BZ #2801]
14796         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14797
14798 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
14799
14800         [BZ #14876]
14801         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14802         * time/tst-strptime.c (day_tests): Add testcase.
14803
14804 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
14805
14806         [BZ #14029]
14807         * manual/pattern.texi: Acknowledge that fnmatch can fail.
14808
14809 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
14810
14811         [BZ #16074]
14812         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14813         MAP_FAILED on error.
14814
14815 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14816
14817         [BZ #16072]
14818         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14819         heap for large requests.
14820
14821 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
14822
14823         [BZ #9954]
14824         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14825         result if the result has no associated interface.
14826         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14827         interface for all 127.X.Y.Z addresses.
14828
14829 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
14830
14831         * locale/iso-639.def: Add Ligurian (lij)
14832
14833 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
14834
14835         [BZ #15825]
14836         * sunrpc/rpc_main.c: Document rpcgen -5.
14837
14838 2013-10-19  Michael Stahl  <mstahl@redhat.com>
14839
14840         * elf/rtld.c (do_preload): Print the reason why preloading failed.
14841
14842 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
14843
14844         [BZ #10278]
14845         * posix/glob.c: Match only directories when trailing slash is present.
14846         * posix/tst-gnuglob.c (my_opendir): Do not open files.
14847         (main): Add testcase.
14848
14849 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
14850
14851         [BZ #15670]
14852         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14853
14854 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
14855
14856         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14857         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14858         AUTH_DES and cindex for FIPS 140-2.
14859         (DES Encryption): Add cindex FIPS 46-3.
14860
14861         * locale/locarchive.h (struct locarhandle): Add fname.
14862         * locale/programs/localedef.c (main): Pass ARGV[remaining]
14863         if an optional argument was specified to --list-archive,
14864         otherwise NULL.
14865         * locale/programs/locarchive.c (show_archive_content): Take new
14866         argument fname and pass it via ah.fname to open_archive.
14867         * locale/programs/localedef.h: Update decl.
14868         (open_archive): If AH->fname is non-null, open that file
14869         rather than the default file name, and don't ignore ENOENT.
14870         (create_archive): Set AH.fname to NULL.
14871         (delete_locales_from_archive): Likewise.
14872         (add_locales_to_archive): Likewise.
14873         * locale/programs/locfile.c (write_all_categories): Likewise.
14874
14875 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
14876             Aldy Hernandez  <aldyh@redhat.com>
14877
14878         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14879         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14880         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14881         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14882         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14883         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14884         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14885         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14886         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14887         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14888         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14889         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14890         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14891         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14892         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14893         Likewise.
14894         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14895         Likewise.
14896         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14897         Likewise.
14898         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14899         Likewise.
14900         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14901         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14902         Likewise.
14903         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14904         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14905         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14906         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14907         Likewise.
14908         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14909         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14910         * sysdeps/powerpc/preconfigure: Likewise.
14911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14912         Likewise.
14913         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14914         Replace contents of file by #include of <fenv_libc.h>.
14915         * sysdeps/powerpc/soft-fp/sfp-machine.h
14916         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14917         and <sys/prctl.h>.
14918         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14919         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14920         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14921         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14922         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14923         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14924         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14925         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14926         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14927         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14928         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14929         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14931         Allow copysignl PLT reference to be missing.
14932
14933 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
14934             Joseph Myers  <joseph@codesourcery.com
14935
14936         [BZ #15948]
14937         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14938         single character.
14939         (add_to_tablewc): Assert sequence of wide characters is nonempty.
14940
14941 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14942
14943         * elf/tst-tls-dlinfo.c: Don't include tls.h.
14944         * elf/tst-tls1.c: Likewise.
14945         * elf/tst-tls10.h: Likewise.
14946         * elf/tst-tls14.c: Likewise.
14947         * elf/tst-tls2.c: Likewise.
14948         * elf/tst-tls3.c: Likewise.
14949         * elf/tst-tls4.c: Likewise.
14950         * elf/tst-tls5.c: Likewise.
14951         * elf/tst-tls6.c: Likewise.
14952         * elf/tst-tls7.c: Likewise.
14953         * elf/tst-tls8.c: Likewise.
14954         * elf/tst-tls9.c: Likewise.
14955         * elf/tst-tlsmod1.c: Likewise.
14956         * elf/tst-tlsmod13.c: Likewise.
14957         * elf/tst-tlsmod13a.c: Likewise.
14958         * elf/tst-tlsmod14a.c: Likewise.
14959         * elf/tst-tlsmod16a.c: Likewise.
14960         * elf/tst-tlsmod16b.c: Likewise.
14961         * elf/tst-tlsmod2.c: Likewise.
14962         * elf/tst-tlsmod3.c: Likewise.
14963         * elf/tst-tlsmod4.c: Likewise.
14964         * elf/tst-tlsmod5.c: Likewise.
14965         * elf/tst-tlsmod6.c: Likewise.
14966
14967 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
14968
14969         [BZ #12486]
14970         * malloc/malloc.c: remove checks for statistics.
14971
14972 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
14973
14974         [BZ #15277]
14975         * inet/inet_net.c (inet_network): Detect additional invalid strings.
14976         * inet/tst-network.c: Add testcase.
14977
14978 2013-10-17  Andreas Schwab  <schwab@suse.de>
14979
14980         [BZ #15218]
14981         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14982         to determine canonical name.
14983
14984 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
14985
14986         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14987         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14988         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14989         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14990         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14991         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14992         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14993         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14994         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14995         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14996         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14997         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14998         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14999         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15000         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15001         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15002         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15003         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15004         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15005         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15006         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15007         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15008         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15009         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15010         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15011         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15012         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15013         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15014         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15015         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15016         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15017         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15018         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15019         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15020         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15021         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15022         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15023         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15024         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15025         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15026         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15027         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15028         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15029         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15030         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15031         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15032         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15033         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15034         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15035         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15036         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15037         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15038         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15039         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15040         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15041         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15042         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15043         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15044
15045 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
15046
15047         [BZ #16041]
15048         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15049         make result into a quiet NaN.
15050
15051 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
15052
15053         * soft-fp/adddf3.c: Fix horizontal whitespace.
15054         * soft-fp/addsf3.c: Likewise.
15055         * soft-fp/addtf3.c: Likewise.
15056         * soft-fp/divdf3.c: Likewise.
15057         * soft-fp/divsf3.c: Likewise.
15058         * soft-fp/divtf3.c: Likewise.
15059         * soft-fp/double.h: Likewise.
15060         * soft-fp/eqdf2.c: Likewise.
15061         * soft-fp/eqsf2.c: Likewise.
15062         * soft-fp/eqtf2.c: Likewise.
15063         * soft-fp/extenddftf2.c: Likewise.
15064         * soft-fp/extended.h: Likewise.
15065         * soft-fp/extendsfdf2.c: Likewise.
15066         * soft-fp/extendsftf2.c: Likewise.
15067         * soft-fp/extendxftf2.c: Likewise.
15068         * soft-fp/fixdfdi.c: Likewise.
15069         * soft-fp/fixdfsi.c: Likewise.
15070         * soft-fp/fixdfti.c: Likewise.
15071         * soft-fp/fixsfdi.c: Likewise.
15072         * soft-fp/fixsfsi.c: Likewise.
15073         * soft-fp/fixsfti.c: Likewise.
15074         * soft-fp/fixtfdi.c: Likewise.
15075         * soft-fp/fixtfsi.c: Likewise.
15076         * soft-fp/fixtfti.c: Likewise.
15077         * soft-fp/fixunsdfdi.c: Likewise.
15078         * soft-fp/fixunsdfsi.c: Likewise.
15079         * soft-fp/fixunsdfti.c: Likewise.
15080         * soft-fp/fixunssfdi.c: Likewise.
15081         * soft-fp/fixunssfsi.c: Likewise.
15082         * soft-fp/fixunssfti.c: Likewise.
15083         * soft-fp/fixunstfdi.c: Likewise.
15084         * soft-fp/fixunstfsi.c: Likewise.
15085         * soft-fp/fixunstfti.c: Likewise.
15086         * soft-fp/floatdidf.c: Likewise.
15087         * soft-fp/floatdisf.c: Likewise.
15088         * soft-fp/floatditf.c: Likewise.
15089         * soft-fp/floatsidf.c: Likewise.
15090         * soft-fp/floatsisf.c: Likewise.
15091         * soft-fp/floatsitf.c: Likewise.
15092         * soft-fp/floattidf.c: Likewise.
15093         * soft-fp/floattisf.c: Likewise.
15094         * soft-fp/floattitf.c: Likewise.
15095         * soft-fp/floatundidf.c: Likewise.
15096         * soft-fp/floatundisf.c: Likewise.
15097         * soft-fp/floatunditf.c: Likewise.
15098         * soft-fp/floatunsidf.c: Likewise.
15099         * soft-fp/floatunsisf.c: Likewise.
15100         * soft-fp/floatunsitf.c: Likewise.
15101         * soft-fp/floatuntidf.c: Likewise.
15102         * soft-fp/floatuntisf.c: Likewise.
15103         * soft-fp/floatuntitf.c: Likewise.
15104         * soft-fp/fmadf4.c: Likewise.
15105         * soft-fp/fmasf4.c: Likewise.
15106         * soft-fp/fmatf4.c: Likewise.
15107         * soft-fp/gedf2.c: Likewise.
15108         * soft-fp/gesf2.c: Likewise.
15109         * soft-fp/getf2.c: Likewise.
15110         * soft-fp/ledf2.c: Likewise.
15111         * soft-fp/lesf2.c: Likewise.
15112         * soft-fp/letf2.c: Likewise.
15113         * soft-fp/muldf3.c: Likewise.
15114         * soft-fp/mulsf3.c: Likewise.
15115         * soft-fp/multf3.c: Likewise.
15116         * soft-fp/negdf2.c: Likewise.
15117         * soft-fp/negsf2.c: Likewise.
15118         * soft-fp/negtf2.c: Likewise.
15119         * soft-fp/op-1.h: Likewise.
15120         * soft-fp/op-2.h: Likewise.
15121         * soft-fp/op-4.h: Likewise.
15122         * soft-fp/op-8.h: Likewise.
15123         * soft-fp/op-common.h: Likewise.
15124         * soft-fp/quad.h: Likewise.
15125         * soft-fp/single.h: Likewise.
15126         * soft-fp/soft-fp.h: Likewise.
15127         * soft-fp/sqrtdf2.c: Likewise.
15128         * soft-fp/sqrtsf2.c: Likewise.
15129         * soft-fp/sqrttf2.c: Likewise.
15130         * soft-fp/subdf3.c: Likewise.
15131         * soft-fp/subsf3.c: Likewise.
15132         * soft-fp/subtf3.c: Likewise.
15133         * soft-fp/truncdfsf2.c: Likewise.
15134         * soft-fp/trunctfdf2.c: Likewise.
15135         * soft-fp/trunctfsf2.c: Likewise.
15136         * soft-fp/trunctfxf2.c: Likewise.
15137         * soft-fp/unorddf2.c: Likewise.
15138         * soft-fp/unordsf2.c: Likewise.
15139         * soft-fp/unordtf2.c: Likewise.
15140
15141 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
15142
15143         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15144         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15145
15146 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
15147
15148         * elf/dl-libc.c: Clear initfini list after freeing.
15149
15150 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
15151
15152         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15153         * soft-fp/addsf3.c: Likewise.
15154         * soft-fp/addtf3.c: Likewise.
15155         * soft-fp/divdf3.c: Likewise.
15156         * soft-fp/divsf3.c: Likewise.
15157         * soft-fp/divtf3.c: Likewise.
15158         * soft-fp/double.h: Likewise.
15159         * soft-fp/eqdf2.c: Likewise.
15160         * soft-fp/eqsf2.c: Likewise.
15161         * soft-fp/eqtf2.c: Likewise.
15162         * soft-fp/extenddftf2.c: Likewise.
15163         * soft-fp/extended.h: Likewise.
15164         * soft-fp/extendsfdf2.c: Likewise.
15165         * soft-fp/extendsftf2.c: Likewise.
15166         * soft-fp/extendxftf2.c: Likewise.
15167         * soft-fp/fixdfdi.c: Likewise.
15168         * soft-fp/fixdfsi.c: Likewise.
15169         * soft-fp/fixdfti.c: Likewise.
15170         * soft-fp/fixsfdi.c: Likewise.
15171         * soft-fp/fixsfsi.c: Likewise.
15172         * soft-fp/fixsfti.c: Likewise.
15173         * soft-fp/fixtfdi.c: Likewise.
15174         * soft-fp/fixtfsi.c: Likewise.
15175         * soft-fp/fixtfti.c: Likewise.
15176         * soft-fp/fixunsdfdi.c: Likewise.
15177         * soft-fp/fixunsdfsi.c: Likewise.
15178         * soft-fp/fixunsdfti.c: Likewise.
15179         * soft-fp/fixunssfdi.c: Likewise.
15180         * soft-fp/fixunssfsi.c: Likewise.
15181         * soft-fp/fixunssfti.c: Likewise.
15182         * soft-fp/fixunstfdi.c: Likewise.
15183         * soft-fp/fixunstfsi.c: Likewise.
15184         * soft-fp/fixunstfti.c: Likewise.
15185         * soft-fp/floatdidf.c: Likewise.
15186         * soft-fp/floatdisf.c: Likewise.
15187         * soft-fp/floatditf.c: Likewise.
15188         * soft-fp/floatsidf.c: Likewise.
15189         * soft-fp/floatsisf.c: Likewise.
15190         * soft-fp/floatsitf.c: Likewise.
15191         * soft-fp/floattidf.c: Likewise.
15192         * soft-fp/floattisf.c: Likewise.
15193         * soft-fp/floattitf.c: Likewise.
15194         * soft-fp/floatundidf.c: Likewise.
15195         * soft-fp/floatundisf.c: Likewise.
15196         * soft-fp/floatunsidf.c: Likewise.
15197         * soft-fp/floatunsisf.c: Likewise.
15198         * soft-fp/floatuntidf.c: Likewise.
15199         * soft-fp/floatuntisf.c: Likewise.
15200         * soft-fp/floatuntitf.c: Likewise.
15201         * soft-fp/fmadf4.c: Likewise.
15202         * soft-fp/fmasf4.c: Likewise.
15203         * soft-fp/fmatf4.c: Likewise.
15204         * soft-fp/gedf2.c: Likewise.
15205         * soft-fp/gesf2.c: Likewise.
15206         * soft-fp/getf2.c: Likewise.
15207         * soft-fp/ledf2.c: Likewise.
15208         * soft-fp/lesf2.c: Likewise.
15209         * soft-fp/letf2.c: Likewise.
15210         * soft-fp/muldf3.c: Likewise.
15211         * soft-fp/mulsf3.c: Likewise.
15212         * soft-fp/multf3.c: Likewise.
15213         * soft-fp/negdf2.c: Likewise.
15214         * soft-fp/negsf2.c: Likewise.
15215         * soft-fp/negtf2.c: Likewise.
15216         * soft-fp/op-1.h: Likewise.
15217         * soft-fp/op-2.h: Likewise.
15218         * soft-fp/op-4.h: Likewise.
15219         * soft-fp/op-8.h: Likewise.
15220         * soft-fp/op-common.h: Likewise.
15221         * soft-fp/quad.h: Likewise.
15222         * soft-fp/single.h: Likewise.
15223         * soft-fp/soft-fp.h: Likewise.
15224         * soft-fp/sqrtdf2.c: Likewise.
15225         * soft-fp/sqrtsf2.c: Likewise.
15226         * soft-fp/sqrttf2.c: Likewise.
15227         * soft-fp/subdf3.c: Likewise.
15228         * soft-fp/subsf3.c: Likewise.
15229         * soft-fp/subtf3.c: Likewise.
15230         * soft-fp/truncdfsf2.c: Likewise.
15231         * soft-fp/trunctfdf2.c: Likewise.
15232         * soft-fp/trunctfsf2.c: Likewise.
15233         * soft-fp/trunctfxf2.c: Likewise.
15234         * soft-fp/unorddf2.c: Likewise.
15235         * soft-fp/unordsf2.c: Likewise.
15236         * soft-fp/unordtf2.c: Likewise.
15237
15238 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
15239
15240         [BZ #15672]
15241         * misc/error.c (error_tail): Fix possible buffer overflow.
15242
15243 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
15244
15245         [BZ #13028]
15246         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15247         address.
15248
15249 2013-10-14  P. J. McDermott  <pj@pehjota.net>
15250
15251         [BZ #832]
15252         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
15253         testing pipefail option.
15254
15255 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15256
15257         * soft-fp/double.h: Indent preprocessor directives inside #if.
15258         * soft-fp/extended.h: Likewise.
15259         * soft-fp/op-2.h: Likewise.
15260         * soft-fp/op-4.h: Likewise.
15261         * soft-fp/op-common.h: Likewise.
15262         * soft-fp/quad.h: Likewise.
15263         * soft-fp/single.h: Likewise.
15264         * soft-fp/soft-fp.h: Likewise.
15265
15266 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
15267
15268         * iconv/iconv_prog.c: Fix typos.
15269         * stdio-common/psiginfo-data.h: Likewise.
15270
15271 2013-10-12   Reuben Thomas <rrt@sc3d.org>
15272
15273         [BZ #15764]
15274         * locale/setlocale.c: Fix typo.
15275
15276 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15277
15278         [BZ #16036]
15279         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15280         signaling NaN arguments.
15281         * soft-fp/unordsf2.c (__unordsf2): Likewise.
15282         * soft-fp/unordtf2.c (__unordtf2): Likewise.
15283
15284         [BZ #14910]
15285         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15286         unordered operands.
15287         * soft-fp/gesf2.c (__gesf2): Likewise.
15288         * soft-fp/getf2.c (__getf2): Likewise.
15289         * soft-fp/ledf2.c (__ledf2): Likewise.
15290         * soft-fp/lesf2.c (__lesf2): Likewise.
15291         * soft-fp/letf2.c (__letf2): Likewise.
15292
15293         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15294         * soft-fp/eqsf2.c (__eqsf2): Likewise.
15295         * soft-fp/eqtf2.c (__eqtf2): Likewise.
15296         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15297         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15298         * soft-fp/fixdfti.c (__fixdfti): Likewise.
15299         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15300         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15301         * soft-fp/fixsfti.c (__fixsfti): Likewise.
15302         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15303         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15304         * soft-fp/fixtfti.c (__fixtfti): Likewise.
15305         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15306         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15307         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15308         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15309         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15310         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15311         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15312         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15313         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15314         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15315         * soft-fp/floatdisf.c (__floatdisf): Likewise.
15316         * soft-fp/floatsisf.c (__floatsisf): Likewise.
15317         * soft-fp/floattidf.c (__floattidf): Likewise.
15318         * soft-fp/floattisf.c (__floattisf): Likewise.
15319         * soft-fp/floattitf.c (__floattitf): Likewise.
15320         * soft-fp/floatundidf.c (__floatundidf): Likewise.
15321         * soft-fp/floatundisf.c (__floatundisf): Likewise.
15322         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15323         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15324         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15325         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15326         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15327         * soft-fp/gesf2.c (__gesf2): Likewise.
15328         * soft-fp/getf2.c (__getf2): Likewise.
15329         * soft-fp/ledf2.c (__ledf2): Likewise.
15330         * soft-fp/lesf2.c (__lesf2): Likewise.
15331         * soft-fp/letf2.c (__letf2): Likewise.
15332
15333         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15334         Undefine and redefine.
15335         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15336         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15337         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15338         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15339         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15340         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15341         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15342         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15343         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15344         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15345         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15346         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15347         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15348         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15349         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15350
15351         [BZ #16032]
15352         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15353         without decrementing exponent if mantissa >= that for the
15354         denominator, not >.
15355         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15356         denominator, not >.  Decrement exponent in < case instead of
15357         incrementing in >= case.
15358         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15359         without decrementing exponent if mantissa >= that for the
15360         denominator, not >.
15361
15362         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15363         computing saturated result for unsigned overflow.
15364
15365 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15366             Jeff Law  <law@redhat.com>
15367
15368         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15369         (atan2Mp): Add systemtap probe marker.
15370         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15371         (__ieee754_log): Add systemtap probe marker.
15372         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15373         (atanMp): Add systemtap probe marker.
15374         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15375         (tanMp): Add systemtap probe marker.
15376         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15377         (__slowexp): Add systemtap probe marker.
15378         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15379         (__slowpow): Add systemtap probe marker.
15380         * manual/probes.texi: Document probes.
15381
15382 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
15383
15384         [BZ #15362]
15385         * libio/fileops.c (_IO_new_file_write): Return count of bytes
15386         written.
15387         (_IO_new_file_xsputn): Don't return EOF if nothing has been
15388         written.
15389         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15390         written to buffer but not flushed.
15391         * libio/iofwrite_u.c:  Likewise.
15392         * libio/iopadn.c:  Return bytes returned even if EOF was
15393         encountered.
15394         * libio/iowpadn.c:  Likewise.
15395         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15396         if _IO_padn does not write the whole buffer.
15397         [!COMPILE_WPRINTF] (PAD): Likewise.
15398
15399 2013-10-10  David S. Miller  <davem@davemloft.net>
15400
15401         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15402         directory block.
15403
15404 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
15405
15406         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
15407         instead of FSF address.
15408         * soft-fp/fixdfti.c: Likewise.
15409         * soft-fp/fixsfti.c: Likewise.
15410         * soft-fp/fixtfti.c: Likewise.
15411         * soft-fp/fixunsdfti.c: Likewise.
15412         * soft-fp/fixunssfti.c: Likewise.
15413         * soft-fp/fixunstfti.c: Likewise.
15414         * soft-fp/floattidf.c: Likewise.
15415         * soft-fp/floattisf.c: Likewise.
15416         * soft-fp/floattitf.c: Likewise.
15417         * soft-fp/floatuntidf.c: Likewise.
15418         * soft-fp/floatuntisf.c: Likewise.
15419         * soft-fp/floatuntitf.c: Likewise.
15420         * soft-fp/trunctfxf2.c: Likewise.
15421
15422         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
15423         * soft-fp/fixdfti.c: Likewise.
15424         * soft-fp/fixsfti.c: Likewise.
15425         * soft-fp/fixtfti.c: Likewise.
15426         * soft-fp/fixunsdfti.c: Likewise.
15427         * soft-fp/fixunssfti.c: Likewise.
15428         * soft-fp/fixunstfti.c: Likewise.
15429         * soft-fp/floattidf.c: Likewise.
15430         * soft-fp/floattisf.c: Likewise.
15431         * soft-fp/floattitf.c: Likewise.
15432         * soft-fp/floatuntidf.c: Likewise.
15433         * soft-fp/floatuntisf.c: Likewise.
15434         * soft-fp/floatuntitf.c: Likewise.
15435         * soft-fp/trunctfxf2.c: Likewise.
15436
15437 2013-10-10  David S. Miller  <davem@davemloft.net>
15438
15439         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15440
15441 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
15442
15443         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15444         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15445         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15446         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15447         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15448         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15449         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15450
15451         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15452         for NaNs before doing comparisons on argument.
15453         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15454         Likewise.
15455
15456 2013-10-10  Will Newton  <will.newton@linaro.org>
15457
15458         * malloc/hooks.c (memalign_check): Ensure the value of bytes
15459         passed to _int_memalign does not overflow.
15460
15461 2013-10-10  Torvald Riegel  <triegel@redhat.com>
15462
15463         * scripts/bench.pl: Add include-sources directive.
15464         * benchtests/README: Update documentation.
15465
15466 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
15467
15468         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15469         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15470         instead of FP_INIT_ROUNDMODE.
15471         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15472         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15473
15474         [BZ #16034]
15475         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
15476         copy class of input value.
15477         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
15478         not handle exceptions.
15479         * soft-fp/negsf2.c (__negsf2): Likewise.
15480         * soft-fp/negtf2.c (__negtf2): Likewise.
15481         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15482
15483 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
15484
15485         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15486         semicolon.  From Linux kernel.
15487
15488 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
15489
15490         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15491
15492 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
15493
15494         [BZ #156]
15495         * manual/socket.texi: Added statement about buffer
15496         for gethostbyname2_r.
15497
15498 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
15499
15500         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15501         Use .p2align directive instead, throughout.
15502         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15503         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15504         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15505         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15506         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15507         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15508         * sysdeps/x86_64/strchr.S: Likewise.
15509         * sysdeps/x86_64/strrchr.S: Likewise.
15510
15511 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15512
15513         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15514
15515         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15516
15517         * sysdeps/generic/math_private.h (__mpsin1): Remove
15518         declaration.
15519         (__mpcos1): Likewise.
15520         (__mpsin): New argument __range_reduce.
15521         (__mpcos): Likewise.
15522         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15523         (slow): Use __mpsin and __mpcos.
15524         (slow1): Likewise.
15525         (slow2): Likewise.
15526         (sloww): Likewise.
15527         (sloww1): Likewise.
15528         (sloww2): Likewise.
15529         (bsloww): Likewise.
15530         (bsloww1): Likewise.
15531         (bsloww2): Likewise.
15532         (cslow2): Likewise.
15533         (csloww): Likewise.
15534         (csloww1): Likewise.
15535         (csloww2): Likewise.
15536         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15537         range_reduce.  Merge in __mpsin1.
15538         (__mpcos): Likewise.
15539         (__mpsin1): Remove.
15540         (__mpcos1): Likewise.
15541
15542 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
15543
15544         * locale/loadlocale.c (_nl_intern_locale_data): Use
15545         LOCFILE_ALIGNED_P.
15546         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15547         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15548         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15549         obstack data is appropriately aligned.
15550         (obstack_int32_grow_fast): Likewise.
15551         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15552         * locale/programs/locfile.c (add_locale_uint32): Likewise.
15553         (add_locale_uint32_array): Likewise.
15554
15555 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
15556
15557         * benchtests/Makefile: Remove ARGLIST and RET variables.
15558         ($(objpfx)bench-%.c): Pass only function name to the script.
15559         * benchtests/README: Update documentation.
15560         * benchtests/acos-inputs: Add new directives.
15561         * benchtests/acosh-inputs: Likewise.
15562         * benchtests/asin-inputs: Likewise.
15563         * benchtests/asinh-inputs: Likewise.
15564         * benchtests/atan-inputs: Likewise.
15565         * benchtests/atanh-inputs: Likewise.
15566         * benchtests/cos-inputs: Likewise.
15567         * benchtests/cosh-inputs: Likewise.
15568         * benchtests/exp-inputs: Likewise.
15569         * benchtests/log-inputs: Likewise.
15570         * benchtests/pow-inputs: Likewise.
15571         * benchtests/rint-inputs: Likewise.
15572         * benchtests/sin-inputs: Likewise.
15573         * benchtests/sinh-inputs: Likewise.
15574         * benchtests/tan-inputs: Likewise.
15575         * benchtests/tanh-inputs: Likewise.
15576         * scripts/bench.pl: Add support for new directives.
15577
15578 2013-10-07  Alan Modra  <amodra@gmail.com>
15579
15580         * README: Fix careless merge.
15581
15582 2013-10-05  Alan Modra  <amodra@gmail.com>
15583
15584         * NEWS: Mention powerpc64le support and bugs fixed.
15585         * README: Both big-endian and little-endian powerpc64 supported.
15586
15587 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15588
15589         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15590         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15591         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15592         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15593
15594 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
15595
15596         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15597         match prototype.
15598
15599 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
15600
15601         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15602         Move -mhard-float appending from
15603         ports/sysdeps/powerpc/powerpc32/Makefile.
15604         [$(with-fp) = yes] (ASFLAGS): Likewise.
15605         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15606         * sysdeps/powerpc/nofpu: Move directory from
15607         ports/sysdeps/powerpc/nofpu.
15608         * sysdeps/powerpc/soft-fp: Move directory from
15609         ports/sysdeps/powerpc/soft-fp.
15610         * sysdeps/powerpc/powerpc32/405: Move directory from
15611         ports/sysdeps/powerpc/powerpc32/405.
15612         * sysdeps/powerpc/powerpc32/440: Move directory from
15613         ports/sysdeps/powerpc/powerpc32/440.
15614         * sysdeps/powerpc/powerpc32/464: Move directory from
15615         ports/sysdeps/powerpc/powerpc32/464.
15616         * sysdeps/powerpc/powerpc32/476: Move directory from
15617         ports/sysdeps/powerpc/powerpc32/476.
15618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15619         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15621         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15623         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15625         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15627         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15628         * README: Update for powerpc-*-linux-gnu software floating point
15629         support in libc.
15630
15631         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15632         case to powerpc/powerpc32*.
15633         * sysdeps/unix/sysv/linux/configure: Regenerated.
15634
15635         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15636         (_FPU_MASK_OM): Define as 0x04.
15637         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15638         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15639         0x00c10080.
15640         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15641         0x0000003c.
15642         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15643
15644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15645         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15646         getcontext_e500.
15647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15648         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15649         setcontext_e500.
15650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15651         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15652         and setcontext_e500.
15653
15654 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
15655
15656         * locale/iso-3166.def: Update iso-1366.def and related occurrences
15657
15658 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15659
15660         * manual/threads.texi (Default Thread Attributes): Fix typo.
15661
15662 2013-10-04  Will Newton  <will.newton@linaro.org>
15663
15664         * malloc/Makefile: Add tst-memalign.
15665         * malloc/tst-memalign.c: New file.
15666
15667         * malloc/tst-posix_memalign.c: Add comments.
15668         (do_test): Add comments and call free on all potentially
15669         allocated pointers. Add space after cast.
15670
15671         * malloc/tst-pvalloc.c: Add comments.
15672         (do_test): Add comments and call free on all potentially
15673         allocated pointers. Remove duplicate check for NULL pointer.
15674         Add space after cast.
15675
15676         * malloc/tst-valloc.c: Add comments.
15677         (do_test): Add comments and call free on all potentially
15678         allocated pointers. Remove duplicate check for NULL pointer.
15679         Add space after cast.
15680
15681 2013-10-04  Alan Modra  <amodra@gmail.com>
15682
15683         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15684         Use stdint types in rather than __attribute__((mode())).
15685         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15686
15687 2013-10-04  Alan Modra  <amodra@gmail.com>
15688
15689         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15690         Correct handling of unaligned relocs for little-endian.
15691         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15692
15693 2013-10-04  Alan Modra  <amodra@gmail.com>
15694
15695         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15696         * configure: Regenerate.
15697         * nptl/shlib-versions: Powerpc*le starts at 2.18.
15698         * shlib-versions: Likewise.
15699
15700 2013-10-04  Alan Modra  <amodra@gmail.com>
15701
15702         * string/tester.c (test_memrchr): Increment reported test cycle.
15703
15704 2013-10-04  Alan Modra  <amodra@gmail.com>
15705
15706         * string/test-memcpy.c (do_one_test): When reporting errors, print
15707         string address and don't overrun end of string.
15708
15709 2013-10-04  Alan Modra  <amodra@gmail.com>
15710
15711         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15712         insrdi.  Make better use of reg selection to speed exit slightly.
15713         Schedule entry path a little better.  Remove useless "are we done"
15714         checks on entry to main loop.  Handle wrapping around zero address.
15715         Correct main loop count.  Handle single left-over word from main
15716         loop inline rather than by using loop_small.  Remove extra word
15717         case in loop_small caused by wrong loop count.  Add little-endian
15718         support.
15719         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15720         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
15721         cache hint.
15722         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15723         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15724         support.  Avoid rlwimi.
15725         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15726
15727 2013-10-04  Alan Modra  <amodra@gmail.com>
15728
15729         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15730         insrdi.  Formatting.
15731         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15732         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15733         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15734         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15735         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15736         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15737
15738 2013-10-04  Alan Modra  <amodra@gmail.com>
15739
15740         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15741         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15742         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15743         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15744         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15745         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15746         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15747         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15748         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
15749         use of regs.  Use power7 mtocrf.  Tidy function tails.
15750
15751 2013-10-04  Alan Modra  <amodra@gmail.com>
15752
15753         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15754         Formatting.  Consistently use rXXX register defines or rN defines.
15755         Use early exit labels that avoid restoring unused non-volatile regs.
15756         Make cr field use more consistent with rWORDn compares.  Rename
15757         regs used as shift registers for unaligned loop, using rN defines
15758         for short lifetime/multiple use regs.
15759         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15760         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
15761         addi 1,1,64 to pop stack frame.  Simplify return value code.
15762         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15763
15764 2013-10-04  Alan Modra  <amodra@gmail.com>
15765
15766         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15767         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
15768         rather than rlwimi.
15769         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15770         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15771         little-endian support.  Correct typos.
15772         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
15773         rather than rlwimi.
15774         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
15775         in loop and entry code to keep "and." results.
15776         (strchr): Add little-endian support.  Comment.  Move cntlzd
15777         earlier in tail.
15778         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15779
15780 2013-10-04  Alan Modra  <amodra@gmail.com>
15781
15782         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15783         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15784         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15785         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15786
15787 2013-10-04  Alan Modra  <amodra@gmail.com>
15788
15789         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15790         (rTMP): Define as r11.
15791         (strcmp): Add little-endian support.  Optimise tail.
15792         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15793         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15794         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15795         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15796         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15797         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15798         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15799
15800 2013-10-04  Alan Modra  <amodra@gmail.com>
15801
15802         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15803         little-endian support.  Remove unnecessary "are we done" tests.
15804         Handle "s" wrapping around zero and extremely large "size".
15805         Correct main loop count.  Handle single left-over word from main
15806         loop inline rather than by using small_loop.  Correct comments.
15807         Delete "zero" tail, use "end_max" instead.
15808         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15809
15810 2013-10-04  Alan Modra  <amodra@gmail.com>
15811
15812         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15813         support.  Don't branch over align.
15814         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15815         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15816         support.  Rearrange tmp reg use to suit.  Comment.
15817         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15818
15819 2013-10-04  Alan Modra  <amodra@gmail.com>
15820
15821         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15822
15823 2013-10-04  Alan Modra  <amodra@gmail.com>
15824
15825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15826         conditional form of branch and link when obtaining pc.
15827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15828
15829 2013-10-04  Alan Modra  <amodra@gmail.com>
15830
15831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15832         HIWORD/LOWORD.
15833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15835
15836 2013-10-04  Alan Modra  <amodra@gmail.com>
15837
15838         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15839         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15840         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15841         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15842         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15843         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15844         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15845         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15846         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15847         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15848
15849 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15850             Alistair Popple <alistair@ozlabs.au.ibm.com>
15851             Alan Modra <amodra@gmail.com>
15852
15853         [BZ #15723]
15854         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15855         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15856         _dl_hwcap access for little-endian.
15857         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
15858         destroy vmx regs when saving unaligned.
15859         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15860         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
15861         destroy vmx regs when saving unaligned.
15862
15863 2013-10-04  Alan Modra  <amodra@gmail.com>
15864
15865         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15866         Don't use a union to pack hi/low value.
15867
15868 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15869
15870         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15871         for little-endian.
15872         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15873         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15874         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15875         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15876         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15877
15878 2013-10-04  Alan Modra  <amodra@gmail.com>
15879
15880         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15881         constants to usual value for .cst8 section, and remove redundant
15882         high address load.
15883         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15884         constant for 0x1p52.  Load little-endian words of double from
15885         correct stack offsets.
15886
15887 2013-10-04  Alan Modra  <amodra@gmail.com>
15888
15889         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15890         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15891         words of double from correct stack offsets.
15892         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15893         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15894         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15895         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15896         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15897         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15898         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15899         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15900         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15901         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15902         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15903         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15904         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15905         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15906         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15907         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15908         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15909
15910 2013-10-04  Alan Modra  <amodra@gmail.com>
15911
15912         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15913         64-bit int/double union.
15914         (_FPU_SETCW): Likewise.
15915         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15916         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15917
15918 2013-10-04  Alan Modra  <amodra@gmail.com>
15919
15920         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15921         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15922
15923 2013-10-04  Alan Modra  <amodra@gmail.com>
15924
15925         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15926         use vector int constants.
15927         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15928
15929 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15930
15931         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15932         array with long long.
15933         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15934         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15935         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15936         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15937         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15938         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15939         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15940         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15941         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15942         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15943         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15944         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15945         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15946
15947 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15948
15949         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15950         (__signbit): Likewise.  Correct for little-endian.
15951         (__signbitl): Call __signbit.
15952         (lrint): Correct for little-endian.
15953         (lrintf): Call lrint.
15954
15955 2013-10-04  Alan Modra  <amodra@gmail.com>
15956
15957         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15958         union 32-bit int array member with 64-bit int array.
15959         (t515, tm256): Double rather than long double.
15960         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15961
15962 2013-10-04  Alan Modra  <amodra@gmail.com>
15963
15964         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15965         Delete.
15966         (IEEE854_LONG_DOUBLE_BIAS): Delete.
15967         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15968         version of math_ldbl.h.
15969
15970 2013-10-04  Alan Modra  <amodra@gmail.com>
15971
15972         [BZ #15734], [BZ #15735]
15973         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15974         all uses of ieee875 long double macros and unions.  Simplify test
15975         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
15976         ldbl_extract_mantissa value for ix,iy exponents.  Properly
15977         normalize after ldbl_extract_mantissa, and don't add hidden bit
15978         already handled.  Don't treat low word of ieee854 mantissa like
15979         low word of IBM long double and mask off bit when testing for
15980         zero.
15981         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15982         all uses of ieee875 long double macros and unions.  Simplify tests
15983         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
15984         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
15985         two1022, instead use their values.  Recognise that tests for large
15986         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
15987         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15988         Rewrite all uses of ieee875 long double macros and unions.  Simplify
15989         test for 0.0L and nan.  Correct negation.
15990         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15991         ieee875 long double macros and unions.  Correct output for large
15992         magnitude x.  Correct absolute value calculation.
15993         (__erfcl): Likewise.
15994         * math/libm-test.inc: Add tests for errors discovered in IBM long
15995         double versions of fmodl, remainderl, erfl and erfcl.
15996
15997 2013-10-04  Alan Modra  <amodra@gmail.com>
15998
15999         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16000         all uses of ieee854 long double macros and unions.  Simplify tests
16001         for long doubles that are fully specified by the high double.
16002         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16003         Likewise.
16004         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16005         Remove dead code too.
16006         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16007         (__ieee754_ynl): Likewise.
16008         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16009         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16010         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16011         Remove dead code too.
16012         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16013         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16014         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16015         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16016         Simplify.
16017         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16018         Simplify.
16019         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16020         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16021         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16022         Comment on variable precision.
16023         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16024         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16025         Likewise.
16026         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16027         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16028         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16029         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16030         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16031
16032 2013-10-04  Alan Modra  <amodra@gmail.com>
16033
16034         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16035         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16036         all uses of ieee854 long double macros and unions.
16037         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16038         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16039         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16040         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16041         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16042         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16043         Likewise.
16044         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16045         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16046         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16047         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16048         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16049         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16050         Simplify sign and nan test too.
16051         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16052         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16053         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16054         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16055         Likewise.
16056         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16057         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16058         Likewise.
16059         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16060         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16061         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16062         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16063         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16064         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16065
16066 2013-10-04  Alan Modra  <amodra@gmail.com>
16067
16068         * stdio-common/printf_size.c (__printf_size): Don't use
16069         union ieee854_long_double in fpnum union.
16070         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
16071         signbit macro to retrieve sign from long double.
16072         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16073         retrieve sign from long double.
16074         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16075         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16076         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16077         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16078         * math/test-misc.c (main): Don't use union ieee854_long_double.
16079
16080 2013-10-04  Alan Modra  <amodra@gmail.com>
16081
16082         [BZ #15680]
16083         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16084         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16085         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16086         calculation.  Remove unnecessary test for denormal exponent.
16087         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16088         Correct handling of denormals.  Avoid undefined shift behaviour.
16089         Correct normalisation of low mantissa when low double is denormal.
16090         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16091         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
16092         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16093         Correct normalisation of low mantissa.  Test for overflow of high
16094         mantissa and normalise.
16095         (ldbl_nearbyint): Use more readable constant for two52.
16096         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16097         (__mpn_construct_long_double): Fix test for overflow of high
16098         mantissa and correct normalisation.  Avoid undefined shift.
16099
16100 2013-10-04  Alan Modra  <amodra@gmail.com>
16101
16102         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16103         (union ibm_extended_long_double): Define as an array of ieee754_double.
16104         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16105         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16106         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16107         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16108         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16109         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16110         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16111         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16112         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16113         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16114         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16115
16116 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
16117
16118         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16119         page size instead of calling getpagesize.
16120
16121         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16122         (LOCFILE_ALIGN_MASK): Likewise.
16123         (LOCFILE_ALIGN_UP): Likewise.
16124         (LOCFILE_ALIGNED_P): Likewise.
16125         * locale/programs/ld-collate.c (collate_output): Use the new
16126         macros instead of __alignof__ (int32_t).
16127         * locale/weight.h (findidx): Likewise.
16128
16129 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
16130
16131         [BZ #431]
16132         * manual/string.texi: Fix strncat and wcsncat.
16133
16134 2013-10-03  Brooks Moses  <bmoses@google.com>
16135
16136         [BZ #15915]
16137         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16138         * Makerules: ...here, and adjust associated comments.
16139
16140 2013-10-02  Will Newton  <will.newton@linaro.org>
16141
16142         * malloc/Makefile: Add tst-pvalloc.
16143         * malloc/tst-pvalloc.c: New file.
16144
16145 2013-10-02  Will Newton  <will.newton@linaro.org>
16146
16147         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16148         improve test coverage.
16149
16150 2013-10-02  Will Newton  <will.newton@linaro.org>
16151
16152         * malloc/Makefile: Add tst-posix_memalign.
16153         * malloc/tst-posix_memalign.c: New file.
16154
16155 2013-10-01  Eric Blake  <eblake@redhat.com>
16156
16157         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16158         Use __THROWNL rather than __THROW on static functions.
16159
16160 2013-09-30  Petr Machata  <pmachata@redhat.com>
16161
16162         * elf/elf.h (R_AARCH64_ABS16): New macro.
16163         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16164         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16165         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16166         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16167         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16168         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16169         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16170         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16171         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16172         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16173         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16174         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16175         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16176         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16177         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16178         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16179         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16180         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16181         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16182         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16183         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16184         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16185         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16186         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16187         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16188         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16189         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16190         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16191         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16192         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16193         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16194         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16195         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16196         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16197         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16198         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16199         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16200         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16201         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16202         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16203         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16204         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16205         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16206         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16207         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16208         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16209         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16210         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16211         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16212         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16213         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16214         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16215         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16216         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16217         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16218         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16219         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16220         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16221         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16222         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16223         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16224         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16225         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16226         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16227         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16228         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16229         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16230         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16231         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16232         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16233         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16234         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16235         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16236         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16237         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16238         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16239         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16240         (R_AARCH64_TLSDESC_LDR): Likewise.
16241         (R_AARCH64_TLSDESC_ADD): Likewise.
16242         (R_AARCH64_TLSDESC_CALL): Likewise.
16243
16244 2013-09-30  Andreas Schwab  <schwab@suse.de>
16245
16246         [BZ #15048]
16247         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16248         the nss database lookup.
16249         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16250         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16251
16252 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
16253
16254         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16255
16256 2013-09-28  P. J. McDermott  <pj@pehjota.net>
16257
16258         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16259         ${Bash-specific parameter/pattern/string} parameter expansion.
16260         * sysdeps/unix/make-syscalls.sh: Likewise.
16261
16262 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16263
16264         * sysdeps/sh/stackguard-macros.h: New file.
16265
16266 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
16267
16268         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16269         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16270         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16271         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16272         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16273         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16274
16275 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16276
16277         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16278         Fix thread ID register.
16279
16280 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
16281
16282         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16283         [POSIX || UNIX98]: Require rather than permitting all symbols from
16284         <time.h>.
16285         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16286         element of struct sched_param.
16287         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16288         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16289         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16290         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16291         constant.
16292
16293 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
16294
16295         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16296         argument calculation.
16297
16298 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16299
16300         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16301         Expect macro.
16302         [POSIX] (pthread_attr_t): Do not require type.
16303         [POSIX] (pthread_cond_t): Likewise.
16304         [POSIX] (pthread_condattr_t): Likewise.
16305         [POSIX] (pthread_key_t): Likewise.
16306         [POSIX] (pthread_mutex_t): Likewise.
16307         [POSIX] (pthread_mutexattr_t): Likewise.
16308         [POSIX] (pthread_once_t): Likewise.
16309         [POSIX] (pthread_t): Likewise.
16310         [POSIX-based standards] (pthread_atfork): Expect function.
16311
16312 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16313             Richard Sandiford  <richard@codesourcery.com>
16314
16315         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16316         (swap_endianness_p): New extern variable.
16317         (set_big_endian): New inline function.
16318         (maybe_swap_uint32): Likewise.
16319         (maybe_swap_uint32_array): Likewise.
16320         (maybe_swap_uint32_obstack): Likewise.
16321         * locale/programs/locfile.c: Include <stdbool.h>.
16322         (swap_endianness_p): New variable.
16323         (add_locale_uint32): Call maybe_swap_uint32.
16324         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16325         (write_locale_data): Call maybe_swap_uint32_array.
16326         * locale/programs/ld-collate.c (obstack_int32_grow): Call
16327         maybe_swap_uint32.
16328         (obstack_int32_grow_fast): Likewise.
16329         (output_weightwc): Call maybe_swap_uint32_obstack.
16330         (collate_output): Likewise.
16331         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16332         (OPT_LITTLE_ENDIAN): Likewise.
16333         (options): Add --little-endian and --big-endian options.
16334         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16335         * locale/programs/locarchive.c: Include "locfile.h".
16336         (GET): New macro.
16337         (SET): Likewise.
16338         (INC): Likewise.
16339         (create_archive): Use the new macros to access fields of
16340         structures directly mapped from or written to locale archives.
16341         (oldlocrecentcmp): Likewise.
16342         (enlarge_archive): Likewise.
16343         (insert_name): Likewise.
16344         (add_alias): Likewise.
16345         (add_locale): Likewise.
16346         (delete_locales_from_archive): Likewise.
16347         (show_archive_content): Likewise.
16348         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
16349         locale data.
16350
16351 2013-09-24  Roland McGrath  <roland@hack.frob.com>
16352
16353         * manual/freemanuals.texi: Updated from (newly) canonical copy at
16354         http://www.gnu.org/doc/freemanuals.texi.
16355         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16356
16357 2013-09-24  Will Newton  <will.newton@linaro.org>
16358
16359         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16360         macro.
16361
16362 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
16363
16364         * locale/hashval.h (compute_hashval): Interpret bytes of key as
16365         unsigned char.
16366
16367 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
16368
16369         * manual/threads.texi (POSIX Threads): Fix a typo.
16370
16371 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16372
16373         [BZ #14547]
16374         * string/tst-strcoll-overflow.c: New test case.
16375         * string/Makefile (xtests): Add tst-strcoll-overflow.
16376         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16377         cache if string sizes may cause integer overflow.
16378
16379         [BZ #14547]
16380         * string/strcoll_l.c (coll_seq): New members rule, idx,
16381         save_idx and back_us.
16382         (get_next_seq_nocache): New function.
16383         (do_compare_nocache): New function.
16384         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16385         when malloc fails.
16386
16387 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
16388
16389         [BZ #15754]
16390         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16391         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16392         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16393
16394         [BZ #15754]
16395         * elf/Makefile (tests): Add tst-ptrguard1.
16396         (tests-static): Add tst-ptrguard1-static.
16397         (tst-ptrguard1-ARGS): Define.
16398         (tst-ptrguard1-static-ARGS): Define.
16399         * elf/tst-ptrguard1.c: New file.
16400         * elf/tst-ptrguard1-static.c: New file.
16401         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16402         * sysdeps/i386/stackguard-macros.h: Likewise.
16403         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16404         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16405         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16406         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16407         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16408         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16409
16410 2013-09-23  Hector Marco  <hecmargi@upv.es>
16411             Ismael Ripoll  <iripoll@disca.upv.es>
16412             Carlos O'Donell  <carlos@redhat.com>
16413
16414         [BZ #15754]
16415         * sysdeps/generic/stackguard-macros.h: Define
16416         __pointer_chk_guard_local and POINTER_CHK_GUARD.
16417         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16418         Define __pointer_chk_guard_local.
16419         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16420         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16421
16422 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
16423
16424         [BZ #15859]
16425         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16426
16427 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
16428
16429         * include/string.h (__ffs): Declare as hidden.
16430         * string/ffs.c (__ffs): Define as hidden.
16431         * sysdeps/i386/ffs.c (__ffs): Likewise.
16432         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16433         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16434         * sysdeps/s390/ffs.c (__ffs): Likewise.
16435         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16436
16437 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
16438
16439         * NEWS: Mention malloc probes.
16440
16441         * malloc/arena.c (new_heap): New memory_heap_new probe.
16442         (grow_heap): New memory_heap_more probe.
16443         (shrink_heap): New memory_heap_less probe.
16444         (heap_trim): New memory_heap_free probe.
16445         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16446         (systrim): New memory_sbrk_less probe.
16447         * manual/probes.texi: Document them.
16448
16449         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16450         * manual/probes.texi: Document it.
16451
16452         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16453         (__libc_realloc): Add memory_realloc_retry probe.
16454         (__libc_memalign): Add memory_memalign_retry probe.
16455         (__libc_valloc): Add memory_valloc_retry probe.
16456         (__libc_pvalloc): Add memory_pvalloc_retry probe.
16457         (__libc_calloc): Add memory_calloc_retry probe.
16458         * manual/probes.texi: Document them.
16459
16460         * malloc/arena.c (get_free_list): Add probe
16461         memory_arena_reuse_free_list.
16462         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16463         and memory_arena_reuse.
16464         (arena_get2) [!PER_THREAD]: Likewise.
16465         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16466         memory_arena_reuse_realloc.
16467         * manual/probes.texi: Document them.
16468
16469         * malloc/malloc.c (__libc_free): Add
16470         memory_mallopt_free_dyn_thresholds probe.
16471         (__libc_mallopt): Add multiple memory_mallopt probes.
16472         * manual/probes.texi: Document them.
16473
16474         * malloc/malloc.c: Include stap-probe.h.
16475         (__libc_mallopt): Add memory_mallopt probe.
16476         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16477         * manual/probes.texi: New.
16478         * manual/Makefile (chapters): Add probes.
16479         * manual/threads.texi: Set next node.
16480
16481 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
16482
16483         [BZ #15963, #13985]
16484         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16485         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16486         Add `Chinese' to `nan' entry name.
16487
16488 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16489
16490         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16491         (POLYNOMIAL): Likewise.
16492         (TAYLOR_SINCOS): Likewise.
16493         (TAYLOR_SLOW): Likewise.
16494         (__sin): Use TAYLOR_SINCOS.
16495         (__cos): Likewise.
16496         (slow): Use TAYLOR_SLOW.
16497         (sloww): Likewise.
16498         (bsloww): Likewise.
16499         (csloww): Likewise.
16500
16501 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16502
16503         * stdlib/strtod_l.c: Fix buffer overrun.
16504
16505 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16506
16507         * benchtests/Makefile (bench): Add sincos.
16508         * benchtests/bench-sincos.c: New file.
16509
16510         * math/libm-test.inc (cos_test_data): New test inputs.
16511         (sin_test_data): Likewise.
16512
16513         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16514         macro.
16515         (__sin): Use it.
16516         (__cos): Likewise.
16517         (slow1): Likewise.
16518         (slow2): Likewise.
16519         (sloww1): Likewise.
16520         (sloww2): Likewise.
16521         (bsloww1): Likewise.
16522         (bsloww2): Likewise.
16523         (cslow2): Likewise.
16524         (csloww1): Likewise.
16525         (csloww2): Likewise.
16526
16527         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16528         function.
16529         (__sin): Use it.
16530         (__cos): Likewise.
16531
16532         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16533         gotos.
16534         (__cos): Likewise.
16535
16536 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
16537
16538         * config.h.in (HAVE_MIPS_NAN2008): New macro.
16539         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16540         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16541         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16542         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16543         * elf/cache.c (print_entry): Handle the new cache flags.
16544
16545 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
16546             Aldy Hernandez  <aldyh@redhat.com>
16547
16548         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16549         Change condition to [_SOFT_FLOAT].
16550         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16551         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16552         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16553         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16554         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16555         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16556         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16557         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16558         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16559         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16560         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16561         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16562         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16563         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16564         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16565         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16566         declaration.
16567
16568 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
16569
16570         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16571         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16572         (__longjmp): Use LOAD_GP to load saved GPRs.
16573         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16574         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16575         (__sigsetjmp): Use SAVE_GP to save GPRs.
16576
16577         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16578         Do not append -msoft-float.
16579         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16580
16581 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16582
16583         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16584
16585 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
16586
16587         [BZ #15966]
16588         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16589         (_FPU_GETCW): Use initial "__" on variable and field names but not
16590         on macro parameter name.
16591         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
16592         parentheses around reference to macro parameter.
16593
16594 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
16595
16596         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16597         prototype.
16598         (ctype_startup): Use uint32_t in cast and sizeof for
16599         ctype->charnames.
16600
16601 2013-09-11  Jia Liu  <proljc@gmail.com>
16602
16603         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16604         __daddr_t_defined.
16605         [__FreeBSD__]: Likewise.
16606
16607 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
16608
16609         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16610         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16611         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16612         (strchr): Remove __strchr_sse42 ifunc selection.
16613         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16614         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16615
16616 2013-09-11  Will Newton  <will.newton@linaro.org>
16617
16618         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16619         parameter to RES. Remove hardcoded 1000 value.
16620         * benchtests/bench-skeleton.c (main): Pass RES parameter
16621         to TIMING_INIT and multiply result by 1000.
16622
16623 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16624
16625         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16626
16627 2013-09-11  Andreas Schwab  <schwab@suse.de>
16628
16629         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16630         if not defined.
16631         (O_TMPFILE) [__USE_GNU]: Define.
16632         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16633         Define.
16634
16635 2013-09-11  Will Newton  <will.newton@linaro.org>
16636
16637         [BZ #15857]
16638         * malloc/malloc.c (__libc_memalign): Check the value of bytes
16639         does not overflow.
16640
16641 2013-09-11  Will Newton  <will.newton@linaro.org>
16642
16643         [BZ #15856]
16644         * malloc/malloc.c (__libc_valloc): Check the value of bytes
16645         does not overflow.
16646
16647 2013-09-11  Will Newton  <will.newton@linaro.org>
16648
16649         [BZ #15855]
16650         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16651         does not overflow.
16652
16653 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
16654
16655         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16656         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16657         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16658         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16659         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16660
16661 2013-09-10  Allan McRae  <allan@archlinux.org>
16662
16663         [BZ #15748]
16664         * manual/arith.texi (Parsing of Floats): Clarify
16665         cross-reference.
16666
16667         [BZ #15849]
16668         * manual/install.texi (Running make install): Mention
16669         --enable-pt-chown.
16670         * INSTALL: Regenerated.
16671
16672 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
16673
16674         * csu/init-first.c (_init): Remove the !SHARED condition around
16675         FPU control word initialization.
16676         * elf/dl-support.c (_dl_fpu_control): New variable.
16677         (_dl_aux_init) <AT_FPUCW>: Initialize it.
16678         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16679         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16680         * math/test-fpucw-static.c: New file.
16681         * math/test-fpucw-ieee.c: New file.
16682         * math/test-fpucw-ieee-static.c: New file.
16683         * math/Makefile (tests): Add `test-fpucw-ieee' and
16684         `$(tests-static)'.
16685         (tests-static): New variable.
16686         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16687         dependency to...
16688         [($(build-shared),yes)]
16689         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16690         ... this.
16691         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16692         New dependency.
16693
16694 2013-09-09  Allan McRae  <allan@archlinux.org>
16695
16696         [BZ #15939]
16697         * manual/string.texi (Collation Functions): Fix typo in
16698         strcoll example.
16699         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16700
16701         [BZ #15893]
16702         * stdlib/isomac.c (get_null_defines): Fix memory leak.
16703
16704         [BZ #15892]
16705         * libio/memstream.c (open_memstream): Fix memory leak.
16706         * libio/wmemstream.c (open_wmemstream): Likewise.
16707
16708         [BZ #15895]
16709         * nscd/netgroupcache.c: Fix nesting of ifdefs.
16710
16711 2013-09-09  Will Newton  <will.newton@linaro.org>
16712
16713         * malloc/Makefile: Add tst-realloc to tests.
16714         * malloc/tst-realloc.c: New file.
16715
16716 2013-09-09  Allan McRae  <allan@archlinux.org>
16717
16718         [BZ #15844]
16719         * COPYING: Update from GNU website to fix FSF address.
16720         * COPYING.LIB: Likewise.
16721
16722 2013-09-06  David S. Miller  <davem@davemloft.net>
16723
16724         * po/zh_TW.po: Update Chinese (traditional) translation from
16725         translation project.
16726
16727 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
16728             Joseph Myers  <joseph@codesourcery.com>
16729
16730         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16731         "localeinfo.h".
16732         (obstack_chunk_alloc): New macro.
16733         (obstack_chunk_free): Likewise.
16734         (record_offset): New function.
16735         (init_locale_data): Likewise.
16736         (align_locale_data): Likewise.
16737         (add_locale_empty): Likewise.
16738         (add_locale_raw_data): Likewise.
16739         (add_locale_raw_obstack): Likewise.
16740         (add_locale_string): Likewise.
16741         (add_locale_wstring): Likewise.
16742         (add_locale_uint32): Likewise.
16743         (add_locale_uint32_array): Likewise.
16744         (add_locale_char): Likewise.
16745         (start_locale_structure): Likewise.
16746         (end_locale_structure): Likewise.
16747         (start_locale_prelude): Likewise.
16748         (end_locale_prelude): Likewise.
16749         (write_locale_data): Take locale_file structure rather than an
16750         iovec.
16751         * locale/programs/locfile.h: Include "obstack.h".
16752         (struct locale_file): Change to store locale file contents instead
16753         of header.
16754         (init_locale_data): New prototype.
16755         (align_locale_data): Likewise.
16756         (add_locale_empty): Likewise.
16757         (add_locale_raw_data): Likewise.
16758         (add_locale_raw_obstack): Likewise.
16759         (add_locale_string): Likewise.
16760         (add_locale_wstring): Likewise.
16761         (add_locale_uint32): Likewise.
16762         (add_locale_uint32_array): Likewise.
16763         (add_locale_char): Likewise.
16764         (start_locale_structure): Likewise.
16765         (end_locale_structure): Likewise.
16766         (start_locale_prelude): Likewise.
16767         (end_locale_prelude): Likewise.
16768         (write_locale_data): Update prototype.
16769         * locale/programs/3level.h (struct TABLE): Remove result field.
16770         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16771         Use new locale_file interface.
16772         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16773         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16774         * locale/programs/ld-address.c (address_output): Use new
16775         locale_file interface.
16776         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16777         NO_ADD_LOCALE.
16778         (collate_finish): Don't call collseq_table_finalize.
16779         (collate_output): Use new locale_file interface.
16780         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16781         in file.
16782         (NO_FINALIZE): Change to NO_ADD_LOCALE.
16783         (TABLE): Move defines earlier in file.
16784         (ELEMENT): Likewise.
16785         (DEFAULT): Likewise.
16786         (wctrans_table_add): Move macro and inline function earlier in
16787         file.
16788         (struct wctype_table): Move type earlier in file.
16789         (add_locale_wctype_table): New static prototype.
16790         (struct locale_ctype_t): Use logical types instead of struct iovec
16791         pointers for members.
16792         (ctype_output): Use new locale_file interface.
16793         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
16794         new locale_file interface.
16795         (allocate_arrays): Update for use of new locale_file interface.
16796         * locale/programs/ld-identification.c (identification_output): Use
16797         new locale_file interface.
16798         * locale/programs/ld-measurement.c (measurement_output): Likewise.
16799         * locale/programs/ld-messages.c (messages_output): Likewise.
16800         * locale/programs/ld-monetary.c (monetary_output): Likewise.
16801         * locale/programs/ld-name.c (name_output): Likewise.
16802         * locale/programs/ld-numeric.c (numeric_output): Likewise.
16803         * locale/programs/ld-paper.c (paper_output): Likewise.
16804         * locale/programs/ld-telephone.c (telephone_output): Likewise.
16805         * locale/programs/ld-time.c (time_output): Likewise.
16806
16807 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16808
16809         * benchtests/Makefile: Add memrchr benchmark.
16810         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16811         benchmark as memrchr.
16812         * benchtests/bench-memrchr-ifunc.c: New file.
16813         * benchtests/bench-memrchr.c: New file.
16814
16815 2013-09-06   Will Newton  <will.newton@linaro.org>
16816
16817         * benchtests/Makefile (string-bench): Add memcpy.
16818
16819 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
16820             Cong Wang  <amwang@redhat.com>
16821
16822         [BZ #15850]
16823         * sysdeps/unix/sysv/linux/bits/in.h
16824         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16825         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16826         before __USE_KERNEL_IPV6_DEFS uses.
16827         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16828         IPPROTO_BEETPH.
16829         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16830         sockaddr_in6, or ipv6_mreq.
16831
16832 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16833
16834         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16835         memory access for final bytes in some large inputs.
16836         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16837
16838 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16839
16840         * string/test-memrchr.c: New file.
16841         * string/test-memrchr-ifunc.c: New file.
16842         * string/Makefile: Add new memrchr testcase.
16843
16844 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
16845
16846         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16847         fanotify_init returns EPERM.
16848
16849 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
16850
16851         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16852         errors.
16853         (top level): Treat second token from macro or constant entries for
16854         allowed headers as allowed.
16855         * include/complex.h: Condition internal declarations on
16856         [!_ISOMAC].
16857         * include/fenv.h: Condition include of <stdbool.h> and internal
16858         declarations on [!_ISOMAC].
16859
16860 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
16861
16862         [BZ #15923]
16863         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16864
16865 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
16866
16867         * configure.in (--enable-versioning): Remove configure option.
16868         (libc_cv_asm_symver_directive): Remove configure test.
16869         (libc_cv_ld_version_script_option): Likewise.
16870         (VERSIONING): Remove variable and AC_SUBST.
16871         (DO_VERSIONING): Remove AC_DEFINE.
16872         * configure: Regenerated.
16873         * config.h.in (DO_VERSIONING): Remove macro.
16874         * Makerules [$(versioning) = yes]: Change conditionals to
16875         [$(build-shared) = yes].
16876         * config.make.in (versioning): Remove variable.
16877         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16878         [$(build-shared) = yes].
16879         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16880         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16881         * elf/Makefile [$(versioning) = yes]: Change conditionals to
16882         [$(build-shared) = yes].
16883         * extra-lib.mk [$(versioning) = yes]: Likewise.
16884         * hurd/Makefile [$(versioning) = yes]: Likewise.
16885         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16886         [SHARED].
16887         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16888         [SHARED].
16889         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16890         [SHARED && !NO_HIDDEN].
16891         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16892         [SHARED].
16893         [SHARED && DO_VERSIONING]: Likewise..
16894         * libio/Makefile [$(versioning) = yes]: Change conditionals to
16895         [$(build-shared) = yes].
16896         * manual/install.texi (--disable-versioning): Remove
16897         documentation.
16898         * INSTALL: Regenerated.
16899         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16900         to [SHARED].
16901         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16902         [$(build-shared) = yes].
16903         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16904         * sysdeps/i386/i686/multiarch/strstr-c.c
16905         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16906         [SHARED && !NO_HIDDEN].
16907         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16908         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16909         * sysdeps/powerpc/powerpc32/dl-machine.c
16910         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16911         * sysdeps/powerpc/powerpc32/sysdep.h
16912         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16913         to [SHARED && PIC && !NO_HIDDEN].
16914         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16915         conditional to [SHARED].
16916
16917 2013-09-04   Will Newton  <will.newton@linaro.org>
16918
16919         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16920         * benchtests/bench-string.h: Include bench-timing.h instead
16921         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16922         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16923         call to HP_TIMING_DIFF_INIT.
16924         * benchtests/bench-memccpy.c: Use bench-timing.h macros
16925         instead of hp-timing.h macros.
16926         * benchtests/bench-memchr.c: Likewise.
16927         * benchtests/bench-memcmp.c: Likewise.
16928         * benchtests/bench-memcpy.c: Likewise.
16929         * benchtests/bench-memmem.c: Likewise.
16930         * benchtests/bench-memmove.c: Likewise.
16931         * benchtests/bench-memset.c: Likewise.
16932         * benchtests/bench-rawmemchr.c: Likewise.
16933         * benchtests/bench-strcasecmp.c: Likewise.
16934         * benchtests/bench-strcasestr.c: Likewise.
16935         * benchtests/bench-strcat.c: Likewise.
16936         * benchtests/bench-strchr.c: Likewise.
16937         * benchtests/bench-strcmp.c: Likewise.
16938         * benchtests/bench-strcpy.c: Likewise.
16939         * benchtests/bench-strcpy_chk.c: Likewise.
16940         * benchtests/bench-strlen.c: Likewise.
16941         * benchtests/bench-strncasecmp.c: Likewise.
16942         * benchtests/bench-strncat.c: Likewise.
16943         * benchtests/bench-strncmp.c: Likewise.
16944         * benchtests/bench-strncpy.c: Likewise.
16945         * benchtests/bench-strnlen.c: Likewise.
16946         * benchtests/bench-strpbrk.c: Likewise.
16947         * benchtests/bench-strrchr.c: Likewise.
16948         * benchtests/bench-strspn.c: Likewise.
16949         * benchtests/bench-strstr.c: Likewise.
16950
16951 2013-09-04  Will Newton  <will.newton@linaro.org>
16952
16953         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16954
16955 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
16956
16957         [BZ #15427]
16958         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16959         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16960         * math/libm-test.inc (lgamma_test_data): Add more tests.
16961         * sysdeps/i386/fpu/libm-test-ulps: Update.
16962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16963
16964 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
16965
16966         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16967         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16968         Add ifunc.
16969         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16970         Add strcmp-sse2-unaligned
16971         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16972
16973 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
16974
16975         * Versions.def (libc): Add GLIBC_2.19.
16976
16977 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
16978
16979         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16980         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16981
16982 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
16983
16984         [BZ #14155]
16985         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16986         intermediate calculations in recurrence.
16987         (__ieee754_ynf): Likewise.
16988         * math/libm-test.inc (jn_test_data): Do not allow spurious
16989         underflow exception.  Add more tests.
16990         (yn_test_data): Add more tests.
16991         * sysdeps/i386/fpu/libm-test-ulps: Update.
16992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16993
16994 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
16995
16996         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16997
16998 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
16999
17000         * csu/init-first.c: Fix then/than typos.
17001         * locale/programs/ld-collate.c: Likewise.
17002         * locale/programs/linereader.h: Likewise.
17003         * manual/charset.texi: Likewise.
17004         * manual/filesys.texi: Likewise.
17005         * manual/stdio.texi: Likewise.
17006         * manual/string.texi: Likewise.
17007         * stdlib/fmtmsg.c: Likewise.
17008         * sysdeps/i386/stpncpy.S: Likewise.
17009         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17010         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17011         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17012         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17013
17014 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17015
17016         * elf/dl-open.c: Fix typos.
17017         * iconvdata/gbbig5.c: Likewise.
17018         * iconvdata/iso-2022-jp.c: Likewise.
17019         * iconv/gconv_int.h: Likewise.
17020         * iconv/loop.c: Likewise.
17021         * nis/rpcsvc/nis.h: Likewise.
17022         * resolv/ns_name.c: Likewise.
17023         * stdio-common/vfscanf.c: Likewise.
17024         * streams/stropts.h: Likewise.
17025         * sunrpc/rpc_thread.c: Likewise.
17026         * sysdeps/i386/strpbrk.S: Likewise.
17027         * sysdeps/ieee754/k_standard.c: Likewise.
17028         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17029         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17030         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17031         * sysdeps/mach/hurd/profil.c: Likewise.
17032         * sysdeps/s390/dl-procinfo.h: Likewise.
17033         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17034         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17035         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17036         * sysdeps/x86_64/dl-trampoline.S: Likewise.
17037         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17038
17039 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
17040
17041         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17042         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17043
17044 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
17045
17046         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17047         aix specific files.
17048         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17049         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17050         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17051         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17052         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17053         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17054         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17055         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17056
17057 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17058             Roland McGrath  <roland@hack.frob.com>
17059
17060         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17061         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17062
17063 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17064
17065         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17066         __executable_start symbol instead of _start.
17067
17068 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17069
17070         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17071         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17072         Move macros to...
17073         * sysdeps/gnu/ldsodefs.h: ... this new file.
17074
17075         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17076         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17077         instead of ELFOSABI_LINUX.
17078
17079         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17080         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17081         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17082         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17083         Likewise.
17084         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17085         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17086         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17087         Likewise.
17088         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17089         (ibm_extended_long_double): Add ieee_nan member.
17090         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17091         (do_test): New function.
17092
17093         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17094         TEST_TRUNC.
17095         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17096         functions, renamed from truncdfsf_test, trunctfsf_test,
17097         trunctfdf_test.
17098         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17099         functions.
17100         (do_test): Run all these.
17101
17102 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
17103
17104         * argp/argp-help.c: Fix typos.
17105         * argp/argp-parse.c: Likewise.
17106         * debug/backtracesyms.c: Likewise.
17107         * elf/elf.h: Likewise.
17108         * malloc/malloc.c: Likewise.
17109         * nis/nis_print.c: Likewise.
17110         * resolv/res_comp.c: Likewise.
17111         * stdlib/stdlib.h: Likewise.
17112         * sunrpc/clnt_tcp.c: Likewise.
17113         * sunrpc/clnt_udp.c: Likewise.
17114         * sunrpc/clnt_unix.c: Likewise.
17115         * sysdeps/unix/bsd/ptsname.c: Likewise.
17116         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17117         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17119         Likewise.
17120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17121         Likewise.
17122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17123         Likewise.
17124         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17125
17126 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17127
17128         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17129         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17130
17131 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
17132
17133         [BZ #15897]
17134         * dlfcn/Makefile (tests): Add bug-dl-leaf.
17135         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17136         ($(objpfx)bug-dl-leaf): New rule.
17137         ($(objpfx)bug-dl-leaf.so): Likewise.
17138         ($(objpfx)bug-dl-leaf.out): Likewise.
17139         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17140         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17141         * dlfcn/bug-dl-leaf.c: New test.
17142         * dlfcn/bug-dl-leaf-lib.c: Likewise.
17143         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17144         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17145         (dlclose): Likewise.
17146         (dlmopen): Likewise.
17147
17148 2013-08-27  Roland McGrath  <roland@hack.frob.com>
17149
17150         * include/netdb.h [!_ISOMAC]:
17151         Don't include <tls.h>.
17152         (h_errno, __libc_h_errno): Move declaration and macros out of
17153         [_LIBC_REENTRANT].
17154
17155         * include/resolv.h [_RESOLV_H_]:
17156         Don't include <tls.h>.
17157         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17158         * resolv/res_libc.c: Don't include <tls.h>.
17159         (_res): Use __attribute__ ((nocommon)) in place of
17160         __attribute__ ((section (".bss"))).
17161
17162         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17163         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17164
17165         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17166
17167         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17168         only under [SIOCGIFCONF && SIOCGIFNETMASK].
17169
17170         * resolv/res_mkquery.c: Include <sys/time.h>.
17171
17172         * inet/ifreq.c: Moved to ...
17173         * sysdeps/unix/ifreq.c: ... here.
17174         * inet/ifreq.c: New file, true stub version.
17175
17176         * socket/sa_len.c: New file.
17177         * socket/Makefile (aux): Add it.
17178         * sysdeps/unix/sysv/linux/Makefile
17179         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17180         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17181         and #include <socket/sa_len.c>.
17182         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17183         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17184
17185         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17186         * bits/socket.h: ... here.
17187
17188         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17189         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17190         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17191
17192 2013-08-27  Andreas Schwab  <schwab@suse.de>
17193
17194         [BZ #15736]
17195         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17196         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17197         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17198         * string/test-strcasecmp.c (test_main): Run tests in several
17199         locales.
17200         * string/test-strncasecmp.c (test_main): Likewise.
17201
17202         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17203         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17204         to __strcasecmp_nonascii and __strncasecmp_nonascii.
17205         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17206         (__strncasecmp_ssse3) [PIC]: Likewise.
17207
17208 2013-08-26  Roland McGrath  <roland@hack.frob.com>
17209
17210         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17211
17212         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17213         instead of explicitly declaring xdecrypt.
17214         * nis/nss_nis/nis-publickey.c: Likewise.
17215
17216 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17217
17218         [BZ #15890]
17219         * nscd/aicache.c: Include res_hconf.h.
17220         (addhstaiX): Initialize res_hconf.
17221
17222 2013-08-26  Andreas Schwab  <schwab@suse.de>
17223
17224         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17225         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17226
17227 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17228
17229         * nscd/aicache.c (addhstaiX): Fix indentation.
17230
17231 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
17232
17233         * configure.ac: Quote $build_pt_chown test.
17234         * configure: Regenerated.
17235
17236 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
17237
17238         [BZ #15532]
17239         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17240         * math/s_cexpf.c (__cexpf): Likewise.
17241         * math/s_cexpl.c (__cexpl): Likewise.
17242         * math/libm-test.inc (cexp_test_data): Correct expected return
17243         value for NaN + i0.  Add another test.
17244
17245 2013-08-22  David S. Miller  <davem@davemloft.net>
17246
17247         * po/ca.po: Update Catalan translation from translation project.
17248         * po/uk.po: Add Ukrainian translations from translation project.
17249
17250 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
17251
17252         [BZ #15797]
17253         * math/s_fdim.c (__fdim): Check for infinite arguments if result
17254         is infinite, not alongside NaN test.
17255         * math/s_fdimf.c (__fdimf): Likewise.
17256         * math/s_fdiml.c (__fdiml): Likewise.
17257         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
17258         errno is unchanged.
17259
17260 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
17261
17262         * argp/argp-help.c: Fix typos.
17263         * crypt/speeds.c: Likewise.
17264         * csu/check_fds.c: Likewise.
17265         * elf/dl-load.c: Likewise.
17266         * elf/dl-open.c: Likewise.
17267         * elf/reldep3.c: Likewise.
17268         * elf/reldep.c: Likewise.
17269         * elf/sprof.c: Likewise.
17270         * iconv/iconv_charmap.c: Likewise.
17271         * iconv/skeleton.c: Likewise.
17272         * iconv/strtab.c: Likewise.
17273         * io/lockf64.c: Likewise.
17274         * libio/libioP.h: Likewise.
17275         * resolv/gai_notify.c: Likewise.
17276         * resolv/ns_name.c: Likewise.
17277         * resolv/ns_samedomain.c: Likewise.
17278         * resolv/res_send.c: Likewise.
17279         * stdlib/random.c: Likewise.
17280         * sunrpc/rpc/xdr.h: Likewise.
17281         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17282         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17283         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17284         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17285         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17286         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17287         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17288         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17289         * sysdeps/mach/hurd/check_fds.c: Likewise.
17290         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17291         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17292         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17293         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17294         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17295         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17296         * sysdeps/pthread/aio_notify.c: Likewise.
17297         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17298         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17299         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17300         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17301         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17302
17303 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17304
17305         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17306         version if bit_Slow_SSE4_2 is set.
17307         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17308         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17309
17310 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17311
17312         [BZ #15867]
17313         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17314         trampoline stack frame information.
17315         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17316         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17317         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17318         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17319         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17320         * sysdeps/unix/sysv/linux/powerpc/init-first.c
17321         (_libc_vdso_platform_setup): Initialize the signal trampolines.
17322         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17323         sa_flags value.
17324         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17325         interrupting a syscall and set with option SA_SIGINFO.
17326
17327 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17328
17329         [BZ #15531]
17330         * math/s_cproj.c (__cproj): Only return an infinity if one part of
17331         argument is infinite.
17332         * math/s_cprojf.c (__cprojf): Likewise.
17333         * math/s_cprojl.c (__cprojl): Likewise.
17334         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17335         * math/libm-test.inc (cproj_test_data): Add more tests.
17336
17337         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17338
17339         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17340         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17341         size.  Use __ffs to determine corresponding shift.
17342
17343 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17344             Roland McGrath  <roland@hack.frob.com>
17345
17346         * Makefile (INSTALL): Remove trailing blank lines from output of
17347         makeinfo.
17348
17349 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17350
17351         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17352         Align 32 bit compat elf_greg to 8 bytes.
17353
17354 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
17355
17356         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17357
17358 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17359
17360         * string/strcoll_l.c (coll_seq): New structure.
17361         (get_next_seq_cached): New function.
17362         (get_next_seq): New function.
17363         (do_compare): New function.
17364         (STRCOLL): Use GNU style definition.  Simplify implementation
17365         by using get_next_seq, get_next_seq_cached and do_compare.
17366
17367 2013-08-16  Florian Weimer  <fweimer@redhat.com>
17368
17369         [BZ #14699]
17370         CVE-2013-4237
17371         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17372         member.
17373         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17374         member.
17375         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17376         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17377         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
17378         conditional.
17379         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17380         GETDENTS_64BIT_ALIGNED.
17381         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17382         * manual/filesys.texi (Reading/Closing Directory): Document
17383         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
17384         strongly.
17385         * manual/conf.texi (Limits for Files): Add portability note to
17386         NAME_MAX, PATH_MAX.
17387         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17388
17389 2013-08-13  Andreas Schwab  <schwab@suse.de>
17390
17391         [BZ #15749]
17392         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17393         of fabs.
17394         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17395         LDBL_MAX_EXP >= 16384]: Add tests for it.
17396
17397 2013-08-12  David S. Miller  <davem@davemloft.net>
17398
17399         * version.h (RELEASE): Set to "development".
17400         (VERSION): Set to "2.18.90".
17401         * NEWS: Add 2.19 section.
17402
17403 2013-08-03  David S. Miller  <davem@davemloft.net>
17404
17405         * po/ko.po: Update Korean translation from translation project.
17406
17407 2013-08-01  David S. Miller  <davem@davemloft.net>
17408
17409         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
17410         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17411         Bilka.
17412
17413 2013-07-30  David S. Miller  <davem@davemloft.net>
17414
17415         * po/fr.po: Update French translation from translation project.
17416
17417 2013-07-28  David S. Miller  <davem@davemloft.net>
17418
17419         * po/cs.po: Update Czech translation from translation project.
17420
17421         * po/sv.po: Update Swedish translation from translation project.
17422
17423 2013-07-27  David S. Miller  <davem@davemloft.net>
17424
17425         * po/eo.po: Update Esperanto translation from translation project.
17426
17427         * po/vi.po: Update Vietnamese translation from translation project.
17428
17429         * po/de.po: Update German translation from translation project.
17430
17431 2013-07-26  David S. Miller  <davem@davemloft.net>
17432
17433         * po/bg.po: Update Bulgarian translation from translation project.
17434
17435         * po/nl.po: Update Dutch translation from translation project.
17436         * po/pl.po: Update Polish translation from translation project.
17437         * po/ru.po: Update Russian translation from translation project.
17438
17439 2013-07-24  David S. Miller  <davem@davemloft.net>
17440
17441         * po/libc.pot: Update.
17442
17443 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17444
17445         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17446         variable page size.
17447         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17448         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17449         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17450
17451 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17452
17453         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17454
17455 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17456             Andreas Schwab  <schwab@suse.de>
17457             Roland McGrath  <roland@hack.frob.com>
17458             Joseph Myers  <joseph@codesourcery.com>
17459             Carlos O'Donell  <carlos@redhat.com>
17460
17461         [BZ #15755]
17462         * config.h.in: Define HAVE_PT_CHOWN.
17463         * config.make.in (build-pt-chown): New variable.
17464         * configure.in (--enable-pt_chown): New configure option.
17465         * configure: Regenerate.
17466         * login/Makefile: Include Makeconfig.  Build pt_chown only if
17467         build-pt-chown is enabled.
17468         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17469         pt_chown to fix pty ownership.
17470         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17471         CLOSE_ALL_FDS.
17472         * manual/install.texi (Configuring and compiling): Mention
17473         --enable-pt_chown. Add @findex for grantpt.
17474         * INSTALL: Regenerate.
17475
17476 2013-07-20  David S. Miller  <davem@davemloft.net>
17477
17478         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17479         difference between 32-bit and 64-bit.
17480
17481 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
17482
17483         [BZ #15711]
17484         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17485         Avoid system header dependency with -ffreestanding.
17486         ($(objpfx)bits/syscall%d): Likewise.
17487
17488 2013-07-13  David S. Miller  <davem@davemloft.net>
17489
17490         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17491         underflows from atanl/atan2l due to bug 15319.
17492         (casinh_test_data): Likewise.
17493
17494 2013-07-07  David S. Miller  <davem@davemloft.net>
17495
17496         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17497
17498 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
17499
17500         * sysdeps/i386/fpu/libm-test-ulps: Update.
17501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17502
17503 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17504
17505         * configure.in (--enable-lock-elision): Fix message text.
17506         * INSTALL: Regenerate.
17507         * configure: Regenerate.
17508
17509 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17510
17511         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17512
17513 2013-07-03  Andreas Jaeger  <aj@suse.de>
17514
17515         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17516         define.
17517         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17518         (ptrace_peeksiginfo_args): Add.
17519         (__ptrace_peeksiginfo_flags): Add.
17520         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17521         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17522         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17523
17524 2013-07-03  Allan McRae  <allan@archlinux.org>
17525
17526         * sysdeps/i386/fpu/libm-test-ulps: Update.
17527
17528 2013-07-02  David S. Miller  <davem@davemloft.net>
17529
17530         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17531
17532 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
17533
17534         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17535
17536 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
17537
17538         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17540
17541 2013-07-02  Andi Kleen <ak@linux.intel.com>
17542
17543         * config.h.in (ENABLE_LOCK_ELISION): Add.
17544         * configure.in (--enable-lock-elision): Add option.
17545         * manual/install.texi: Document --enable lock elision.
17546         * configure: Regenerate
17547         * INSTALL: Regenerate.
17548
17549 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
17550
17551         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17552         SSE4.2 strcasecmp for libc.a.
17553         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17554
17555 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
17556
17557         [BZ #13304]
17558         * soft-fp/op-common.h (_FP_FMA): New macro.
17559         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17560         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
17561         (_FP_MUL_MEAT_1_imm): ... here.
17562         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
17563         (_FP_MUL_MEAT_1_wide): ... here.
17564         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
17565         (_FP_MUL_MEAT_1_hard): ... here.
17566         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17567         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
17568         (_FP_MUL_MEAT_2_wide): ... here.
17569         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
17570         (_FP_MUL_MEAT_2_wide_3mul): ... here.
17571         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
17572         (_FP_MUL_MEAT_2_gmp): ... here.
17573         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17574         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
17575         (_FP_MUL_MEAT_4_wide): ... here.
17576         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
17577         (_FP_MUL_MEAT_4_gmp): ... here.
17578         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17579         (_FP_WFRACBITS_DW_S): Likewise.
17580         (_FP_WFRACXBITS_DW_S): Likewise.
17581         (_FP_HIGHBIT_DW_S): Likewise.
17582         (FP_FMA_S): Likewise.
17583         (_FP_FRAC_HIGH_DW_S): Likewise.
17584         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17585         (_FP_WFRACBITS_DW_D): Likewise.
17586         (_FP_WFRACXBITS_DW_D): Likewise.
17587         (_FP_HIGHBIT_DW_D): Likewise.
17588         (FP_FMA_D): Likewise.
17589         (_FP_FRAC_HIGH_DW_D): Likewise.
17590         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17591         (_FP_WFRACBITS_DW_E): Likewise.
17592         (_FP_WFRACXBITS_DW_E): Likewise.
17593         (_FP_HIGHBIT_DW_E): Likewise.
17594         (FP_FMA_E): Likewise.
17595         (_FP_FRAC_HIGH_DW_E): Likewise.
17596         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17597         (_FP_WFRACBITS_DW_Q): Likewise.
17598         (_FP_WFRACXBITS_DW_Q): Likewise.
17599         (_FP_HIGHBIT_DW_Q): Likewise.
17600         (FP_FMA_Q): Likewise.
17601         (_FP_FRAC_HIGH_DW_Q): Likewise.
17602         * soft-fp/fmasf4.c: New file.
17603         * soft-fp/fmadf4.c: Likewise.
17604         * soft-fp/fmatf4.c: Likewise.
17605
17606 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17607
17608         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17609         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17610         Silvermont.
17611         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17612         macro.
17613         (index_Slow_SSE4_2): Likewise.
17614         (index_Prefer_PMINUB_for_stringop): Likewise.
17615         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17616         bit_Slow_SSE4_2 is set.
17617         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17618         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17619
17620 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17621
17622         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17623         rtld_global._dl_hwcap2.
17624         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17625         POWER8.
17626         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17627         POWER8 feature descriptions defined in _dl_hwcap2.
17628         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17629         string handling for POWER8 feature bits.
17630         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17631         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17632         _dl_powerpc_cap_flags.
17633         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17634         * sysdeps/powerpc/rtld-global-offsets.sym
17635         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17636         _dl_hwcap2 in the rtld_global_ro structure.
17637
17638 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17639
17640         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17641         hardware capabilities in support of AT_HWCAP2.
17642         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17643         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17644         GLRO(dl_hwcap2).
17645         (_dl_show_auxv): Add support for calling _dl_procinfo to display
17646         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
17647         explicitly the unknown a_type display mechanism is used.
17648         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17649         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17650         struct member.
17651         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17652         to macro prototype for AT_HWCAP2 support.
17653         * sysdeps/i386/dl-procinfo.h: Likewise.
17654         * sysdeps/s390/dl-procinfo.h: Likewise.
17655         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17656         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
17657         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
17658         return -1 for unknown a_type display fallback.
17659         * sysdeps/sparc/dl-procinfo.h: Likewise.
17660         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17661         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17662
17663 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
17664
17665         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17666         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17667
17668 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
17669
17670         [BZ #12492]
17671         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17672         mprotect making __stack_prot writable.
17673
17674 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
17675             Joseph Myers  <joseph@codesourcery.com>
17676
17677         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17678         as being properly aligned.
17679
17680 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
17681
17682         * dlfcn/modstatic5.c: New file.
17683         * dlfcn/tststatic5.c: New file.
17684         * dlfcn/Makefile (tests): Add tststatic5.
17685         (tests-static): Likewise.
17686         (modules-names): Add modstatic5.
17687         (tststatic5-ENV): New variable.
17688         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17689
17690         [BZ #15022]
17691         * elf/dl-support.c (_dl_main_map): New variable.
17692         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17693         (_dl_nns, _dl_load_adds): Set to 1.
17694         (_dl_initial_searchlist): Refer to _dl_main_map.
17695         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17696         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17697         call to _dl_get_origin.
17698         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17699         around call_map.
17700         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17701         * dlfcn/modstatic3.c: New file.
17702         * dlfcn/tststatic3.c: New file.
17703         * dlfcn/tststatic4.c: New file.
17704         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17705         (tests-static): Likewise.
17706         (modules-names): Add modstatic3.
17707         (tststatic3-ENV, tststatic4-ENV): New variables.
17708         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17709         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17710
17711 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
17712
17713         * configure.in (CC): Require GCC version 4.4 or later.
17714         * configure: Regenerated.
17715         * manual/install.texi (Tools for Compilation): Update GCC version
17716         requirement.
17717         * INSTALL: Regenerated.
17718
17719 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17720
17721         [BZ #15674]
17722         * string/test-memcmp.c (check2): New.
17723         (main): Call check2.
17724
17725         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17726
17727 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
17728
17729         [BZ #15022]
17730         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17731         over to...
17732         (dl_open_worker) [!SHARED]: ... here.
17733
17734 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17735
17736         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17737
17738 2013-06-25  Richard Henderson  <rth@redhat.com>
17739
17740         * locale/programs/locarchive.c: Include <libc-internal.h>
17741
17742 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
17743
17744         * manual/texinfo.tex: Update to version 2013-06-21.17, with
17745         trailing whitespace removed.
17746
17747 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
17748
17749         [BZ #10283]
17750         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17751         * locale/programs/locarchive.c: Include libc-mmap.h.
17752         (prepare_address_space): Take two new outputs (the mmap base and len).
17753         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
17754         values.
17755         (create_archive): Declare new mmap base and len values for
17756         prepare_address_space, and store the result in ah.
17757         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17758         (enlarge_archive): If ah->mmap_base is not NULL, use that and
17759         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17760         Declare new mmap base and len values for
17761         prepare_address_space, and store the result in new_ah.
17762         (open_archive): Declare new mmap base and len values for
17763         prepare_address_space, and store the result in ah.
17764         (close_archive): If ah->mmap_base is not NULL, use that and
17765         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17766         * sysdeps/generic/libc-mmap.h: New file.
17767
17768 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
17769
17770         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17771         (ALIGN_UP): Likewise.
17772         (PTR_ALIGN_DOWN): Likewise.
17773         (PTR_ALIGN_UP): Likewise.
17774
17775 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17776
17777         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17778         entry mapped to PPC_PLATFORM_POWER8.
17779         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17780         POWER8.
17781         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17782         (_dl_string_platform): Add case for exporting platform position for
17783         POWER8.
17784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17785         search path to sysdeps/powerpc/powerpc32/power8 directory.
17786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17787         search path to sysdeps/powerpc/powerpc64/power8 directory.
17788         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17789         power7 directories.
17790         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17791         power7 directories.
17792
17793 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17794
17795         * INSTALL: Regenerate.
17796
17797         * nscd/connections.c (nscd_init): Fix comment.
17798
17799 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
17800
17801         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17802
17803         [BZ #15667]
17804         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17805         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17806
17807 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
17808
17809         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17810         DL_DST_REQ_STATIC.
17811         (DL_DST_REQ_STATIC): Remove macro.
17812
17813 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
17814
17815         [BZ #7006]
17816         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17817         with a shift of 0 bits.
17818
17819 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
17820
17821         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17822         $(tststatic-ENV).
17823
17824 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17825
17826         [BZ #15655]
17827         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17828
17829 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17830
17831         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17832         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17833         accepts -fno-tree-loop-distribute-patterns.
17834         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17835         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17836         recursive call.
17837         * string/memset.c (memset): Likewise.
17838         * string/test-memmove.c (simple_memmove): Disable loop transformation
17839         to library calls.
17840         * string/test-memset.c (simple_memset): Likewise.
17841         * benchtests/bench-memmove.c (simple_memmove): Likewise.
17842         * benchtests/bench-memset.c (simple_memset): Likewise.
17843         * configure: Regenerated.
17844
17845 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
17846
17847         * math/test-misc.c (main): Ignore fesetround failure when failures
17848         of subsequent rounding tests would be ignored.
17849
17850         [BZ #15654]
17851         * math/fedisblxcpt.c (fedisableexcept): Return 0.
17852         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17853         * math/fegetenv.c (__fegetenv): Return 0.
17854         * math/fegetexcept.c (fegetexcept): Return 0.
17855         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17856         FE_TONEAREST.
17857         * math/feholdexcpt.c (feholdexcept): Return 0.
17858         * math/fesetenv.c (__fesetenv): Return 0.
17859         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17860         argument FE_TONEAREST.
17861         * math/feupdateenv.c (__feupdateenv): Return 0.
17862         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17863
17864 2013-06-18  Roland McGrath  <roland@hack.frob.com>
17865
17866         * elf/rtld-Rules (rtld-compile-command.S): New variable.
17867         (rtld-compile-command.s, rtld-compile-command.c): New variables.
17868         ($(objpfx)rtld-%.os rules): Use them.
17869
17870 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17871
17872         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17873         fields.
17874
17875 2013-06-17  Roland McGrath  <roland@hack.frob.com>
17876
17877         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17878         length of target pattern, then descending length of dependency pattern.
17879         * configure.in (AWK): Require gawk 3.1.2 or newer.
17880         * manual/install.texi (Tools for Compilation): Say that we do.
17881         * configure: Regenerated.
17882
17883         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17884         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17885         * scripts/sysd-rules.awk: ... this new script.
17886         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17887         than a glob-style pattern.
17888
17889 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
17890
17891         * math/test-misc.c (main): Do not treat incorrectly rounded
17892         conversions as failure unless ROUNDING_TESTS passes.
17893
17894 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
17895
17896         [BZ #15631]
17897         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17898         restore exception state around main square root computation, then
17899         check for inexactness explicitly.
17900
17901         * math/libm-test.inc (fma_test_data): Add another test.
17902
17903 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17904
17905         * manual/threads.texi (Non-POSIX Extensions): New document
17906         node.  Document pthread_getattr_default_np and
17907         pthread_setattr_default_np.
17908
17909         * Versions.def (libpthread): Add GLIBC_2.18.
17910         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17912         Likewise.
17913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17914         Likewise.
17915         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17916         Likewise.
17917         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17918         Likewise.
17919         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17920         Likewise.
17921         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17922         Likewise.
17923         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17924         Likewise.
17925         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17926         Likewise.
17927         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17928         Likewise.
17929
17930 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17931
17932         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17933         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17934
17935 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17936             H.J. Lu  <hjl.tools@gmail.com>
17937
17938         [BZ #15627]
17939         * sysdeps/x86_64/rtld-memset.c: Remove file.
17940         * sysdeps/x86_64/rtld-memset.S: New file.
17941
17942 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
17943
17944         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17945         (test_in_one_mode): Take arguments for whether the rounding mode
17946         is supported for each floating-point type.
17947         (do_test): Pass new arguments to test_in_one_mode using
17948         ROUNDING_TESTS.
17949
17950 2013-06-13  Roland McGrath  <roland@hack.frob.com>
17951
17952         * posix/tst-waitid.c (do_test): Distinguish different instances of
17953         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
17954         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17955         before entering the kernel for waitpid.
17956
17957 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17958
17959         * NEWS: Fix note on clock function precision.  Text by Roland
17960         McGrath.
17961
17962 2013-06-13  Roland McGrath  <roland@hack.frob.com>
17963
17964         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17965         it into place only when and if the sanity check passes.
17966
17967 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
17968
17969         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17970         output for whether conversion result is exact.  Take argument
17971         indicating whether type is IBM long double.
17972         (round_for_all): Change need_exact field to ibm_ld.
17973         * stdlib/tst-strtod-round.c (struct exactness): New type.
17974         (struct test): Change bool ld_ok field to struct exactness exact.
17975         (TEST): Update all definitions for change to field.
17976         (tests): Regenerate array contents.
17977         (test_in_one_mode): Take pointer to new field instead of old ld_ok
17978         field value.  Check for IBM long double here.
17979         (do_test): Update calls to test_in_one_mode.
17980
17981 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17982
17983         [BZ #12515]
17984         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17985         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17986
17987 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17988
17989         [BZ #15605]
17990         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17991         generated by the compiler on loop optimizations.
17992         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17993         general definitions.
17994
17995 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
17996
17997         * math/bug-nextafter.c: Include <math-tests.h>.
17998         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17999         the relevant type.
18000         * math/bug-nexttoward.c: Include <math-tests.h>.
18001         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18002         the relevant type.
18003         * math/test-misc.c: Include <math-tests.h>.
18004         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18005         the relevant type.
18006
18007 2013-06-12  Andreas Jaeger  <aj@suse.de>
18008
18009         * po/ia.po: Update Interlingua translation from translation
18010         project.
18011
18012 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18013
18014         * include/fenv.h: Include stdbool.h.
18015         (struct rm_ctx): New structure.
18016         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18017         Define macro.
18018         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18019         (SET_RESTORE_ROUNDF): Likewise.
18020         (SET_RESTORE_ROUNDL): Likewise.
18021         (SET_RESTORE_ROUND_NOEX): Likewise.
18022         (SET_RESTORE_ROUND_NOEXF): Likewise.
18023         (SET_RESTORE_ROUND_NOEXL): Likewise.
18024         (SET_RESTORE_ROUND_53BIT): Likewise.
18025         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18026         (libc_feresetround_noexf_ctx): Likewise.
18027         (libc_feresetround_noexl_ctx): Likewise.
18028         (libc_feholdsetround_53bit_ctx): Likewise.
18029         (libc_feresetround_53bit_ctx): Likewise.
18030         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18031         (libc_feholdexcept_setround_sse_ctx): New function.
18032         (libc_fesetenv_sse_ctx): Likewise.
18033         (libc_feupdateenv_sse_ctx): Likewise.
18034         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18035         (libc_feholdexcept_setround_387_ctx): Likewise.
18036         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18037         (libc_feholdsetround_387_prec_ctx): Likewise.
18038         (libc_feholdsetround_387_ctx): Likewise.
18039         (libc_feholdsetround_387_53bit_ctx): Likewise.
18040         (libc_feholdsetround_sse_ctx): Likewise.
18041         (libc_feresetround_sse_ctx): Likewise.
18042         (libc_feresetround_387_ctx): Likewise.
18043         (libc_feupdateenv_387_ctx): Likewise.
18044         (libc_feholdexcept_setroundf_ctx): Define macro.
18045         (libc_fesetenvf_ctx): Likewise.
18046         (libc_feupdateenvf_ctx): Likewise.
18047         (libc_feholdsetroundf_ctx): Likewise.
18048         (libc_feresetroundf_ctx): Likewise.
18049         (libc_feholdexcept_setround_ctx): Likewise.
18050         (libc_fesetenv_ctx): Likewise.
18051         (libc_feupdateenv_ctx): Likewise.
18052         (libc_feholdsetround_ctx): Likewise.
18053         (libc_feresetround_ctx): Likewise.
18054         (libc_feholdexcept_setroundl_ctx): Likewise.
18055         (libc_feupdateenvl_ctx): Likewise.
18056         (libc_feholdsetroundl_ctx): Likewise.
18057         (libc_feresetroundl_ctx): Likewise.
18058         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18059         (libc_feresetround_53bit_ctx): Likewise.
18060
18061 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18062
18063         * locale/iso-639.def: Convert to UTF-8.
18064
18065 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
18066
18067         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18068         (EXCEPTION_TESTS_double): Likewise.
18069         (EXCEPTION_TESTS_long_double): Likewise.
18070         (EXCEPTION_TESTS): Likewise.
18071         * math/libm-test.inc (test_exceptions): Only test exceptions if
18072         EXCEPTION_TESTS (FLOAT).
18073
18074 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18075
18076         * benchtests/Makefile (string-bench): Add strcpy_chk and
18077         stpcpy_chk.
18078         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18079         * benchtests/bench-stpcpy_chk.c: New file.
18080         * benchtests/bench-strcpy_chk-ifunc.c: New file.
18081         * benchtests/bench-strcpy_chk.c: New file.
18082         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18083         code.
18084         (do_test): Likewise.
18085
18086 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18087
18088         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18089         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18090         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18091         with tabs where appropriate.
18092         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18093         dl-procinfo.h.
18094         [PPC_PLATFORM_PPC440]: Likewise.
18095         [PPC_PLATFORM_PPC464]: Likewise.
18096         [PPC_PLATFORM_PPC476]: Likewise.
18097         (_dl_string_platform): Add support for detecting ppc405, ppc440,
18098         ppc464, and ppc476 platform strings merging from ports/
18099         dl-procinfo.h.
18100
18101 2013-06-11  Andreas Schwab  <schwab@suse.de>
18102
18103         [BZ #14991]
18104         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18105         (from_ucs4_idx): Regenerate.
18106         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18107         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18108         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18109         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18110         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18111         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18112         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18113         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18114         from FROM_LOOP and TO_LOOP specific macros.
18115         (BODY): Handle combining characters.
18116         * iconvdata/BIG5HKSCS.irreversible: Update.
18117         * iconvdata/BIG5HKSCS.precomposed: New file.
18118         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18119         characters.
18120         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18121
18122 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18123
18124         * include/sys/time.h: Fix indentation and add copyright header.
18125
18126         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18127         (do_test): Likewise.
18128         * string/test-memchr.c (do_one_test): Likewise.
18129         (do_test): Likewise.
18130         * string/test-memcmp.c (do_one_test): Likewise.
18131         (do_test): Likewise.
18132         * string/test-memcpy.c (do_one_test): Likewise.
18133         (do_test): Likewise.
18134         * string/test-memmem.c (do_one_test): Likewise.
18135         (do_test): Likewise.
18136         (do_random_tests): Likewise.
18137         * string/test-memmove.c (do_one_test): Likewise.
18138         (do_test): Likewise.
18139         * string/test-memset.c (do_one_test): Likewise.
18140         (do_test): Likewise.
18141         * string/test-rawmemchr.c (do_one_test): Likewise.
18142         (do_test): Likewise.
18143         * string/test-strcasecmp.c (do_one_test): Likewise.
18144         (do_test): Likewise.
18145         * string/test-strcasestr.c (do_one_test): Likewise.
18146         (do_test): Likewise.
18147         * string/test-strcat.c (do_one_test): Likewise.
18148         (do_test): Likewise.
18149         * string/test-strchr.c (do_one_test): Likewise.
18150         (do_test): Likewise.
18151         * string/test-strcmp.c (do_one_test): Likewise.
18152         (do_test): Likewise.
18153         * string/test-strcpy.c (do_one_test): Likewise.
18154         (do_test): Likewise.
18155         * string/test-string.h: Likewise.
18156         (test_init): Likewise.
18157         * string/test-strlen.c (do_one_test): Likewise.
18158         (do_test): Likewise.
18159         * string/test-strncasecmp.c (do_one_test): Likewise.
18160         (do_test): Likewise.
18161         * string/test-strncat.c (do_one_test): Likewise.
18162         (do_test): Likewise.
18163         * string/test-strncmp.c (do_one_test): Likewise.
18164         (do_test_limit): Likewise.
18165         (do_test): Likewise.
18166         * string/test-strncpy.c (do_one_test): Likewise.
18167         (do_test): Likewise.
18168         * string/test-strnlen.c (do_one_test): Likewise.
18169         (do_test): Likewise.
18170         * string/test-strpbrk.c (do_one_test): Likewise.
18171         (do_test): Likewise.
18172         * string/test-strrchr.c (do_one_test): Likewise.
18173         (do_test): Likewise.
18174         * string/test-strspn.c (do_one_test): Likewise.
18175         (do_test): Likewise.
18176         * string/test-strstr.c (do_one_test): Likewise.
18177         (do_test): Likewise.
18178
18179         * benchtests/Makefile (string-bench): Add string benchmarks.
18180         * benchtests/bench-bcopy-ifunc.c: New file.
18181         * benchtests/bench-bcopy.c: New file.
18182         * benchtests/bench-bzero-ifunc.c: New file.
18183         * benchtests/bench-bzero.c: New file.
18184         * benchtests/bench-memccpy-ifunc.c: New file.
18185         * benchtests/bench-memccpy.c: New file.
18186         * benchtests/bench-memchr-ifunc.c: New file.
18187         * benchtests/bench-memchr.c: New file.
18188         * benchtests/bench-memcmp-ifunc.c: New file.
18189         * benchtests/bench-memcmp.c: New file.
18190         * benchtests/bench-memmem-ifunc.c: New file.
18191         * benchtests/bench-memmem.c: New file.
18192         * benchtests/bench-memmove-ifunc.c: New file.
18193         * benchtests/bench-memmove.c: New file.
18194         * benchtests/bench-mempcpy-ifunc.c: New file.
18195         * benchtests/bench-mempcpy.c: New file.
18196         * benchtests/bench-memset-ifunc.c: New file.
18197         * benchtests/bench-memset.c: New file.
18198         * benchtests/bench-rawmemchr-ifunc.c: New file.
18199         * benchtests/bench-rawmemchr.c: New file.
18200         * benchtests/bench-stpcpy-ifunc.c: New file.
18201         * benchtests/bench-stpcpy.c: New file.
18202         * benchtests/bench-stpncpy-ifunc.c: New file.
18203         * benchtests/bench-stpncpy.c: New file.
18204         * benchtests/bench-strcasecmp-ifunc.c: New file.
18205         * benchtests/bench-strcasecmp.c: New file.
18206         * benchtests/bench-strcasestr-ifunc.c: New file.
18207         * benchtests/bench-strcasestr.c: New file.
18208         * benchtests/bench-strcat-ifunc.c: New file.
18209         * benchtests/bench-strcat.c: New file.
18210         * benchtests/bench-strchr-ifunc.c: New file.
18211         * benchtests/bench-strchr.c: New file.
18212         * benchtests/bench-strchrnul-ifunc.c: New file.
18213         * benchtests/bench-strchrnul.c: New file.
18214         * benchtests/bench-strcmp-ifunc.c: New file.
18215         * benchtests/bench-strcmp.c: New file.
18216         * benchtests/bench-strcpy-ifunc.c: New file.
18217         * benchtests/bench-strcpy.c: New file.
18218         * benchtests/bench-strcspn-ifunc.c: New file.
18219         * benchtests/bench-strcspn.c: New file.
18220         * benchtests/bench-strlen-ifunc.c: New file.
18221         * benchtests/bench-strlen.c: New file.
18222         * benchtests/bench-strncasecmp-ifunc.c: New file.
18223         * benchtests/bench-strncasecmp.c: New file.
18224         * benchtests/bench-strncat-ifunc.c: New file.
18225         * benchtests/bench-strncat.c: New file.
18226         * benchtests/bench-strncmp-ifunc.c: New file.
18227         * benchtests/bench-strncmp.c: New file.
18228         * benchtests/bench-strncpy-ifunc.c: New file.
18229         * benchtests/bench-strncpy.c: New file.
18230         * benchtests/bench-strnlen-ifunc.c: New file.
18231         * benchtests/bench-strnlen.c: New file.
18232         * benchtests/bench-strpbrk-ifunc.c: New file.
18233         * benchtests/bench-strpbrk.c: New file.
18234         * benchtests/bench-strrchr-ifunc.c: New file.
18235         * benchtests/bench-strrchr.c: New file.
18236         * benchtests/bench-strspn-ifunc.c: New file.
18237         * benchtests/bench-strspn.c: New file.
18238         * benchtests/bench-strstr-ifunc.c: New file.
18239         * benchtests/bench-strstr.c: New file.
18240
18241         * benchtests/Makefile: Disable parallel execution of targets.
18242         (string-bench): Add memcpy.
18243         (benchset): New variable to store a list of benchmark sets.
18244         (bench-func): Renamed from bench.
18245         (bench-set): New target.
18246         (bench): Depend on bench-func and bench-set.
18247         * benchtests/README: Add section on benchmark sets.
18248         * benchtests/bench-memcpy-ifunc.c: New file.
18249         * benchtests/bench-memcpy.c: New file.
18250         * benchtests/bench-string.h: New file.
18251
18252 2013-06-11  Andreas Schwab  <schwab@suse.de>
18253
18254         [BZ #15577]
18255         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18256         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18257         values in the triple.
18258         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18259         terminator in the group key.
18260
18261 2013-06-11  Andreas Jaeger  <aj@suse.de>
18262
18263         * po/zh_TW.po: Update Chinese (traditional) translation from
18264         translation project.
18265
18266 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18267
18268         * include/time.h (__clock_gettime): Add libc_hidden_proto.
18269         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18270         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
18271         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18272         (clock_getcpuclockid): Likewise.
18273         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18274         Add weak_alias and libc_hidden_def.
18275         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18276         * rt/clock_gettime.c (clock_gettime): Rename to
18277         __clock_gettime.  Add weak_alias and libc_hidden_def.
18278         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18279         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18280         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
18281         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18282         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18283         Likewise.
18284         * rt/clock_settime.c (clock_settime): Rename to
18285         __clock_settime.  Add weak_alias and libc_hidden_def.
18286         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18287
18288 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
18289
18290         * mach/err_boot.sub: Remove trailing whitespace.
18291         * mach/err_ipc.sub: Likewise.
18292         * mach/err_mach.sub: Likewise.
18293
18294         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18295         (ROUNDING_TESTS_double): Likewise.
18296         (ROUNDING_TESTS_long_double): Likewise.
18297         (ROUNDING_TESTS): Likewise.
18298         * math/libm-test.inc: Include <math-tests.h>.
18299         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18300         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18301         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18302         (IF_ROUND_INIT_FE_UPWARD): Likewise.
18303
18304 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18305
18306         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18307         of assigning.
18308
18309 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
18310
18311         * sysdeps/gnu/errlist.awk: Do not generate space at end of
18312         otherwise empty TRANS lines.
18313         * sysdeps/gnu/errlist.c: Regenerated.
18314
18315         * catgets/gencat.c (error_print): Use (void) in function
18316         definition.
18317         * crypt/crypt_util.c (__init_des): Likewise.
18318         * crypt/speeds.c (Stop): Likewise.
18319         (main): Likewise.
18320         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18321         * inet/ruserpass.c (token): Likewise.
18322         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18323         * intl/localealias.c (extend_alias_table): Likewise.
18324         * intl/plural-exp.c (init_germanic_plural): Likewise.
18325         * libio/fcloseall.c (__fcloseall): Likewise.
18326         * libio/genops.c (_IO_flush_all): Likewise.
18327         (_IO_flush_all_linebuffered): Likewise.
18328         (_IO_cleanup): Likewise.
18329         (_IO_iter_begin): Likewise.
18330         (_IO_iter_end): Likewise.
18331         (_IO_list_lock): Likewise.
18332         (_IO_list_unlock): Likewise.
18333         (_IO_list_resetlock): Likewise.
18334         * libio/getchar.c (getchar): Likewise.
18335         * libio/getchar_u.c (getchar_unlocked): Likewise.
18336         * libio/getwchar.c (getwchar): Likewise.
18337         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18338         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18339         * login/getpt.c (__getpt): Likewise.
18340         * login/tst-utmp.c (main): Likewise.
18341         * malloc/hooks.c (__malloc_check_init): Likewise.
18342         * malloc/malloc.c (__malloc_stats): Likewise.
18343         * malloc/mtrace.c (tr_break): Likewise.
18344         (mtrace): Likewise.
18345         (muntrace): Likewise.
18346         * misc/fstab.c (endfsent): Likewise.
18347         * misc/getclktck.c (__getclktck): Likewise.
18348         * misc/getdtsz.c (__getdtablesize): Likewise.
18349         * misc/gethostid.c (gethostid): Likewise.
18350         * misc/getpagesize.c (__getpagesize): Likewise.
18351         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18352         (__get_nprocs): Likewise.
18353         (__get_phys_pages): Likewise.
18354         (__get_avphys_pages): Likewise.
18355         * misc/getttyent.c (getttyent): Likewise.
18356         (setttyent): Likewise.
18357         (endttyent): Likewise.
18358         * misc/getusershell.c (getusershell): Likewise.
18359         (endusershell): Likewise.
18360         (setusershell): Likewise.
18361         (initshells): Likewise.
18362         * misc/hsearch.c (__hdestroy): Likewise.
18363         * misc/sync.c (sync): Likewise.
18364         * misc/syslog.c (closelog_internal): Likewise.
18365         (closelog): Likewise.
18366         * misc/ttyslot.c (ttyslot): Likewise.
18367         * misc/vhangup.c (vhangup): Likewise.
18368         * posix/fork.c (__fork): Likewise.
18369         * posix/getegid.c (__getegid): Likewise.
18370         * posix/geteuid.c (__geteuid): Likewise.
18371         * posix/getgid.c (__getgid): Likewise.
18372         * posix/getpid.c (__getpid): Likewise.
18373         * posix/getppid.c (__getppid): Likewise.
18374         * posix/getuid.c (__getuid): Likewise.
18375         * posix/pause.c (pause): Likewise.
18376         * posix/setpgrp.c (setpgrp): Likewise.
18377         * posix/setsid.c (__setsid): Likewise.
18378         * posix/test-vfork.c (noop): Likewise.
18379         * resolv/gethnamaddr.c (_endhtent): Likewise.
18380         (_gethtent): Likewise.
18381         (ht_endhostent): Likewise.
18382         (gethostent): Likewise.
18383         (dns_service): Likewise.
18384         * stdlib/drand48.c (drand48): Likewise.
18385         * stdlib/lrand48.c (lrand48): Likewise.
18386         * stdlib/mrand48.c (mrand48): Likewise.
18387         * stdlib/rand.c (rand): Likewise.
18388         * stdlib/random.c (__random): Likewise.
18389         * stdlib/setenv.c (clearenv): Likewise.
18390         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18391         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18392         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18393         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18394         (__get_nprocs): Likewise.
18395         (__get_phys_pages): Likewise.
18396         (__get_avphys_pages): Likewise.
18397         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18398         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18399         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18400         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18401         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18402         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18403         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18404         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18405         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18406         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18407         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18408         * sysdeps/mach/hurd/sync.c (sync): Likewise.
18409         * sysdeps/posix/clock.c (clock): Likewise.
18410         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18411         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18412         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18413         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18414         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18415         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18416         (__get_nprocs_conf): Likewise.
18417         (__get_phys_pages): Likewise.
18418         (__get_avphys_pages): Likewise.
18419         * time/clock.c (clock): Likewise.
18420         * time/tzset.c (__tzname_max): Likewise.
18421
18422 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
18423
18424         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18425         (__bswap_32): Do not use "register".
18426         * crypt/crypt.c (_ufc_doit_r): Likewise.
18427         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18428         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18429         * gmon/gmon.c (__monstartup): Likewise.
18430         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18431         * hurd/hurdmalloc.c (more_memory): Likewise.
18432         (malloc): Likewise.
18433         (free): Likewise.
18434         (realloc): Likewise.
18435         (malloc_fork_prepare): Likewise.
18436         (malloc_fork_parent): Likewise.
18437         (malloc_fork_child): Likewise.
18438         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18439         (_svcauth_des): Likewise.
18440         * inet/inet_lnaof.c (inet_lnaof): Likewise.
18441         * inet/inet_net.c (inet_network): Likewise.
18442         * inet/inet_netof.c (inet_netof): Likewise.
18443         * inet/rcmd.c (__validuser2_sa): Likewise.
18444         * io/fts.c (fts_open): Likewise.
18445         (fts_load): Likewise.
18446         (fts_close): Likewise.
18447         (fts_read): Likewise.
18448         (fts_children): Likewise.
18449         (fts_build): Likewise.
18450         (fts_stat): Likewise.
18451         (fts_sort): Likewise.
18452         (fts_alloc): Likewise.
18453         (fts_lfree): Likewise.
18454         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18455         (_IO_file_xsgetn): Likewise.
18456         (_IO_file_xsgetn_mmap): Likewise.
18457         * libio/iofopncook.c (_IO_cookie_read): Likewise.
18458         (_IO_cookie_write): Likewise.
18459         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18460         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18461         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18462         * malloc/obstack.c (_obstack_begin): Likewise.
18463         (_obstack_begin_1): Likewise.
18464         (_obstack_newchunk): Likewise.
18465         (_obstack_allocated_p): Likewise.
18466         (obstack_free): Likewise.
18467         (_obstack_memory_used): Likewise.
18468         * misc/getttyent.c (getttynam): Likewise.
18469         (getttyent): Likewise.
18470         (skip): Likewise.
18471         (value): Likewise.
18472         * misc/getusershell.c (initshells): Likewise.
18473         * misc/syslog.c (__vsyslog_chk): Likewise.
18474         * misc/ttyslot.c (ttyslot): Likewise.
18475         * nis/nis_hash.c (__nis_hash): Likewise.
18476         * posix/fnmatch_loop.c (FCT): Likewise.
18477         * posix/getconf.c (print_all): Likewise.
18478         (main): Likewise.
18479         * posix/getopt.c (exchange): Likewise.
18480         * posix/glob.c (globfree): Likewise.
18481         (prefix_array): Likewise.
18482         (__glob_pattern_type): Likewise.
18483         * resolv/arpa/nameser.h (NS_GET16): Likewise.
18484         (NS_GET32): Likewise.
18485         (NS_PUT16): Likewise.
18486         (NS_PUT32): Likewise.
18487         * resolv/gethnamaddr.c (getanswer): Likewise.
18488         (gethostbyname2): Likewise.
18489         (gethostbyaddr): Likewise.
18490         (_gethtent): Likewise.
18491         (_gethtbyname2): Likewise.
18492         (_gethtbyaddr): Likewise.
18493         * resolv/ns_print.c (dst_s_get_int16): Likewise.
18494         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18495         * resolv/res_init.c (__res_vinit): Likewise.
18496         (net_mask): Likewise.
18497         * resolv/res_mkquery.c (outchar): Likewise.
18498         (PRINT): Likewise.
18499         * stdio-common/printf_fp.c (outchar): Likewise.
18500         (PRINT): Likewise.
18501         * stdio-common/printf_fphex.c (outchar): Likewise.
18502         (PRINT): Likewise.
18503         * stdio-common/printf_size.c (outchar): Likewise.
18504         (PRINT): Likewise.
18505         * stdio-common/test_rdwr.c (main): Likewise.
18506         * stdio-common/tfformat.c (matches): Likewise.
18507         * stdio-common/vfprintf.c (outchar): Likewise.
18508         (printf_unknown): Likewise.
18509         (buffered_vfprintf): Likewise.
18510         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18511         * stdio-common/xbug.c (AppendToBuffer): Likewise.
18512         (ReadFile): Likewise.
18513         * stdlib/qsort.c (SWAP): Likewise.
18514         (_quicksort): Likewise.
18515         * stdlib/setenv.c (__add_to_environ): Likewise.
18516         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18517         * stdlib/strtol_l.c (__strtol_l): Likewise.
18518         * stdlib/tst-strtod.c (main): Likewise.
18519         * stdlib/tst-strtol.c (main): Likewise.
18520         * stdlib/tst-strtoll.c (main): Likewise.
18521         * string/bits/string2.h (__strcmp_cc): Likewise.
18522         (__strcmp_cg): Likewise.
18523         (__strcspn_c1): Likewise.
18524         (__strcspn_c2): Likewise.
18525         (__strcspn_c3): Likewise.
18526         (__strspn_c1): Likewise.
18527         (__strspn_c2): Likewise.
18528         (__strspn_c3): Likewise.
18529         (__strsep_1c): Likewise.
18530         (__strsep_2c): Likewise.
18531         (__strsep_3c): Likewise.
18532         * string/memccpy.c (__memccpy): Likewise.
18533         * string/stpcpy.c (__stpcpy): Likewise.
18534         * string/strcmp.c (strcmp): Likewise.
18535         * string/strrchr.c (strrchr): Likewise.
18536         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18537         Likewise.
18538         * sysdeps/mach/hurd/getcwd.c
18539         (_hurd_canonicalize_directory_name_internal): Likewise.
18540         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18541         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18542         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18543         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18544         Likewise, in both definitions.
18545         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18546         definitions.
18547         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18548         64] (__bswap_64): Likewise.
18549         * time/test_time.c (main): Likewise.
18550         * time/tzfile.c (__tzfile_read): Likewise.
18551         (__tzfile_compute): Likewise.
18552         * time/tzset.c (__tzset_parse_tz): Likewise.
18553         (tzset_internal): Likewise.
18554         (compute_change): Likewise.
18555         * wcsmbs/wcscat.c (__wcscat): Likewise.
18556         * wcsmbs/wcschr.c (wcschr): Likewise.
18557         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18558         * wcsmbs/wcscspn.c (wcscspn): Likewise.
18559         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18560         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18561         * wcsmbs/wcsspn.c (wcsspn): Likewise.
18562         * wcsmbs/wcsstr.c (wcsstr): Likewise.
18563         * wcsmbs/wmemchr.c (wmemchr): Likewise.
18564         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18565         * wcsmbs/wmemset.c (wmemset): Likewise.
18566
18567 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
18568
18569         * scripts/config.guess: Update to version 2013-05-16.
18570         * scripts/config.sub: Update to version 2013-04-24.
18571         * scripts/install-sh: Update to version 2011-11-20.07.
18572         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18573         * scripts/move-if-change: Update to version 2012-01-06 07:23.
18574
18575 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
18576
18577         * debug/fgetws_u_chk.c: Fix leading whitespaces.
18578         * elf/sln.c: Likewise.
18579         * hurd/hurd/ioctl.h: Likewise.
18580         * hurd/hurdmalloc.c: Likewise.
18581         * hurd/xattr.c: Likewise.
18582         * include/shlib-compat.h: Likewise.
18583         * inet/ruserpass.c: Likewise.
18584         * libio/iofgets_u.c: Likewise.
18585         * libio/iofgetws_u.c: Likewise.
18586         * locale/programs/ld-identification.c: Likewise.
18587         * locale/programs/ld-time.c: Likewise.
18588         * mach/msg-destroy.c: Likewise.
18589         * nss/nss_files/files-netgrp.c: Likewise.
18590         * resolv/res_data.c: Likewise.
18591         * soft-fp/op-1.h: Likewise.
18592         * soft-fp/op-2.h: Likewise.
18593         * soft-fp/op-4.h: Likewise.
18594         * soft-fp/op-common.h: Likewise.
18595         * stdio-common/printf_fphex.c: Likewise.
18596         * stdlib/strtod_l.c: Likewise.
18597         * sunrpc/rpc/clnt.h: Likewise.
18598         * sysdeps/generic/framestate.c: Likewise.
18599         * sysdeps/i386/bsd-_setjmp.S: Likewise.
18600         * sysdeps/i386/bsd-setjmp.S: Likewise.
18601         * sysdeps/i386/__longjmp.S: Likewise.
18602         * sysdeps/i386/setjmp.S: Likewise.
18603         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18604         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18605         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18606         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18607         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18608         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18609         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18610         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18611         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18612         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18613         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18614         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18615         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18616         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18617         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18618         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18619         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18620         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18621         * sysdeps/ieee754/support.c: Likewise.
18622         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18623         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18624         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18625         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18626         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18627         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18628         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18629         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18630         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18631         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18632         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18633         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18634         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18635         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18636         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18637         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18638         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18640
18641 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
18642
18643         * posix/transbug.c: Remove executable mode.
18644
18645 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
18646
18647         * crypt/speeds.c: Remove trailing whitespace.
18648         * dlfcn/default.c: Likewise.
18649         * elf/ifuncdep2.c: Likewise.
18650         * elf/ifuncmain1.c: Likewise.
18651         * elf/ifuncmain1vis.c: Likewise.
18652         * elf/testobj.h: Likewise.
18653         * elf/tst-stackguard1.c: Likewise.
18654         * gmon/sys/gmon.h: Likewise.
18655         * hurd/hurdmsg.c: Likewise.
18656         * hurd/new-fd.c: Likewise.
18657         * hurd/ports-get.c: Likewise.
18658         * iconvdata/ibm1008_420.c: Likewise.
18659         * inet/tst-getni1.c: Likewise.
18660         * inet/tst-getni2.c: Likewise.
18661         * libio/ioungetc.c: Likewise.
18662         * libio/wfiledoalloc.c: Likewise.
18663         * manual/libm-err-tab.pl: Likewise.
18664         * math/w_dremf.c: Likewise.
18665         * misc/ftruncate.c: Likewise.
18666         * posix/bug-glob2.c: Likewise.
18667         * posix/tst-pcre.c: Likewise.
18668         * posix/wait4.c: Likewise.
18669         * resolv/README: Likewise.
18670         * resolv/res_debug.h: Likewise.
18671         * resolv/tst-inet_ntop.c: Likewise.
18672         * setjmp/bug269-setjmp.c: Likewise.
18673         * soft-fp/extended.h: Likewise.
18674         * soft-fp/op-1.h: Likewise.
18675         * soft-fp/op-2.h: Likewise.
18676         * soft-fp/op-4.h: Likewise.
18677         * soft-fp/op-8.h: Likewise.
18678         * soft-fp/testit.c: Likewise.
18679         * stdio-common/bug16.c: Likewise.
18680         * stdlib/random.c: Likewise.
18681         * sunrpc/rpcsvc/rquota.x: Likewise.
18682         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18683         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18684         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18685         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18686         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18687         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18688         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18689         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18690         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18691         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18692         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18693         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18694         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18695         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18696         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18697         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18698         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18699         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18700         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18701         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18702         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18703         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18704         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18705         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18706         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18707         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18708         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18709         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18710         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18711         * sysdeps/ieee754/s_lib_version.c: Likewise.
18712         * sysdeps/mach/hurd/check_fds.c: Likewise.
18713         * sysdeps/mach/hurd/getsockname.c: Likewise.
18714         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18715         * sysdeps/mach/hurd/recvfrom.c: Likewise.
18716         * sysdeps/powerpc/bits/link.h: Likewise.
18717         * sysdeps/powerpc/dl-procinfo.c: Likewise.
18718         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18719         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18720         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18721         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18722         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18723         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18724         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18725         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18726         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18727         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18728         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18729         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18730         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18731         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18732         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18733         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18734         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18735         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18736         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18737         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18738         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18739         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18740         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18741         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18742         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18743         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18744         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18745         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18746         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18747         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18748         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18749         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18750         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18751         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18752         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18753         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18754         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18755         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18756         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18757         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18758         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18759         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18760         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18761         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18762         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18763         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18764         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18765         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18766         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18767         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18768         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18769         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18770         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18771         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18772         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18773         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18774         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18775         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18776         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18777         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18778         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18779         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18780         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18781         * sysdeps/powerpc/sysdep.h: Likewise.
18782         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18783         * sysdeps/s390/s390-64/sub_n.S: Likewise.
18784         * sysdeps/sh/dl-trampoline.S: Likewise.
18785         * sysdeps/sh/memset.S: Likewise.
18786         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18787         * sysdeps/sh/strlen.S: Likewise.
18788         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18789         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18790         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18791         * sysdeps/sparc/sparc32/rem.S: Likewise.
18792         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18793         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18794         * sysdeps/sparc/sparc32/strchr.S: Likewise.
18795         * sysdeps/sparc/sparc32/udiv.S: Likewise.
18796         * sysdeps/sparc/sparc32/urem.S: Likewise.
18797         * sysdeps/sparc/sparc64/add_n.S: Likewise.
18798         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18799         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18800         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18801         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18802         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18803         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18804         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18805         * sysdeps/unix/bsd/times.c: Likewise.
18806         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18807         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18811         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18812         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18813         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18814         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18815         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18816         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18817         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18818         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18819         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18820         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18821         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18822         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18823         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18824         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18825         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18826         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18827         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18828         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18829         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18830         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18831         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18832         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18833         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18834         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18835         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18836         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18837         * sysdeps/x86_64/strcspn.S: Likewise.
18838
18839 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18840
18841         * locale/C-translit.h: Revert #include <stdint.h> because this is a
18842         generated file.  Regenerate properly from gen-translit.pl.
18843         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
18844         locale/C-translit.h.
18845
18846 2013-06-05  Andreas Schwab  <schwab@suse.de>
18847
18848         [BZ #15100]
18849         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18850         week as 6 instead of -1.
18851         * time/tst-strptime.c (day_tests): Add test case.
18852
18853 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18854
18855         * sysdeps/generic/math_private.h
18856         (libc_feholdexcept_setround_53bit): Replace with
18857         libc_feholdsetround_53bit.
18858         (libc_feupdateenv_53bit): Replace with
18859         libc_feresetround_53bit.
18860         (SET_RESTORE_ROUND_53BIT): Adjust.
18861
18862 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18863
18864         * string/test-strchrnul.c: Add copyright header.
18865
18866         * posix/tst-getaddrinfo4.c: Increase test timeout.
18867
18868 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
18869
18870         [BZ #15536]
18871         * math/libm-test.inc (MAX_EXP): Remove
18872         (MIN_EXP): Define.
18873         (ulp): Use MIN_EXP - MANT_DIG.
18874         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18875
18876 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
18877
18878         * po/be.po: Revert last change.
18879         * po/zh_CN.po: Likewise.
18880         * po/header.pot: Likewise.
18881
18882 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
18883
18884         * Makefile ($(common-objpfx)linkobj/libc.so): Define
18885         link-libc-deps to empty as target-specific variable.
18886         * Makerules (link-libc-args): New variable.
18887         (libc-for-link): Likewise.
18888         (link-libc-deps): Likewise.
18889         (lib%.so): Depend on $(link-libc-deps).  Link with
18890         $(link-libc-args).
18891         (build-module): Link with $(link-libc-args).
18892         (build-module-asneeded): Likewise.
18893         (build-module-helper-objlist): Filter out $(link-libc-deps) from
18894         list of objects.
18895         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18896         target-specific variable.
18897         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18898         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18899         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18900         libc.
18901         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18902         libc and ld.so.
18903         ($(objpfx)libpcprofile.so): Likewise.
18904         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18905         libc_nonshared.a.
18906         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18907         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18908         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18909         $(link-libc-deps).
18910         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18911         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18912         * login/Makefile ($(objpfx)libutil.so): Likewise.
18913         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18914         * math/Makefile ($(objpfx)libm.so): Likewise.
18915         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18916         $(objpfx)libnsl.so): Define libc-for-link as target-specific
18917         variable instead of depending directly on libc.
18918         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18919         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18920         $(link-libc-deps).
18921         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18922         libc.
18923         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18924         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18925         ($(objpfx)libanl.so): Likewise.
18926         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18927         ld.so.
18928         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18929         $(link-libc-deps).
18930         * sysdeps/i386/fpu/Makefile: Remove file.
18931         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18932         ($(objpfx)libm.so): Remove dependency on ld.so.
18933
18934 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
18935
18936         [BZ # 15553]
18937         * nis/yp_xdr.c (XDRMAXNAME): Define.
18938         (XDRMAXRECORD): Define.
18939         (xdr_domainname): Use XDRMAXNAME.
18940         (xdr_mapname): Likewise.
18941         (xdr_peername): Likewise.
18942         (xdr_keydat): Use XDRMAXRECORD.
18943         (xdr_valdat): Likewise.
18944
18945 2013-05-30  Jeff Law  <law@redhat.com>
18946
18947         [BZ #14256]
18948         * manual/errno.texi (ESTALE): Update to account for more than
18949         just NFS file systems.
18950         * sysdeps/gnu/errlist.c: Regenerated.
18951
18952 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18953
18954         [BZ #15465]
18955         * elf/Makefile (tests): Add tst-null-argv.
18956         (modules-names):  Add tst-null-argv-lib.
18957         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18958         (tst-null-argv-ENV): Set environment for tst-null-argv.
18959         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18960         (RTLD_PROGNAME): New macro.
18961         * elf/tst-null-argv.c: New test case.
18962         * elf/tst-null-argv-lib.c: Library for test case.
18963         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18964         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18965         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18966         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18967         * elf/dl-init.c (call_init): Likewise.
18968         (_dl_init): Likewise.
18969         * elf/dl-load.c (print_search_path): Likewise.
18970         (_dl_map_object): Likewise.
18971         * elf/dl-lookup.c (do_lookup_x): Likewise.
18972         (add_dependency): Likewise.
18973         (_dl_lookup_symbol_x): Likewise.
18974         (_dl_debug_bindings): Likewise.
18975         * elf/dl-open.c (_dl_show_scope): Likewise.
18976         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18977         * elf/dl-version.c (match_symbol): Likewise.
18978         (_dl_check_map_versions): Likewise.
18979         * elf/rtld.c (dl_main): Likewise.
18980         (print_unresolved): Use RTLD_PROGNAME.
18981         (print_missing_version): Likewise.
18982         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18983         (elf_machine_rela): Likewise.
18984         * sysdeps/powerpc/powerpc32/dl-machine.c
18985         (__process_machine_rela): Likewise.
18986         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18987         Likewise.
18988         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18989         Likewise.
18990         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18991         Likewise.
18992         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18993         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18994         Likewise.
18995         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18996         Likewise.
18997         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18998
18999 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
19000
19001         * po/be.po: Add descriptive title.
19002         * po/zh_CN.po: Likewise.
19003         * po/header.pot: Likewise.
19004
19005 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
19006
19007         * locale/programs/locarchive.c (create_archive): Inlucde fname in
19008         error message.
19009         (enlarge_archive): Likewise.
19010
19011 2013-05-28  Ben North  <ben@redfrontdoor.org>
19012
19013         * manual/arith.texi (frexp): It is the magnitude of the return
19014         value which lies in [0.5, 1), not the return value itself.
19015
19016 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19017
19018         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19019
19020 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
19021
19022         * stdio-common/bug26.c (main): Correct fscanf template.
19023
19024         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19025         declare _dl_skip_args.
19026
19027         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19028         Don't declare.
19029
19030         * manual/platform.texi: Add missing @end deftypefun.
19031
19032 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19033
19034         [BZ #15529]
19035         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19036         bit of mantissa of 2^16382.
19037         * math/libm-test.inc (hypot_test_data): Add more tests.
19038
19039         * math/libm-test.inc: Add drem and pow10 to list of tested
19040         functions.
19041         (pow10_test): New function.
19042         (drem_test): Likewise.
19043         (drem_test_tonearest): Likewise.
19044         (drem_test_towardzero): Likewise.
19045         (drem_test_downward): Likewise.
19046         (drem_test_upward): Likewise.
19047         (main): Call the new functions.
19048
19049         * math/libm-test.inc (finite_test_data): Remove.
19050         (finite_test): Run tests from isfinite_test_data.
19051         (gamma_test_data): Remove.
19052         (gamma_test): Run tests from lgamma_test_data.
19053         * sysdeps/i386/fpu/libm-test-ulps: Update.
19054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19055
19056 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19057
19058         * manual/platform.texi: Add PowerPC PPR function set documentation.
19059         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19060         implementation.
19061
19062 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
19063
19064         * math/libm-test.inc (MAX_EXP): Define.
19065         (ULPDIFF): Define.
19066         (ulp): New function.
19067         (check_float_internal): Use ULPDIFF.
19068         (cpow_test): Disable failing test.
19069         (check_ulp): Test ulp() implemetnation.
19070         (main): Call check_ulp before starting tests.
19071
19072 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19073
19074         * math/gen-libm-test.pl (generate_testfile): Do not handle
19075         START_DATA and END_DATA.
19076         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19077         END_DATA.
19078         (acos_tonearest_test_data): Likewise.
19079         (acos_towardzero_test_data): Likewise.
19080         (acos_downward_test_data): Likewise.
19081         (acos_upward_test_data): Likewise.
19082         (acosh_test_data): Likewise.
19083         (asin_test_data): Likewise.
19084         (asin_tonearest_test_data): Likewise.
19085         (asin_towardzero_test_data): Likewise.
19086         (asin_downward_test_data): Likewise.
19087         (asin_upward_test_data): Likewise.
19088         (asinh_test_data): Likewise.
19089         (atan_test_data): Likewise.
19090         (atanh_test_data): Likewise.
19091         (atan2_test_data): Likewise.
19092         (cabs_test_data): Likewise.
19093         (cacos_test_data): Likewise.
19094         (cacosh_test_data): Likewise.
19095         (carg_test_data): Likewise.
19096         (casin_test_data): Likewise.
19097         (casinh_test_data): Likewise.
19098         (catan_test_data): Likewise.
19099         (catanh_test_data): Likewise.
19100         (cbrt_test_data): Likewise.
19101         (ccos_test_data): Likewise.
19102         (ccosh_test_data): Likewise.
19103         (ceil_test_data): Likewise.
19104         (cexp_test_data): Likewise.
19105         (cimag_test_data): Likewise.
19106         (clog_test_data): Likewise.
19107         (clog10_test_data): Likewise.
19108         (conj_test_data): Likewise.
19109         (copysign_test_data): Likewise.
19110         (cos_test_data): Likewise.
19111         (cos_tonearest_test_data): Likewise.
19112         (cos_towardzero_test_data): Likewise.
19113         (cos_downward_test_data): Likewise.
19114         (cos_upward_test_data): Likewise.
19115         (cosh_test_data): Likewise.
19116         (cosh_tonearest_test_data): Likewise.
19117         (cosh_towardzero_test_data): Likewise.
19118         (cosh_downward_test_data): Likewise.
19119         (cosh_upward_test_data): Likewise.
19120         (cpow_test_data): Likewise.
19121         (cproj_test_data): Likewise.
19122         (creal_test_data): Likewise.
19123         (csin_test_data): Likewise.
19124         (csinh_test_data): Likewise.
19125         (csqrt_test_data): Likewise.
19126         (ctan_test_data): Likewise.
19127         (ctan_tonearest_test_data): Likewise.
19128         (ctan_towardzero_test_data): Likewise.
19129         (ctan_downward_test_data): Likewise.
19130         (ctan_upward_test_data): Likewise.
19131         (ctanh_test_data): Likewise.
19132         (ctanh_tonearest_test_data): Likewise.
19133         (ctanh_towardzero_test_data): Likewise.
19134         (ctanh_downward_test_data): Likewise.
19135         (ctanh_upward_test_data): Likewise.
19136         (erf_test_data): Likewise.
19137         (erfc_test_data): Likewise.
19138         (exp_test_data): Likewise.
19139         (exp_tonearest_test_data): Likewise.
19140         (exp_towardzero_test_data): Likewise.
19141         (exp_downward_test_data): Likewise.
19142         (exp_upward_test_data): Likewise.
19143         (exp10_test_data): Likewise.
19144         (exp2_test_data): Likewise.
19145         (expm1_test_data): Likewise.
19146         (fabs_test_data): Likewise.
19147         (fdim_test_data): Likewise.
19148         (finite_test_data): Likewise.
19149         (floor_test_data): Likewise.
19150         (fma_test_data): Likewise.
19151         (fma_towardzero_test_data): Likewise.
19152         (fma_downward_test_data): Likewise.
19153         (fma_upward_test_data): Likewise.
19154         (fmax_test_data): Likewise.
19155         (fmin_test_data): Likewise.
19156         (fmod_test_data): Likewise.
19157         (fpclassify_test_data): Likewise.
19158         (frexp_test_data): Likewise.
19159         (gamma_test_data): Likewise.
19160         (hypot_test_data): Likewise.
19161         (ilogb_test_data): Likewise.
19162         (isfinite_test_data): Likewise.
19163         (isgreater_test_data): Likewise.
19164         (isgreaterequal_test_data): Likewise.
19165         (isinf_test_data): Likewise.
19166         (isless_test_data): Likewise.
19167         (islessequal_test_data): Likewise.
19168         (islessgreater_test_data): Likewise.
19169         (isnan_test_data): Likewise.
19170         (isnormal_test_data): Likewise.
19171         (issignaling_test_data): Likewise.
19172         (isunordered_test_data): Likewise.
19173         (j0_test_data): Likewise.
19174         (j1_test_data): Likewise.
19175         (jn_test_data): Likewise.
19176         (ldexp_test_data): Likewise.
19177         (lgamma_test_data): Likewise.
19178         (lrint_test_data): Likewise.
19179         (lrint_tonearest_test_data): Likewise.
19180         (lrint_towardzero_test_data): Likewise.
19181         (lrint_downward_test_data): Likewise.
19182         (lrint_upward_test_data): Likewise.
19183         (llrint_test_data): Likewise.
19184         (llrint_tonearest_test_data): Likewise.
19185         (llrint_towardzero_test_data): Likewise.
19186         (llrint_downward_test_data): Likewise.
19187         (llrint_upward_test_data): Likewise.
19188         (log_test_data): Likewise.
19189         (log10_test_data): Likewise.
19190         (log1p_test_data): Likewise.
19191         (log2_test_data): Likewise.
19192         (logb_test_data): Likewise.
19193         (logb_downward_test_data): Likewise.
19194         (lround_test_data): Likewise.
19195         (llround_test_data): Likewise.
19196         (modf_test_data): Likewise.
19197         (nearbyint_test_data): Likewise.
19198         (nextafter_test_data): Likewise.
19199         (nexttoward_test_data): Likewise.
19200         (pow_test_data): Likewise.
19201         (pow_tonearest_test_data): Likewise.
19202         (pow_towardzero_test_data): Likewise.
19203         (pow_downward_test_data): Likewise.
19204         (pow_upward_test_data): Likewise.
19205         (remainder_test_data): Likewise.
19206         (remainder_tonearest_test_data): Likewise.
19207         (remainder_towardzero_test_data): Likewise.
19208         (remainder_downward_test_data): Likewise.
19209         (remainder_upward_test_data): Likewise.
19210         (remquo_test_data): Likewise.
19211         (rint_test_data): Likewise.
19212         (rint_tonearest_test_data): Likewise.
19213         (rint_towardzero_test_data): Likewise.
19214         (rint_downward_test_data): Likewise.
19215         (rint_upward_test_data): Likewise.
19216         (round_test_data): Likewise.
19217         (scalb_test_data): Likewise.
19218         (scalbn_test_data): Likewise.
19219         (scalbln_test_data): Likewise.
19220         (signbit_test_data): Likewise.
19221         (sin_test_data): Likewise.
19222         (sin_tonearest_test_data): Likewise.
19223         (sin_towardzero_test_data): Likewise.
19224         (sin_downward_test_data): Likewise.
19225         (sin_upward_test_data): Likewise.
19226         (sincos_test_data): Likewise.
19227         (sinh_test_data): Likewise.
19228         (sinh_tonearest_test_data): Likewise.
19229         (sinh_towardzero_test_data): Likewise.
19230         (sinh_downward_test_data): Likewise.
19231         (sinh_upward_test_data): Likewise.
19232         (sqrt_test_data): Likewise.
19233         (tan_test_data): Likewise.
19234         (tan_tonearest_test_data): Likewise.
19235         (tan_towardzero_test_data): Likewise.
19236         (tan_downward_test_data): Likewise.
19237         (tan_upward_test_data): Likewise.
19238         (tanh_test_data): Likewise.
19239         (tgamma_test_data): Likewise.
19240         (trunc_test_data): Likewise.
19241         (y0_test_data): Likewise.
19242         (y1_test_data): Likewise.
19243         (yn_test_data): Likewise.
19244         (significand_test_data): Likewise.
19245
19246         * math/gen-libm-test.pl (@functions): Remove variable.
19247         (generate_testfile): Don't handle START and END lines.
19248         * math/libm-test.inc (START): New macro.
19249         (END): Likewise.
19250         (END_COMPLEX): Likewise.
19251         (acos_test): Use END macro without arguments.
19252         (acos_test_tonearest): Likewise.
19253         (acos_test_towardzero): Likewise.
19254         (acos_test_downward): Likewise.
19255         (acos_test_upward): Likewise.
19256         (acosh_test): Likewise.
19257         (asin_test): Likewise.
19258         (asin_test_tonearest): Likewise.
19259         (asin_test_towardzero): Likewise.
19260         (asin_test_downward): Likewise.
19261         (asin_test_upward): Likewise.
19262         (asinh_test): Likewise.
19263         (atan_test): Likewise.
19264         (atanh_test): Likewise.
19265         (atan2_test): Likewise.
19266         (cabs_test): Likewise.
19267         (cacos_test): Use END_COMPLEX macro without arguments.
19268         (cacosh_test): Likewise.
19269         (carg_test): Use END macro without arguments.
19270         (casin_test): Use END_COMPLEX macro without arguments.
19271         (casinh_test): Likewise.
19272         (catan_test): Likewise.
19273         (catanh_test): Likewise.
19274         (cbrt_test): Use END macro without arguments.
19275         (ccos_test): Use END_COMPLEX macro without arguments.
19276         (ccosh_test): Likewise.
19277         (ceil_test): Use END macro without arguments.
19278         (cexp_test): Use END_COMPLEX macro without arguments.
19279         (cimag_test): Use END macro without arguments.
19280         (clog_test): Use END_COMPLEX macro without arguments.
19281         (clog10_test): Likewise.
19282         (conj_test): Likewise.
19283         (copysign_test): Use END macro without arguments.
19284         (cos_test): Likewise.
19285         (cos_test_tonearest): Likewise.
19286         (cos_test_towardzero): Likewise.
19287         (cos_test_downward): Likewise.
19288         (cos_test_upward): Likewise.
19289         (cosh_test): Likewise.
19290         (cosh_test_tonearest): Likewise.
19291         (cosh_test_towardzero): Likewise.
19292         (cosh_test_downward): Likewise.
19293         (cosh_test_upward): Likewise.
19294         (cpow_test): Use END_COMPLEX macro without arguments.
19295         (cproj_test): Likewise.
19296         (creal_test): Use END macro without arguments.
19297         (csin_test): Use END_COMPLEX macro without arguments.
19298         (csinh_test): Likewise.
19299         (csqrt_test): Likewise.
19300         (ctan_test): Likewise.
19301         (ctan_test_tonearest): Likewise.
19302         (ctan_test_towardzero): Likewise.
19303         (ctan_test_downward): Likewise.
19304         (ctan_test_upward): Likewise.
19305         (ctanh_test): Likewise.
19306         (ctanh_test_tonearest): Likewise.
19307         (ctanh_test_towardzero): Likewise.
19308         (ctanh_test_downward): Likewise.
19309         (ctanh_test_upward): Likewise.
19310         (erf_test): Use END macro without arguments.
19311         (erfc_test): Likewise.
19312         (exp_test): Likewise.
19313         (exp_test_tonearest): Likewise.
19314         (exp_test_towardzero): Likewise.
19315         (exp_test_downward): Likewise.
19316         (exp_test_upward): Likewise.
19317         (exp10_test): Likewise.
19318         (exp2_test): Likewise.
19319         (expm1_test): Likewise.
19320         (fabs_test): Likewise.
19321         (fdim_test): Likewise.
19322         (finite_test): Likewise.
19323         (floor_test): Likewise.
19324         (fma_test): Likewise.
19325         (fma_test_towardzero): Likewise.
19326         (fma_test_downward): Likewise.
19327         (fma_test_upward): Likewise.
19328         (fmax_test): Likewise.
19329         (fmin_test): Likewise.
19330         (fmod_test): Likewise.
19331         (fpclassify_test): Likewise.
19332         (frexp_test): Likewise.
19333         (gamma_test): Likewise.
19334         (hypot_test): Likewise.
19335         (ilogb_test): Likewise.
19336         (isfinite_test): Likewise.
19337         (isgreater_test): Likewise.
19338         (isgreaterequal_test): Likewise.
19339         (isinf_test): Likewise.
19340         (isless_test): Likewise.
19341         (islessequal_test): Likewise.
19342         (islessgreater_test): Likewise.
19343         (isnan_test): Likewise.
19344         (isnormal_test): Likewise.
19345         (issignaling_test): Likewise.
19346         (isunordered_test): Likewise.
19347         (j0_test): Likewise.
19348         (j1_test): Likewise.
19349         (jn_test): Likewise.
19350         (ldexp_test): Likewise.
19351         (lgamma_test): Likewise.
19352         (lrint_test): Likewise.
19353         (lrint_test_tonearest): Likewise.
19354         (lrint_test_towardzero): Likewise.
19355         (lrint_test_downward): Likewise.
19356         (lrint_test_upward): Likewise.
19357         (llrint_test): Likewise.
19358         (llrint_test_tonearest): Likewise.
19359         (llrint_test_towardzero): Likewise.
19360         (llrint_test_downward): Likewise.
19361         (llrint_test_upward): Likewise.
19362         (log_test): Likewise.
19363         (log10_test): Likewise.
19364         (log1p_test): Likewise.
19365         (log2_test): Likewise.
19366         (logb_test): Likewise.
19367         (logb_test_downward): Likewise.
19368         (lround_test): Likewise.
19369         (llround_test): Likewise.
19370         (modf_test): Likewise.
19371         (nearbyint_test): Likewise.
19372         (nextafter_test): Likewise.
19373         (nexttoward_test): Likewise.
19374         (pow_test): Likewise.
19375         (pow_test_tonearest): Likewise.
19376         (pow_test_towardzero): Likewise.
19377         (pow_test_downward): Likewise.
19378         (pow_test_upward): Likewise.
19379         (remainder_test): Likewise.
19380         (remainder_test_tonearest): Likewise.
19381         (remainder_test_towardzero): Likewise.
19382         (remainder_test_downward): Likewise.
19383         (remainder_test_upward): Likewise.
19384         (remquo_test): Likewise.
19385         (rint_test): Likewise.
19386         (rint_test_tonearest): Likewise.
19387         (rint_test_towardzero): Likewise.
19388         (rint_test_downward): Likewise.
19389         (rint_test_upward): Likewise.
19390         (round_test): Likewise.
19391         (scalb_test): Likewise.
19392         (scalbn_test): Likewise.
19393         (scalbln_test): Likewise.
19394         (signbit_test): Likewise.
19395         (sin_test): Likewise.
19396         (sin_test_tonearest): Likewise.
19397         (sin_test_towardzero): Likewise.
19398         (sin_test_downward): Likewise.
19399         (sin_test_upward): Likewise.
19400         (sincos_test): Likewise.
19401         (sinh_test): Likewise.
19402         (sinh_test_tonearest): Likewise.
19403         (sinh_test_towardzero): Likewise.
19404         (sinh_test_downward): Likewise.
19405         (sinh_test_upward): Likewise.
19406         (sqrt_test): Likewise.
19407         (tan_test): Likewise.
19408         (tan_test_tonearest): Likewise.
19409         (tan_test_towardzero): Likewise.
19410         (tan_test_downward): Likewise.
19411         (tan_test_upward): Likewise.
19412         (tanh_test): Likewise.
19413         (tgamma_test): Likewise.
19414         (trunc_test): Likewise.
19415         (y0_test): Likewise.
19416         (y1_test): Likewise.
19417         (yn_test): Likewise.
19418         (significand_test): Likewise.
19419
19420 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
19421
19422         [BZ #15381]
19423         * libio/genops.c (_IO_no_init): Initialize wide struct info.
19424
19425 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
19426
19427         [BZ #14894]
19428         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19429         __ppc_mdoio and __ppc_mdoom.
19430         * manual/platform.texi: Document new functions __ppc_yield,
19431         __ppc_mdoio and __ppc_mdoom.
19432
19433 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
19434
19435         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19436         (main): Mention "tls" pseudo-hwcap is legacy.
19437         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19438
19439 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
19440
19441         * math/gen-libm-test.pl (parse_args): Output only string of
19442         arguments as text for test name, not full call or descriptions of
19443         tests for extra outputs.
19444         (generate_testfile): Do not pass function name to parse_args.
19445         Generate this_func variable from START.
19446         * math/libm-test.inc (struct test_f_f_data): Rename test_name
19447         field to arg_str.
19448         (struct test_ff_f_data): Likewise.
19449         (test_ff_f_data_nexttoward): Likewise.
19450         (struct test_fi_f_data): Likewise.
19451         (struct test_fl_f_data): Likewise.
19452         (struct test_if_f_data): Likewise.
19453         (struct test_fff_f_data): Likewise.
19454         (struct test_c_f_data): Likewise.
19455         (struct test_f_f1_data): Likewise.  Remove field extra_name.
19456         (struct test_fF_f1_data): Likewise.
19457         (struct test_ffI_f1_data): Likewise.
19458         (struct test_c_c_data): Rename test_name field to arg_str.
19459         (struct test_cc_c_data): Likewise.
19460         (struct test_f_i_data): Likewise.
19461         (struct test_ff_i_data): Likewise.
19462         (struct test_f_l_data): Likewise.
19463         (struct test_f_L_data): Likewise.
19464         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
19465         and extra2_name.
19466         (COMMON_TEST_SETUP): New macro.
19467         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19468         (COMMON_TEST_CLEANUP): Likewise.
19469         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19470         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
19471         macros.
19472         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19473         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
19474         macros.
19475         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19476         (RUN_TEST_fff_f): Take argument string.  Call new setup and
19477         cleanup macros.
19478         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19479         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
19480         macros.
19481         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19482         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
19483         macros.
19484         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19485         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
19486         cleanup macros.
19487         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19488         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
19489         cleanup macros.
19490         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19491         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
19492         cleanup macros.
19493         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19494         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
19495         macros.
19496         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19497         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
19498         macros.
19499         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19500         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
19501         macros.
19502         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19503         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
19504         cleanup macros.
19505         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19506         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
19507         cleanup macros.
19508         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19509         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
19510         macros.
19511         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19512         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
19513         cleanup macros.
19514         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19515         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
19516         macros.
19517         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19518         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
19519         macros.
19520         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19521         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
19522         cleanup macros.
19523         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19524
19525 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
19526
19527         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19528         to _sifields.sigfault.
19529         (si_addr_lsb): Define new macro.
19530         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19531         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19532         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19533
19534 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
19535
19536         [BZ #15441]
19537         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19538         returns -1.
19539         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19540         null return -1.
19541         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19542         loading the domain.
19543
19544 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
19545
19546         * math/gen-libm-test.pl (parse_args): Do not include expected
19547         result in test name.
19548         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19549         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19550         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19551         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19552         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19554
19555 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19556
19557         * benchtests/Makefile: Sort function entries.
19558
19559         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19560         tanh, asinh, acosh, atanh.
19561         * benchtests/acos-inputs: New file.
19562         * benchtests/acosh-inputs: New file.
19563         * benchtests/asin-inputs: New file.
19564         * benchtests/asinh-inputs: New file.
19565         * benchtests/atanh-inputs: New file.
19566         * benchtests/cosh-inputs: New file.
19567         * benchtests/log-inputs: New file.
19568         * benchtests/sinh-inputs: New file.
19569         * benchtests/tanh-inputs: New file.
19570
19571 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
19572
19573         [BZ #15339]
19574         * posix/tst-getaddrinfo4.c: New test.
19575         * posix/Makefile (tests): Add it.
19576
19577 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19578
19579         [BZ #15339]
19580         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19581         when no services were used.
19582         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19583         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19584
19585 2013-05-21  Andreas Schwab  <schwab@suse.de>
19586
19587         [BZ #15014]
19588         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19589         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19590         successful.
19591         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19592         redundant variable declarations and reallocation of buffer when
19593         parsing as IPv6 address.  Always set NSS status when called from
19594         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
19595         buffer too small.  Correct computation of needed size.
19596         * nss/Makefile (tests): Add test-digits-dots.
19597         * nss/test-digits-dots.c: New test.
19598
19599 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19600
19601         * benchtests/Makefile: Remove instructions for adding
19602         benchmark tests.
19603         * benchtests/README: New file to explain how to execute and
19604         enhance the benchmark tests.
19605
19606 2013-05-21  Andreas Schwab  <schwab@suse.de>
19607
19608         [BZ #15493]
19609         * setjmp/Makefile (tests): Add tst-sigsetjmp.
19610         * setjmp/tst-sigsetjmp.c: New test.
19611
19612 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
19613
19614         * sysdeps/x86_64/memset.S (memset): New implementation.
19615         (__bzero): Likewise.
19616         (__memset_tail): New function.
19617
19618 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
19619
19620         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19621         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19622         __memcpy_sse2_unaligned ifunc selection.
19623         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19624         Add memcpy-sse2-unaligned.S.
19625         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19626         Add: __memcpy_sse2_unaligned.
19627
19628 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
19629
19630         [BZ #15490]
19631         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19632         math_force_eval before restoring floating-point envrionment.
19633         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19634         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19635         Likewise.
19636         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19637         <math_private.h>.
19638         (__nearbyintl): Use math_force_eval before restoring
19639         floating-point environment.
19640         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19641
19642         * math/gen-libm-test.pl (special_functions): Remove.
19643         (parse_args): Don't handle TEST_extra.  Handle functions with no
19644         return value.
19645         * math/libm-test.inc (struct test_sincos_data): Replace with
19646         struct test_fFF_11_data.
19647         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19648         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19649         (sincos_test_data): Change element type to struct
19650         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
19651         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19652         RUN_TEST_LOOP_sincos.
19653         * math/README.libm-test: Don't mention special handling of
19654         individual functions.
19655         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19656         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19657         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19658         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19659         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19661
19662         * math/gen-libm-test.pl (get_variable): Remove function.
19663         (parse_args): Don't show pointer parameters to call in test
19664         names.  Use "extra output N" in test names for extra outputs
19665         rather than naming variables.
19666
19667 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
19668
19669         [BZ #15488]
19670         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19671         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19672         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19673         double tests.
19674         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19675         disable.
19676         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19677         check_long_double.
19678
19679         * math/gen-libm-test.pl (@tests): Remove variable.
19680         ($count): Likewise.
19681         (new_test): Remove function.
19682         (show_exceptions): New function.
19683         (special_functions): Use show_exceptions instead of new_test.
19684         (parse_args): Likewise.
19685         (generate_testfile): Pass only function name in generated call to
19686         print_max_error or print_complex_max_error.
19687         (get_ulps): Do not handle complex tests specially.
19688         (output_test): Rename to ...
19689         (get_all_ulps_for_test): ... this.  Return a string rather than
19690         printing to a file.  Require ulps to be present.
19691         (output_ulps): Generate arrays rather than #defines.
19692         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19693         (struct ulp_data): New type.
19694         (BUILD_COMPLEX_ULP): Remove macro.
19695         (compare_ulp_data): New function.
19696         (find_ulps): Likewise.
19697         (find_test_ulps): Likewise.
19698         (find_function_ulps): Likewise.
19699         (find_complex_function_ulps): Likewise.
19700         (print_max_error): Determine allowed ulps using
19701         find_function_ulps.
19702         (print_complex_max_error): Determine allowed ulps using
19703         find_complex_function_ulps.
19704         (check_float_internal): Determine max ulps using find_test_ulps.
19705         (check_float): Do not take max_ulp parameter.  Update call to
19706         check_float_internal.
19707         (check_complex): Likewise.
19708         (check_int): Do not take max_ulp parameter.
19709         (check_long): Likewise.
19710         (check_bool): Likewise.
19711         (check_longlong): Likewise.
19712         (struct test_f_f_data): Remove max_ulp field.
19713         (struct test_ff_f_data): Likewise.
19714         (struct test_ff_f_data_nexttoward): Likewise.
19715         (struct test_fi_f_data): Likewise.
19716         (struct test_fl_f_data): Likewise.
19717         (struct test_if_f_data): Likewise.
19718         (struct test_fff_f_data): Likewise.
19719         (struct test_c_f_data): Likewise.
19720         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19721         (struct test_fF_f1_data): Likewise.
19722         (struct test_ffI_f1_data): Likewise.
19723         (struct test_c_c_data): Remove max_ulp field.
19724         (struct test_cc_c_data): Likewise.
19725         (struct test_f_i_data): Likewise.
19726         (struct test_ff_i_data): Likewise.
19727         (struct test_f_l_data): Likewise.
19728         (struct test_f_L_data): Likewise.
19729         (struct test_sincos_data): Likewise.
19730         (RUN_TEST_f_f): Do not handle ulps.
19731         (RUN_TEST_LOOP_f_f): Likewise.
19732         (RUN_TEST_2_f): Likewise.
19733         (RUN_TEST_LOOP_2_f): Likewise.
19734         (RUN_TEST_fff_f): Likewise.
19735         (RUN_TEST_LOOP_fff_f): Likewise.
19736         (RUN_TEST_c_f): Likewise.
19737         (RUN_TEST_LOOP_c_f): Likewise.
19738         (RUN_TEST_f_f1): Likewise.
19739         (RUN_TEST_LOOP_f_f1): Likewise.
19740         (RUN_TEST_fF_f1): Likewise.
19741         (RUN_TEST_LOOP_fF_f1): Likewise.
19742         (RUN_TEST_fI_f1): Likewise.
19743         (RUN_TEST_LOOP_fI_f1): Likewise.
19744         (RUN_TEST_ffI_f1): Likewise.
19745         (RUN_TEST_LOOP_ffI_f1): Likewise.
19746         (RUN_TEST_c_c): Likewise.
19747         (RUN_TEST_LOOP_c_c): Likewise.
19748         (RUN_TEST_cc_c): Likewise.
19749         (RUN_TEST_LOOP_cc_c): Likewise.
19750         (RUN_TEST_f_i): Likewise.
19751         (RUN_TEST_LOOP_f_i): Likewise.
19752         (RUN_TEST_f_i_tg): Likewise.
19753         (RUN_TEST_LOOP_f_i_tg): Likewise.
19754         (RUN_TEST_ff_i_tg): Likewise.
19755         (RUN_TEST_LOOP_ff_i_tg): Likewise.
19756         (RUN_TEST_f_b): Likewise.
19757         (RUN_TEST_LOOP_f_b): Likewise.
19758         (RUN_TEST_f_b_tg): Likewise.
19759         (RUN_TEST_LOOP_f_b_tg): Likewise.
19760         (RUN_TEST_f_l): Likewise.
19761         (RUN_TEST_LOOP_f_l): Likewise.
19762         (RUN_TEST_f_L): Likewise.
19763         (RUN_TEST_LOOP_f_L): Likewise.
19764         (RUN_TEST_sincos): Likewise.
19765         (RUN_TEST_LOOP_sincos): Likewise.
19766
19767 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
19768
19769         [BZ #15480]
19770         [BZ #15485]
19771         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19772         main case of finite arguments, set rounding mode to FE_TONEAREST
19773         and discard exceptions.
19774         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19775         exceptions.
19776         (remainder_tonearest_test_data): New variable.
19777         (remainder_test_tonearest): New function.
19778         (remainder_towardzero_test_data): New variable.
19779         (remainder_test_towardzero): New function.
19780         (remainder_downward_test_data): New variable.
19781         (remainder_test_downward): New function.
19782         (remainder_upward_test_data): New variable.
19783         (remainder_test_upward): New function.
19784         (main): Call the new test functions.
19785
19786         * math/libm-test.inc (struct test_f_f1_data): Remove field
19787         extra_init.
19788         (struct test_fF_f1_data): Likewise.
19789         (struct test_ffI_f1_data): Likewise.
19790         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
19791         based on value of EXTRA_EXPECTED.
19792         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19793         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
19794         EXTRA_VAR based on value of EXTRA_EXPECTED.
19795         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19796         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
19797         EXTRA_VAR based on value of EXTRA_EXPECTED.
19798         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19799         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
19800         EXTRA_VAR based on value of EXTRA_EXPECTED.
19801         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19802         * math/gen-libm-test.pl (parse_args): Don't output initializers
19803         for extra output values.
19804
19805         * math/libm-test.inc (check_int): Expect result to be exactly
19806         equal to expected value and do not handle ulps.
19807         (check_long): Likewise.
19808         (check_longlong): Likewise.
19809
19810         * math/libm-test.inc (ceil_test_data): Test for "inexact"
19811         exceptions.
19812         (cimag_test_data): Likewise.
19813         (conj_test_data): Likewise.
19814         (copysign_test_data): Likewise.
19815         (cproj_test_data): Likewise.
19816         (creal_test_data): Likewise.
19817         (fabs_test_data): Likewise.
19818         (fdim_test_data): Likewise.
19819         (finite_test_data): Likewise.
19820         (floor_test_data): Likewise.
19821         (fmax_test_data): Likewise.
19822         (fmin_test_data): Likewise.
19823         (fmod_test_data): Likewise.
19824         (fpclassify_test_data): Likewise.
19825         (frexp_test_data): Likewise.
19826         (ilogb_test_data): Likewise.
19827         (isfinite_test_data): Likewise.
19828         (isgreater_test_data): Likewise.
19829         (isgreaterequal_test_data): Likewise.
19830         (isinf_test_data): Likewise.
19831         (isless_test_data): Likewise.
19832         (islessequal_test_data): Likewise.
19833         (islessgreater_test_data): Likewise.
19834         (isnan_test_data): Likewise.
19835         (isnormal_test_data): Likewise.
19836         (issignaling_test_data): Likewise.
19837         (isunordered_test_data): Likewise.
19838         (ldexp_test_data): Likewise.
19839         (lrint_test_data): Likewise.
19840         (lrint_test_data) [TEST_FLOAT]: Disable one test.
19841         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19842         (lrint_tonearest_test_data): Test for "inexact" exceptions.
19843         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19844         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19845         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19846         test input.
19847         (lrint_towardzero_test_data): Test for "inexact" exceptions.
19848         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19849         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19850         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19851         that test input.
19852         (lrint_downward_test_data): Test for "inexact" exceptions.
19853         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19854         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19855         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19856         test input.
19857         (lrint_upward_test_data): Test for "inexact" exceptions.
19858         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19859         test input.
19860         (llrint_test_data): Test for "inexact" exceptions.
19861         (llrint_test_data) [TEST_FLOAT]: Disable one test.
19862         (llrint_tonearest_test_data): Test for "inexact" exceptions.
19863         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19864         (llrint_towardzero_test_data): Test for "inexact" exceptions.
19865         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19866         (llrint_downward_test_data): Test for "inexact" exceptions.
19867         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19868         (llrint_upward_test_data): Test for "inexact" exceptions.
19869         (logb_test_data): Likewise.
19870         (logb_downward_test_data): Likewise.
19871         (nextafter_test_data): Likewise.
19872         (nexttoward_test_data): Likewise.
19873         (remainder_test_data): Likewise.
19874         (remquo_test_data): Likewise.
19875         (scalbn_test_data): Likewise.
19876         (scalbln_test_data): Likewise.
19877         (signbit_test_data): Likewise.
19878         (sqrt_test_data): Likewise.
19879         (significand_test_data): Likewise.
19880
19881 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19882
19883         [BZ #15424]
19884         * benchtests/bench-modf.c (struct args): Mark arg0 as
19885         volatile.
19886         * scripts/bench.pl: Mark members of struct args as volatile.
19887
19888 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19889
19890         [BZ # 15497]
19891         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19892         negative infinity on POWER6 or lower.
19893         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19894
19895 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19896
19897         [BZ #15442]
19898         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19899         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19900         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19901         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19902         (_FP_SETQNAN): New macro.
19903         (_FP_SETQNAN_SEMIRAW): Likewise.
19904         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19905         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19906         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19907         (FP_EXTEND): Use _FP_FRAC_SNANP.
19908         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19909         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19910         into account.
19911         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19912         New macro.
19913         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19914         Likewise.
19915
19916 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19917
19918         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19919         with DIVIDE_BY_ZERO_EXCEPTION.
19920         (gamma_test_data): Likewise.
19921         (lgamma_test_data): Likewise.
19922         (log_test_data): Likewise.
19923         (log10_test_data): Likewise.
19924         (log2_test_data): Likewise.
19925         (tgamma_test_data): Likewise.
19926
19927         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19928         (acos_test_tonearest): Likewise.
19929         (acos_test_towardzero): Likewise.
19930         (acos_test_downward): Likewise.
19931         (acos_test_upward): Likewise.
19932         (acosh_test): Likewise.
19933         (asin_test): Likewise.
19934         (asin_test_tonearest): Likewise.
19935         (asin_test_towardzero): Likewise.
19936         (asin_test_downward): Likewise.
19937         (asin_test_upward): Likewise.
19938         (asinh_test): Likewise.
19939         (atan_test): Likewise.
19940         (atanh_test): Likewise.
19941         (atan2_test): Likewise.
19942         (cabs_test): Likewise.
19943         (cacos_test): Likewise.
19944         (cacosh_test): Likewise.
19945         (casin_test): Likewise.
19946         (casinh_test): Likewise.
19947         (catan_test): Likewise.
19948         (catanh_test): Likewise.
19949         (cbrt_test): Likewise.
19950         (ccos_test): Likewise.
19951         (ccosh_test): Likewise.
19952         (cexp_test): Likewise.
19953         (clog_test): Likewise.
19954         (clog10_test): Likewise.
19955         (cos_test): Likewise.
19956         (cos_test_tonearest): Likewise.
19957         (cos_test_towardzero): Likewise.
19958         (cos_test_downward): Likewise.
19959         (cos_test_upward): Likewise.
19960         (cosh_test): Likewise.
19961         (cosh_test_tonearest): Likewise.
19962         (cosh_test_towardzero): Likewise.
19963         (cosh_test_downward): Likewise.
19964         (cosh_test_upward): Likewise.
19965         (cpow_test): Likewise.
19966         (csin_test): Likewise.
19967         (csinh_test): Likewise.
19968         (csqrt_test): Likewise.
19969         (ctan_test): Likewise.
19970         (ctan_test_tonearest): Likewise.
19971         (ctan_test_towardzero): Likewise.
19972         (ctan_test_downward): Likewise.
19973         (ctan_test_upward): Likewise.
19974         (ctanh_test): Likewise.
19975         (ctanh_test_tonearest): Likewise.
19976         (ctanh_test_towardzero): Likewise.
19977         (ctanh_test_downward): Likewise.
19978         (ctanh_test_upward): Likewise.
19979         (erf_test): Likewise.
19980         (erfc_test): Likewise.
19981         (exp_test): Likewise.
19982         (exp_test_tonearest): Likewise.
19983         (exp_test_towardzero): Likewise.
19984         (exp_test_downward): Likewise.
19985         (exp_test_upward): Likewise.
19986         (exp10_test): Likewise.
19987         (exp2_test): Likewise.
19988         (expm1_test): Likewise.
19989         (fmod_test): Likewise.
19990         (gamma_test): Likewise.
19991         (hypot_test): Likewise.
19992         (j0_test): Likewise.
19993         (j1_test): Likewise.
19994         (jn_test): Likewise.
19995         (lgamma_test): Likewise.
19996         (log_test): Likewise.
19997         (log10_test): Likewise.
19998         (log1p_test): Likewise.
19999         (log2_test): Likewise.
20000         (logb_test_downward): Likewise.
20001         (pow_test): Likewise.
20002         (pow_test_tonearest): Likewise.
20003         (pow_test_towardzero): Likewise.
20004         (pow_test_downward): Likewise.
20005         (pow_test_upward): Likewise.
20006         (remainder_test): Likewise.
20007         (remquo_test): Likewise.
20008         (sin_test): Likewise.
20009         (sin_test_tonearest): Likewise.
20010         (sin_test_towardzero): Likewise.
20011         (sin_test_downward): Likewise.
20012         (sin_test_upward): Likewise.
20013         (sincos_test): Likewise.
20014         (sinh_test): Likewise.
20015         (sinh_test_tonearest): Likewise.
20016         (sinh_test_towardzero): Likewise.
20017         (sinh_test_downward): Likewise.
20018         (sinh_test_upward): Likewise.
20019         (sqrt_test): Likewise.
20020         (tan_test): Likewise.
20021         (tan_test_tonearest): Likewise.
20022         (tan_test_towardzero): Likewise.
20023         (tan_test_downward): Likewise.
20024         (tan_test_upward): Likewise.
20025         (tanh_test): Likewise.
20026         (tgamma_test): Likewise.
20027         (y0_test): Likewise.
20028         (y1_test): Likewise.
20029         (yn_test): Likewise.
20030
20031         * math/gen-libm-test.pl (adjust_arg): Remove function.
20032         (special_function): Remove argument $in_func.  Only handle
20033         generating output for tables of tests, not inside functions.
20034         (parse_args): Likewise.
20035         (generate_testfile): Remove variable $in_func.  Update call to
20036         parse_args.
20037         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20038         (MINUS_ZERO_INIT): Rename macro to minus_zero.
20039         (PLUS_INFTY_INIT): Rename macro to plus_infty.
20040         (MINUS_INFTY_INIT): Rename macro to minus_infty.
20041         (QNAN_VALUE_INIT): Rename macro to qnan_value.
20042         (MAX_VALUE_INIT): Rename macro to max_value.
20043         (MIN_VALUE_INIT): Rename macro to min_value.
20044         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20045         (plus_zero): Remove variable.
20046         (minus_zero): Likewise.
20047         (plus_infty): Likewise.
20048         (minus_infty): Likewise.
20049         (qnan_value): Likewise.
20050         (max_value): Likewise.
20051         (min_value): Likewise.
20052         (min_subnorm_value): Likewise.
20053
20054 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20055
20056         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20057         uint64_t or uint32_t usage.
20058         * crypt/sha256-block.c: Likewise.
20059         * crypt/sha256-crypt.c: Likewise.
20060         * crypt/sha256.c: Likewise.
20061         * crypt/sha512-block.c: Likewise.
20062         * crypt/sha512-crypt.c: Likewise.
20063         * crypt/sha512.c: Likewise.
20064         * debug/backtrace-tst.c: Likewise.
20065         * debug/pcprofiledump.c: Likewise.
20066         * elf/cache.c: Likewise.
20067         * elf/dl-cache.c: Likewise.
20068         * elf/dl-misc.c: Likewise.
20069         * elf/dl-profile.c: Likewise.
20070         * elf/dl-support.c: Likewise.
20071         * elf/ldconfig.c: Likewise.
20072         * elf/sprof.c: Likewise.
20073         * iconv/dummy-repertoire.c: Likewise.
20074         * iconv/iconv_charmap.c: Likewise.
20075         * iconv/skeleton.c: Likewise.
20076         * iconvdata/8bit-generic.c: Likewise.
20077         * iconvdata/cp737.h: Likewise.
20078         * iconvdata/cp775.h: Likewise.
20079         * iconvdata/ibm1008.h: Likewise.
20080         * iconvdata/ibm1025.h: Likewise.
20081         * iconvdata/ibm1046.h: Likewise.
20082         * iconvdata/ibm1097.h: Likewise.
20083         * iconvdata/ibm1112.h: Likewise.
20084         * iconvdata/ibm1122.h: Likewise.
20085         * iconvdata/ibm1123.h: Likewise.
20086         * iconvdata/ibm1124.h: Likewise.
20087         * iconvdata/ibm1129.h: Likewise.
20088         * iconvdata/ibm1130.h: Likewise.
20089         * iconvdata/ibm1132.h: Likewise.
20090         * iconvdata/ibm1133.h: Likewise.
20091         * iconvdata/ibm1137.h: Likewise.
20092         * iconvdata/ibm1140.h: Likewise.
20093         * iconvdata/ibm1141.h: Likewise.
20094         * iconvdata/ibm1142.h: Likewise.
20095         * iconvdata/ibm1143.h: Likewise.
20096         * iconvdata/ibm1144.h: Likewise.
20097         * iconvdata/ibm1145.h: Likewise.
20098         * iconvdata/ibm1146.h: Likewise.
20099         * iconvdata/ibm1147.h: Likewise.
20100         * iconvdata/ibm1148.h: Likewise.
20101         * iconvdata/ibm1149.h: Likewise.
20102         * iconvdata/ibm1153.h: Likewise.
20103         * iconvdata/ibm1154.h: Likewise.
20104         * iconvdata/ibm1155.h: Likewise.
20105         * iconvdata/ibm1156.h: Likewise.
20106         * iconvdata/ibm1157.h: Likewise.
20107         * iconvdata/ibm1158.h: Likewise.
20108         * iconvdata/ibm1160.h: Likewise.
20109         * iconvdata/ibm1161.h: Likewise.
20110         * iconvdata/ibm1162.h: Likewise.
20111         * iconvdata/ibm1163.h: Likewise.
20112         * iconvdata/ibm1164.h: Likewise.
20113         * iconvdata/ibm1166.h: Likewise.
20114         * iconvdata/ibm1167.h: Likewise.
20115         * iconvdata/ibm12712.h: Likewise.
20116         * iconvdata/ibm1390.h: Likewise.
20117         * iconvdata/ibm1399.h: Likewise.
20118         * iconvdata/ibm16804.h: Likewise.
20119         * iconvdata/ibm4517.h: Likewise.
20120         * iconvdata/ibm4899.h: Likewise.
20121         * iconvdata/ibm4909.h: Likewise.
20122         * iconvdata/ibm4971.h: Likewise.
20123         * iconvdata/ibm5347.h: Likewise.
20124         * iconvdata/ibm803.h: Likewise.
20125         * iconvdata/ibm856.h: Likewise.
20126         * iconvdata/ibm901.h: Likewise.
20127         * iconvdata/ibm902.h: Likewise.
20128         * iconvdata/ibm9030.h: Likewise.
20129         * iconvdata/ibm9066.h: Likewise.
20130         * iconvdata/ibm921.h: Likewise.
20131         * iconvdata/ibm922.h: Likewise.
20132         * iconvdata/ibm9448.h: Likewise.
20133         * iconvdata/isiri-3342.h: Likewise.
20134         * iconvdata/jis0201.h: Likewise.
20135         * include/link.h: Likewise.
20136         * include/netdb.h: Likewise.
20137         * inet/check_native.c: Likewise.
20138         * inet/check_pf.c: Likewise.
20139         * inet/getipv4sourcefilter.c: Likewise.
20140         * inet/getnameinfo.c: Likewise.
20141         * inet/getsourcefilter.c: Likewise.
20142         * inet/htonl.c: Likewise.
20143         * inet/setipv4sourcefilter.c: Likewise.
20144         * inet/setsourcefilter.c: Likewise.
20145         * inet/test-inet6_opt.c: Likewise.
20146         * inet/tst-network.c: Likewise.
20147         * locale/C-collate.c: Likewise.
20148         * locale/C-ctype.c: Likewise.
20149         * locale/C-time.c: Likewise.
20150         * locale/C-translit.h: Likewise.
20151         * locale/loadarchive.c: Likewise.
20152         * locale/programs/3level.h: Likewise.
20153         * locale/programs/charmap.c: Likewise.
20154         * locale/programs/charmap.h: Likewise.
20155         * locale/programs/ld-address.c: Likewise.
20156         * locale/programs/ld-collate.c: Likewise.
20157         * locale/programs/ld-ctype.c: Likewise.
20158         * locale/programs/ld-identification.c: Likewise.
20159         * locale/programs/ld-measurement.c: Likewise.
20160         * locale/programs/ld-messages.c: Likewise.
20161         * locale/programs/ld-monetary.c: Likewise.
20162         * locale/programs/ld-name.c: Likewise.
20163         * locale/programs/ld-numeric.c: Likewise.
20164         * locale/programs/ld-paper.c: Likewise.
20165         * locale/programs/ld-telephone.c: Likewise.
20166         * locale/programs/ld-time.c: Likewise.
20167         * locale/programs/linereader.c: Likewise.
20168         * locale/programs/locale.c: Likewise.
20169         * locale/programs/locarchive.c: Likewise.
20170         * locale/programs/locfile.h: Likewise.
20171         * locale/programs/repertoire.c: Likewise.
20172         * locale/programs/simple-hash.c: Likewise.
20173         * locale/programs/simple-hash.h: Likewise.
20174         * malloc/memusage.c: Likewise.
20175         * malloc/memusagestat.c: Likewise.
20176         * nis/nis_defaults.c: Likewise.
20177         * nis/nis_hash.c: Likewise.
20178         * nis/nis_print.c: Likewise.
20179         * nis/nis_xdr.c: Likewise.
20180         * nscd/connections.c: Likewise.
20181         * nscd/hstcache.c: Likewise.
20182         * nscd/nscd_gethst_r.c: Likewise.
20183         * nscd/nscd_getserv_r.c: Likewise.
20184         * nscd/nscd_helper.c: Likewise.
20185         * nscd/servicescache.c: Likewise.
20186         * nss/makedb.c: Likewise.
20187         * nss/nss_db/db-XXX.c: Likewise.
20188         * nss/nss_db/db-initgroups.c: Likewise.
20189         * nss/nss_db/db-netgrp.c: Likewise.
20190         * nss/nss_files/files-network.c: Likewise.
20191         * nss/nss_files/files-parse.c: Likewise.
20192         * posix/bug-regex5.c: Likewise.
20193         * posix/fnmatch_loop.c: Likewise.
20194         * posix/regcomp.c: Likewise.
20195         * posix/regexec.c: Likewise.
20196         * posix/tst-rfc3484-2.c: Likewise.
20197         * posix/tst-rfc3484-3.c: Likewise.
20198         * posix/tst-rfc3484.c: Likewise.
20199         * resolv/nss_dns/dns-canon.c: Likewise.
20200         * resolv/nss_dns/dns-network.c: Likewise.
20201         * resolv/res_init.c: Likewise.
20202         * resolv/res_mkquery.c: Likewise.
20203         * resolv/tst-aton.c: Likewise.
20204         * stdlib/cxa_atexit.c: Likewise.
20205         * stdlib/cxa_finalize.c: Likewise.
20206         * stdlib/gen-fpioconst.c: Likewise.
20207         * stdlib/strtol_l.c: Likewise.
20208         * string/tst-endian.c: Likewise.
20209         * sunrpc/auth_des.c: Likewise.
20210         * sunrpc/clnt_udp.c: Likewise.
20211         * sunrpc/rtime.c: Likewise.
20212         * sunrpc/svcauth_des.c: Likewise.
20213         * sunrpc/xdr.c: Likewise.
20214         * sunrpc/xdr_intXX_t.c: Likewise.
20215         * sunrpc/xdr_rec.c: Likewise.
20216         * sysdeps/generic/ldconfig.h: Likewise.
20217         * sysdeps/generic/ldsodefs.h: Likewise.
20218         * sysdeps/generic/memusage.h: Likewise.
20219         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20220         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20221         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20222         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20223         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20224         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20225         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20226         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20227         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20228         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20229         * sysdeps/posix/getaddrinfo.c: Likewise.
20230         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20231         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20232         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20233         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20234         * sysdeps/powerpc/test-gettimebase.c: Likewise.
20235         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20236         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20237         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20238         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20239         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20240         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20241         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20242         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20243         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20244         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20245         * sysdeps/x86_64/dl-tls.h: Likewise.
20246         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20247         * time/alt_digit.c: Likewise.
20248         * time/era.c: Likewise.
20249         * wcsmbs/tst-c16c32-1.c: Likewise.
20250
20251 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20252
20253         * math/libm-test.inc (struct test_sincos_data): New type.
20254         (RUN_TEST_LOOP_sincos): New macro.
20255         (sincos_test_data): New variable.
20256         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20257
20258 2013-05-16  Richard Henderson  <rth@redhat.com>
20259
20260         * math/atest-exp2.c (LIMB64): New macro.
20261         (CONSTSZ): New macro.
20262         (mp_exp1, mp_exp_m1, mp_log2): New variables.
20263         (hexdig): Move ...
20264         (print_mpn_fp): ... to function scope.
20265         (read_mpn_hex): Remove.
20266         (get_log2): Remove.
20267         (exp2_mpn): Use mp_log2.
20268         (main): Use mp_exp1.
20269
20270 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20271
20272         * math/libm-test.inc: Remove comment about not testing "inexact"
20273         exceptions.
20274         (INEXACT_EXCEPTION): New macro.
20275         (NO_INEXACT_EXCEPTION): Likewise.
20276         (INVALID_EXCEPTION_OK): Update value.
20277         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20278         (OVERFLOW_EXCEPTION_OK): Likewise.
20279         (UNDERFLOW_EXCEPTION_OK): Likewise.
20280         (IGNORE_ZERO_INF_SIGN): Likewise.
20281         (ERRNO_UNCHANGED): Likewise.
20282         (ERRNO_EDOM): Likewise.
20283         (ERRNO_ERANGE): Likewise.
20284         (test_exceptions): Handle testing "inexact" exceptions.
20285         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20286         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20287         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20288         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20289         INEXACT_EXCEPTION.
20290         (rint_towardzero_test_data): Likewise.
20291         (rint_downward_test_data): Likewise.
20292         (rint_upward_test_data): Likewise.
20293
20294         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20295         with OVERFLOW_EXCEPTION.
20296         (exp10_test_data): Likewise.
20297         (exp2_test_data): Likewise.
20298         (expm1_test_data): Likewise.
20299         (lgamma_test_data): Likewise.
20300         (pow_test_data): Likewise.
20301         (tgamma_test_data): Likewise.
20302         (yn_test_data): Remove duplicate test of overflow.
20303
20304         * math/libm-test.inc (struct test_cc_c_data): New type.
20305         (RUN_TEST_LOOP_cc_c): New macro.
20306         (cpow_test_data): New variable.
20307         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20308
20309         * math/libm-test.inc (struct test_f_L_data): New type.
20310         (RUN_TEST_LOOP_f_L): New macro.
20311         (llrint_test_data): New variable.
20312         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20313         (llrint_tonearest_test_data): New variable.
20314         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20315         (llrint_towardzero_test_data): New variable.
20316         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20317         (llrint_downward_test_data): New variable.
20318         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20319         (llrint_upward_test_data): New variable.
20320         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20321         (llround_test_data): New variable.
20322         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20323
20324 2013-05-13  Peter Collingbourne  <pcc@google.com>
20325
20326         * math/atest-exp2.c (get_log2): Remove const attribute.
20327
20328 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20329
20330         * math/libm-test.inc (struct test_f_l_data): New type.
20331         (RUN_TEST_LOOP_f_l): New macro.
20332         (lrint_test_data): New variable.
20333         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20334         (lrint_tonearest_test_data): New variable.
20335         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20336         (lrint_towardzero_test_data): New variable.
20337         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20338         (lrint_downward_test_data): New variable.
20339         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20340         (lrint_upward_test_data): New variable.
20341         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20342         (lround_test_data): New variable.
20343         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20344
20345 2013-05-15  Peter Collingbourne  <pcc@google.com>
20346
20347         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20348         (EXTRACT_WORDS64) Use where appropriate.
20349         (INSERT_WORDS64) Likewise.
20350
20351         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20352         constraints with x constraints.
20353         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20354
20355         * malloc/obstack.c (_obstack_compat): Add initializer.
20356
20357 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20358
20359         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20360         si_trapno and add si_addr_lsb to _sifields.sigfault.
20361         (si_trapno): Remove macro.
20362         (si_addr_lsb): Define new macro.
20363         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20364
20365 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20366
20367         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20368         instead of TEST_f_l.
20369         (llrint_test_tonearest): Likewise.
20370         (llrint_test_towardzero): Likewise.
20371         (llrint_test_downward): Likewise.
20372         (llrint_test_upward): Likewise.
20373         (llround_test): Likewise.
20374
20375         * math/libm-test.inc (struct test_f_i_data): Add comment.
20376         (RUN_TEST_LOOP_f_b): New macro.
20377         (RUN_TEST_LOOP_f_b_tg): Likewise.
20378         (finite_test_data): New variable.
20379         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20380         (isfinite_test_data): New variable.
20381         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20382         (isinf_test_data): New variable.
20383         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20384         (isnan_test_data): New variable.
20385         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20386         (isnormal_test_data): New variable.
20387         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20388         (issignaling_test_data): New variable.
20389         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20390         (signbit_test_data): New variable.
20391         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20392
20393         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20394         with INVALID_EXCEPTION.
20395         (acosh_test_data): Likewise.
20396         (asin_test_data): Likewise.
20397         (atanh_test_data): Likewise.
20398         (fmod_test_data): Likewise.
20399         (log_test_data): Likewise.
20400         (log10_test_data): Likewise.
20401         (log2_test_data): Likewise.
20402         (pow_test_data): Likewise.
20403         (sqrt_test_data): Likewise.
20404         (y0_test_data): Likewise.
20405         (y1_test_data): Likewise.
20406         (yn_test_data): Likewise.
20407
20408         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20409         function contents.
20410
20411         * math/libm-test.inc (struct test_ff_i_data): New type.
20412         (RUN_TEST_LOOP_ff_i_tg): New macro.
20413         (isgreater_test_data): New variable.
20414         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20415         (isgreaterequal_test_data): New variable.
20416         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20417         (isless_test_data): New variable.
20418         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20419         (islessequal_test_data): New variable.
20420         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20421         (islessgreater_test_data): New variable.
20422         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20423         (isunordered_test_data): New variable.
20424         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20425
20426 2013-05-14  David S. Miller  <davem@davemloft.net>
20427
20428         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20429
20430 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
20431
20432         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20433
20434         * math/libm-test.inc (struct test_fF_f1_data): Change type of
20435         extra_test to int.
20436         (struct test_f_i_data): Change type of max_ulp to int.
20437
20438         * math/libm-test.inc (test_ffI_f1_data): New type.
20439         (RUN_TEST_LOOP_ffI_f1): New macro.
20440         (remquo_test_data): New variable.
20441         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20442
20443         * setjmp/tst-setjmp-fp.c: New file.
20444         * setjmp/Makefile (tests): Add tst-setjmp-fp.
20445         (link-libm): New variable.
20446         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20447
20448         * math/libm-test.inc (struct test_f_i_data): New type.
20449         (RUN_TEST_LOOP_f_i): New macro.
20450         (RUN_TEST_LOOP_f_i_tg): Likewise.
20451         (fpclassify_test_data): New variable.
20452         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20453         (ilogb_test_data): New variable.
20454         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20455
20456         * math/libm-test.inc (scalbln_test): Correct function name in END
20457         call.
20458
20459         * math/libm-test.inc (struct test_f_f1_data): Add comment.
20460         (RUN_TEST_LOOP_fI_f1): New macro.
20461         (frexp_test_data): New variable.
20462         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20463
20464         * math/libm-test.inc (struct test_fF_f1_data): New type.
20465         (RUN_TEST_LOOP_fF_f1): New macro.
20466         (modf_test_data): New variable.
20467         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20468
20469         * math/libm-test.inc (struct test_f_f1_data): New type.
20470         (RUN_TEST_LOOP_f_f1): New macro.
20471         (gamma_test_data): New variable.
20472         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20473         (lgamma_test_data): New variable.
20474         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20475
20476 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
20477
20478         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20479         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20480         (main): Comment "tls" pseudo-hwcap.
20481
20482 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
20483
20484         * math/libm-test.inc (struct test_fl_f_data): New type.
20485         (RUN_TEST_LOOP_fl_f): New variable.
20486         (scalbln_test_data): New variable.
20487         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20488
20489         * math/libm-test.inc (struct test_fi_f_data): New type.
20490         (RUN_TEST_LOOP_fi_f): New macro.
20491         (ldexp_test_data): New variable.
20492         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20493         (scalbn_test_data): New variable.
20494         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20495
20496         * math/libm-test.inc (struct test_c_f_data): New type.
20497         (RUN_TEST_LOOP_c_f): New macro.
20498         (cabs_test_data): New variable.
20499         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20500         (carg_test_data): New variable.
20501         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20502         (cimag_test_data): New variable.
20503         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20504         (creal_test_data): New variable.
20505         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20506
20507         * math/libm-test.inc (struct test_if_f_data): New type.
20508         (RUN_TEST_LOOP_if_f): New macro.
20509         (jn_test_data): New variable.
20510         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20511         (yn_test_data): New variable.
20512         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20513
20514         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20515
20516 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20517
20518         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20519         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20520
20521 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20522
20523         * benchtests/Makefile (CPPFLAGS-nonlib): Add
20524         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20525         (bench-deps): Add bench-timing.h.
20526         * benchtests-bench-skeleton.c: Include bench-timing.h.
20527         (main): Use TIMING_* macros instead of clock_gettime.
20528         * benchtests/bench-timing.h: New file.
20529
20530         [BZ #14582]
20531         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20532         Renamed from _LIB_VERSION.
20533         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20534
20535 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
20536
20537         * math/libm-test.inc (struct test_fff_f_data): New type.
20538         (RUN_TEST_LOOP_fff_f): New macro.
20539         (fma_test_data): New variable.
20540         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20541         (fma_towardzero_test_data): New variable.
20542         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20543         (fma_downward_test_data): New variable.
20544         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20545         (fma_upward_test_data): New variable.
20546         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20547
20548         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20549         (struct test_c_c_data): New type.
20550         (RUN_TEST_LOOP_c_c): New macro.
20551         (cacos_test_data): New variable.
20552         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20553         (cacosh_test_data): New variable.
20554         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20555         (casin_test_data): New variable.
20556         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20557         (casinh_test_data): New variable.
20558         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20559         (catan_test_data): New variable.
20560         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20561         (catanh_test_data): New variable.
20562         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20563         (ccos_test_data): New variable.
20564         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20565         (ccosh_test_data): New variable.
20566         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20567         (cexp_test_data): New variable.
20568         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20569         (clog_test_data): New variable.
20570         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20571         (clog10_test_data): New variable.
20572         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20573         (conj_test_data): New variable.
20574         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20575         (cproj_test_data): New variable.
20576         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20577         (csin_test_data): New variable.
20578         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20579         (csinh_test_data): New variable.
20580         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20581         (csqrt_test_data): New variable.
20582         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20583         (ctan_test_data): New variable.
20584         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20585         (ctan_tonearest_test_data): New variable.
20586         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20587         (ctan_towardzero_test_data): New variable.
20588         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20589         (ctan_downward_test_data): New variable.
20590         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20591         (ctan_upward_test_data): New variable.
20592         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20593         (ctanh_test_data): New variable.
20594         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20595         (ctanh_tonearest_test_data): New variable.
20596         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20597         (ctanh_towardzero_test_data): New variable.
20598         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20599         (ctanh_downward_test_data): New variable.
20600         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20601         (ctanh_upward_test_data): New variable.
20602         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20603         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20604         of BUILD_COMPLEX.
20605
20606         * math/libm-test.inc (struct test_ff_f_data): New type.
20607         (struct test_ff_f_data_nexttoward): Likewise.
20608         (RUN_TEST_LOOP_2_f): New macro.
20609         (RUN_TEST_LOOP_ff_f): Likewise.
20610         (atan2_test_data): New variable.
20611         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20612         (copysign_test_data): New variable.
20613         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20614         (fdim_test_data): New variable.
20615         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20616         (fmax_test_data): New variable.
20617         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20618         (fmin_test_data): New variable.
20619         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20620         (fmod_test_data): New variable.
20621         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20622         (hypot_test_data): New variable.
20623         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20624         (nextafter_test_data): New variable.
20625         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20626         (nexttoward_test_data): New variable.
20627         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20628         (pow_test_data): New variable.
20629         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20630         (pow_tonearest_test_data): New variable.
20631         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20632         (pow_towardzero_test_data): New variable.
20633         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20634         (pow_downward_test_data): New variable.
20635         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20636         (pow_upward_test_data): New variable.
20637         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20638         (remainder_test_data): New variable.
20639         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20640         (scalb_test_data): New variable.
20641         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20642         * sysdeps/i386/fpu/libm-test-ulps: Update.
20643
20644 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
20645
20646         * math/libm-test.inc (fma_test): Use max_value instead of local
20647         variable fltmax.
20648         (nextafter_test): Likewise.
20649
20650         * math/libm-test.inc (acos_towardzero_test_data): New variable.
20651         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20652         (acos_downward_test_data): New variable.
20653         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20654         (acos_upward_test_data): New variable.
20655         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20656         (acosh_test_data): New variable.
20657         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20658         (asin_test_data): New variable.
20659         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20660         (asin_tonearest_test_data): New variable.
20661         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20662         (asin_towardzero_test_data): New variable.
20663         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20664         (asin_downward_test_data): New variable.
20665         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20666         (asin_upward_test_data): New variable.
20667         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20668         (asinh_test_data): New variable.
20669         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20670         (atan_test_data): New variable.
20671         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20672         (atanh_test_data): New variable.
20673         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20674         (cbrt_test_data): New variable.
20675         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20676         (ceil_test_data): New variable.
20677         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20678         (cos_test_data): New variable.
20679         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20680         (cos_tonearest_test_data): New variable.
20681         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20682         (cos_towardzero_test_data): New variable.
20683         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20684         (cos_downward_test_data): New variable.
20685         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20686         (cos_upward_test_data): New variable.
20687         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20688         (cosh_test_data): New variable.
20689         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20690         (cosh_tonearest_test_data): New variable.
20691         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20692         (cosh_towardzero_test_data): New variable.
20693         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20694         (cosh_downward_test_data): New variable.
20695         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20696         (cosh_upward_test_data): New variable.
20697         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20698         (erf_test_data): New variable.
20699         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20700         (erfc_test_data): New variable.
20701         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20702         (exp_test_data): New variable.
20703         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20704         (exp_tonearest_test_data): New variable.
20705         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20706         (exp_towardzero_test_data): New variable.
20707         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20708         (exp_downward_test_data): New variable.
20709         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20710         (exp_upward_test_data): New variable.
20711         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20712         (exp10_test_data): New variable.
20713         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20714         (exp2_test_data): New variable.
20715         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20716         (expm1_test_data): New variable.
20717         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20718         (fabs_test_data): New variable.
20719         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20720         (floor_test_data): New variable.
20721         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20722         (j0_test_data): New variable.
20723         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20724         (j1_test_data): New variable.
20725         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20726         (log_test_data): New variable.
20727         (log_test): Run tests with RUN_TEST_LOOP_f_f.
20728         (log10_test_data): New variable.
20729         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20730         (log1p_test_data): New variable.
20731         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20732         (log2_test_data): New variable.
20733         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20734         (logb_test_data): New variable.
20735         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20736         (logb_downward_test_data): New variable.
20737         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20738         (nearbyint_test_data): New variable.
20739         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20740         (rint_test_data): New variable.
20741         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20742         (rint_tonearest_test_data): New variable.
20743         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20744         (rint_towardzero_test_data): New variable.
20745         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20746         (rint_downward_test_data): New variable.
20747         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20748         (rint_upward_test_data): New variable.
20749         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20750         (round_test_data): New variable.
20751         (round_test): Run tests with RUN_TEST_LOOP_f_f.
20752         (sin_test_data): New variable.
20753         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20754         (sin_tonearest_test_data): New variable.
20755         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20756         (sin_towardzero_test_data): New variable.
20757         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20758         (sin_downward_test_data): New variable.
20759         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20760         (sin_upward_test_data): New variable.
20761         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20762         (sinh_test_data): New variable.
20763         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20764         (sinh_tonearest_test_data): New variable.
20765         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20766         (sinh_towardzero_test_data): New variable.
20767         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20768         (sinh_downward_test_data): New variable.
20769         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20770         (sinh_upward_test_data): New variable.
20771         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20772         (sqrt_test_data): New variable.
20773         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20774         (tan_test_data): New variable.
20775         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20776         (tan_tonearest_test_data): New variable.
20777         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20778         (tan_towardzero_test_data): New variable.
20779         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20780         (tan_downward_test_data): New variable.
20781         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20782         (tan_upward_test_data): New variable.
20783         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20784         (tanh_test_data): New variable.
20785         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20786         (tgamma_test_data): New variable.
20787         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20788         (trunc_test_data): New variable.
20789         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20790         (y0_test_data): New variable.
20791         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20792         (y1_test_data): New variable.
20793         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20794         (significand_test_data): New variable.
20795         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20796
20797 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
20798
20799         [BZ #12387]
20800         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20801
20802 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20803
20804         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20805
20806 2013-05-10  Andreas Jaeger  <aj@suse.de>
20807
20808         [BZ #15448]
20809         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20810         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20811
20812 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
20813
20814         * math/gen-libm-test.pl (adjust_arg): New function.
20815         (special_functions): Handle generating output in both functions
20816         and arrays.
20817         (parse_args): Likewise.
20818         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
20819         $in_func argument to parse_args.
20820         * math/libm-test.inc (struct test_f_f_data): New type.
20821         (IF_ROUND_INIT_): New macro.
20822         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20823         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20824         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20825         (IF_ROUND_INIT_FE_UPWARD): Likewise.
20826         (ROUND_RESTORE_): Likewise.
20827         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20828         (ROUND_RESTORE_FE_TONEAREST): Likewise.
20829         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20830         (ROUND_RESTORE_FE_UPWARD): Likewise.
20831         (RUN_TEST_LOOP_f_f): New macro.
20832         (acos_test_data): New variable.
20833         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20834         (acos_tonearest_test_data): New variable.
20835         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20836
20837 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20838
20839         * benchtests/bench-skeleton.c (startup): Fix coding style.
20840
20841 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
20842
20843         [BZ #6809]
20844         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20845         negative infinity argument.
20846         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20847         negative infinity argument.
20848         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20849         negative infinity argument.
20850         * math/libm-test.inc (tgamma_test): Expect errno to be set for
20851         domain errors.
20852
20853 2013-05-10  Florian Weimer  <fweimer@redhat.com>
20854
20855         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20856         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20857         * iconv/iconv_prog.c (main): Likewise.
20858         * locale/programs/charmap-dir.c (charmap_readdir)
20859         (fopen_uncompressed): Likewise.
20860         * locale/programs/locfile.c (siblings_uncached)
20861         (write_locale_data): Use lstat64 instead of lstat.
20862         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20863         stat.
20864
20865 2013-05-10  Andreas Jaeger  <aj@suse.de>
20866
20867         [BZ #15395]
20868         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20869         localization.
20870         Include <locale.h>.
20871
20872 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
20873
20874         * elf/dl-close.c (_dl_close_worker): Add comments.
20875
20876 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
20877
20878         [BZ #15359]
20879         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20880         high part of pi/2.
20881         (__ieee754_rem_pio2l): Update comments.
20882
20883         [BZ #15429]
20884         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20885         high part of pi/2.
20886         (__ieee754_rem_pio2l): Update comments.
20887
20888         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20889         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20890
20891         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20892         M_PI_4l.
20893
20894         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20895         (M_PI_34_LOG10El): Likewise.
20896         (M_PI2_LOG10El): Likewise.
20897         (M_PI4_LOG10El): Likewise.
20898         (M_PI_LOG10El): Likewise.
20899
20900 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20901
20902         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20903
20904 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
20905
20906         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20907         (MINUS_ZERO_INIT): Likewise.
20908         (PLUS_INFTY_INIT): Likewise.
20909         (MINUS_INFTY_INIT): Likewise.
20910         (QNAN_VALUE_INIT): Likewise.
20911         (MAX_VALUE_INIT): Likewise.
20912         (MIN_VALUE_INIT): Likewise.
20913         (MIN_SUBNORM_VALUE_INIT): Likewise.
20914         (plus_zero): Initialize with PLUS_ZERO_INIT.
20915         (minus_zero): Initialize with MINUS_ZERO_INIT.
20916         (plus_infty): Initialize with PLUS_INFTY_INIT.
20917         (minus_infty): Initialize with MINUS_INFTY_INIT.
20918         (qnan_value): Initialize with QNAN_VALUE_INIT.
20919         (max_value): Initialize with MAX_VALUE_INIT.
20920         (min_value): Initialize with MIN_VALUE_INIT.
20921         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20922
20923         * math/libm-test.inc (RUN_TEST_if_f): New macro.
20924         (jn_test): Use TEST_if_f instead of TEST_ff_f.
20925         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20926         (yn_test): Use TEST_if_f instead of TEST_ff_f.
20927
20928         * math/libm-test.inc (RUN_TEST_f_f): New macro.
20929         (RUN_TEST_2_f): Likewise.
20930         (RUN_TEST_ff_f): Likewise.
20931         (RUN_TEST_fi_f): Likewise.
20932         (RUN_TEST_fl_f): Likewise.
20933         (RUN_TEST_fff_f): Likewise.
20934         (RUN_TEST_c_f): Likewise.
20935         (RUN_TEST_f_f1): Likewise.
20936         (RUN_TEST_fF_f1): Likewise.
20937         (RUN_TEST_fI_f1): Likewise.
20938         (RUN_TEST_ffI_f1): Likewise.
20939         (RUN_TEST_c_c): Likewise.
20940         (RUN_TEST_cc_c): Likewise.
20941         (RUN_TEST_f_i): Likewise.
20942         (RUN_TEST_f_i_tg): Likewise.
20943         (RUN_TEST_ff_i_tg): Likewise.
20944         (RUN_TEST_f_b): Likewise.
20945         (RUN_TEST_f_b_tg): Likewise.
20946         (RUN_TEST_f_l): Likewise.
20947         (RUN_TEST_f_L): Likewise.
20948         (RUN_TEST_sincos): Likewise.
20949         * math/gen-libm-test.pl (new_test): Take new argument to indicate
20950         whether to show exceptions.  Do not include ");\n" in return
20951         value.
20952         (special_functions): Output call to RUN_TEST_sincos instead of
20953         check_float calls.  Update calls to new_test.
20954         (parse_args): Output call to single RUN_TEST_* macro instead of
20955         check_* calls and other assignments.  Update calls to new_test.
20956
20957         [BZ #2546]
20958         [BZ #2560]
20959         [BZ #5159]
20960         [BZ #15426]
20961         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20962         input to result for tgamma overflow.
20963         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20964         (gamma_coeff): New variable.
20965         (NCOEFF): New macro.
20966         (gamma_positive): New function.
20967         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20968         underflow here.  Use gamma_positive instead of exp (lgamma) for
20969         other arguments.
20970         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20971         (gamma_coeff): New variable.
20972         (NCOEFF): New macro.
20973         (gammaf_positive): New function.
20974         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20975         underflow here.  Use gamma_positive instead of exp (lgamma) for
20976         other arguments.
20977         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20978         (gamma_coeff): New variable.
20979         (NCOEFF): New macro.
20980         (gammal_positive): New function.
20981         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20982         underflow here.  Use gamma_positive instead of exp (lgamma) for
20983         other arguments.
20984         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20985         (gamma_coeff): New variable.
20986         (NCOEFF): New macro.
20987         (gammal_positive): New function.
20988         (__ieee754_gammal_r): Handle positive infinity, overflow and
20989         underflow here.  Handle NaN the same as positive infinity.  Remove
20990         check x < 0xffffffff for negative integers.  Use gamma_positive
20991         instead of exp (lgamma) for other arguments.
20992         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20993         (gamma_coeff): New variable.
20994         (NCOEFF): New macro.
20995         (gammal_positive): New function.
20996         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20997         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20998         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20999         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21000         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21001         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21002         * sysdeps/generic/math_private.h (__gamma_productf): New
21003         prototype.
21004         (__gamma_product): Likewise.
21005         (__gamma_productl): Likewise.
21006         * math/Makefile (libm-calls): Add gamma_product.
21007         * math/libm-test.inc (tgamma_test): Add more tests.
21008         * sysdeps/i386/fpu/libm-test-ulps: Update.
21009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21010
21011 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
21012
21013         * benchtests/bench-skeleton.c (main): Preheat CPU.
21014
21015 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
21016
21017         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21018
21019 2013-05-07  Roland McGrath  <roland@hack.frob.com>
21020
21021         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21022         and _dl_skip_args_internal.
21023
21024 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
21025
21026         * manual/message.texi (Message Translation): Talk about users.
21027         Message to key mapping impacts design.
21028
21029 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21030
21031         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21032
21033         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21034
21035         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21036         * sysdeps/wordsize-64/glob64.c: ... here.
21037
21038         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21039         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21040         New macros.
21041
21042         * debug/getlogin_r_chk.c: Moved to ...
21043         * login/getlogin_r_chk.c: ... here.
21044         * debug/Makefile (routines): Move getlogin_r_chk to ...
21045         * login/Makefile (routines): ... here.
21046         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21047         * login/Versions (libc: GLIBC_2.4): ... here.
21048
21049         * io/poll.c (__poll): Renamed from poll.
21050         Add libc_hidden_def.
21051         (poll): Define as weak alias.
21052
21053         * debug/ptsname_r_chk.c: Moved to ...
21054         * login/ptsname_r_chk.c: ... here.
21055         * debug/Makefile (routines): Move ptsname_r_chk to ...
21056         * login/Makefile (routines): ... here.
21057         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21058         * login/Versions (libc: GLIBC_2.4): ... here.
21059
21060         * posix/getlogin.c: Moved to ...
21061         * login/getlogin.c: ... here.
21062         * posix/getlogin_r.c: Moved to ...
21063         * login/getlogin_r.c: ... here.
21064         * posix/getlogin_r.c: Moved to ...
21065         * login/getlogin_r.c: ... here.
21066         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21067         * login/Makefile (routines): ... here.
21068         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21069         * login/Versions (libc: GLIBC_2.0): ... here.
21070
21071         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21072         (setrlimit): Define as weak alias.
21073
21074         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21075         Call __ names for open, ftruncate, and close.
21076         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21077         (truncate): Define as weak alias.
21078
21079 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
21080
21081         * math/gen-libm-test.pl (parse_args): Initialize x before each
21082         test of frexp, modf and remquo.
21083
21084         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21085         test signgam value.
21086
21087 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21088
21089         [BZ #15418]
21090         [BZ #15419]
21091         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21092         internal tests.
21093         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21094
21095 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21096
21097         * elf/dl-writev.h: New file.
21098         * elf/dl-misc.c: Include it.
21099         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21100         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21101
21102 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
21103
21104         * math/libm-test.inc (noXFails): Remove variable.
21105         (noXPasses): Likewise.
21106         (BUILD_COMPLEX_INT): Remove macro.
21107         (print_screen): Remove xfail argument.
21108         (print_screen_max_error): Likewise.
21109         (update_stats): Likewise.
21110         (print_max_error): Likewise.  Update calls to other affected
21111         functions.
21112         (print_complex_max_error): Likewise.
21113         (test_single_exception): Update calls to print_screen.
21114         (test_single_errno): Likewise.
21115         (check_float_internal): Remove xfail argument.  Update calls to
21116         other affected functions.
21117         (check_float): Likewise.
21118         (check_complex): Likewise.
21119         (check_int): Likewise.
21120         (check_long): Likewise.
21121         (check_bool): Likewise.
21122         (check_longlong): Likewise.
21123         (main): Don't print noXFails and noXPasses.
21124         * math/gen-libm-test.pl (top level): Don't mention expected
21125         failure handling in comment.
21126         (new_test): Don't handle expected failures.
21127         (parse_args): Don't mention expected failure handling in comment.
21128         (generate_testfile): Don't handle expected failures.
21129         (parse_ulps): Likewise.
21130         (print_ulps_file): Likewise.
21131         (get_failure): Remove function.
21132         (output_test): Don't handle expected failures.
21133         * make/README.libm-test: Don't mention expected failure handling.
21134
21135         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
21136         (minus_zero): Likewise.
21137         (plus_infty): Likewise.
21138         (minus_infty): Likewise.
21139         (qnan_value): Likewise.
21140         (max_value): Likewise.
21141         (min_value): Likewise.
21142         (min_subnorm_value): Likewise.
21143         (initialize): Do not initialize those variables dynamically.
21144
21145 2013-05-03  Roland McGrath  <roland@hack.frob.com>
21146
21147         * io/open.c (__open_2): Moved to ...
21148         * io/open_2.c: ... this new file.
21149         * io/open64.c (__open64_2): Moved to ...
21150         * io/open64_2.c: ... this new file.
21151         * io/openat.c (__openat_2): Moved to ...
21152         * io/openat_2.c: ... this new file.
21153         * io/openat64.c (__openat64_2): Moved to ...
21154         * io/openat64_2.c: ... this new file.
21155         * io/Makefile (routines): Add them.
21156         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21157         * sysdeps/unix/sysv/linux/open_2.c: File removed.
21158         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21159         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21160         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21161         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21162         (__openat64): Add hidden_ver.
21163         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21164         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21165
21166         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21167         Separately conditionalize setting of GLRO(dl_sysinfo) so
21168         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21169         as well, but the actual setting is only under [NEED_DL_SYSINFO].
21170
21171 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21172
21173         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21174         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21175         definition.
21176         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21177         * sysdeps/unix/sysv/linux/powerpc/init-first.c
21178         (_libc_vdso_platform_setup): Add __vdso_time initialization.
21179         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21180         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21181
21182 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
21183
21184         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21185         test signgam value.
21186
21187         * math/libm-test.inc (hypot_test): Do not use
21188         IGNORE_ZERO_INF_SIGN.
21189
21190 2013-05-03  Andreas Jaeger  <aj@suse.de>
21191
21192         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21193         Linux 3.9.
21194         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21195         (PF_MAX): Adjust for VSOCK change.
21196
21197 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21198
21199         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21200
21201 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
21202
21203         [BZ #15264]
21204         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21205         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21206         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21207
21208 2013-05-02  David S. Miller  <davem@davemloft.net>
21209
21210         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21211
21212 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
21213
21214         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21215
21216 2013-05-01  Roland McGrath  <roland@hack.frob.com>
21217
21218         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21219
21220 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
21221
21222         [BZ #14952]
21223         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21224         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21225         Use __attribute__ ((__gnu_inline__)).
21226         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21227         Don't use __attribute__ ((__gnu_inline__)).
21228
21229 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
21230
21231         [BZ #15423]
21232         * math/s_catan.c (__catan): Handle small real or imaginary part of
21233         input specially to avoid spurious underflow.
21234         * math/s_catanf.c (__catanf): Likewise.
21235         * math/s_catanh.c (__catanh): Likewise.
21236         * math/s_catanhf.c (__catanhf): Likewise.
21237         * math/s_catanhl.c (__catanhl): Likewise.
21238         * math/s_catanl.c (__catanl): Likewise.
21239         * math/libm-test.inc (catan_test): Add more tests.
21240         (catanh_test): Likewise.
21241         * sysdeps/i386/fpu/libm-test-ulps: Update.
21242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21243
21244 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21245
21246         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21247
21248 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
21249
21250         [BZ #15416]
21251         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21252         accurately for denominator in atan2.
21253         * math/s_catanf.c (__catanf): Likewise.
21254         * math/s_catanh.c (__catanh): Likewise.
21255         * math/s_catanhf.c (__catanhf): Likewise.
21256         * math/s_catanhl.c (__catanhl): Likewise.
21257         * math/s_catanl.c (__catanl): Likewise.
21258         * math/libm-test.inc (catan_test): Add more tests.
21259         (catanh_test): Likewise.
21260         * sysdeps/i386/fpu/libm-test-ulps: Update.
21261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21262
21263 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21264
21265         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21266
21267         * benchtests/Makefile (bench): Remove slow benchmarks.
21268         * benchtests/atan-inputs: Add slow benchmark inputs.
21269         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21270         (BENCH_FUNC): Accept variant offset.
21271         (VARIANT): Define.
21272         * benchtests/bench-skeleton.c (main): Run benchmark for each
21273         variant.
21274         * benchtests/cos-inputs: Add slow benchmark inputs.
21275         * benchtests/exp-inputs: Likewise.
21276         * benchtests/pow-inputs: Likewise.
21277         * benchtests/sin-inputs: Likewise.
21278         * benchtests/slowatan-inputs: Remove.
21279         * benchtests/slowatan.c: Remove.
21280         * benchtests/slowcos-inputs: Remove.
21281         * benchtests/slowcos.c: Remove.
21282         * benchtests/slowexp-inputs: Remove.
21283         * benchtests/slowexp.c: Remove.
21284         * benchtests/slowpow-inputs: Remove.
21285         * benchtests/slowpow.c: Remove.
21286         * benchtests/slowsin-inputs: Remove.
21287         * benchtests/slowsin.c: Remove.
21288         * benchtests/slowtan-inputs: Remove.
21289         * benchtests/slowtan.c: Remove.
21290         * benchtests/tan-inputs: Add slow benchmark inputs.
21291         * scripts/bench.pl: Parse comments and directives.
21292
21293         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
21294         in CPPFLAGS.
21295         ($(objpfx)bench-%.c): Remove *-ITER.
21296         * benchtests/bench-modf.c: Remove definition of ITER.
21297         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21298         (main): Loop for DURATION seconds instead of fixed number of
21299         iterations.
21300         * scripts/bench.pl: Don't expect iterations in parameters.
21301
21302 2013-04-29  Roland McGrath  <roland@hack.frob.com>
21303
21304         * io/fchdir.c (__fchdir): Renamed from fchdir.
21305         (fchdir): Define as weak alias.
21306
21307 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21308
21309         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21310         (ERRNO_EDOM): Likewise.
21311         (ERRNO_ERANGE): Likewise.
21312         (noErrnoTests): New variable.
21313         (init_max_error): Set errno to 0.
21314         (test_single_errno): New function.
21315         (test_errno): Likewise.
21316         (check_float_internal): Call test_errno.  Set errno to 0.
21317         (check_complex): Refer to errno tests in comment.
21318         (check_int): Call test_errno.  Set errno to 0.
21319         (check_long): Likewise.
21320         (check_bool): Likewise.
21321         (check_longlong): Likewise.
21322         (cos_test): Use ERRNO_* flags for errno tests instead of
21323         check_int.
21324         (expm1_test): Likewise.
21325         (fmod_test): Likewise.
21326         (ilogb_test): Likewise.
21327         (lgamma_test): Likewise.
21328         (pow_test): Likewise.
21329         (remainder_test): Likewise.
21330         (sin_test): Likewise.
21331         (tan_test): Likewise.
21332         (yn_test): Likewise.
21333         (initialize): Set errno to 0.
21334         (main): Print number of errno tests.
21335         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21336
21337 2013-04-29  Andreas Jaeger  <aj@suse.de>
21338
21339         [BZ #15084]
21340         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21341         and RES_USEVC.
21342
21343         [BZ #15085]
21344         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21345         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21346         unimplemented.
21347
21348         [BZ #15380]
21349         * stdlib/random.c (__initstate): Return NULL if
21350         __initstate fails.
21351
21352         [BZ #15086]
21353         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21354         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21355         RES_SNGLKUPREOP.
21356
21357 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21358
21359         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21360
21361 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21362
21363         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21364         of individual tests.
21365         (casin_test): Likewise.
21366         (casinh_test): Likewise.
21367
21368 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
21369
21370         [BZ #15409]
21371         * math/s_catan.c (__catan): Handle arguments with large real or
21372         imaginary part separately without squaring.
21373         * math/s_catanf.c (__catanf): Likewise.
21374         * math/s_catanh.c (__catanh): Likewise.
21375         * math/s_catanhf.c (__catanhf): Likewise.
21376         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21377         and redefine.
21378         (__catanhl): Handle arguments with large real or imaginary part
21379         separately without squaring.
21380         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21381         and redefine.
21382         (__catanl): Handle arguments with large real or imaginary part
21383         separately without squaring.
21384         * math/libm-test.inc (catan_test): Add more tests.
21385         (catanh_test): Likewise.
21386         * sysdeps/i386/fpu/libm-test-ulps: Update.
21387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21388
21389 2013-04-27  Andreas Jaeger  <aj@suse.de>
21390
21391         [BZ #15007]
21392         * stdlib/stdlib.h: Update guards for qecvt.
21393         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21394         <stdlib.h>.
21395
21396 2013-04-27  Allan McRae  <allan@archlinux.org>
21397
21398         * sysdeps/i386/fpu/libm-test-ulps: Update.
21399
21400 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
21401
21402         [BZ #15406]
21403         * math/s_catan.c: Include <float.h>.
21404         (__catan): Ensure underflow exception occurs for underflowed
21405         result.
21406         * math/s_catanf.c: Include <float.h>.
21407         (__catanf): Ensure underflow exception occurs for underflowed
21408         result.
21409         * math/s_catanh.c: Include <float.h>.
21410         (__catanh): Ensure underflow exception occurs for underflowed
21411         result.
21412         * math/s_catanhf.c: Include <float.h>.
21413         (__catanhf): Ensure underflow exception occurs for underflowed
21414         result.
21415         * math/s_catanhl.c: Include <float.h>.
21416         (__catanhl): Ensure underflow exception occurs for underflowed
21417         result.
21418         * math/s_catanl.c: Include <float.h>.
21419         (__catanl): Ensure underflow exception occurs for underflowed
21420         result.
21421         * math/libm-test.inc (catan_test): Add more tests.
21422         (catanh_test): Likewise.
21423
21424         [BZ #15405]
21425         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21426         underflowed result.
21427         * math/s_ccoshf.c (__ccoshf): Likewise.
21428         * math/s_ccoshl.c (__ccoshl): Likewise.
21429         * math/s_csin.c (__csin): Likewise.
21430         * math/s_csinf.c (__csinf): Likewise.
21431         * math/s_csinh.c (__csinh): Likewise.
21432         * math/s_csinhf.c (__csinhf): Likewise.
21433         * math/s_csinhl.c (__csinhl): Likewise.
21434         * math/s_csinl.c (__csinl): Likewise.
21435         * math/libm-test.inc (ccos_test): Add more tests.
21436         (ccosh_test): Likewise.
21437         (csin_test): Likewise.
21438         (csinh_test): Likewise.
21439
21440 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21441
21442         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21443         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21444         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21445         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21446         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21447         powerpc/power5+/fpu folders.
21448         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21449
21450
21451 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
21452
21453         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21454
21455 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
21456
21457         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21458         additions to variable.
21459         [$(config-machine) = x86_64] (modules-names): Likewise.
21460         ($(objpfx)tst-audit3): Remove dependency.
21461         ($(objpfx)tst-audit3.out): Likewise.
21462         ($(objpfx)tst-audit4): Likewise.
21463         ($(objpfx)tst-audit4.out): Likewise.
21464         ($(objpfx)tst-audit5): Likewise.
21465         ($(objpfx)tst-audit5.out): Likewise.
21466         ($(objpfx)tst-audit6): Likewise.
21467         ($(objpfx)tst-audit6.out): Likewise.
21468         ($(objpfx)tst-audit7): Likewise.
21469         ($(objpfx)tst-audit7.out): Likewise.
21470         (tst-audit3-ENV): Remove variable.
21471         (tst-audit4-ENV): Likewise.
21472         (tst-audit5-ENV): Likewise.
21473         (tst-audit6-ENV): Likewise.
21474         (tst-audit7-ENV): Likewise.
21475         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21476         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21477         addition to variable.
21478         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21479         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21480         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21481         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21482         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21483         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21484         tst-audit3, tst-audit4 and tst-audit5.
21485         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21486         tst-audit6 and tst-audit7.
21487         [$(subdir) = elf] (modules-names): Add audit modules for those
21488         tests.
21489         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21490         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21491         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21492         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21493         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21494         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21495         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21496         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21497         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21498         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21499         [$(subdir) = elf] (tst-audit3-ENV): New variable.
21500         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21501         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21502         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21503         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21504         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21505         Likewise.
21506         [$(subdir) = elf && $(config-cflags-avx) = yes]
21507         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21508         [$(subdir) = elf && $(config-cflags-avx) = yes]
21509         (CFLAGS-tst-auditmod4a.c): Likewise.
21510         [$(subdir) = elf && $(config-cflags-avx) = yes]
21511         (CFLAGS-tst-auditmod4b.c): Likewise.
21512         [$(subdir) = elf && $(config-cflags-avx) = yes]
21513         (CFLAGS-tst-auditmod6b.c): Likewise.
21514         [$(subdir) = elf && $(config-cflags-avx) = yes]
21515         (CFLAGS-tst-auditmod6c.c): Likewise.
21516         [$(subdir) = elf && $(config-cflags-avx) = yes]
21517         (CFLAGS-tst-auditmod7b.c): Likewise.
21518         * elf/tst-audit3.c: Move to ...
21519         * sysdeps/x86_64/tst-audit3.c: ... here.
21520         * elf/tst-audit4.c: Move to ...
21521         * sysdeps/x86_64/tst-audit4.c: ... here.
21522         * elf/tst-audit5.c: Move to ...
21523         * sysdeps/x86_64/tst-audit5.c: ... here.
21524         * elf/tst-audit6.c: Move to ...
21525         * sysdeps/x86_64/tst-audit6.c: ... here.
21526         * elf/tst-audit7.c: Move to ...
21527         * sysdeps/x86_64/tst-audit7.c: ... here.
21528         * elf/tst-auditmod3a.c: Move to ...
21529         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21530         * elf/tst-auditmod3b.c: Move to ...
21531         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21532         * elf/tst-auditmod4a.c: Move to ...
21533         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21534         * elf/tst-auditmod4b.c: Move to ...
21535         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21536         * elf/tst-auditmod5a.c: Move to ...
21537         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21538         * elf/tst-auditmod5b.c: Move to ...
21539         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21540         * elf/tst-auditmod6a.c: Move to ...
21541         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21542         * elf/tst-auditmod6b.c: Move to ...
21543         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21544         * elf/tst-auditmod6c.c: Move to ...
21545         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21546         * elf/tst-auditmod7a.c: Move to ...
21547         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21548         * elf/tst-auditmod7b.c: Move to ...
21549         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21550
21551 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
21552
21553         [BZ #15366]
21554         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21555         define unconditionally.
21556         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21557         define unconditionally.
21558         (INT8_C, INT16_C, etc.): Likewise.
21559
21560 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
21561
21562         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21563         __ehdr_start with hidden visibility.
21564
21565         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21566
21567 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
21568
21569         * math/libm-test.inc (cos_test): Use accurate hex constants.
21570         (sincost_test): Likewise.
21571
21572 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
21573
21574         * math/libm-test.inc (catan_test): Add more tests.
21575         (catanh_test): Likewise.
21576
21577         * math/s_catanf.c (__catanf): Use suffixed floating-point
21578         constants.
21579         * math/s_catanhf.c (__catanhf): Likewise.
21580         * math/s_catanhl.c (__catanhl): Likewise.
21581         * math/s_catanl.c (__catanl): Likewise.
21582
21583         [BZ #15394]
21584         * math/s_catan.c (__catan): Calculate imaginary part of result
21585         with log1p not log unless computing log of number close to 0.
21586         * math/s_catanf.c (__catanf): Likewise.
21587         * math/s_catanl.c (__catanl): Likewise.
21588         * math/s_catanh.c (__catanh): Calculate real part of result with
21589         log1p not log unless computing log of number close to 0.
21590         * math/s_catanhf.c (__catanhf): Likewise.
21591         * math/s_catanhl.c (__catanhl): Likewise.
21592         * math/libm-test.inc (catan_test): Add more tests.
21593         (catanh_test): Likewise.
21594         * sysdeps/i386/fpu/libm-test-ulps: Update.
21595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21596
21597 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21598
21599         * benchtests/Makefile: Mention files in which fast and slow
21600         paths of math functions are implemented.
21601
21602 2013-04-23  Roland McGrath  <roland@hack.frob.com>
21603
21604         * sysdeps/posix/timespec_get.c: New file.
21605
21606 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21607
21608         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21609         POWER.
21610         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21611         for POWER.
21612         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21613         powerpc/power5/fpu folders.
21614         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21615         * benchtests/Makefile: Add modf testcase.
21616         * benchtests/bench-modf.c: New file: Benchmark test for mo
21617
21618 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21619
21620         [BZ #14888]
21621         * time/Makefile (tests): Add tst-strptime-whitespace.
21622         * time/strptime_l.c (get_number): Use ISSPACE.
21623         (__strptime_internal): Likewise.
21624         * time/tst-strptime-whitespace.c: New test case.
21625
21626 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
21627
21628         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21629         member.
21630         (_nss_files_init): Set it here.
21631
21632 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
21633
21634         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21635         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21636         unsigned.
21637
21638 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
21639
21640         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21641
21642 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21643
21644         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21645         size just once.
21646
21647 2013-04-21  David S. Miller  <davem@davemloft.net>
21648
21649         * po/ru.po: Update Russion translation from translation project.
21650
21651 2013-04-17  Adam Conrad  <adconrad@0c3.net>
21652
21653         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21654         and setfsgid.
21655
21656 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
21657
21658         * configure.in: Remove i386 configure warning. Remove i386 case.
21659         * configure: Regenerate.
21660         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21661         Add example to error message.
21662         * sysdeps/i386/configure: Regenerate.
21663
21664 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21665
21666         * benchtests/Makefile (bench): Add cos, tan, slowcos and
21667         slowtan.
21668         * benchtests/cos-inputs: New file.
21669         * benchtests/slowcos-inputs: New file.
21670         * benchtests/slowcos.c: New file.
21671         * benchtests/slowtan-inputs: New file.
21672         * benchtests/slowtan.c: New file.
21673         * benchtests/tan-inputs: New file.
21674
21675 2013-04-16  Roland McGrath  <roland@hack.frob.com>
21676
21677         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21678         considered kosher.
21679
21680 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21681
21682         * benchtests/Makefile: Include cppflags-iterator.mk to add
21683         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21684
21685         * Makefile.in (bench-clean): New target.
21686         * benchtests/Makefile (bench-clean): Likewise.
21687
21688 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
21689
21690         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21691
21692 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
21693
21694         * stdio-common/tstdiomisc.c: Fix coding-style violation.
21695
21696 2013-04-15  Andreas Schwab  <schwab@suse.de>
21697
21698         * nscd/grpcache.c (cache_addgr): Properly check for short write.
21699         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21700         * nscd/pwdcache.c (cache_addpw): Likewise.
21701         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
21702         more than recsize.
21703
21704 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21705
21706         * benchtests/Makefile (bench): Write all output to
21707         bench-out.tmp together.
21708
21709 2013-04-15  Andreas Schwab  <schwab@suse.de>
21710
21711         * nscd/nscd.c (main): Don't fork again after closing files.
21712
21713 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21714
21715         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21716
21717         * benchtests/Rules (bench-deps): Collect dependencies into a
21718         single variable.  Add Makefile to dependencies.
21719         ($(objpfx)bench-%.c): Depend on bench-deps.
21720
21721 2013-04-12  Roland McGrath  <roland@hack.frob.com>
21722             Xavier Roche  <roche+kml2@exalead.com>
21723
21724         [BZ #15361]
21725         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21726         just that it's a file descriptor.
21727         * manual/llio.texi (Synchronizing AIO Operations): Update description
21728         for EBADF error from aio_fsync.
21729
21730 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21731
21732         * Rules (bench): Move target definition...
21733         * benchtests/Makefile: ... here.
21734
21735 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
21736
21737         * math/libm-test.inc (cos_test): Fix PI/2 test.
21738         (sincos_test): Likewise.
21739         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21740         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21741
21742 2013-04-11  Andreas Schwab  <schwab@suse.de>
21743
21744         [BZ #13988]
21745         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21746         accept exponent character only when digits were seen.
21747         * stdio-common/Makefile (tests): Add bug26.
21748         * stdio-common/bug26.c: New file.
21749
21750         [BZ #14293]
21751         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21752         non-freeable.
21753
21754 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21755
21756         * Makeconfig (rtld-prefix): Define built linker prefix.
21757         * Rules (run-bench): Use it.
21758         * math/Makefile (run-regen-ulps): Likewise.
21759
21760         * Rules (bench): Remove eval.
21761
21762 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21763             Roland McGrath  <roland@hack.frob.com>
21764             Ondrej Bilka  <neleai@seznam.cz>
21765
21766         [BZ #15346]
21767         * time/getdate.c: Include ctype.h and alloca.h.
21768         (__getdate_r): Trim leading and trailing spaces of input.
21769         * time/tst-getdate.c (tests): Add tests with leading and
21770         trailing spaces.
21771
21772 2013-04-08  Roland McGrath  <roland@hack.frob.com>
21773
21774         [BZ #14280]
21775         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21776         when computing value.
21777
21778 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21779
21780         * math/README.libm-test (How can I generate "libm-test-ulps"?):
21781         Use testrun.sh to run libm tests.
21782
21783         [BZ #15309]
21784         * elf/dl-open.c (dl_open_worker): memset all of seen array.
21785
21786 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
21787
21788         [BZ #15264]
21789         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21790
21791 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21792
21793         * Makefile.in (regen-ulps): New target.
21794         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21795         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21796         [ifneq (no,$(PERL)] (regen-ulps): New target.
21797         [ifeq (no,$(PERL)] (regen-ulps): New target.
21798         * math/libm-test.inc (ulps_file_name): Define.
21799         (output_dir): New variable.
21800         (options): Add "output-dir" option.
21801         (parse_opt): Handle 'o' case.
21802         (main): If output_dir is non-NULL use it as a prefix
21803         otherwise use "".
21804         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21805
21806 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21807
21808         [BZ #10060, #10062]
21809         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21810         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21811         fail configure if __sync_val_compare_and_swap is not inlined.
21812         * sysdeps/i386/configure: Regenerate.
21813         * configure.in: Build for i686 when configured for i386.
21814         * configure: Regenerate.
21815         * README: Remove i386 reference.
21816
21817 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21818
21819         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21820         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21821
21822 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
21823
21824         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21825         (lmsnanval): New variables.
21826         (F): Add conversion tests.
21827         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21828         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21829
21830         * stdio-common/tstdiomisc.c (F): Properly collect individual
21831         tests' results.
21832
21833         [BZ #14686, #15336]
21834         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21835         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21836         Instead, use input NaN values or generate a qNaN by arithmetic
21837         operation.  Also fix bugs to comply with the standard.
21838         * math/libm-test.inc (remainder_test): Add more tests.
21839
21840         [BZ #15335, #15342]
21841         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21842         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21843         input NaN values or generate a qNaN by arithmetic operation.
21844
21845         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21846         unreachable code.
21847
21848         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21849         definitions.
21850
21851 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
21852
21853         [BZ #14478]
21854         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21855         underflowed result.
21856         * math/s_cexpf.c (__cexpf): Likewise.
21857         * math/s_cexpl.c (__cexpl): Likewise.
21858         * math/libm-test.inc (cexp_test): Add more tests.
21859
21860 2013-04-03  Andreas Schwab  <schwab@suse.de>
21861
21862         [BZ #15330]
21863         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21864         order arrays from heap if bigger than alloca cutoff.
21865
21866 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
21867
21868         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21869         (SNAN_TESTS_double): Refer to GCC PR56831.
21870         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21871         GCC PR56828.
21872
21873 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21874
21875         * Rules (bench): Move bench.out after the run is complete.
21876
21877         * Rules (bench): Echo currently running benchmark.
21878
21879         * benchtests/Makefile (bench): Add atan and slowatan.
21880         * benchtests/atan-inputs: New file.
21881         * benchtests/slowatan-inputs: New file.
21882         * benchtests/slowatan.c: New file.
21883
21884         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21885         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21886         its value.
21887
21888         [BZ #15305]
21889         * sysdeps/unix/sysv/linux/kernel-features.h
21890         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21891         __ASSUME_XFS_RESTRICTED_CHOWN.
21892         * sysdeps/unix/sysv/linux/pathconf.c
21893         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21894         Save and restore errno.
21895
21896 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
21897
21898         [BZ #15327]
21899         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21900         arguments using __kernel_casinh.
21901         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21902         arguments using __kernel_casinhf.
21903         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21904         arguments using __kernel_casinhl.
21905         * math/libm-test.inc (cacosh_test): Add more tests.
21906         * sysdeps/i386/fpu/libm-test-ulps: Update.
21907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21908
21909 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21910
21911         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21912         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21913
21914         * bench/Makefile (bench): Add sin and slowsin.
21915         * benchtests/sin-inputs: New file.
21916         * benchtests/slowsin-inputs: New file.
21917         * benchtests/slowsin.c: New file.
21918
21919         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21920         (bench): Add slowexp and slowpow.
21921         (exp-ITER): Increase iterations.
21922         (pow-ITER): Likewise.
21923         * benchtests/exp-inputs: Change input.
21924         * benchtests/pow-inputs: Likewise.
21925         * benchtests/slowexp-inputs: New file.
21926         * benchtests/slowexp.c: New file.
21927         * benchtests/slowpow-inputs: New file.
21928         * benchtests/slowpow.c: New file.
21929
21930 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21931
21932         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21933         instructions.
21934         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21935         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21936         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21937         * benchtests/Makefile: Add rint benchtest.
21938         * benchtests/rint-inputs: Input for rint benchtest.
21939
21940 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
21941
21942         * Versions.def (libm): Add GLIBC_2.18.
21943         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21944         hidden libm prototypes.
21945         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21946         * math/Makefile (libm-calls): Add s_issignaling.
21947         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21948         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
21949         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21950         declaration.
21951         * math/math.h [__USE_GNU] (issignaling): New macro.
21952         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21953         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21954         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21955         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21956         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21957         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21958         * manual/arith.texi (issignaling): New section.
21959         * manual/libm-err-tab.pl (@all_functions): Update comment.
21960         * math/gen-libm-test.pl (parse_args): Apply special handling for
21961         issignaling.
21962         * math/libm-test.inc (print_float, issignaling_test): New
21963         functions.
21964         (check_float_internal): Add issignaling checks.
21965         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21966         default definition.
21967         * sysdeps/powerpc/math-tests.h: New file.
21968         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21969         tests.
21970         * math/test-snan.c (TEST_FUNC): Likewise.
21971
21972 2013-03-30  David S. Miller  <davem@davemloft.net>
21973
21974         * po/de.po: Update from translation team.
21975
21976 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
21977
21978         [BZ #10357]
21979         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21980         imaginary part less than 1.0 and real part less than 0.5
21981         specially.
21982         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21983         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21984         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21985         (cacos_test): Add more tests.
21986         (casin_test): Likewise.
21987         (casinh_test): Likewise.
21988         * sysdeps/i386/fpu/libm-test-ulps: Update.
21989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21990
21991 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21992
21993         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21994         ONE with its value.
21995
21996         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21997         (__pow_mp): Replace ONE and MONE with their values.
21998         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21999         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22000         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22001         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22002         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22003         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22004
22005         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22006
22007         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22008         (__pow_mp): Replace ZERO and MZERO with their values.
22009         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22010         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22011         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22012         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22013         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22014         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22015         (__sqr): Likewise.
22016
22017         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22018
22019         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22020
22021 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22022
22023         * include/stdlib.h [!SHARED] (__call_tls_dtors):
22024         Declare with __attribute__ ((weak)).
22025         * stdlib/exit.c (__libc_atexit) [!SHARED]:
22026         Call __call_tls_dtors only if it's not NULL.
22027
22028 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22029
22030         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22031         didn't do it already, then set _dl_phdr and _dl_phnum based on the
22032         magic __ehdr_start linker symbol if it's defined.
22033         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22034         them up here if it was already done.
22035
22036         * elf/dl-support.c (_dl_phdr): Make pointer to const.
22037         (_dl_aux_init): Use const in cast when setting it.
22038         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22039         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22040         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22041
22042         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22043         Declare them here.
22044         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22045         * csu/libc-tls.c: Nor here.
22046         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22047
22048         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22049         (__libc_message): Never call vsyslog.
22050
22051 2013-03-28  Alan Modra  <amodra@gmail.com>
22052
22053         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22054         Define as empty.
22055         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22056         Likewise.
22057
22058 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22059
22060         [BZ #15214]
22061         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22062         underflow.
22063         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22064
22065 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22066
22067         [BZ #15304]
22068         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22069         Don't add gid passed as argument.
22070
22071         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22072
22073 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
22074
22075         [BZ #15307]
22076         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22077         imaginary part between 1.0 and 1.5 and real part less than 0.5
22078         specially.
22079         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22080         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22081         * math/libm-test.inc (cacos_test): Add more tests.
22082         (casin_test): Likewise.
22083         (casinh_test): Likewise.
22084         * sysdeps/i386/fpu/libm-test-ulps: Update.
22085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22086
22087 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22088
22089         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22090         constants.
22091         (norm): Likewise.
22092         (denorm): Likewise.
22093         (__dbl_mp): Likewise.
22094         (add_magnitudes): Likewise.
22095         (sub_magnitudes): Likewise.
22096         (__add): Likewise.
22097         (__sub): Likewise.
22098         (__mul): Likewise.
22099         (__sqr): Likewise.
22100         (__inv): Likewise.
22101         (__dvd): Likewise.
22102
22103         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22104         commented code.
22105         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22106         (__dubcos): Likewise.
22107         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22108         (__ieee754_acos): Likewise.
22109         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22110         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22111         (__exp1): Likewise.
22112         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22113         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22114         (log1): Likewise.
22115         (my_log2): Likewise.
22116         (checkint): Likewise.
22117         * sysdeps/ieee754/dbl-64/e_remainder.c
22118         (__ieee754_remainder): Likewise.
22119         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22120         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22121         (bsloww): Likewise.
22122         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22123
22124         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22125         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22126         MANTISSA_STORE_T to store computations on mantissa.  Use
22127         macros for rounding and division.
22128         (denorm): Likewise.
22129         (__dbl_mp): Likewise.
22130         (add_magnitudes): Likewise.
22131         (sub_magnitudes): Likewise.
22132         (__mul): Likewise.
22133         (__sqr): Likewise.
22134         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22135         powers of two in terms of TWOPOW macro.
22136         (mp_no): Make type of mantissa as MANTISSA_T.
22137         [!RADIXI]: Define RADIXI.
22138         [!TWO52]: Define TWO52.
22139         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22140
22141 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22142
22143         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22144         llroundl symbol when building for PPC32.
22145
22146 2013-03-24  Mark H Weaver  <mhw@netris.org>
22147
22148         * manual/arith.texi (Normalization Functions): Fix prototypes for
22149         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22150
22151 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22152
22153         [BZ #13889]
22154         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22155         high value to check if expl overflow.
22156         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22157         to check for underflow and overflow.
22158         * math/libm-test.inc: Add exp test.
22159
22160 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
22161
22162         [BZ #11120]
22163         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22164         with NOT_IN_libc.
22165
22166 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22167
22168         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22169         symbol.
22170
22171 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
22172
22173         * math/gen-libm-test.pl (parse_args, special_functions): Properly
22174         wrap blocks consisting of several statements.
22175
22176         * sysdeps/generic/math-tests.h: New file.
22177         * sysdeps/i386/fpu/math-tests.h: Likewise.
22178         * math/test-snan.c: Include it.
22179         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22180
22181 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22182
22183         [BZ #15285]
22184         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22185         (__ieee754_j0l): Do not improve calculations using cos of twice
22186         input for inputs above LDBL_MAX / 2.0L.
22187         (__ieee754_y0l): Likewise.
22188         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22189         (__ieee754_j1l): Do not improve calculations using cos of twice
22190         input for inputs above LDBL_MAX / 2.0L.
22191         (__ieee754_y1l): Likewise.
22192         * math/libm-test.inc (j0_test): Add another test.
22193         (j1_test): Likewise.
22194         (y0_test): Likewise.
22195         (y1_test): Likewise.
22196         * sysdeps/i386/fpu/libm-test-ulps: Update.
22197
22198 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22199
22200         * Rules ($(objpfx)bench-%.c): Include code from a C source
22201         file.
22202
22203 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22204
22205         [BZ #15287]
22206         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22207         imaginary part 1.0 and real part less than 0.5 specially.
22208         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22209         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22210         * math/libm-test.inc (cacos_test): Add more tests.
22211         (casin_test): Likewise.
22212         (casinh_test): Likewise.
22213         * sysdeps/i386/fpu/libm-test-ulps: Update.
22214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22215
22216 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22217
22218         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22219         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22220
22221 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
22222
22223         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22224         * config.make.in (config-cflags-sse4): Remove variable.
22225         (config-cflags-avx): Likewise.
22226         (config-cflags-sse2avx): Likewise.
22227         (config-cflags-novzeroupper): Likewise.
22228         (config-asflags-i686): Likewise.
22229         (have-mfma4): Likewise.
22230         (have-as-vis3): Likewise.
22231         (MIG): Likewise.
22232         * configure.in (MIG): Do not AC_SUBST.
22233         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22234         (libc_cv_cc_sse4): Do not AC_SUBST.
22235         (libc_cv_cc_avx): Likewise.
22236         (libc_cv_cc_sse2avx): Likewise.
22237         (libc_cv_cc_novzeroupper): Likewise.
22238         (libc_cv_cc_fma4): Likewise.
22239         (libc_cv_as_i686): Likewise.
22240         (libc_cv_sparc_as_vis3): Likewise.
22241         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22242         LIBC_CONFIG_VAR.
22243         (config-asflags-i686): Likewise.
22244         (config-cflags-avx): Likewise.
22245         (config-cflags-sse2avx): Likewise.
22246         (have-mfma4): Likewise.
22247         (config-cflags-novzeroupper): Likewise.
22248         * sysdeps/mach/configure.in (MIG): Likewise.
22249         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22250         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22251         LIBC_CONFIG_VAR.
22252         (config-cflags-avx): Likewise.
22253         (config-cflags-sse2avx): Likewise.
22254         (have-mfma4): Likewise.
22255         (config-cflags-novzeroupper): Likewise.
22256         * configure: Regenerated.
22257         * sysdeps/i386/configure: Likewise.
22258         * sysdeps/mach/configure: Likewise.
22259         * sysdeps/sparc/configure: Likewise.
22260         * sysdeps/x86_64/configure: Likewise.
22261
22262 2013-03-20  Roland McGrath  <roland@hack.frob.com>
22263
22264         [BZ #14812]
22265         * locale/programs/localedef.c (options): Put N_ translation marker
22266         on argument names, not just descriptions.
22267
22268 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22269
22270         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22271
22272 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
22273
22274         [BZ #14176]
22275         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22276
22277 2013-03-19  Roland McGrath  <roland@hack.frob.com>
22278
22279         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22280         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22281         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22282         [!BEFORE_ABORT] (before_abort): New function.
22283         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22284         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22285         (writev_for_fatal): New function.
22286         (WRITEV_FOR_FATAL): New macro; call that.
22287         (backtrace_and_maps): New function.
22288         (BEFORE_ABORT): New macro; call that.
22289         (struct str_list): Type removed.
22290         (__libc_message, __libc_fatal): Functions removed.
22291         Include <sysdeps/posix/libc_fatal.c> instead.
22292
22293 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
22294
22295         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22296         constants.
22297         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22298         double constants.
22299
22300 2013-03-19  Andreas Schwab  <schwab@suse.de>
22301
22302         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22303         * sysdeps/gnu/configure: Regenerate.
22304
22305         * configure.in: Substitute libc_cv_rtlddir.
22306         * configure: Regenerate.
22307         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22308         * Makeconfig (rtlddir, inst_rtlddir): New variables.
22309         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22310         * elf/Makefile (install-others, CFLAGS-interp.c)
22311         (ldso_install, common-ldd-rewrite): Likewise.
22312         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22313         $(inst_slibdir)/$(rtld-installed-name).
22314         * scripts/rellns-sh: Add -p option.
22315         * Makerules (make-shlib-link): Use rellns-sh to get relative name
22316         for source.
22317
22318 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22319
22320         * manual/nptl.texi: Renamed to ...
22321         * manual/threads.texi: ... this.
22322         * manual/Makefile (chapters): Update.
22323
22324 2013-03-18  Roland McGrath  <roland@hack.frob.com>
22325
22326         [BZ #14812]
22327         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22328         on argument names, not just descriptions.
22329         * malloc/memusagestat.c (options): Likewise.
22330         * nss/getent.c (options): Likewise.
22331
22332 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
22333
22334         [BZ #14812]
22335         * iconv/iconv_prog.c (options): Put N_ translation marker
22336         on argument names, not just descriptions.
22337         * iconv/iconvconfig.c (options): Likewise.
22338
22339 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
22340
22341         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22342         implementation which is faster on all x86_64 architectures.
22343         Tested on AMD, Intel Nehalem, SNB, IVB.
22344         * sysdeps/x86_64/strnlen.S: Likewise.
22345
22346         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22347         Remove all multiarch strlen and strnlen versions.
22348         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22349         Remove strlen and strnlen related parts.
22350
22351         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22352         Inline strlen part.
22353         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22354
22355         * sysdeps/x86_64/multiarch/strlen.S: Remove.
22356         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22357         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22358         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22359         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22360         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22361
22362 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
22363
22364         * manual/memory.texi (Malloc Tunable Parameters):
22365         Sort parameters alphabetically. Add comments for missing entries.
22366
22367 2013-03-17  David S. Miller  <davem@davemloft.net>
22368
22369         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22370
22371 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
22372
22373         [BZ #15283]
22374         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22375         for arguments at most half maximum finite value.
22376         * math/libm-test.inc (j0_test): Add more tests.
22377         (j1_test): Likewise.
22378         (y0_test): Likewise.
22379         (y1_test): Likewise.
22380         * sysdeps/i386/fpu/libm-test-ulps: Update.
22381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22382
22383         [BZ #14155]
22384         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22385         1 / x and functions P and Q for arguments above 0x1p256L.
22386         (__ieee754_y0l): Likewise.
22387         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22388         (__ieee754_y1l): Likewise.
22389         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22390         (j1_test): Likewise.
22391         (y0_test): Likewise.
22392         (y1_test): Likewise.
22393
22394 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
22395
22396         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22397         variable.
22398
22399 2013-03-15  Roland McGrath  <roland@hack.frob.com>
22400
22401         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22402         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22403         zero since it's initialized to EXEC_PAGESIZE.
22404
22405         * sysdeps/unix/sysv/linux/ldsodefs.h
22406         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22407         * sysdeps/generic/ldsodefs.h: ... here.
22408
22409 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
22410
22411         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22412
22413         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22414         math/test-snan.c.
22415         * math/test-snan.c: Renamed from
22416         sysdeps/powerpc/fpu/test-powerpc-snan.c.
22417         * math/Makefile (tests): Add test-snan.
22418         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22419         test-powerpc-snan.
22420
22421         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22422         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
22423         functions.
22424         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
22425         __builtin_nan family of functions.
22426         * math/libm-test.inc (initialize): Initialize qnan_value with
22427         __builtin_nan family of functions.
22428         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22429         Remove variables.
22430         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22431         Remove functions.
22432         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
22433         storage class.  Initialize qNaN_var and sNaN_var with
22434         __builtin_nan and __builtin_nans families of functions,
22435         respectively.
22436
22437         * math/libm-test.inc (acosh_test): Also test with qNaN input.
22438         (sqrt_test): Remove duplicate test with qNaN input.
22439         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22440         (round_test, signbit_test, significand_test): Note missing +/-Inf
22441         as well as qNaN tests.
22442
22443         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22444         qNaN_var.  Fix a few strings, too.
22445         * math/libm-test.inc (nan_value): Rename to qnan_value.
22446         * math/gen-libm-test.pl (%beautify): Adjust to that.
22447         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22448         * math/test-misc.c (main): Likewise.
22449         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22450         to __qnan_bytes, and __qnan_union, respectively.
22451         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22452         Likewise.
22453         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22454         and lqnanval, respectively.
22455         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22456         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22457         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22458         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22459
22460         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22461         * math/test-misc.c (main) [__x86_64__]: Enable test for long
22462         doubles.
22463
22464         * math/test-misc.c (main): Fix copy'n'pastos.
22465         * misc/tst-efgcvt.c (special): Likewise.
22466
22467         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22468         Remove declarations.
22469
22470 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22471
22472         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22473         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22474         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22475         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22476
22477 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22478
22479         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22480         macro to return vdso values correctly in IFUNC implementations.
22481         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22482         Optimization by using IFUNC.
22483
22484 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22485             Richard Henderson  <rth@redhat.com>
22486             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22487
22488         * Makefile.in (bench): New target.
22489         * NEWS: Mention the benchmark framework.
22490         * Rules (bench): Likewise.
22491         (binaries-bench): Generate binaries for functions to
22492         benchmark.
22493         * benchtests/Makefile: New makefile for benchmark tests.
22494         * benchtests/bench-skeleton.c: New skeleton file for benchmark
22495         programs.
22496         * benchtests/exp-inputs: New input file for EXP function.
22497         * benchtests/pow-inputs: New input file for POW function.
22498         * scripts/bench.pl: New script to generate source files for
22499         benchmark programs.
22500
22501 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22502
22503         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22504         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22505         computations on mantissa.  Use macros for rounding and
22506         division.
22507         (denorm): Likewise.
22508         (__dbl_mp): Likewise.
22509         (add_magnitudes): Likewise.
22510         (sub_magnitudes): Likewise.
22511         (__mul): Likewise.
22512         (__sqr): Likewise.
22513         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22514         powers of two in terms of TWOPOW macro.
22515         (mp_no): Make type of mantissa as MANTISSA_T.
22516         [!RADIXI]: Define RADIXI.
22517         [!TWO52]: Define TWO52.
22518         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22519
22520         * manual/nptl.texi (cindex): Modify threads to pthreads.
22521
22522 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
22523
22524         * sysdeps/x86_64/preconfigure: Regenerated.
22525
22526 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
22527
22528         [BZ #14155]
22529         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22530         0x1p28 and above.
22531         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22532         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22533         0x1p28 and above.
22534         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22535         * math/libm-test.inc (j0_test): Do not allow one spurious
22536         underflow exception.
22537         (y1_test): Likewise.
22538
22539 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22540
22541         * manual/Makefile (chapters): Add nptl.
22542         * manual/debug.texi (Debugging Support): Add link to Threads
22543         chapter.
22544         * manual/nptl.texi: New file.
22545
22546         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22547
22548 2013-03-14  Petr Baudis  <pasky@ucw.cz>
22549
22550         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22551         for non-NULL pointer before the memory validity test. Pointed
22552         out by Holger Brunck <holger.brunck@keymile.com>.
22553
22554 2013-03-13  Andreas Schwab  <schwab@suse.de>
22555
22556         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22557         instead of .os.
22558
22559 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
22560
22561         * timezone/zic.c: Update from tzcode 2013b.
22562
22563 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
22564
22565         * manual/install.texi (Configuring and compiling):
22566         Mention i686 and i586.
22567         * INSTALL: Regenerate.
22568
22569 2013-03-12  Roland McGrath  <roland@hack.frob.com>
22570
22571         * sysdeps/init_array/elf-init.c: New file.
22572         * csu/elf-init.c
22573         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22574         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22575
22576         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22577         __gmon_start__ as global, but as static with a .preinit_array pointer.
22578         * sysdeps/init_array/gmon-start.c: New file.  Use that.
22579         * sysdeps/init_array/crti.S: New file, empty except for comments.
22580         * sysdeps/init_array/crtn.S: Likewise.
22581
22582 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
22583
22584         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22585         definining bcopy.
22586         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22587         Remove Prefer_SSE_for_memop.
22588         * sysdeps/x86_64/multiarch/init-arch.h: Remove
22589         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22590         HAS_PREFER_SSE_FOR_MEMOP.
22591         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22592         memset-x86-64.
22593         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22594         Remove bzero, memset ifunc support.
22595         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22596         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22597         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22598         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22599
22600 2013-03-11  Andreas Schwab  <schwab@suse.de>
22601
22602         [BZ #15234]
22603         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22604         by SHLIB_COMPAT.
22605         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22606         (GLIBC_2.16): Remove pthread_atfork.
22607
22608 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22609
22610         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22611         (ptestcases.h): Likewise.
22612
22613 2013-03-08  Roland McGrath  <roland@hack.frob.com>
22614
22615         * Makeconfig ($(common-objpfx)config.status): Depend on
22616         sysdeps/*/preconfigure{,.in} too.
22617
22618 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
22619
22620         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22621         (__free_hook): Use void * instead of __malloc_ptr_t.
22622         (__malloc_hook): Likewise.
22623         (__realloc_hook): Likewise.
22624         (__memalign_hook): Likewise.
22625         (__after_morecore_hook): Likewise.
22626         * malloc/arena.c (save_malloc_hook): Likewise.
22627         (save_free_hook): Likewise.
22628         * malloc/hooks.c (malloc_hook_ini): Likewise.
22629         (realloc_hook_ini): Likewise.
22630         (memalign_hook_ini): Likewise.
22631         * malloc/malloc.c (malloc_hook_ini): Likewise.
22632         (realloc_hook_ini): Likewise.
22633         (memalign_hook_ini): Likewise.
22634         (__free_hook): Likewise.
22635         (__malloc_hook): Likewise.
22636         (__realloc_hook): Likewise.
22637         (__memalign_hook): Likewise.
22638         (__libc_malloc): Likewise.
22639         (__libc_free): Likewise.
22640         (__libc_realloc): Likewise.
22641         (__libc_memalign): Likewise.
22642         (__libc_valloc): Likewise.
22643         (__libc_pvalloc): Likewise.
22644         (__libc_calloc): Likewise.
22645         (__posix_memalign): Likewise.
22646         * malloc/morecore.c (__sbrk): Likewise.
22647         (__default_morecore): Likewise.
22648
22649         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22650
22651         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22652         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22653         __malloc_ptrdiff_t.
22654
22655         * malloc/malloc.h (__malloc_size_t): Remove macro.
22656         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22657         __malloc_size_t.
22658         (old_memalign_hook): Likewise.
22659         (old_realloc_hook): Likewise.
22660         (struct hdr): Likewise.
22661         (flood): Likewise.
22662         (mallochook): Likewise.
22663         (memalignhook): Likewise.
22664         (reallochook): Likewise.
22665         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22666         (tr_old_realloc_hook): Likewise.
22667         (tr_old_memalign_hook): Likewise.
22668         (tr_mallochook): Likewise.
22669         (tr_reallochook): Likewise.
22670         (tr_memalignhook): Likewise.
22671
22672 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22673
22674         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22675         default_ldbl_pack and using as default implementation.
22676         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22677         implementation.
22678         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22679         redundant definition.
22680         (ldbl_insert_mantissa): Likewise.
22681         (ldbl_canonicalize): Likewise.
22682         (ldbl_nearbyint): Likewise.
22683         (ldbl_pack): Rename to ldbl_pack_ppc.
22684         (ldbl_unpack): Rename to ldbl_unpack_ppc.
22685         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22686         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22687
22688 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22689
22690         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22691         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22692         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22693         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22694         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22695         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22696         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22697         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22698
22699 2013-03-07  Andreas Jaeger  <aj@suse.de>
22700
22701         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22702         bits/mman-linux.h.
22703
22704 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
22705
22706         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22707         Include mpa.h and declare __MPEXP.
22708         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22709         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22710         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22711         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22712         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22713         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22714         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22715
22716         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22717         (__slowpow): Use long double EXPL and LOGL functions to
22718         compute POW.
22719         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22720         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22721         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22722         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22723         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22724         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22725
22726         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22727         intermediate variable to calculate exponent.
22728         (__sqr): Likewise.
22729         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22730         Likewise.
22731         (__sqr): Likewise.
22732
22733         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22734         [!NO__SQR]: Define __sqr.
22735         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22736         and NO__SQR.  Remove all code except __mul and __sqr.  Include
22737         sysdeps/ieee754/dbl-64/mpa.c.
22738         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22739
22740         [BZ #12723]
22741         * posix/Makefile (tests): Add tst-pathconf.
22742         * posix/tst-pathconf.c: New test case.
22743         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22744         _PC_PIPE_BUF.
22745         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22746
22747 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
22748
22749         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22750
22751 2013-03-06  Andreas Jaeger  <aj@suse.de>
22752
22753         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22754         definition via __MAP_ANONYMOUS.
22755
22756         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22757         it's not part of Linux headers.
22758
22759         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22760         (MAP_HUGE_MASK): Define.
22761
22762         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22763         Define.
22764         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22765         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22766         Define.
22767         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22768         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22769         Define.
22770         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22771         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22772         Define.
22773         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22774
22775         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22776         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22777         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22778         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22779         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22780         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22781
22782         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22783         Handle f2fs.
22784
22785         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22786         Handle f2fs and efivarfs.
22787
22788         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22789         f2fs.
22790
22791         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22792         (EFIVARFS_MAGIC): Add.
22793         (F2FS_LINK_MAX): Add.
22794
22795 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22796
22797         * stdio-common/vfprintf.c: Replace __builtin_expect with
22798         __glibc_unlikely.
22799
22800 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
22801
22802         [BZ #13550]
22803         * sysdeps/generic/bp-sym.h: Remove file.
22804         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22805         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22806         <bp-sym.h> and <bp-asm.h>.
22807         (__longjmp): Don't use BP_SYM.
22808         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22809         and <bp-asm.h>.
22810         (memcpy): Don't use BP_SYM.
22811         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22812         <bp-sym.h> and <bp-asm.h>.
22813         (memcpy): Don't use BP_SYM.
22814         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22815         <bp-asm.h>.
22816         (memcpy): Don't use BP_SYM.
22817         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22818         <bp-asm.h>.
22819         (memset): Don't use BP_SYM.
22820         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22821         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22822         (__bzero): Don't use BP_SYM.
22823         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22824         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22825         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22826         <bp-sym.h> and <bp-asm.h>.
22827         (memcmp): Don't use BP_SYM.  Remove comment about bounded
22828         pointers.
22829         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22830         <bp-sym.h> and <bp-asm.h>.
22831         (memcpy): Don't use BP_SYM.
22832         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22833         <bp-sym.h> and <bp-asm.h>.
22834         (memset): Don't use BP_SYM.
22835         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22836         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22837         (__bzero): Don't use BP_SYM.
22838         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22839         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22840         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22841         <bp-sym.h> and <bp-asm.h>.
22842         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22843         pointers.
22844         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22845         <bp-sym.h> and <bp-asm.h>.
22846         (memcpy): Don't use BP_SYM.
22847         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22848         <bp-sym.h> and <bp-asm.h>.
22849         (memset): Don't use BP_SYM.
22850         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22851         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22852         (__bzero): Don't use BP_SYM.
22853         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22854         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22855         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22856         <bp-sym.h> and <bp-asm.h>.
22857         (__memchr): Don't use BP_SYM.
22858         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22859         <bp-sym.h> and <bp-asm.h>.
22860         (memcmp): Don't use BP_SYM.  Remove comment about bounded
22861         pointers.
22862         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22863         <bp-sym.h> and <bp-asm.h>.
22864         (memcpy): Don't use BP_SYM.
22865         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22866         <bp-sym.h> and <bp-asm.h>.
22867         (__mempcpy): Don't use BP_SYM.
22868         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22869         <bp-sym.h> and <bp-asm.h>.
22870         (__memrchr): Don't use BP_SYM.
22871         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22872         <bp-sym.h> and <bp-asm.h>.
22873         (memset): Don't use BP_SYM.
22874         (__bzero): Likewise.
22875         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22876         <bp-sym.h> and <bp-asm.h>.
22877         (__rawmemchr): Don't use BP_SYM.
22878         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22879         <bp-sym.h> and <bp-asm.h>.
22880         (__STRCMP): Don't use BP_SYM.
22881         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22882         <bp-sym.h> and <bp-asm.h>.
22883         (strchr): Don't use BP_SYM.
22884         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22885         <bp-sym.h> and <bp-asm.h>.
22886         (__strchrnul): Don't use BP_SYM.
22887         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22888         <bp-sym.h> and <bp-asm.h>.
22889         (strlen): Don't use BP_SYM.
22890         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22891         <bp-sym.h> and <bp-asm.h>.
22892         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22893         pointers.
22894         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22895         <bp-sym.h> and <bp-asm.h>.
22896         (__strnlen): Don't use BP_SYM.
22897         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22898         <bp-sym.h> and <bp-asm.h>.
22899         (__GI__setjmp): Don't use BP_SYM.
22900         (_setjmp): Likewise.
22901         (__sigsetjmp): Likewise.
22902         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22903         (L(start_addresses)): Don't use BP_SYM.
22904         (_start): Likewise.
22905         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22906         <bp-asm.h>.
22907         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22908         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22909         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22910         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22911         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22912         <bp-asm.h>.
22913         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22914         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
22915         about bounded pointers.
22916         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22917         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22918         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22919         <bp-asm.h>.
22920         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
22921         about bounded pointers.  Remove GKM FIXME comments.
22922         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22923         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22924         <bp-asm.h>.
22925         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22926         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
22927         Remove GKM FIXME comments.
22928         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22929         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22930         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22931         <bp-asm.h>.
22932         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
22933         about bounded pointers.  Remove GKM FIXME comment.
22934         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22935         and <bp-asm.h>.
22936         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22937         pointers.
22938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22939         <bp-sym.h> and <bp-asm.h>.
22940         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22942         <bp-sym.h> and <bp-asm.h>.
22943         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
22944         comment.
22945
22946 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22947
22948         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22949         call free(NULL).
22950
22951 2013-03-05  David S. Miller  <davem@davemloft.net>
22952
22953         * po/es.po: Update from translation team.
22954
22955 2013-03-05  Andreas Jaeger  <aj@suse.de>
22956
22957         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22958         <bits/mman-linux.h>.
22959         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22960         is fine.
22961         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22962         <bits/mman-linux.h> to end of file.
22963         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22964         is fine.
22965         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22966         <bits/mman-linux.h> to end of file.
22967         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22968         is fine.
22969         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22970         <bits/mman-linux.h> to end of file.
22971
22972         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22973         (MCL_CURRENT, MCL_FUTURE): Define here.
22974
22975 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22976
22977         [BZ #15232]
22978         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22979         attribute_hidden.
22980         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22981
22982 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22983
22984         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22985         fourth parameter needed for rt_sigprocmask syscall.
22986         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22987         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22988         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22989         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22990         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22991         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22992
22993 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
22994
22995         [BZ #13550]
22996         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22997         comment about bounded pointers.
22998         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22999         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23000
23001 2013-03-04  Andreas Jaeger  <aj@suse.de>
23002
23003         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23004         common definitions.
23005
23006         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23007         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23008         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23009         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23010         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23011         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23012
23013 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23014
23015         [BZ #15055]
23016         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23017         __ieee754_sqrl instead of __sqrl.
23018
23019 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
23020
23021         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23022         * sysdeps/powerpc/fpu_control.h: ... here.
23023         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23024         * sysdeps/powerpc/bits/fenvinline.h: ... here.
23025         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23026         * sysdeps/powerpc/bits/mathinline.h: ... here.
23027
23028 2013-03-01  Roland McGrath  <roland@hack.frob.com>
23029
23030         * elf/dl-hwcaps.c (_dl_important_hwcaps):
23031         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23032         to just [NEED_DL_SYSINFO_DSO].
23033         * elf/dl-support.c: Likewise.
23034         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23035         * elf/rtld.c (dl_main): Likewise.
23036         * elf/setup-vdso.h (setup_vdso): Likewise.
23037         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23038         * sysdeps/unix/sysv/linux/dl-sysdep.c
23039         (_dl_discover_osversion): Likewise.
23040
23041 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
23042
23043         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23044         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23045
23046 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23047
23048         * NEWS: Mention libm performance improvements and non-x86 PI
23049         futex support.
23050
23051         * csu/libc-start.c (__pthread_initialize_minimal): Change
23052         function arguments.
23053         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23054
23055 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
23056
23057         [BZ #13550]
23058         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23059         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23060         <bp-sym.h> and <bp-asm.h>.
23061         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23062         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23063         and <bp-asm.h>.
23064         (memcpy): Don't use BP_SYM.
23065         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23066         <bp-asm.h>.
23067         (__mpn_add_n): Don't use BP_SYM.
23068         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23069         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23070         and <bp-asm.h>.
23071         (__mpn_addmul_1): Don't use BP_SYM.
23072         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23073         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23074         <bp-sym.h>.
23075         (_setjmp): Don't use BP_SYM.
23076         (__novmx_setjmp): Likewise.
23077         (__GI__setjmp): Likewise.
23078         (__vmx_setjmp): Likewise.
23079         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23080         <bp-sym.h>.
23081         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23082         (__bzero): Don't use BP_SYM.
23083         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23084         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23085         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23086         <bp-sym.h> and <bp-asm.h>.
23087         (memcpy): Don't use BP_SYM.
23088         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23089         <bp-sym.h> and <bp-asm.h>.
23090         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23091         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23092         <bp-sym.h> and <bp-asm.h>.
23093         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23094         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23095         <bp-asm.h>.
23096         (__mpn_lshift): Don't use BP_SYM.
23097         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23098         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23099         <bp-asm.h>.
23100         (memset): Don't use BP_SYM.
23101         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23102         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23103         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23104         <bp-asm.h>.
23105         (__mpn_mul_1): Don't use BP_SYM.
23106         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23107         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23108         <bp-sym.h> and <bp-asm.h>.
23109         (memcmp): Don't use BP_SYM.
23110         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23111         <bp-sym.h> and <bp-asm.h>.
23112         (memcpy): Don't use BP_SYM.
23113         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23114         <bp-sym.h> and <bp-asm.h>.
23115         (memset): Don't use BP_SYM.
23116         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23117         <bp-sym.h> and <bp-asm.h>.
23118         (strncmp): Don't use BP_SYM.
23119         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23120         <bp-sym.h> and <bp-asm.h>.
23121         (memcpy): Don't use BP_SYM.
23122         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23123         <bp-sym.h> and <bp-asm.h>.
23124         (memset): Don't use BP_SYM.
23125         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23126         <bp-sym.h> and <bp-asm.h>.
23127         (__memchr): Don't use BP_SYM.
23128         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23129         <bp-sym.h> and <bp-asm.h>.
23130         (memcmp): Don't use BP_SYM.
23131         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23132         <bp-sym.h> and <bp-asm.h>.
23133         (memcpy): Don't use BP_SYM.
23134         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23135         <bp-sym.h> and <bp-asm.h>.
23136         (__mempcpy): Don't use BP_SYM.
23137         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23138         <bp-sym.h> and <bp-asm.h>.
23139         (__memrchr): Don't use BP_SYM.
23140         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23141         <bp-sym.h> and <bp-asm.h>.
23142         (memset): Don't use BP_SYM.
23143         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23144         <bp-sym.h> and <bp-asm.h>.
23145         (__rawmemchr): Don't use BP_SYM.
23146         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23147         <bp-sym.h> and <bp-asm.h>.
23148         (__STRCMP): Don't use BP_SYM.
23149         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23150         <bp-sym.h> and <bp-asm.h>.
23151         (strchr): Don't use BP_SYM.
23152         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23153         <bp-sym.h> and <bp-asm.h>.
23154         (__strchrnul): Don't use BP_SYM.
23155         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23156         <bp-sym.h> and <bp-asm.h>.
23157         (strlen): Don't use BP_SYM.
23158         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23159         <bp-sym.h> and <bp-asm.h>.
23160         (strncmp): Don't use BP_SYM.
23161         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23162         <bp-sym.h> and <bp-asm.h>.
23163         (__strnlen): Don't use BP_SYM.
23164         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23165         <bp-asm.h>.
23166         (__mpn_rshift): Don't use BP_SYM.
23167         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23168         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23169         <bp-sym.h> and <bp-asm.h>.
23170         (__sigsetjmp): Don't use BP_SYM.
23171         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23172         (L(start_addresses)): Don't use BP_SYM.
23173         (_start): Likewise.
23174         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23175         <bp-asm.h>.
23176         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23177         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23178         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23179         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23180         <bp-asm.h>.
23181         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23182         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23183         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23184         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23185         <bp-asm.h>.
23186         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23187         comments.
23188         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23189         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23190         <bp-asm.h>.
23191         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
23192         FIXME comments.
23193         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23194         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23195         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23196         <bp-asm.h>.
23197         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23198         comment.
23199         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23200         and <bp-asm.h>.
23201         (strncmp): Don't use BP_SYM,
23202         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23203         <bp-asm.h>.
23204         (__mpn_sub_n): Don't use BP_SYM.
23205         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23206         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23207         and <bp-asm.h>.
23208         (__mpn_submul_1): Don't use BP_SYM.
23209         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23211         <bp-sym.h> and <bp-asm.h>.
23212         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23214         <bp-sym.h> and <bp-asm.h>.
23215         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23216         comment.
23217
23218 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23219
23220         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23221         Use ZK to minimize writes to Z.
23222         (sub_magnitudes): Simplify code a bit.
23223         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23224         Use ZK to minimize writes to Z.
23225         (sub_magnitudes): Simplify code a bit.
23226
23227 2013-02-27  Roland McGrath  <roland@hack.frob.com>
23228
23229         * csu/gmon-start.c: Add special exception to license text.
23230
23231 2013-02-27  Richard Henderson  <rth@redhat.com>
23232
23233         * scripts/config.guess: Update from config.git.
23234         * scripts/config.sub: Likewise.
23235
23236 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23237
23238         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23239
23240         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23241
23242         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23243
23244         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23245
23246         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23247
23248 2013-02-26  Roland McGrath  <roland@hack.frob.com>
23249
23250         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23251         [$(build-shared = yes].
23252
23253 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23254
23255         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23256         (__mul): Reduce iterations for calculating mantissa.
23257
23258         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23259         MPTWO.
23260         (__mpranred): Likewise.
23261
23262         [BZ #15160]
23263         * malloc/memusagestat.c (main): Draw graphs for heap and stack
23264         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23265
23266 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
23267
23268         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23269         Define __attribute__.
23270
23271 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23272
23273         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23274         unused.
23275         * posix/regex_internal.h (__attribute): Remove.
23276         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23277         (re_string_context_at): Likewise.
23278         (bitset_not): Use __attribute__ and mark function as possibly
23279         unused.
23280         (bitset_merge): Likewise.
23281         (bitset_mask): Likewise.
23282         (re_string_char_size_at): Likewise.
23283         (re_string_wchar_at): Likewise.
23284         (re_string_elem_size_at): Likewise.
23285
23286 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23287
23288         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23289         code.
23290         (cc32): Likewise.
23291
23292         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23293         (__acr): Likewise.
23294         (__cpy): Likewise.
23295         (norm): Likewise.
23296         (denorm): Likewise.
23297         (__dbl_mp): Likewise.
23298         (add_magnitudes): Likewise.
23299         (sub_magnitudes): Likewise.
23300         (__mul): Likewise.
23301         (__inv): Likewise.
23302
23303         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23304         style.
23305
23306         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23307         style.
23308
23309         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23310         code.
23311
23312         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23313         up changes with default code.
23314         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23315         Likewise.
23316
23317 2013-02-24  Allan McRae  <allan@archlinux.org>
23318
23319         * manual/socket.texi (The Internet Namespace): Order menu items
23320         to match that in the file.
23321
23322         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23323         node listing of the info page menu.
23324
23325 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
23326
23327         [BZ #13550]
23328         * sysdeps/i386/bp-asm.h: Remove file.
23329         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23330         (PARMS): Do not use macros from bp-asm.h.
23331         (S1): Likewise.
23332         (S2): Likewise.
23333         (SIZE): Likewise.
23334         (__mpn_add_n): Do not use BP_SYM
23335         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23336         "bp-asm.h".
23337         (PARMS): Do not use macros from bp-asm.h.
23338         (S1): Likewise.
23339         (SIZE): Likewise.
23340         (__mpn_addmul_1): Do not use BP_SYM
23341         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23342         "bp-asm.h".
23343         (PARMS): Do not use macros from bp-asm.h.
23344         (SIGMSK): Likewise.
23345         (_setjmp): Likewise.  Do not use BP_SYM.
23346         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23347         "bp-asm.h".
23348         (PARMS): Do not use macros from bp-asm.h.
23349         (SIGMSK): Likewise.
23350         (setjmp): Likewise.  Do not use BP_SYM.
23351         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23352         "bp-asm.h".
23353         (PARMS): Do not use macros from bp-asm.h.
23354         (__frexp): Do not use BP_SYM.
23355         (frexp): Likewise.
23356         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23357         "bp-asm.h".
23358         (PARMS): Do not use macros from bp-asm.h.
23359         (__frexpf): Do not use BP_SYM.
23360         (frexpf): Likewise.
23361         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23362         "bp-asm.h".
23363         (PARMS): Do not use macros from bp-asm.h.
23364         (__frexpl): Do not use BP_SYM.
23365         (frexpl): Likewise.
23366         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23367         "bp-asm.h".
23368         (PARMS): Do not use macros from bp-asm.h.
23369         (__remquo): Do not use BP_SYM.
23370         (remquo): Likewise.
23371         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23372         "bp-asm.h".
23373         (PARMS): Do not use macros from bp-asm.h.
23374         (__remquof): Do not use BP_SYM.
23375         (remquof): Likewise.
23376         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23377         "bp-asm.h".
23378         (PARMS): Do not use macros from bp-asm.h.
23379         (__remquol): Do not use BP_SYM.
23380         (remquol): Likewise.
23381         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23382         "bp-asm.h".
23383         (PARMS): Do not use macros from bp-asm.h.
23384         (DEST): Likewise.
23385         (SRC): Likewise.
23386         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
23387         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23388         "bp-asm.h".
23389         (PARMS): Do not use macros from bp-asm.h.
23390         (strlen): Do not use BP_SYM.
23391         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23392         "bp-asm.h".
23393         (PARMS): Do not use macros from bp-asm.h.
23394         (S1): Likewise.
23395         (S2): Likewise.
23396         (SIZE): Likewise.
23397         (__mpn_add_n): Do not use BP_SYM.
23398         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23399         "bp-asm.h".
23400         (PARMS): Do not use macros from bp-asm.h.
23401         (S1): Likewise.
23402         (SIZE): Likewise.
23403         (__mpn_addmul_1): Do not use BP_SYM.
23404         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23405         weak_alias.
23406         (bzero): Likewise.
23407         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23408         "bp-asm.h".
23409         (PARMS): Do not use macros from bp-asm.h.
23410         (S): Likewise.
23411         (SIZE): Likewise.
23412         (__mpn_lshift): Do not use BP_SYM.
23413         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23414         "bp-asm.h".
23415         (PARMS): Do not use macros from bp-asm.h.
23416         (DEST): Likewise.
23417         (SRC): Likewise.
23418         (LEN): Likewise.
23419         (memcpy): Likewise.  Do not use BP_SYM.
23420         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23421         libc_hidden_def and weak_alias.
23422         (mempcpy): Do not use BP_SYM in weak_alias.
23423         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23424         "bp-asm.h".
23425         (PARMS): Do not use macros from bp-asm.h.
23426         (DEST): Likewise.
23427         (LEN): Likewise.
23428         [!BZERO_P] (CHR): Likewise.
23429         (memset): Likewise.  Do not use BP_SYM.
23430         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23431         "bp-asm.h".
23432         (PARMS): Do not use macros from bp-asm.h.
23433         (S1): Likewise.
23434         (SIZE): Likewise.
23435         (__mpn_mul_1): Do not use BP_SYM.
23436         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23437         "bp-asm.h".
23438         (PARMS): Do not use macros from bp-asm.h.
23439         (S): Likewise.
23440         (SIZE): Likewise.
23441         (__mpn_rshift): Do not use BP_SYM.
23442         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23443         "bp-asm.h".
23444         (PARMS): Do not use macros from bp-asm.h.
23445         (STR): Likewise.
23446         (CHR): Likewise.
23447         (strchr): Likewise.  Do not use BP_SYM.
23448         (index): Do not use BP_SYM in weak_alias.
23449         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23450         "bp-asm.h".
23451         (PARMS): Do not use macros from bp-asm.h.
23452         (DEST): Likewise.
23453         (SRC): Likewise.
23454         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
23455         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23456         "bp-asm.h".
23457         (PARMS): Do not use macros from bp-asm.h.
23458         (strlen): Do not use BP_SYM.
23459         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23460         "bp-asm.h".
23461         (PARMS): Do not use macros from bp-asm.h.
23462         (S1): Likewise.
23463         (S2): Likewise.
23464         (SIZE): Likewise.
23465         (__mpn_sub_n): Do not use BP_SYM.
23466         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23467         "bp-asm.h".
23468         (PARMS): Do not use macros from bp-asm.h.
23469         (S1): Likewise.
23470         (SIZE): Likewise.
23471         (__mpn_submul_1): Do not use BP_SYM.
23472         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23473         "bp-asm.h".
23474         (PARMS): Do not use macros from bp-asm.h.
23475         (S1): Likewise.
23476         (S2): Likewise.
23477         (SIZE): Likewise.
23478         (__mpn_add_n): Do not use BP_SYM.
23479         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23480         weak_alias.
23481         (bzero): Likewise.
23482         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23483         "bp-asm.h".
23484         (PARMS): Do not use macros from bp-asm.h.
23485         (BLK2): Likewise.
23486         (LEN): Likewise.
23487         (memcmp): Do not use BP_SYM.
23488         (bcmp): Do not use BP_SYM in weak_alias.
23489         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23490         "bp-asm.h".
23491         (PARMS): Do not use macros from bp-asm.h.
23492         (DEST): Likewise.
23493         (SRC): Likewise.
23494         (LEN): Likewise.
23495         (memcpy): Likewise.  Do not use BP_SYM.
23496         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23497         "bp-asm.h".
23498         (PARMS): Do not use macros from bp-asm.h.
23499         (DEST): Likewise.
23500         (SRC): Likewise.
23501         (LEN): Likewise.
23502         (memmove): Likewise.  Do not use BP_SYM.
23503         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23504         "bp-asm.h".
23505         (PARMS): Do not use macros from bp-asm.h.
23506         (DEST): Likewise.
23507         (SRC): Likewise.
23508         (LEN): Likewise.
23509         (__mempcpy): Likewise.  Do not use BP_SYM.
23510         (mempcpy): Do not use BP_SYM in weak_alias.
23511         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23512         "bp-asm.h".
23513         (PARMS): Do not use macros from bp-asm.h.
23514         (DEST): Likewise.
23515         (LEN): Likewise.
23516         [!BZERO_P] (CHR): Likewise.
23517         (memset): Likewise.  Do not use BP_SYM.
23518         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23519         "bp-asm.h".
23520         (PARMS): Do not use macros from bp-asm.h.
23521         (STR2): Likewise.
23522         (strcmp): Do not use BP_SYM.
23523         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23524         "bp-asm.h".
23525         (PARMS): Do not use macros from bp-asm.h.
23526         (STR): Likewise.
23527         (DELIM): Likewise.
23528         [USE_AS_STRTOK_R] (SAVE): Likewise.
23529         (FUNCTION): Likewise.  Do not use BP_SYM.
23530         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23531         aliases.
23532         (strtok_r): Likewise.
23533         (__GI___strtok_r): Likewise.
23534         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23535         (PARMS): Do not use macros from bp-asm.h.
23536         (S): Likewise.
23537         (SIZE): Likewise.
23538         (__mpn_lshift): Do not use BP_SYM.
23539         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23540         (PARMS): Do not use macros from bp-asm.h.
23541         (STR): Likewise.
23542         (CHR): Likewise.
23543         (__memchr): Do not use BP_SYM.
23544         (memchr): Do not use BP_SYM in weak_alias.
23545         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23546         (PARMS): Do not use macros from bp-asm.h.
23547         (BLK2): Likewise.
23548         (LEN): Likewise.
23549         (memcmp): Do not use BP_SYM.
23550         (bcmp): Do not use BP_SYM in weak_alias.
23551         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23552         (PARMS): Do not use macros from bp-asm.h.
23553         (S1): Likewise.
23554         (SIZE): Likewise.
23555         (__mpn_mul_1): Do not use BP_SYM.
23556         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23557         "bp-asm.h".
23558         (PARMS): Do not use macros from bp-asm.h.
23559         (STR): Likewise.
23560         (CHR): Likewise.
23561         (__rawmemchr): Do not use BP_SYM.
23562         (rawmemchr): Do not use BP_SYM in weak_alias.
23563         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23564         (PARMS): Do not use macros from bp-asm.h.
23565         (S): Likewise.
23566         (SIZE): Likewise.
23567         (__mpn_rshift): Do not use BP_SYM.
23568         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23569         (PARMS): Do not use macros from bp-asm.h.
23570         (SIGMSK): Likewise.
23571         (__sigsetjmp): Likewise.  Do not use BP_SYM.
23572         * sysdeps/i386/start.S: Do not include "bp-sym.h".
23573         (_start): Do not use BP_SYM.
23574         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23575         (PARMS): Do not use macros from bp-asm.h.
23576         (DEST): Likewise.
23577         (SRC): Likewise.
23578         (__stpcpy): Likewise.  Do not use BP_SYM.
23579         (stpcpy): Do not use BP_SYM in weak_alias.
23580         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23581         "bp-asm.h".
23582         (PARMS): Do not use macros from bp-asm.h.
23583         (DEST): Likewise.
23584         (SRC): Likewise.
23585         (LEN): Likewise.
23586         (__stpncpy): Likewise.  Do not use BP_SYM.
23587         (stpncpy): Do not use BP_SYM in weak_alias.
23588         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23589         (PARMS): Do not use macros from bp-asm.h.
23590         (STR): Likewise.
23591         (CHR): Likewise.
23592         (strchr): Likewise.  Do not use BP_SYM.
23593         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23594         "bp-asm.h".
23595         (PARMS): Do not use macros from bp-asm.h.
23596         (STR): Likewise.
23597         (CHR): Likewise.
23598         (__strchrnul): Likewise.  Do not use BP_SYM.
23599         (strchrnul): Do not use BP_SYM in weak_alias.
23600         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23601         "bp-asm.h".
23602         (PARMS): Do not use macros from bp-asm.h.
23603         (STOP): Likewise.
23604         (strcspn): Do not use BP_SYM.
23605         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23606         "bp-asm.h".
23607         (PARMS): Do not use macros from bp-asm.h.
23608         (STR): Likewise.
23609         (STOP): Likewise.
23610         (strpbrk): Likewise.  Do not use BP_SYM.
23611         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23612         "bp-asm.h".
23613         (PARMS): Do not use macros from bp-asm.h.
23614         (STR): Likewise.
23615         (CHR): Likewise.
23616         (strrchr): Likewise.  Do not use BP_SYM.
23617         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23618         (PARMS): Do not use macros from bp-asm.h.
23619         (SKIP): Likewise.
23620         (strspn): Do not use BP_SYM.
23621         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23622         (PARMS): Do not use macros from bp-asm.h.
23623         (STR): Likewise.
23624         (DELIM): Likewise.
23625         (SAVE): Likewise.
23626         (FUNCTION): Likewise.  Do not use BP_SYM.
23627         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23628         aliases.
23629         (strtok_r): Likewise.
23630         (__GI___strtok_r): Likewise.
23631         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23632         (PARMS): Do not use macros from bp-asm.h.
23633         (S1): Likewise.
23634         (S2): Likewise.
23635         (SIZE): Likewise.
23636         (__mpn_sub_n): Do not use BP_SYM.
23637         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23638         "bp-asm.h".
23639         (PARMS): Do not use macros from bp-asm.h.
23640         (S1): Likewise.
23641         (SIZE): Likewise.
23642         (__mpn_submul_1): Do not use BP_SYM.
23643         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23644         <bp-sym.h>.
23645         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23646         and <bp-asm.h>.
23647         (PARMS): Do not use macros from bp-asm.h.
23648         (FLAGS): Likewise.
23649         (PTID): Likewise.
23650         (TLS): Likewise.
23651         (CTID): Likewise.
23652         (__clone): Do not use BP_SYM.
23653         (clone): Do not use BP_SYM in weak_alias.
23654         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23655         and <bp-asm.h>.
23656         (PARMS): Do not use macros from bp-asm.h.
23657         (LEN): Likewise.
23658         (__mmap64): Do not use BP_SYM.
23659         (mmap64): Do not use BP_SYM in weak_alias.
23660         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23661         <bp-sym.h> and <bp-asm.h>.
23662         (PARMS): Do not use macros from bp-asm.h.
23663         (__posix_fadvise64_l64): Do not use BP_SYM.
23664         * sysdeps/unix/sysv/linux/i386/semtimedop.S
23665         (PARMS): Do not use macros from bp-asm.h.
23666         (NSOPS): Likewise.
23667         (semtimedop): Do not use BP_SYM.
23668         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23669         and <bp-asm.h>.
23670
23671 2013-02-21  Allan McRae  <allan@archlinux.org>
23672
23673         * manual/message.texi (Charset conversion in gettext):
23674         Move @end statement to beginning of line.
23675
23676 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23677
23678         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23679         static.
23680         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23681         Likewise.
23682
23683         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23684         (denorm): Likewise.
23685         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23686         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23687
23688 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23689
23690         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23691         tail-call to the resolved function if pltexit isn't needed.
23692
23693 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23694
23695         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23696         or Y being zero as being unlikely.
23697         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23698         Likewise.
23699
23700 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
23701
23702         * manual/nss.texi (System Databases and Name Service Switch):
23703         Remove frobnicate @pxref.
23704
23705 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
23706
23707         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23708         __attribute__ ((unused)) to __attribute__ ((__unused__)).
23709
23710 2013-02-20  Petr Machata  <pmachata@redhat.com>
23711
23712         * elf/elf.h (R_ARM_TARGET1): New macro.
23713         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23714         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23715         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23716         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23717         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23718         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23719         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23720         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23721         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23722         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23723         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23724         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23725         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23726         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23727         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23728         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23729         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23730         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23731         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23732         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23733         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23734         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23735         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23736         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23737         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23738         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23739         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23740         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23741         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23742         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23743         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23744         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23745         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23746         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23747         (R_ARM_THM_GOT_BREL12): Likewise.
23748         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23749         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23750         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23751         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23752         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23753         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23754         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23755         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23756         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23757
23758 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
23759
23760         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23761         __attribute_used__ to __attribute__ ((unused)).
23762
23763 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23764
23765         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23766         powerpc mpa.c.
23767         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23768         comment formatting.
23769         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23770
23771 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
23772
23773         [BZ #13550]
23774         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23775         Remove macro.
23776         (ENTER): Remove both macro definitions.
23777         (LEAVE): Likewise.
23778         (CHECK_BOUNDS_LOW): Likewise.
23779         (CHECK_BOUNDS_HIGH): Likewise.
23780         (CHECK_BOUNDS_BOTH): Likewise.
23781         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23782         (RETURN_BOUNDED_POINTER): Likewise.
23783         (RETURN_NULL_BOUNDED_POINTER): Likewise.
23784         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23785         (POP_ERRNO_LOCATION_RETURN): Likewise.
23786         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23787         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23788         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23789         macros.
23790         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23791         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23792         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23793         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23794         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23795         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23796         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23797         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23798         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23799         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23800         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23801         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23802         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23803         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23804         removed macros.
23805         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23806         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23807         macros.
23808         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23809         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23810         * sysdeps/i386/i586/memset.S (memset): Likewise.
23811         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23812         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23813         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23814         macros.
23815         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23816         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23817         Change uses of L(2) to L(out).
23818         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23819         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23820         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23821         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23822         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23823         removed macros.
23824         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23825         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23826         macros.
23827         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23828         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23829         (RETURN): Do not use macro LEAVE.
23830         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23831         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23832         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23833         * sysdeps/i386/i686/memset.S (memset): Likewise.
23834         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23835         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23836         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23837         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23838         Likewise.
23839         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23840         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
23841         L(1_2) and L(1_3) into L(1).
23842         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23843         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23844         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23845         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23846         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23847         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23848         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23849         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23850         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23851         macros.
23852         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23853         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23854         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23855         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23856         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23857         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23858         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23859         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23860         * sysdeps/i386/strcspn.S (strcspn): Likewise.
23861         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23862         * sysdeps/i386/strrchr.S (strrchr): Likewise.
23863         * sysdeps/i386/strspn.S (strspn): Likewise.
23864         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23865         conditional code.
23866         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23867         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23868         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23869         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
23870         L(1_3) into L(1_1).
23871         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23872         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23873         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23874         macros.
23875         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23876
23877 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
23878
23879         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23880         macro.
23881
23882 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23883
23884         * math/atest-exp.c (exp_mpn): Remove ROUND.
23885         * math/atest-exp2.c (exp_mpn): Likewise.
23886         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23887
23888         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23889         * stdlib/tst-tls-atexit-lib.c: Likewise.
23890         * stdlib/tst-tls-atexit.c: Likewise.
23891
23892 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23893
23894         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23895         and __attribute_alloc_size__.
23896
23897 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23898
23899         * include/programs/xmalloc.h: Change __attribute_alloc_size to
23900         __attribute_alloc_size__.
23901         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23902         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23903
23904 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23905
23906         * include/programs/xmalloc.h: New file.
23907         * catgets/gencat.c: Include it.
23908         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23909         * elf/pldd.c: Likewise.
23910         * iconv/iconv_charmap.c: Likewise.
23911         * iconv/iconvconfig.c: Likewise.
23912         * iconv/strtab.c: Likewise.
23913         * locale/programs/locale.c: Likewise.
23914         * locale/programs/localedef.h: Likewise.
23915         * locale/programs/simple-hash.c: Likewise.
23916         * nscd/nscd.h: Likewise.
23917         * nss/makedb.c: Likewise.
23918         * sysdeps/generic/ldconfig.h: Likewise.
23919
23920 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23921
23922         * Versions.def: Add GLIBC_2.18.
23923         * include/link.h (struct link_map): New member l_tls_dtor_count.
23924         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23925         (__call_tls_dtors): Likewise.
23926         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23927         __cxa_thread_atexit_impl.
23928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23929         Likewise.
23930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23931         Likewise.
23932         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23933         Likewise.
23934         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23935         Likewise.
23936         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23937         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23938         Likewise.
23939         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23940         Likewise.
23941         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23942         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23943         Likewise.
23944         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23945         (tests): Add test case tst-tls-atexit.
23946         (modules-names): Add shared library for tst-tls-atexit.
23947         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
23948         (GLIBC_PRIVATE): Add __call_tls_dtors.
23949         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23950         for libstdc++.
23951         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23952         * stdlib/tst-tls-atexit.c: New test case.
23953         * stdlib/tst-tls-atexit-lib.c: New test case.
23954
23955         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23956
23957         * elf/Versions (ld): Add _dl_find_dso_for_object.
23958         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23959         * elf/dl-open.c (_dl_find_dso_for_object): New function.
23960         (dl_open_worker): Use _dl_find_dso_for_object.
23961         * elf/dl-sym.c (do_sym): Likewise.
23962         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23963
23964 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23965
23966         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23967         Syntactic changes only.
23968         (_dl_runtime_profile): Do a tail-call to the resolved function.
23969
23970 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
23971
23972         [BZ #13550]
23973         * sysdeps/x86_64/bp-asm.h: Remove file.
23974         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23975         <bp-sym.h> and <bp-asm.h>.
23976         (__clone): Do not use BP_SYM.
23977         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23978         <bp-sym.h> and <bp-asm.h>.
23979         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23980         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23981         "bp-asm.h".
23982         (_setjmp): Do not use BP_SYM.
23983         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23984         "bp-asm.h".
23985         (setjmp): Do not use BP_SYM.
23986         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23987         libc_hidden_def.
23988         (mempcpy): Do not use BP_SYM in weak_alias.
23989         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23990         "bp-asm.h".
23991         (strchr): Do not use BP_SYM.
23992         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23993         "bp-asm.h".
23994         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23995         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23996         (_start): Do not use BP_SYM.
23997         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23998         "bp-asm.h".
23999         (strcat): Do not use BP_SYM.
24000         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24001         "bp-asm.h".
24002         (STRCMP): Do not use BP_SYM.
24003         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24004         "bp-asm.h".
24005         (STRCPY): Do not use BP_SYM.
24006         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24007         "bp-asm.h".
24008         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24009         "bp-asm.h".
24010         (FUNCTION): Do not use BP_SYM.
24011         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24012         weak_alias.
24013         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24014
24015 2013-02-17  Andreas Jaeger  <aj@suse.de>
24016
24017         * time/Versions: Sort entries.
24018         * string/Versions: Likewise.
24019         * resolv/Versions: Likewise.
24020         * posix/Versions: Likewise.
24021         * iconv/Versions: Likewise.
24022         * elf/Versions: Likewise.
24023         * wcsmbs/Versions: Likewise.
24024
24025 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24026
24027         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24028         loop termination condition.
24029
24030         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24031         variable to calculate EZ.
24032         (__sqr): Likewise.
24033
24034         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24035         the lower precision input.
24036
24037 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
24038
24039         [BZ #13550]
24040         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24041         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24042         (run-via-rtld-prefix): Do not handle %-bp tests.
24043         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24044         (all-object-suffixes): Remove .ob.
24045         (bppfx): Remove variable.
24046         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24047         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24048         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24049         [$(build-bounded) = yes] (libtype.ob): Likewise.
24050         * Makerules (elide-routines.ob): Remove variable.
24051         (do-tests-clean): Do not handle *-bp.out.
24052         (common-mostlyclean): Do not handle *-bp and *-bp.out.
24053         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24054         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24055         (tests): Do not include $(tests-bp.out).
24056         (xtests): Do not include $(xtests-bp.out).
24057         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24058         [$(build-bounded) = yes] ($(addprefix
24059         $(objpfx),$(binaries-bounded))): Remove rule.
24060         ($(objpfx)%-bp.out): Remove rule.
24061         * config.make.in (build-bounded): Remove variable.
24062         * crypt/Makefile [$(build-bounded) = yes]
24063         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24064         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24065         append to variable.
24066         [$(build-bounded) = yes] (install-lib): Likewise.
24067         [$(build-bounded) = yes] (generated): Likewise.
24068         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24069         Remove rule.
24070         * intl/Makefile [$(build-bounded) = yes]
24071         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24072         * math/Makefile [$(build-bounded) = yes]
24073         ($(tests:%=$(objpfx)%-bp): Likewise.
24074         * misc/Makefile [$(build-bounded) = yes]
24075         ($(objpfx)tst-tsearch-bp): Likewise.
24076         * nptl/Makeconfig (bounded-thread-library): Remove variable.
24077         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24078         Remove dependency.
24079         * string/Makefile (o-objects.ob): Remove variable.
24080         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24081         (CFLAGS-.ob): Remove variable.
24082         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24083         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24084         both definitions of variable.
24085         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24086         (ASFLAGS-.ob): Remove variable.
24087
24088 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
24089
24090         [BZ #13550]
24091         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24092         Remove __BOUNDED_POINTERS__ from condition.
24093         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24094         * string/bits/string2.h [!__NO_STRING_INLINES &&
24095         !__BOUNDED_POINTERS__]: Likewise.
24096         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24097         Likewise.
24098         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24099         Remove conditional code.
24100         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24101         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24102         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24103         condition.
24104
24105         [BZ #13550]
24106         * csu/libc-start.c: Do not include <bp-sym.h>.
24107         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24108         * elf/dl-open.c: Do not include <bp-sym.h>.
24109         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24110         * math/fegetenv.c: Do not include <bp-sym.h>.
24111         (fegetenv): Do not use BP_SYM in versioned symbols.
24112         * nptl/sysdeps/pthread/bits/libc-lockP.h
24113         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24114         <bp-sym.h>.
24115         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24116         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24117         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24118         (__pthread_mutex_destroy): Likewise.
24119         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24120         (__pthread_mutex_lock): Likewise.
24121         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24122         (__pthread_mutex_trylock): Likewise.
24123         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24124         (__pthread_mutex_unlock): Likewise.
24125         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24126         (__pthread_mutexattr_init): Likewise.
24127         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24128         (__pthread_mutexattr_destroy): Likewise.
24129         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24130         (__pthread_mutexattr_settype): Likewise.
24131         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24132         (__pthread_rwlock_init): Likewise.
24133         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24134         (__pthread_rwlock_destroy): Likewise.
24135         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24136         (__pthread_rwlock_rdlock): Likewise.
24137         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24138         (__pthread_rwlock_tryrdlock): Likewise.
24139         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24140         (__pthread_rwlock_wrlock): Likewise.
24141         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24142         (__pthread_rwlock_trywrlock): Likewise.
24143         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24144         (__pthread_rwlock_unlock): Likewise.
24145         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24146         (__pthread_key_create): Likewise.
24147         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24148         (__pthread_setspecific): Likewise.
24149         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24150         (__pthread_getspecific): Likewise.
24151         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24152         Likewise.
24153         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24154         (_pthread_cleanup_push_defer): Likewise.
24155         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24156         (_pthread_cleanup_pop_restore): Likewise.
24157         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24158         (pthread_setcancelstate): Likewise.
24159         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24160         <bp-sym.h>.
24161         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24162         (memchr): Do not use BP_SYM in weak_alias.
24163         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24164         (fegetenv): Do not use BP_SYM in versioned symbols.
24165         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24166         (fesetenv): Do not use BP_SYM in versioned symbols.
24167         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24168         (feupdateenv): Do not use BP_SYM in versioned symbols.
24169         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24170         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24171         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24172         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24173         (open64): Do not use BP_SYM in weak_alias.
24174         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24175         (fegetenv): Do not use BP_SYM in versioned symbols.
24176         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24177         (fesetenv): Do not use BP_SYM in versioned symbols.
24178         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24179         (feupdateenv): Do not use BP_SYM in versioned symbols.
24180         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24181         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24182         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24183         (feraiseexcept): Do not use BP_SYM in versioned symbols.
24184         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24185         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24186         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24187         <bp-sym.h>.
24188         (__libc_start_main): Do not use BP_SYM.
24189
24190 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24191
24192         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24193         redundant return line.
24194         (norm): Likewise.
24195         (denorm): Likewise.
24196         (dbl_mp): Likewise.
24197         (sub_magnitudes): Likewise.
24198         (__add): Likewise.
24199         (__sub): Likewise.
24200         (__mul): Likewise.
24201         (__inv): Likewise.
24202         (__dvd): Likewise.
24203         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24204         (norm): Likewise.
24205         (denorm): Likewise.
24206         (dbl_mp): Likewise.
24207         (sub_magnitudes): Likewise.
24208         (__add): Likewise.
24209         (__sub): Likewise.
24210         (__mul): Likewise.
24211         (__inv): Likewise.
24212         (__dvd): Likewise.
24213
24214         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24215         instead of __mul.
24216         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24217         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24218         (cc32): Likewise.
24219
24220         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24221         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24222         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24223         of __mul for squares.
24224         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24225         function
24226         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24227         Likewise.
24228         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24229         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24230
24231 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
24232
24233         [BZ #13550]
24234         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24235         code.
24236         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24237         prototype or function definition.  Rename ubp_* variables and
24238         parameters.  Remove argv definitions conditional on
24239         [__BOUNDED_POINTERS__].
24240         * debug/backtrace.c (__backtrace): Do not use __unbounded.
24241         * elf/dl-runtime.c (_dl_fixup): Likewise.
24242         * include/set-hooks.h (RUN_HOOK): Likewise.
24243         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24244         definition.
24245         * string/strcpy.c (strcpy): Do not use __unbounded.
24246         * sysdeps/generic/frame.h (struct layout): Likewise.
24247         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24248         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24249         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24250         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24251         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24252         (__backtrace): Likewise.
24253         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24254         use __ptrvalue.
24255         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24256         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24257         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24258         Likewise.
24259         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24260         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24261         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24262         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24263         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24264         Do not use __unbounded.
24265         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24266         Rename __unboundedrlimits parameter to rlimits in prototype.
24267         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24268         Do not use __unbounded.
24269         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24270         not use __ptrvalue.
24271         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24272         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24273         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24274         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24275         __ptrvalue or __unbounded.
24276         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24277         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24278         use __unbounded.
24279         (__new_msgctl): Do not use __ptrvalue.
24280         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24281         __unbounded.
24282         (__libc_msgrcv): Do not use __ptrvalue.
24283         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24284         startup_info): Do not use __unbounded.
24285         (__libc_start_main): Likewise.  Rename ubp_* variables and
24286         parameters.  Remove argv definitions conditional on
24287         [__BOUNDED_POINTERS__].
24288         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24289         __ptrvalue.
24290         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24291         use __unbounded.
24292         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24293         or __ptrvalue.
24294         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24295         use __unbounded.
24296         (__new_shmctl): Do not use __ptrvalue.
24297         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24298         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24299         Likewise.
24300         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24301         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24302         (__libc_sigaction): Likewise.
24303         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24304         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24305         Likewise.
24306         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24307
24308 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
24309
24310         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24311
24312         * string/mempcpy.c: Implement by calling memcpy.
24313
24314 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24315
24316         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24317
24318         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24319         evaluation.
24320
24321         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24322         values in the mantissa.
24323
24324         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24325         minimize writes to Z.
24326         (sub_magnitudes): Simplify code a bit.
24327
24328 2013-02-12  Roland McGrath  <roland@hack.frob.com>
24329
24330         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24331         from the message.  The linker prefixes all warnings with that already.
24332
24333 2013-02-12  Andreas Schwab  <schwab@suse.de>
24334
24335         [BZ #15078]
24336         * posix/regexec.c (extend_buffers): Add parameter min_len.
24337         (check_matching): Pass minimum needed length.
24338         (clean_state_log_if_needed): Likewise.
24339         (get_subexp): Likewise.
24340         * posix/Makefile (tests): Add bug-regex34.
24341         (bug-regex34-ENV): Define.
24342         * posix/bug-regex34.c: New file.
24343
24344         [BZ #11561]
24345         * posix/regcomp.c (parse_bracket_exp): When looking up collating
24346         elements compare against the byte sequence of it, not its name.
24347         * posix/Makefile (tests): Add bug-regex35.
24348         (bug-regex35-ENV): Define.
24349         * posix/bug-regex35.c: New file.
24350
24351 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24352
24353         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
24354         comment.
24355         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24356         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24357         (CHECK_EOL): Add undef.
24358
24359 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
24360
24361         * bits/stdlib-bsearch.h: New file.
24362         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24363         * stdlib/stdlib.h: Likewise.
24364
24365 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24366
24367         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24368         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24369         declaration.
24370         * manual/search.texi (Array Search Function): Add missing const in
24371         lfind prototype.
24372         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24373         declaration to use rlim_t.
24374         (Basic Scheduling Functions): Remove erroneous const from
24375         sched_getparam prototype.  Remove erroneous * from
24376         sched_get_priority_max and sched_get_priority_min prototypes.
24377         (Resource Usage): Fix summary @comment on vtimes to refer to
24378         sys/vtimes.h rather than vtimes.h.
24379         Add missing *s in vtimes prototype.
24380         (Limits on Resources): Fix ulimit prototype to return long int.
24381         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24382         prototypes to use long int rather than double.
24383         (BSD Random): Fix initstate and setstate to use char *, not void *.
24384         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24385         prototype to make second argument 'struct aiocb64 *const[]'.
24386         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24387         (Status of AIO Operations): Remove erroneous const in aio_return and
24388         aio_return64 prototypes.
24389         (Synchronizing I/O): Fix sync prototype to return void.
24390         * manual/startup.texi (Suboptions): Remove an erroneous const in
24391         getsubopt prototype.
24392         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24393         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24394         use size_t rather than int.
24395         (Scanning All Users): Likewise for getpwent_r.
24396         (Setting Groups): Add missing const to setgroups prototype.
24397         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24398         * manual/socket.texi (Host Names): Fix gethostbyaddr and
24399         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24400         'const void *' rather than 'const char *'.
24401         (Host Address Functions): Likewise for inet_ntop.
24402         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24403         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24404         ssize_t for return value.
24405         (Sending Data): Likewise for send, sendto, sendmsg.
24406         (Socket Option Functions): Add a missing const in setsockopt prototype.
24407         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24408         use wchar_t for the argument.
24409         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24410         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24411         take no arguments.
24412         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24413         double/float/long double for second argument.
24414         Fix return types of significand, significandf, significandl.
24415         * manual/filesys.texi (Setting Permissions): Use mode_t for second
24416         argument in fchmod prototype.
24417         (File Owner): Use uid_t and gid_t in fchown prototype.
24418         (File Times): Add const to utimes, futimes, and lutimes prototypes.
24419         (Making Special Files): Use mode_t and dev_t in mknod prototype.
24420         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24421         use 'const struct dirent **' as argument types to CMP function pointer
24422         argument.
24423         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24424         (File Times): Fix summary magic @comment for struct utimbuf and utime
24425         to refer to utime.h, not time.h.
24426         * manual/string.texi (Argz Functions): Add missing const in
24427         argz_extract and argz_next prototypes.
24428         (Finding Tokens in a String): Likewise for basename.
24429         (String/Array Comparison): Fix typo in wcscasecmp prototype.
24430         (Copying and Concatenation): Fix typo in wmemmove prototype.
24431         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24432         (Signal Stack): Remove erroneous const in sigstack prototype.
24433         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24434         prototype.
24435         (Simple Calendar Time): Likewise for stime.
24436         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24437         prototype.
24438         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24439         say sys/sysctl.h instead.
24440         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24441         and vsyslog prototypes.
24442
24443 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24444
24445         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24446         Remove.
24447
24448 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24449
24450         * misc/sys/mman.h: Fix typo in mremap comment.
24451
24452 2013-02-08  Roland McGrath  <roland@hack.frob.com>
24453
24454         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24455         the '\0' terminator.
24456
24457 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
24458
24459         [BZ #13550]
24460         * debug/segfault.c: Don't include <bp-checks.h>.
24461         * sysdeps/generic/bp-checks.h: Remove file.
24462         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24463         (__GETDENTS): Don't use CHECK_N.
24464         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24465         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24466         (__getgroups): Don't use CHECK_N.
24467         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24468         (setgroups): Don't use CHECK_N.
24469         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24470         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24471         (__libc_msgrcv): Don't use CHECK_N.
24472         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24473         (__libc_msgsnd): Don't use CHECK_N.
24474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24475         <bp-checks.h>.
24476         (__libc_pread): Don't use CHECK_N.
24477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24478         include <bp-checks.h>.
24479         (__libc_pread64): Don't use CHECK_N.
24480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24481         include <bp-checks.h>.
24482         (__libc_pwrite): Don't use CHECK_N.
24483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24484         include <bp-checks.h>.
24485         (__libc_pwrite64): Don't use CHECK_N.
24486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24487         <bp-checks.h>.
24488         (__libc_pread): Don't use CHECK_N.
24489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24490         include <bp-checks.h>.
24491         (__libc_pread64): Don't use CHECK_N.
24492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24493         include <bp-checks.h>.
24494         (__libc_pwrite): Don't use CHECK_N.
24495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24496         include <bp-checks.h>.
24497         (__libc_pwrite64): Don't use CHECK_N.
24498         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24499         (do_pread): Don't use CHECK_N.
24500         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24501         (do_pread64): Don't use CHECK_N.
24502         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24503         (do_pwrite): Don't use CHECK_N.
24504         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24505         (do_pwrite64): Don't use CHECK_N.
24506         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24507         (__libc_readv): Don't use CHECK_N.
24508         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24509         (semop): Don't use CHECK_N.
24510         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24511         <bp-checks.h>.
24512         (semtimedop): Don't use CHECK_N.
24513         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24514         (__libc_pread): Don't use CHECK_N.
24515         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24516         <bp-checks.h>.
24517         (__libc_pread64): Don't use CHECK_N.
24518         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24519         <bp-checks.h>.
24520         (__libc_pwrite): Don't use CHECK_N.
24521         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24522         <bp-checks.h>.
24523         (__libc_pwrite64): Don't use CHECK_N.
24524         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24525         <bp-checks.h>.
24526         (__libc_msgrcv): Don't use CHECK_N.
24527         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24528         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
24529         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24530         (__libc_writev): Don't use CHECK_N.
24531
24532 2013-02-08  Roland McGrath  <roland@hack.frob.com>
24533
24534         * string/strcpy.c: Removed unused variable.
24535
24536         * Makeconfig (+sysdep-includes): Define with := rather than =.
24537         Use an existing include/ subdir of each sysdeps dir before it.
24538
24539 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24540
24541         * nscd/connection.c (register_traced_file): Comment function.
24542         [HAVE_INOTIFY] (union __inev): Define.
24543         [HAVE_INOTIFY] (inotify_check_files): New function.
24544         [HAVE_INOTIFY] (clear_db_cache): Likewise.
24545         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24546         clear_db_cache.
24547         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24548
24549 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24550
24551         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24552         loaded if not already and that a failure is permanent.
24553
24554 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24555
24556         [BZ #15006]
24557         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24558         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24559
24560 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
24561
24562         [BZ #13550]
24563         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24564         (CHECK_1_NULL_OK): Likewise.
24565         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24566         (__fxstat): Do not use CHECK_1.
24567         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24568         <bp-checks.h>.
24569         (___fxstat64): Do not use CHECK_1.
24570         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24571         <bp-checks.h>.
24572         (__fxstatat): Do not use CHECK_1.
24573         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24574         <bp-checks.h>.
24575         (__fxstatat64): Do not use CHECK_1.
24576         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24577         <bp-checks.h>.
24578         (__fxstat): Do not use CHECK_1.
24579         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24580         <bp-checks.h>.
24581         (__fxstatat): Do not use CHECK_1.
24582         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24583         <bp-checks.h>.
24584         (__getresgid): Do not use CHECK_1.
24585         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24586         <bp-checks.h>.
24587         (__getresuid): Do not use CHECK_1.
24588         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24589         <bp-checks.h>.
24590         (__lxstat): Do not use CHECK_1.
24591         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24592         <bp-checks.h>.
24593         (__old_msgctl): Do not use CHECK_1.
24594         (__new_msgctl): Likewise.
24595         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24596         <bp-checks.h>.
24597         (__new_setrlimit): Do not use CHECK_1.
24598         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24599         <bp-checks.h>.
24600         (__old_shmctl): Do not use CHECK_1.
24601         (__new_shmctl): Likewise.
24602         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24603         <bp-checks.h>.
24604         (__xstat): Do not use CHECK_1.
24605         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24606         (__lxstat): Do not use CHECK_1.
24607         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24608         <bp-checks.h>.
24609         (___lxstat64): Do not use CHECK_1.
24610         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24611         (__old_msgctl): Do not use CHECK_1.
24612         (__new_msgctl): Likewise.
24613         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24614         <bp-checks.h>.
24615         (__gettimeofday): Do not use CHECK_1.
24616         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24617         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24618         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24619         <bp-checks.h>.
24620         (__gettimeofday): Do not use CHECK_1.
24621         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24622         (__old_shmctl): Do not use CHECK_1_NULL_OK.
24623         (__new_shmctl): Do not use CHECK_1.
24624         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24625         <bp-checks.h>.
24626         (do_sigtimedwait): Do not use CHECK_1.
24627         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24628         <bp-checks.h>.
24629         (do_sigwaitinfo): Do not use CHECK_1.
24630         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24631         <bp-checks.h>.
24632         (msgctl): Do not use CHECK_1.
24633         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24634         <bp-checks.h>.
24635         (shmctl): Do not use CHECK_1.
24636         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24637         (ustat): Do not use CHECK_1.
24638         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24639         <bp-checks.h>.
24640         (__fxstat): Do not use CHECK_1.
24641         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24642         <bp-checks.h>.
24643         (__fxstatat): Do not use CHECK_1.
24644         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24645         <bp-checks.h>.
24646         (__lxstat): Do not use CHECK_1.
24647         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24648         <bp-checks.h>.
24649         (__xstat): Do not use CHECK_1.
24650         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24651         (__xstat): Do not use CHECK_1.
24652         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24653         (___xstat64): Do not use CHECK_1.
24654
24655         [BZ #13550]
24656         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24657         definitions.
24658         (CHECK_BOUNDS_HIGH): Likewise.
24659         * string/strcpy.c: Do not include <bp-checks.h>.
24660         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24661
24662 2013-02-07  Roland McGrath  <roland@hack.frob.com>
24663
24664         * nscd/nscd-client.h (__nscd_drop_map_ref):
24665         Add __attribute__ ((unused)).
24666         * nis/nss-nisplus.h (niserr2nss): Likewise.
24667
24668         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24669         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24670
24671         * csu/libc-tls.c (init_static_tls, init_slotinfo):
24672         Remove inline keyword.
24673         * include/rounding-mode.h (round_away): Likewise.
24674         * libio/wfileops.c (adjust_wide_data): Likewise.
24675         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24676         (__m128i_strloadu_tolower): Likewise.
24677         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24678         (__m128i_strloadu_tolower): Likewise.
24679         * time/mktime.c (ydhms_diff): Likewise.
24680         * locale/elem-hash.h (elem_hash): Likewise.
24681         * locale/setlocale.c (setdata): Likewise.
24682         * posix/regex_internal.h (re_string_char_size_at): Likewise.
24683         (re_string_wchar_at): Likewise.
24684         (bitset_not, bitset_merge, bitset_mask): Likewise.
24685         [!(__GNUC__ > 3)] (inline): Remove macro.
24686         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24687         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24688         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24689         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24690         * string/memcmp.c (memcmp_bytes): Likewise.
24691         * locale/programs/locarchive.c (compute_hashval): Likewise.
24692         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24693         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24694         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24695         * nss/getent.c (print_rpc, print_protocols): Likewise.
24696         (print_passwd, print_group, print_aliases): Likewise.
24697         * nis/nss-nisplus.h (niserr2nss): Likewise.
24698         * nscd/connections.c (restart_p): Likewise.
24699         Change return type to bool.
24700
24701 2013-02-05  Roland McGrath  <roland@hack.frob.com>
24702
24703         * Makeconfig (all-Depend-files): Add existing
24704         $(sorted-subdirs:=/Depend) files.
24705         (all-subdirs): Remove nss.
24706         * sysdeps/unix/inet/Subdirs: Add it here instead.
24707         * hesiod/Depend: New file.
24708
24709         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24710         instead of calling alloca.
24711
24712         * io/lseek.c (__lseek): Rename to __libc_lseek.
24713         Define __lseek as an alias.
24714
24715         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24716
24717 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
24718
24719         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24720         else clause and remove check for non-standard endianness.
24721
24722 2013-02-04  David S. Miller  <davem@davemloft.net>
24723
24724         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24725
24726 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
24727
24728         [BZ #13550]
24729         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24730         (__ubp_memchr): Remove prototype.
24731         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24732         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24733         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24734         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24735         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24736         Remove alias.
24737         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24738         (__ubp_memchr): Likewise.
24739         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24740         (__ubp_memchr): Likewise.
24741         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24742         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24743         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24744         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24745         CHECK_STRING.
24746         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24747         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24748         (__getcwd): Do not use CHECK_STRING.
24749         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24750         <bp-checks.h>.
24751         (__real_chown): Do not use CHECK_STRING.
24752         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24753         <bp-checks.h>.
24754         (fchownat): Do not use CHECK_STRING.
24755         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24756         CHECK_STRING.
24757         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24758         <bp-checks.h>.
24759         (__lchown): Do not use CHECK_STRING.
24760         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24761         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24762         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24763         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24765         include <bp-checks.h>.
24766         (truncate64): Do not use CHECK_STRING.
24767         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24768         <bp-checks.h>.
24769         (__real_chown): Do not use CHECK_STRING.
24770         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24771         <bp-checks.h>.
24772         (__lchown): Do not use CHECK_STRING.
24773         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24774         <bp-checks.h>.
24775         (__chown): Do not use CHECK_STRING.
24776         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24777         <bp-checks.h>.
24778         (truncate64): Do not use CHECK_STRING.
24779         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24780         Likewise.
24781         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24782         (__xmknod): Do not use CHECK_STRING.
24783         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24784         <bp-checks.h>.
24785         (__xmknodat): Do not use CHECK_STRING.
24786         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24787         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24788
24789 2013-02-04  Andreas Schwab  <schwab@suse.de>
24790
24791         [BZ #14142]
24792         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24793         * include/netdb.h: Likewise for h_errno.
24794         * elf/tst-stackguard1.c: Include <tls.h>.
24795
24796 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
24797
24798         * elf/link.h (struct link_map): Extend the l_addr comment.
24799         * include/link.h (struct link_map): Likewise.
24800
24801 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
24802
24803         [BZ #13550]
24804         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24805         (BOUNDED_1): Remove macro.
24806         * debug/backtrace.c: Don't include <bp-checks.h>.
24807         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24808         (__backtrace): Likewise.
24809         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24810         <bp-checks.h>.
24811         (__backtrace): Don't use BOUNDED_1.
24812         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24813         <bp-checks.h>.
24814         (__backtrace): Don't use BOUNDED_1.
24815         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24816         (__backtrace): Don't use BOUNDED_1.
24817         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24818         (shmat): Don't use BOUNDED_N.
24819
24820 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
24821
24822         [BZ #13550]
24823         * sysdeps/generic/bp-start.h: Remove file.
24824         * csu/libc-start.c: Don't include <bp-start.h>.
24825         (LIBC_START_MAIN): Set up __environ directly instead of using
24826         INIT_ARGV_and_ENVIRON.
24827         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24828         <bp-start.h>.
24829
24830         [BZ #13550]
24831         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24832         definitions.
24833         (CHECK_FCNTL): Likewise.
24834         (CHECK_N_PAGES): Likewise.
24835
24836         [BZ #13550]
24837         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24838         definitions.
24839         (CHECK_SIGSET_NULL_OK): Likewise.
24840         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24841         <bp-checks.h>.
24842         (sigpending): Don't use CHECK_SIGSET.
24843         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24844         <bp-checks.h>.
24845         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24846         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24847         <bp-checks.h>.
24848         (do_sigsuspend): Don't use CHECK_SIGSET.
24849         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24850         use CHECK_SIGSET.
24851         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24852         (do_sigwait): Don't use CHECK_SIGSET.
24853         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24854         use CHECK_SIGSET.
24855         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24856         include <bp-checks.h>.
24857         (sigpending): Don't use CHECK_SIGSET.
24858         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24859         include <bp-checks.h>.
24860         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24861         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24862         <bp-checks.h>.
24863         (sigpending): Don't use CHECK_SIGSET.
24864         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24865         <bp-checks.h>.
24866         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24867
24868         [BZ #13550]
24869         * sysdeps/generic/bp-semctl.h: Remove file.
24870         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24871         <bp-checks.h> and <bp-semctl.h>.
24872         (__old_semctl): Don't use CHECK_SEMCTL.
24873         (__new_semctl): Likewise.
24874         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24875         and <bp-semctl.h>.
24876         (__old_semctl): Don't use CHECK_SEMCTL.
24877         (__new_semctl): Likewise.
24878         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24879         <bp-checks.h> and <bp-semctl.h>.
24880         (__old_semctl): Don't use CHECK_SEMCTL.
24881         (__new_semctl): Likewise.
24882         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24883         <bp-checks.h> and <bp-semctl.h>.
24884         (semctl): Don't use CHECK_SEMCTL.
24885
24886         [BZ #13550]
24887         * Makerules (elide-bp-thunks): Remove variable.
24888         (elide-routines.oS): Don't use $(elide-bp-thunks).
24889         (elide-routines.os): Likewise.
24890         (elide-routines.o): Likewise.
24891         (elide-routines.op): Likewise.
24892         (elide-routines.og): Likewise.
24893         (objects): Don't use $(bp-thunks).
24894         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24895         include.
24896         (common-generated): Do not add s-proto-bp.d.
24897         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24898         (int): Likewise.
24899         (typ): Likewise.
24900         Do not generate makefile rules for bounded-pointer thunks.
24901         * sysdeps/generic/bp-thunks.h: Remove file.
24902         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24903         * sysdeps/unix/s-proto-bp.S: Likewise.
24904
24905         [BZ #15062]
24906         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24907         parts of result separately when argument is not close to line from
24908         -i to i and one part of argument is small.
24909         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24910         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24911         * math/libm-test.inc (cacos_test): Add more tests.
24912         (casin_test): Likewise.
24913         (casinh_test): Likewise.
24914         * sysdeps/i386/fpu/libm-test-ulps: Update.
24915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24916
24917 2013-01-31  David S. Miller  <davem@davemloft.net>
24918
24919         * po/de.po: Update from translation team.
24920
24921 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
24922
24923         * time/tzfile.c: Include stdint.h for SIZE_MAX.
24924
24925 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
24926
24927         * configure.in (_AC_PROG_CC_C89): New definition.
24928         * configure: Regenerate.
24929
24930         * configure.in (AC_PROG_CPP): New definition.
24931         * configure: Regenerate.
24932
24933 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
24934
24935         * debug/tst-backtrace.h: New file.
24936         * debug/tst-backtrace2.c: Include tst-backtrace.h.
24937         (ret): Remove variable.
24938         (x): Likewise.
24939         (FAIL): Remove macro.
24940         (NO_INLINE): Likewise.
24941         (fn1): Use match function instead of strstr.
24942         * debug/tst-backtrace3.c: Include tst-backtrace.h.
24943         (ret): Remove variable.
24944         (x): Likewise.
24945         (FAIL): Remove macro.
24946         (NO_INLINE): Likewise.
24947         (fn): Use match function instead of strstr.
24948         * debug/tst-backtrace4.c: Include tst-backtrace.h.
24949         (ret): Remove variable.
24950         (x): Likewise.
24951         (FAIL): Remove macro.
24952         (NO_INLINE): Likewise.
24953         (handle_signal): Use match function instead of strstr.
24954         * debug/tst-backtrace5.c: Include tst-backtrace.h.
24955         (ret): Remove variable.
24956         (x): Likewise.
24957         (FAIL): Remove macro.
24958         (NO_INLINE): Likewise.
24959         (handle_signal): Use match function instead of strstr.
24960
24961 2013-01-23  Roland McGrath  <roland@hack.frob.com>
24962
24963         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24964
24965 2013-01-23  David S. Miller  <davem@davemloft.net>
24966
24967         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24968         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24969         argument of CAS if possible.
24970         * sysdeps/sparc/sparc64/bits/atomic.h
24971         (__arch_compare_and_exchange_val_32_acq): Likewise.
24972         (__arch_compare_and_exchange_val_64_acq): Likewise.
24973
24974 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
24975
24976         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24977         * sysdeps/posix/ulimit.c: ... this.
24978         Include <limits.h>.
24979         * sysdeps/unix/bsd/ulimit.c: Remove file.
24980
24981 2013-01-23  Adam Conrad  <adconrad@0c3.net>
24982
24983         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24984         (LDFLAGS-tst-array5): Likewise.
24985
24986 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
24987
24988         [BZ #15036]
24989         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24990         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24991         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24992         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24993
24994 2013-01-21  David S. Miller  <davem@davemloft.net>
24995
24996         * sysdeps/sparc/backtrace.c: New file.
24997         * sysdeps/sparc/sparc32/backtrace.h: New file.
24998         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24999         * sysdeps/sparc/sparc64/backtrace.h: New file.
25000         * sysdeps/sparc/sparc64/backtrace.c: Delete.
25001         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25002         -funwind-tables.
25003
25004 2013-01-21  Andreas Schwab  <schwab@suse.de>
25005
25006         [BZ #15020]
25007         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25008         closed its stdout.
25009
25010 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
25011
25012         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25013         "mpa2.h".
25014         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25015
25016 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
25017             Mark Mitchell  <mark@codesourcery.com>
25018             Tom de Vries  <tom@codesourcery.com>
25019             Paul Pluzhnikov  <ppluzhnikov@google.com>
25020
25021         * debug/tst-backtrace2.c: New file.
25022         * debug/tst-backtrace3.c: Likewise.
25023         * debug/tst-backtrace4.c: Likewise.
25024         * debug/tst-backtrace5.c: Likewise.
25025         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25026         (CFLAGS-tst-backtrace3.c): Likewise.
25027         (CFLAGS-tst-backtrace4.c): Likewise.
25028         (CFLAGS-tst-backtrace5.c): Likewise.
25029         (LDFLAGS-tst-backtrace2): Likewise.
25030         (LDFLAGS-tst-backtrace3): Likewise.
25031         (LDFLAGS-tst-backtrace4): Likewise.
25032         (LDFLAGS-tst-backtrace5): Likewise.
25033         (tests): Add new tests tst-backtrace2, tst-backtrace3,
25034         tst-backtrace4 and tst-backtrace5.
25035
25036 2013-01-18  Anton Blanchard  <anton@samba.org>
25037             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25038
25039         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25040         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25041         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25042         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25044         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25045         "+r" and remove output regs list as redundant.  Add explicit inline
25046         asm to specify register of return val to work around compiler codegen
25047         bug.  Remove (int) cast on return value.  Add return type parameter to
25048         use in macro so that this macro does not truncate return value for
25049         64-bit values.
25050         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25051         pass to INTERNAL_VSYSCALL_NCS.
25052         (INLINE_VSYSCALL): Add 'long int' as return type to
25053         INTERNAL_VSYSCALL_NCS macro invocation.
25054         (INTERNAL_VSYSCALL): Add 'long int' as return type to
25055         INTERNAL_VSYSCALL_NCS macro invocation.
25056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25057
25058 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25059
25060         [BZ #14496]
25061         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25062         Fix application of SIMD FP exception mask.
25063
25064         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25065         mp_no from a power of two.
25066         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25067         __mpexp_twomm1.  Use __pow_mp.
25068
25069         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25070         multiplication.
25071
25072 2013-01-17  David S. Miller  <davem@davemloft.net>
25073
25074         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25075
25076 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25077
25078         [BZ #15023]
25079         * include/complex.h: Condition contents on [!_COMPLEX_H].
25080         (__kernel_casinhf): New prototype.
25081         (__kernel_casinh): Likewise.
25082         (__kernel_casinhl): Likewise.
25083         * math/Makefile (libm_calls): Add k_casinh.
25084         * math/k_casinh.c: New file.
25085         * math/k_casinhf.c: Likewise.
25086         * math/k_casinhl.c: Likewise.
25087         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25088         finite nonzero arguments.
25089         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25090         finite nonzero arguments.
25091         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25092         finite nonzero arguments.
25093         * math/s_casinh.c: Do not include <float.h>.
25094         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25095         * math/s_casinhf.c: Do not include <float.h>.
25096         (__casinhf): Move code for finite nonzero arguments to
25097         k_casinhf.c.
25098         * math/s_casinhl.c: Do not include <float.h>.
25099         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25100         redefine.
25101         (__casinhl): Move code for finite nonzero arguments to
25102         k_casinhl.c.
25103         * math/libm-test.inc (cacos_test): Add more tests.
25104         * sysdeps/i386/fpu/libm-test-ulps: Update.
25105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25106
25107 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
25108
25109         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25110         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25111         [!HAVE_MREMAP]: Remove [defined linux] case.
25112         * malloc/arena.c: Do not include <malloc-sysdep.h>.
25113
25114 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25115
25116         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25117
25118 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
25119
25120         * elf/elf.h (R_386_SIZE32): New relocation.
25121         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25122         R_386_SIZE32.
25123         (elf_machine_rela): Likewise.
25124         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25125         R_X86_64_SIZE64 and R_X86_64_SIZE32.
25126
25127 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25128
25129         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25130         (FP_FAST_FMA): Do not define.
25131         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25132         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25133         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25134         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25135         !_SOFT_FLOAT]: Likewise.
25136         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25137         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25138         value.
25139         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25140         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25141         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25142         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25143         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25144         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25145         file.
25146
25147 2013-01-16  Andreas Schwab  <schwab@suse.de>
25148
25149         [BZ #14327]
25150         * include/stdlib.h (__mktemp): Add declaration.
25151         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25152         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25153
25154 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25155
25156         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25157         definitions.
25158         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25159         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25160         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25161         definitions here.
25162         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25163         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25164         definitions.
25165         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25166         and ONE.
25167         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25168         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25169         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25170         definitions.
25171         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25172         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25173         definitions.
25174         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25175
25176         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25177
25178 2013-01-15  David S. Miller  <davem@davemloft.net>
25179
25180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25181         trunc{,f} to libm-sysdep_routes.
25182         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25184         file.
25185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25187         file.
25188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25189         file.
25190         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25192         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25193         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25194         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25195         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25196         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25197         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25198
25199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25200         nearbyint{,f} to libm-sysdep_routes.
25201         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25203         New file.
25204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25205         file.
25206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25207         New file.
25208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25209         file.
25210         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25211         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25212         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25213         file.
25214         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25215         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25216         file.
25217         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25218         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25219         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25220
25221         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25222         libc_feholdexcept and libc_fesetenv.
25223
25224 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
25225
25226         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25227
25228 2013-01-14  David S. Miller  <davem@davemloft.net>
25229
25230         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25231         (SPARC_ASM_VIS2_IFUNC): Likewise.
25232         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25234         use of 'siam' instruction.
25235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25236         Likewise.
25237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25238         Likewise.
25239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25240         Likewise.
25241         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25242         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25243         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25244         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25246         file.
25247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25248         file.
25249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25250         file.
25251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25252         file.
25253         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25254         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25255         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25256         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25258         new VIS2 routines.
25259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25262         Likewise.
25263         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25264         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25265         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25266         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25268         routines to libm-sysdep_routines.
25269         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25270
25271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25272         fdim/fdimf to libm-sysdep_routines.
25273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25274         file.
25275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25277         file.
25278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25279         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25280         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25281         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25282         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25283         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25284         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25285
25286 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25287
25288         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25289         to optimize copies.
25290
25291         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25292         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25293         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25294
25295         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25296         local variable MPTWO.
25297         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25298         Likewise.
25299
25300 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25301
25302         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25303         GLOB_NOESCAPE.
25304
25305 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25306
25307         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25308
25309 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25310
25311         * manual/pattern.texi (glob_t): Document gl_flags.
25312         (glob64_t): Likewise.
25313
25314 2013-01-11  David S. Miller  <davem@davemloft.net>
25315
25316         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25317         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25318         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
25319         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25320         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25321         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25322         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25323         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25324         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25325         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25326         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25327         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25328         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25329
25330         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25331         sparc V9 rather than using V8 code.
25332         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25333         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25334
25335         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25336         Move to...
25337         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25338         Here.
25339
25340 2013-01-11  Roland McGrath  <roland@hack.frob.com>
25341
25342         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25343         not in the main loop.
25344         * configure: Regenerated.
25345
25346 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
25347
25348         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25349         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25350         to just #else.
25351         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
25352         [!__GLIBC_HAVE_LONG_LONG] case.
25353         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25354         condition to just #else.
25355         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25356         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25357         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25358         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25359         unconditional.
25360         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25361         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25362         #elif condition to just #else.
25363         * sysdeps/unix/sysv/linux/sys/sysmacros.h
25364         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25365         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25366         #elif condition to just #else.
25367
25368 2013-01-11  Steve Ellcey  <sellcey@mips.com>
25369
25370         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25371         (EF_MIPS_ARCH_64): Fix value.
25372         (EF_MIPS_ARCH_32R2): New.
25373         (EF_MIPS_ARCH_64R2): New.
25374
25375 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
25376
25377         * Makeconfig (+link-pie-before-libc): New.
25378         (+link-pie-after-libc): Likewise.
25379         (+link-pie-tests): Likewise.
25380         (+link-pie): Rewritten.
25381         (link-before-libc): Remove $(config-LDFLAGS).
25382         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25383         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25384         (config-LDFLAGS): Renamed to ...
25385         (rtld-LDFLAGS): This.
25386         (rtld-tests-LDFLAGS): New macro.
25387         (link-libc-rpath-link): Likewise.
25388         (link-libc-tests-rpath-link): Likewise.
25389         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25390         (link-libc): Prepand $(link-libc-rpath-link).
25391         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25392         (test-program-prefix): New macro.
25393         (test-via-rtld-prefix): Likewise.
25394         (test-program-cmd): Likewise.
25395         (host-test-program-cmd): Likewise.
25396         * Makefile ($(common-objpfx)testrun.sh): Replace
25397         $(run-program-prefix) with $(test-program-prefix).
25398         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25399         $(rtld-LDFLAGS).
25400         ($(common-objpfx)shlib.lds): Likewise.
25401         (build-module-helper): Likewise.
25402         ($(common-objpfx)format.lds): Likewise.
25403         * Rules (binaries-pie-tests): New.
25404         (binaries-pie-notests): Likewise.
25405         (binaries-pie): Rewritten.
25406         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25407         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25408         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25409         (make-test-out): Replace $(host-built-program-cmd) with
25410         $(host-test-program-cmd).
25411         * config.make.in (build-hardcoded-path-in-tests): New variable.
25412         * configure.in (--enable-hardcoded-path-in-tests): New configure
25413         option.
25414         (hardcoded_path_in_tests): New AC_SUBST.
25415         * configure: Regenerated.
25416         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25417         $(built-program-cmd) with $(test-program-cmd).
25418         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25419         (test_program_cmd): This.
25420         * elf/Makefile ($(objpfx)order.out): Run test with
25421         $(test-program-prefix).
25422         ($(objpfx)order2.out): Likewise.
25423         ($(objpfx)tst-initorder.out): Likewise.
25424         ($(objpfx)tst-initorder2.out): Likewise.
25425         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25426         $(test-program-cmd).
25427         ($(objpfx)tst-array1-static.out): Likewise.
25428         ($(objpfx)tst-array2.out): Likewise.
25429         ($(objpfx)tst-array3.out): Likewise.
25430         ($(objpfx)tst-array4.out): Likewise.
25431         ($(objpfx)tst-array5.out): Likewise.
25432         ($(objpfx)tst-array5-static.out): Likewise.
25433         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25434         $(test-program-cmd).
25435         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25436         $(run-program-prefix) with $(test-program-prefix).
25437         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25438         (test_program_prefix): This.
25439         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25440         $(run-program-prefix) with $(test-program-prefix).
25441         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25442         (test_program_prefix): This.
25443         * iconvdata/tst-tables.sh: Likewise.
25444         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25445         $(run-program-prefix) with $(test-program-prefix).
25446         ($(objpfx)tst-translit.out): Likewise.
25447         ($(objpfx)tst-gettext2.out): Likewise.
25448         ($(objpfx)tst-gettext4.out): Likewise.
25449         ($(objpfx)tst-gettext6.out): Likewise.
25450         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25451         (test_program_prefix): This.
25452         * intl/tst-gettext2.sh: Likewise.
25453         * intl/tst-gettext4.sh  Likewise.
25454         * intl/tst-gettext6.sh: Likewise.
25455         * intl/tst-translit.sh: Likewise.
25456         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25457         with $(test-program-cmd).
25458         * libio/Makefile ($(objpfx)test-freopen.out): Replace
25459         $(run-program-prefix) with $(test-program-prefix).
25460         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25461         (test_program_prefix): This.
25462         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25463         $(run-program-prefix) with $(test-program-prefix).
25464         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25465         (test_program_prefix): This.
25466         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25467         * posix/Makefile ($(objpfx)globtest.out): Replace
25468         $(run-via-rtld-prefix) and $(test-wrapper) with
25469         $(test-program-prefix) and $(test-via-rtld-prefix).
25470         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25471         $(test-program-prefix).
25472         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25473         $(host-test-program-cmd).
25474         (tst-spawn-ARGS): Likewise.
25475         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25476         $(test-program-prefix).
25477         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25478         (test_via_rtld_prefix): This.
25479         (test_wrapper): Renamed to ...
25480         (test_program_prefix): This.
25481         (run_program_prefix): Replaced by test_program_prefix.
25482         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25483         (test_program_prefix): This.
25484         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25485         with $(host-test-program-cmd).
25486         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25487         $(run-program-prefix) with $(test-program-prefix).
25488         ($(objpfx)tst-printf.out): Likewise.
25489         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25490         $(test-program-cmd).
25491         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25492         (test_program_prefix): This.
25493         * stdio-common/tst-unbputc.sh: Likewise.
25494         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25495         $(run-program-prefix) with $(test-program-prefix).
25496         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25497         (test_program_prefix): This.
25498         * string/Makefile ($(objpfx)tst-svc.out):  Replace
25499         $(built-program-cmd) with $(test-program-cmd).
25500
25501 2013-01-11  Andreas Jaeger  <aj@suse.de>
25502
25503         [BZ #15003]
25504         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25505         value. Sync with Linux 3.7.
25506
25507 2013-01-10  David S. Miller  <davem@davemloft.net>
25508
25509         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25510         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25511         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25512
25513 2013-01-10  Roland McGrath  <roland@hack.frob.com>
25514
25515         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25516         never set.
25517         * configure: Regenerated.
25518
25519 2013-01-10  David S. Miller  <davem@davemloft.net>
25520
25521         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25522         sparc V9 rather than using V8 code.
25523         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25524         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25525
25526 2013-01-10  Roland McGrath  <roland@hack.frob.com>
25527
25528         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25529         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25530         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25531         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25532         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25533         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25534         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25535         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25536         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25537         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25538         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25539         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25540         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25541         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25542         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25543         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25544         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25545         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25546         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25547         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25548         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25549         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25550         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25551         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25552         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25553         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25554         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25555
25556 2013-01-10  David S. Miller  <davem@davemloft.net>
25557
25558         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25559
25560 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
25561
25562         * posix/Makefile (tests-static): New variable.
25563         (tests): Add $(tests-static).
25564         (tst-exec-static-ARGS): New variable.
25565         (tst-spawn-static-ARGS): Likewise.
25566         * posix/tst-exec-static.c: New file.
25567         * posix/tst-spawn-static.c: Likewise.
25568         * posix/tst-exec.c: Support run directly.
25569         * posix/tst-spawn.c: Likewise.
25570
25571 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
25572
25573         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25574         long.
25575         * math/bits/mathcalls.h (llrint): Likewise.
25576         (llround): Likewise.
25577         * stdlib/stdlib.h (struct drand48_data): Likewise.
25578         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25579         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25580         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25581         Likewise.
25582         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25583         Likewise.
25584         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25585         (elf_greg_t): Likewise.
25586         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25587         (__jmp_buf): Likewise.
25588         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25589         definitions.
25590         (llrint): Likewise, for all definitions.
25591         (llrintl): Likewise.
25592
25593         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25594         Remove [__GNUC__] condition.
25595         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25596         condition to just [__USE_ISOC99].
25597         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25598
25599 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
25600
25601         [BZ #14200]
25602         * sysdeps/unix/sysv/linux/x86/bits/environments.h
25603         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25604         defined.
25605         (_POSIX_V6_ILP32_OFF32): Likewise.
25606         (_XBS5_ILP32_OFF32): Likewise.
25607         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25608         (__ILP32_OFFBIG_LDFLAGS): Likewise.
25609
25610 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25611
25612         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25613
25614         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25615         doubles __mpexp_twomm1.  Adjust usage.
25616         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25617         Remove.
25618
25619 2013-01-10  Andreas Schwab  <schwab@suse.de>
25620
25621         [BZ #14964]
25622         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25623         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25624
25625 2013-01-09  David S. Miller  <davem@davemloft.net>
25626
25627         [BZ #15003]
25628         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25629         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25630         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25631         (TCP_FASTOPEN): Define.
25632         (tcp_repair_opt): New structure.
25633         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25634         enum values.
25635         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25636         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25637         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25638         (tcp_cookie_transactions): New structure.
25639
25640 2013-01-09  Anton Blanchard  <anton@samba.org>
25641
25642         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25643         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25644         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25645         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25646
25647 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
25648
25649         * include/features.h (__USE_ANSI): Remove.
25650
25651 2013-01-09  Roland McGrath  <roland@hack.frob.com>
25652
25653         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25654
25655         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25656
25657 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
25658
25659         * sysdeps/s390/fpu/libm-test-ulps: Update.
25660
25661         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25662
25663         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25664         (__acr): Likewise.
25665         (__cpy): Likewise.
25666         (norm): Likewise.
25667         (denorm): Likewise.
25668         (__mp_dbl): Likewise.
25669         (__dbl_mp): Likewise.
25670         (add_magnitudes): Likewise.
25671         (sub_magnitudes): Likewise.
25672         (__add): Likewise.
25673         (__sub): Likewise.
25674         (__mul): Likewise.
25675         (__inv): Likewise.
25676         (__dvd): Likewise.
25677         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25678         (__acr): Likewise.
25679         (__cpy): Likewise.
25680         (norm): Likewise.
25681         (denorm): Likewise.
25682         (__mp_dbl): Likewise.
25683         (__dbl_mp): Likewise.
25684         (add_magnitudes): Likewise.
25685         (sub_magnitudes): Likewise.
25686         (__add): Likewise.
25687         (__sub): Likewise.
25688         (__mul): Likewise.
25689         (__inv): Likewise.
25690         (__dvd): Likewise.
25691         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25692         (__acr): Likewise.
25693         (__cpy): Likewise.
25694         (norm): Likewise.
25695         (denorm): Likewise.
25696         (__mp_dbl): Likewise.
25697         (__dbl_mp): Likewise.
25698         (add_magnitudes): Likewise.
25699         (sub_magnitudes): Likewise.
25700         (__add): Likewise.
25701         (__sub): Likewise.
25702         (__mul): Likewise.
25703         (__inv): Likewise.
25704         (__dvd): Likewise.
25705
25706 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
25707
25708         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25709         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25710         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25711         2 && __USE_EXTERN_INLINES]: Likewise.
25712
25713 2013-01-08  Andreas Jaeger  <aj@suse.de>
25714
25715         [BZ# 14985]
25716         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25717         Remove.
25718         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25719         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25720
25721 2013-01-07  Anton Blanchard  <anton@samba.org>
25722
25723         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25724         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25725         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25726         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25727         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25728         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25729         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25730         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25731         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25732         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25733         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25734         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25735         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25736         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25737         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25738         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25739         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25740         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25741         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25742         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25743         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25744         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25745         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25746         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25747         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25748         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25749         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25750         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25751         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25752         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25753         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25754         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25755         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25756         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25757         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25758         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25759         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25760         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25761         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25762         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25763         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25764         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25765         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25766
25767 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
25768
25769         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25770         (__MALLOC_PMT): Likewise.
25771         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25772         [__GNUC__], only on [_LIBC].
25773         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25774         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25775         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25776         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25777         forward declaration.
25778         (realloc_hook_ini): Likewise.
25779         (memalign_hook_ini): Likewise.
25780         (__libc_memalign): Do not use __MALLOC_PMT in variable
25781         declaration.
25782         (__libc_valloc): Likewise.
25783         (__libc_pvalloc): Likewise.
25784         (__libc_calloc): Likewise.
25785         (__posix_memalign): Likewise.
25786
25787         [BZ #14996]
25788         * math/s_casinh.c: Include <float.h>.
25789         (__casinh): Do not do computation with squaring and square root
25790         for large arguments.
25791         * math/s_casinhf.c: Include <float.h>.
25792         (__casinhf): Do not do computation with squaring and square root
25793         for large arguments.
25794         * math/s_casinhl.c: Include <float.h>.
25795         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25796         (__casinhl): Do not do computation with squaring and square root
25797         for large arguments.
25798         * math/libm-test.inc (casin_test): Add more tests.
25799         (casinh_test): Likewise.
25800         * sysdeps/i386/fpu/libm-test-ulps: Update.
25801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25802
25803 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
25804
25805         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25806         (__x86_64_raw_data_cache_size): Likewise.
25807         (__x86_64_data_cache_size_half): Likewise.
25808         (__x86_64_raw_data_cache_size_half): Likewise.
25809         (__x86_64_shared_cache_size): Likewise.
25810         (__x86_64_raw_shared_cache_size): Likewise.
25811         (__x86_64_shared_cache_size_half): Likewise.
25812         (__x86_64_raw_shared_cache_size_half): Likewise.
25813         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25814         to ...
25815         (__x86_data_cache_size): This.
25816         (__x86_64_raw_data_cache_size): Renamed to ...
25817         (__x86_raw_data_cache_size): This.
25818         (__x86_64_data_cache_size_half): Renamed to ...
25819         (__x86_data_cache_size_half): This.
25820         (__x86_64_raw_data_cache_size_half): Renamed to ...
25821         (__x86_raw_data_cache_size_half): This.
25822         (__x86_64_shared_cache_size): Renamed to ...
25823         (__x86_shared_cache_size): This.
25824         (__x86_64_raw_shared_cache_size): Renamed to ...
25825         (__x86_raw_shared_cache_size): This.
25826         (__x86_64_shared_cache_size_half): Renamed to ...
25827         (__x86_shared_cache_size_half): This.
25828         (__x86_64_raw_shared_cache_size_half): Renamed to ...
25829         (__x86_raw_shared_cache_size_half): This.
25830         * sysdeps/x86_64/memcpy.S: Updated.
25831         * sysdeps/x86_64/memset.S: Likewise.
25832         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25833         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25834         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25835
25836 2013-01-04  David S. Miller  <davem@davemloft.net>
25837
25838         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25839
25840 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
25841
25842         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25843         1 to avoid redefinition warning.
25844         (__USE_GNU): Don't define.
25845         (init_signaling_nan): Protoize.
25846
25847         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25848
25849 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25850
25851         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25852         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25853         (__cpymn): Likewise.
25854         (norm): Remove commented code.
25855         (denorm): Likewise.
25856         (__mp_dbl): Likewise.
25857         (__inv): Likewise.
25858         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25859         (__cpymn): Likewise.
25860         (norm): Remove commented code.
25861         (denorm): Likewise.
25862         (__mp_dbl): Likewise.
25863         (__inv): Likewise.
25864
25865         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25866         mp_no value for 1.0 and 2.0.
25867         (norm): Use RADIXI instead of radixi.d.
25868         (denorm): Likewise.
25869         (__mul): Use 0.0 instead of zero.d.
25870         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25871         mp_no value for 1.0 and 2.0.
25872         (norm): Use RADIXI instead of radixi.d.
25873         (denorm): Likewise.
25874         (__mul): Use 0.0 instead of zero.d.
25875
25876 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
25877
25878         [BZ #14994]
25879         * math/s_casinh.c (__casinh): Reduce finite argument to first
25880         quadrant then set signs of results at the end.
25881         * math/s_casinhf.c (__casinhf): Likewise.
25882         * math/s_casinhl.c (__casinhl): Likewise.
25883         * math/libm-test.inc (casin_test): Add more tests.
25884         (casinh_test): Likewise.
25885         * sysdeps/i386/fpu/libm-test-ulps: Update.
25886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25887
25888 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25889
25890         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25891
25892         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25893
25894         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25895         declarations.
25896         (denorm): Likewise.
25897         (__mp_dbl): Likewise.
25898         (__inv): Likewise.
25899
25900         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25901         and adjust the header comment.
25902
25903         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25904         variable name from declaration.
25905
25906 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
25907
25908         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25909         Initialize COMMON_CPUID_INDEX_7 element.
25910         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25911         (CPUID_RTM): Likewise.
25912         (HAS_RTM): Likewise.
25913         (COMMON_CPUID_INDEX_7): New enum.
25914
25915 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
25916
25917         [BZ #14981]
25918         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25919         size is zero, record memory as freed.
25920
25921 2013-01-03  Andreas Jaeger  <aj@suse.de>
25922
25923         * po/ia.po: Add new Interlingua translation.
25924
25925 2012-01-03  Allan McRae  <allan@archlinux.org>
25926
25927         * locale/programs/localedef.c: Fix description of '--posix' flag.
25928
25929 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
25930
25931         * NEWS: Update dates in second copyright notice.
25932         * README: Update copyright dates in example.
25933         * manual/libc.texinfo: Update copyright dates.
25934         * scripts/test-installation.pl: Update copyright date in --version
25935         output.
25936
25937         * hurd/ctty-input.c: Fix copyright notice formatting.
25938         * hurd/ctty-output.c: Likewise.
25939         * hurd/dtable.c: Likewise.
25940         * hurd/hurd-raise.c: Likewise.
25941         * hurd/hurdprio.c: Likewise.
25942         * hurd/msgportdemux.c: Likewise.
25943         * misc/sys/file.h: Likewise.
25944         * misc/sys/ioctl.h: Likewise.
25945         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25946         * sysdeps/mach/hurd/chdir.c: Likewise.
25947         * sysdeps/mach/hurd/fchdir.c: Likewise.
25948         * sysdeps/mach/hurd/rename.c: Likewise.
25949         * sysdeps/mach/hurd/rmdir.c: Likewise.
25950         * sysdeps/mach/hurd/seekdir.c: Likewise.
25951         * sysdeps/mach/hurd/setsid.c: Likewise.
25952         * sysdeps/posix/wait3.c: Likewise.
25953
25954         * All files with FSF copyright notices: Update copyright dates
25955         using scripts/update-copyrights.
25956         * intl/plural.c: Regenerated.
25957         * locale/programs/charmap-kw.h: Likewise.
25958         * locale/programs/locfile-kw.h: Likewise.
25959
25960 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25961
25962         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25963         four values.
25964
25965         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25966         calculation loop and add branch prediction.
25967
25968         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25969         check access beyond bounds of m1np.
25970
25971         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25972         MPTWO.
25973         (__inv): Remove local variable MPTWO to use the global
25974         constant.
25975         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25976         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25977         variable MPTWO.
25978         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25979         MP3HALFS static const.
25980
25981 2013-01-01  David S. Miller  <davem@davemloft.net>
25982
25983         * po/ca.po: Update from translation team.
25984
25985 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
25986
25987         * scripts/update-copyrights: New file.
25988         * Makeconfig: Reformat copyright notice.
25989         * ctype/ctype.h: Likewise.
25990         * debug/swprintf_chk.c: Likewise.
25991         * elf/dl-cache.c: Likewise.
25992         * elf/dl-debug.c: Likewise.
25993         * elf/dl-object.c: Likewise.
25994         * grp/initgroups.c: Likewise.
25995         * hurd/Makefile: Likewise.
25996         * hurd/hurd/signal.h: Likewise.
25997         * hurd/hurdfault.c: Likewise.
25998         * hurd/hurdioctl.c: Likewise.
25999         * hurd/hurdlookup.c: Likewise.
26000         * hurd/intr-msg.c: Likewise.
26001         * iconv/gconv_open.c: Likewise.
26002         * libio/swprintf.c: Likewise.
26003         * locale/lc-ctype.c: Likewise.
26004         * locale/nl_langinfo.c: Likewise.
26005         * mach/Machrules: Likewise.
26006         * mach/Makefile: Likewise.
26007         * malloc/obstack.h: Likewise.
26008         * manual/Makefile: Likewise.
26009         * manual/tsort.awk: Likewise.
26010         * misc/bits/stab.def: Likewise.
26011         * nis/nis_print_group_entry.c: Likewise.
26012         * nis/nis_table.c: Likewise.
26013         * nis/nss_compat/compat-pwd.c: Likewise.
26014         * nis/nss_compat/compat-spwd.c: Likewise.
26015         * po/Makefile: Likewise.
26016         * posix/fnmatch.c: Likewise.
26017         * posix/regex.h: Likewise.
26018         * resolv/Makefile: Likewise.
26019         * resolv/nss_dns/dns-network.c: Likewise.
26020         * resolv/res_hconf.c: Likewise.
26021         * scripts/gen-sorted.awk: Likewise.
26022         * soft-fp/soft-fp.h: Likewise.
26023         * stdio-common/printf.h: Likewise.
26024         * stdlib/monetary.h: Likewise.
26025         * stdlib/random.c: Likewise.
26026         * stdlib/random_r.c: Likewise.
26027         * sysdeps/generic/Makefile: Likewise.
26028         * sysdeps/gnu/Makefile: Likewise.
26029         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26030         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26031         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26032         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26033         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26034         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26035         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26036         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26037         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26038         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26039         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26040         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26041         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26042         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26043         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26044         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26045         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26046         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26047         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26048         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26049         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26050         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26051         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26052         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26053         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26054         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26055         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26056         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26057         * sysdeps/mach/hurd/errnos.awk: Likewise.
26058         * sysdeps/mach/hurd/fork.c: Likewise.
26059         * sysdeps/mach/hurd/getcwd.c: Likewise.
26060         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26061         * sysdeps/mach/hurd/mmap.c: Likewise.
26062         * sysdeps/mach/hurd/utimes.c: Likewise.
26063         * sysdeps/mach/hurd/xmknod.c: Likewise.
26064         * sysdeps/posix/profil.c: Likewise.
26065         * sysdeps/posix/readdir_r.c: Likewise.
26066         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26067         * sysdeps/powerpc/bits/setjmp.h: Likewise.
26068         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26069         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26070         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26071         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26072         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26073         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26074         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26075         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26076         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26077         * sysdeps/pthread/lio_listio.c: Likewise.
26078         * sysdeps/sparc/dl-procinfo.h: Likewise.
26079         * sysdeps/unix/i386/sysdep.S: Likewise.
26080         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26081         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26082         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26083         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26085         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26086         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26087         * sysdeps/unix/sysv/linux/speed.c: Likewise.
26088         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26089         * sysdeps/wordsize-32/divdi3.c: Likewise.
26090         * time/sys/time.h: Likewise.
26091         * wcsmbs/Makefile: Likewise.
26092
26093 2013-01-01  David S. Miller  <davem@davemloft.net>
26094
26095         * po/fr.po: Update from translation team.
26096
26097         * catgets/gencat.c: Update copyright year.
26098         * csu/version.c: Likewise.
26099         * debug/catchsegv.sh: Likewise.
26100         * debug/pcprofiledump.c: Likewise.
26101         * debug/xtrace.sh: Likewise.
26102         * elf/ldconfig.c: Likewise.
26103         * elf/ldd.bash.in: Likewise.
26104         * elf/pldd.c: Likewise.
26105         * elf/sotruss.ksh: Likewise.
26106         * elf/sprof.c: Likewise.
26107         * iconv/iconv_prog.c: Likewise.
26108         * iconv/iconvconfig.c: Likewise.
26109         * locale/programs/locale.c: Likewise.
26110         * locale/programs/localedef.c: Likewise.
26111         * login/programs/pt_chown.c: Likewise.
26112         * malloc/memusage.sh: Likewise.
26113         * malloc/memusagestat.c: Likewise.
26114         * malloc/mtrace.pl: Likewise.
26115         * nscd/nscd.c: Likewise.
26116         * nss/getent.c: Likewise.
26117         * nss/makedb.c: Likewise.
26118         * posix/getconf.c: Likewise.
26119
26120 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26121
26122         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26123         numbers.
26124
26125 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
26126
26127         * math/bits/mathcalls.h (modf): Use __nonnull.
26128
26129 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26130
26131         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26132         (split): Use macro CN instead of the bare value.
26133         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26134         could be used.
26135         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26136         instead of the bare value.
26137         (power1): Likewise.
26138
26139 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26140
26141         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26142         __ATAN_TWOM.
26143         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26144
26145         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26146         their values.
26147         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26148         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26149         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26150         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26151
26152 2012-12-28  Andreas Jaeger  <aj@suse.de>
26153
26154         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
26155         values are from Linux 3.7.
26156
26157         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26158         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
26159
26160 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26161
26162         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26163         TRUE case.
26164
26165         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26166         (norm): Likewise.
26167         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26168         variables with preprocessor constants.
26169         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26170         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26171         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26172
26173 2012-12-27  Bruno Haible  <bruno@clisp.org>
26174
26175         [BZ #14317]
26176         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26177         only if needed.
26178
26179 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26180
26181         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26182         and use variable directly.
26183         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26184
26185         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26186         MPONE.
26187         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26188         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26189         variable MPONE.
26190         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26191         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26192         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26193         include directive.  Remove local variable MPONE.
26194         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26195         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26196         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26197
26198 2012-12-25  David S. Miller  <davem@davemloft.net>
26199
26200         * version.h (RELEASE): Set to "development".
26201         (VERSION): Set to "2.17.90".
26202         * NEWS: Add 2.18 section.
26203
26204 2012-12-21  David S. Miller  <davem@davemloft.net>
26205
26206         * po/hr.po: Update from translation team.
26207
26208 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26209
26210         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26211
26212 2012-12-19  Steve Ellcey  <sellcey@mips.com>
26213
26214         * NEWS:  Mention new memcpy for MIPS.
26215
26216 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26217
26218         * manual/contrib.texi (Contributors): Spelling correction.
26219
26220 2012-12-15  David S. Miller  <davem@davemloft.net>
26221
26222         * po/ru.po: Update from translation team.
26223
26224 2012-12-13  David S. Miller  <davem@davemloft.net>
26225
26226         * NEWS: Mention IFUNC testsuite enhancements.
26227
26228         * po/pl.po: Update from translation team.
26229         * po/bg.po: Likewise.
26230
26231         * manual/contrib.texi (Contributors): Update entries for Hongjiu
26232         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
26233
26234 2012-12-11  David S. Miller  <davem@davemloft.net>
26235
26236         * po/sv.po: Update from translation team.
26237
26238         * po/vi.po: Update from translation team.
26239
26240         * po/cs.po: Update from translation team.
26241
26242         * po/de.po: Update from translation team.
26243         * po/eo.po: Likewise.
26244         * po/nl.po: Likewise.
26245
26246 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26247
26248         [BZ #14246]
26249         * manual/argp.texi (Argp Helper Functions): Move node to follow
26250         Argp Parsing State.
26251
26252         [BZ #14872]
26253         * manual/conf.texi (Limits on File System Capacity): Mention if
26254         terminating null is included in the max size.
26255
26256 2012-12-10  Andreas Jaeger  <aj@suse.de>
26257
26258         * po/cs.po: Update from translation team.
26259
26260 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26261
26262         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26263         void pointer and cast to uintptr_t.
26264         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26265         path.
26266         * sysdeps/s390/s390-64/memcpy.S: Likewise.
26267         * sysdeps/s390/s390-64/memset.S: Likewise.
26268
26269 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
26270
26271         [BZ #14833]
26272         * menual/message.texi (Message Translation): Fix typos.
26273         (Helper programs for gettext): Likewise.
26274
26275 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
26276
26277         [BZ #14898]
26278         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26279         Change to -1.
26280
26281 2012-12-07  David S. Miller  <davem@davemloft.net>
26282
26283         * po/libc.pot: Update.
26284
26285 2012-12-07  Richard Henderson  <rth@redhat.com>
26286
26287         [BZ #10114]
26288         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26289         normal/normal case to before the switch.
26290         (_FP_DIV): Likewise.
26291
26292 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
26293             Mike Frysinger  <vapier@gentoo.org>
26294
26295         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26296         check for __NR_fadvise64_64.
26297
26298 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
26299
26300         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26301         0, not just to plain "0" as a statement.
26302         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26303         with cw.
26304
26305 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
26306
26307         * NEWS: Use sourceware.org in Bugzilla URL.
26308
26309 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26310
26311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26312         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26313
26314         * stdio-common/tst-put-error.c (do_test): Add newline to the
26315         padded test to ensure flush.
26316
26317 2012-12-05  Jeff Law  <law@redhat.com>
26318
26319         * sunrpc/etc.rpc (fedfs_admin): Add entry.
26320
26321 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
26322
26323         * README: Don't refer to ports add-on as distributed separately.
26324         Mention AArch64 in list of systems supported in the ports add-on.
26325
26326         * LICENSES: Add more non-FSF copyright and license notices.
26327
26328         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26329         ((unused)).
26330
26331         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26332
26333         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26334         10000 as width of padded output.
26335
26336 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26337
26338         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26339
26340         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26341         variable LX with __attribute__ ((unused)).
26342         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26343         Likewise.
26344         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26345         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26346         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26347         with __attribute__ ((unused)).
26348
26349 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
26350
26351         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26352
26353 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26354
26355         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26356         (CFLAGS-nldbl-acos.c): New variable.
26357         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26358         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26359         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26360         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26361         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26362         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26363         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26364         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26365         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26366         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26367         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26368         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26369         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26370         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26371         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26372         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26373         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26374         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26375         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26376         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26377         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26378         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26379         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26380         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26381         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26382         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26383         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26384         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26385         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26386         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26387         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26388         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26389         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26390         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26391         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26392         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26393         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26394         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26395         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26396         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26397         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26398         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26399         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26400         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26401         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26402         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26403         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26404         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26405         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26406         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26407         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26408         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26409         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26410         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26411         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26412         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26413         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26414         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26415         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26416         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26417         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26418         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26419         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26420         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26421         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26422         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26423         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26424         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26425         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26426         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26427         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26428         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26429         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26430         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26431         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26432         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26433         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26434         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26435         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26436         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26437         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26438         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26439         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26440         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26441         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26442         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26443         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26444         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26445         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26446         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26447         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26448         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26449         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26450         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26451         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26452         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26453         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26454
26455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26456         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26457
26458         [BZ #14914]
26459         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26460         whole low double instead of just low 47 bits when splitting values
26461         into two parts.
26462
26463 2012-12-03  Allan McRae  <allan@archlinux.org>
26464
26465         * manual/stdio.texi (Predefined Printf Handlers): Remove
26466         @hsep and @vsep usage.
26467
26468 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
26469
26470         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26471         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26472
26473 2012-12-03  Jeff Law  <law@redhat.com>
26474
26475         * time/sys/time.h (settimeofday): Do not mark TV argument
26476         as __nonnull.
26477
26478 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
26479
26480         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26481         when currently writing and seek to current position when not.
26482         * libio/Makefile (tests): Remove bug-fclose1.
26483         * libio/bug-fclose1.c: Delete.
26484
26485 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
26486
26487         * manual/arith.texi (feenableexcept): Fix typo.
26488         (fedisableexcept): Likewise.
26489
26490 2012-11-30  Roland McGrath  <roland@hack.frob.com>
26491
26492         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26493         second, differently-typed declaration, rather than a cast.
26494
26495 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26496
26497         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26498         * include/rpc/svc.h: ... here.
26499
26500 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
26501
26502         [BZ #13013]
26503         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26504         depending n and resplen2 to catch cases where answer
26505         equals answerp2.
26506
26507 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
26508
26509         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26510         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26511
26512 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
26513
26514         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26515
26516 2012-11-29  Roland McGrath  <roland@hack.frob.com>
26517
26518         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26519
26520 2012-11-28  Jeff Law  <law@redhat.com>
26521
26522         [BZ #13761]
26523         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26524         dataset_temporary.  Track alloca usage into alloca_used.
26525         If dataset is large allocate and release it via malloc/free.
26526
26527 2012-06-04  Florian Weimer  <fweimer@redhat.com>
26528
26529         [BZ #14197]
26530         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26531
26532 2012-11-28  David S. Miller  <davem@davemloft.net>
26533
26534         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26535
26536 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
26537
26538         [BZ #14803]
26539         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26540         of pi/2 rounded to nearest to 64 bits.
26541         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26542         nearest to 64 bits.
26543         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26544         bits.
26545
26546 2012-11-28  Jeff Law <law@redhat.com>
26547             Martin Osvald <mosvald@redhat.com>
26548
26549         [BZ #14889]
26550         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26551         * sunrpc/svc.c: Include time.h.
26552         (__svc_accept_failed): New function.
26553         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26554         any reason other than EINTR, call __svc_accept_failed.
26555         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26556         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26557
26558 2012-11-28  Andreas Schwab  <schwab@suse.de>
26559
26560         * scripts/abilist.awk: Also handle indirect functions in .opd
26561         section.
26562
26563 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
26564
26565         [BZ #13881]
26566         * sysdeps/x86/fpu/powl_helper.c: New file.
26567         * sysdeps/x86/fpu/Makefile: Likewise.
26568         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26569         (p3): New object.
26570         (__ieee754_powl): Use __powl_helper for finite arguments except
26571         integer exponents below 8.
26572         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26573         (p3): New object.
26574         (__ieee754_powl): Use __powl_helper for finite arguments except
26575         integer exponents below 8.
26576         * math/libm-test.inc (pow_test): Add more tests and enable some
26577         previously disabled tests.
26578         * sysdeps/i386/fpu/libm-test-ulps: Update.
26579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26580
26581 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26582             Carlos O'Donell  <carlos_odonell@mentor.com>
26583
26584         * nss/makedb.c (is_prime): Assert that input is odd and greater
26585         than 4.  Note that fact in a comment too.
26586         (next_prime): Add 4 to input.
26587
26588 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26589
26590         [BZ #11741]
26591         * libio/Makefile (tests): Add test case tst-fwrite-error.
26592         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26593         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26594         * libio/tst-fwrite-error.c: New test case.
26595
26596 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
26597
26598         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26599         before casting to void *.
26600         * include/libc-internal.h (__pointer_type): New macro.
26601         (__integer_if_pointer_type_sub): Likewise.
26602         (__integer_if_pointer_type): Likewise.
26603         (cast_to_integer): Likewise.
26604         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26605         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26606         before casting to atomic64_t.
26607         (atomic_exchange_acq): Likewise.
26608         (__arch_exchange_and_add_body): Likewise.
26609         (__arch_add_body): Likewise.
26610         (atomic_add_negative): Likewise.
26611         (atomic_add_zero): Likewise.
26612
26613 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
26614
26615         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26616         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26617         (add_fdes): Likewise.
26618         (linear_search_fdes): Likewise.
26619         (binary_search_unencoded_fdes): Likewise.
26620
26621 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
26622
26623         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26624
26625 2012-11-24  Adam Conrad  <adconrad@0c3.net>
26626
26627         * configure.in: Autodetect C++ header directories.
26628         * configure: Regenerated.
26629
26630 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
26631
26632         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26633
26634 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
26635
26636         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26637
26638 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
26639
26640         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26641         LDBL_MANT_DIG == 106]: Disable some tests.
26642         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26643         Likewise.
26644         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26645         Likewise.
26646
26647         [BZ #14871]
26648         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26649         input for small inputs.  Return +/- pi/2 for large inputs.
26650         * math/libm-test.inc (atan_test): Add more tests.
26651
26652         * sysdeps/generic/unwind-dw2-fde-glibc.c
26653         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26654         __attribute__ ((unused)).
26655
26656         [BZ #14645]
26657         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26658         x * y if x and y are nonzero and z is zero.
26659
26660         [BZ #14811]
26661         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26662         nonzero exponents with absolute value below 0x1p-117 to +/-
26663         0x1p-117.
26664
26665         [BZ #14869]
26666         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26667         up arguments below 2**-450, not just those below 2**-500.
26668         * math/libm-test.inc (hypot_test): Add another test.
26669
26670         [BZ #14868]
26671         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26672         Return a+b for ratio over 2**120, not 2**60.
26673         * math/libm-test.inc (hypot_test): Add another test.
26674
26675         * math/libm-test.inc (clog_test): Use
26676         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26677         (clog10_test): Likewise.
26678
26679         [BZ #6778]
26680         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26681
26682 2012-11-22  Andreas Schwab  <schwab@suse.de>
26683
26684         * sysdeps/i386/fpu/libm-test-ulps: Update.
26685
26686 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
26687
26688         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26689         printf output with newline.
26690
26691 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
26692
26693         [BZ #14865]
26694         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26695         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26696         -z nodlopen, -z initfirst and -z execstack support.
26697         * configure: Regenerated.
26698
26699         * elf/elf.h (DF_1_NODIRECT): New macro.
26700         (DF_1_IGNMULDEF): Likewise.
26701         (DF_1_NOKSYMS): Likewise.
26702         (DF_1_NOHDR): Likewise.
26703         (DF_1_EDITED): Likewise.
26704         (DF_1_NORELOC): Likewise.
26705         (DF_1_SYMINTPOSE): Likewise.
26706         (DF_1_GLOBAUDIT): Likewise.
26707         (DF_1_SINGLETON): Likewise.
26708         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26709         DT_1_SUPPORTED_MASK bits.
26710         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26711
26712 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
26713
26714         * sysdeps/unix/make-syscalls.sh: Document prefixes.
26715
26716 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
26717
26718         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26719         macro.
26720
26721         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26722         (sendmmsg): Move declarations...
26723         * socket/sys/socket.h: ... here.
26724         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26725         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26726         include it from...
26727         * socket/recvmmsg.c: ... this new file.
26728         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26729         (sendmmsg): Rename to __sendmmsg, create weak alias and make
26730         definition of __sendmmsg hidden.
26731         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26732         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26733         Move ENOSYS stub into and include it from...
26734         * socket/sendmmsg.c: ... this new file.
26735         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26736         (sysdep_routines): Move recvmmsg and sendmmsg...
26737         * socket/Makefile (routines): ... here.
26738         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26739         (GLIBC_PRIVATE): Add __sendmmsg.
26740         * include/sys/socket.h (__sendmmsg): Add declarations.
26741         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26742         sendmmsg.
26743
26744 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
26745
26746         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26747         variable I1 with __attribute__ ((unused)).
26748         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26749
26750 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
26751
26752         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26753         DUMMY variables with __attribute__ ((unused)).
26754
26755         * bits/byteswap.h: Include <bits/types.h>.
26756         (__bswap_64): Use __uint64_t instead of unsigned long long int.
26757
26758 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
26759
26760         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26761         string_t.  Do not manually set errno.
26762         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26763         length with __strnlen.  Make sure to both set errno and return it on
26764         failure.
26765
26766 2012-11-19  David S. Miller  <davem@davemloft.net>
26767
26768         With help from Joseph Myers.
26769         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26770         very large arguments properly.
26771         * math/libm-test.inc (atan_test): New tests.
26772         (atan2_test): New tests.
26773         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26774         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26775
26776 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
26777
26778         [BZ #14856]
26779         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26780         Define to 3.
26781
26782         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26783         [POSIX] (EADDRNOTAVAIL): Likewise.
26784         [POSIX] (EAFNOSUPPORT): Likewise.
26785         [POSIX] (EALREADY): Likewise.
26786         [POSIX] (ECONNABORTED): Likewise.
26787         [POSIX] (ECONNREFUSED): Likewise.
26788         [POSIX] (ECONNRESET): Likewise.
26789         [POSIX] (EDESTADDRREQ): Likewise.
26790         [POSIX] (EDQUOT): Likewise.
26791         [POSIX] (EHOSTUNREACH): Likewise.
26792         [POSIX] (EIDRM): Likewise.
26793         [POSIX] (EISCONN): Likewise.
26794         [POSIX] (ELOOP): Likewise.
26795         [POSIX] (EMULTIHOP): Likewise.
26796         [POSIX] (ENETDOWN): Likewise.
26797         [POSIX] (ENETUNREACH): Likewise.
26798         [POSIX] (ENOBUFS): Likewise.
26799         [POSIX] (ENODATA): Likewise.
26800         [POSIX] (ENOLINK): Likewise.
26801         [POSIX] (ENOMSG): Likewise.
26802         [POSIX] (ENOPROTOOPT): Likewise.
26803         [POSIX] (ENOSR): Likewise.
26804         [POSIX] (ENOSTR): Likewise.
26805         [POSIX] (ENOTCONN): Likewise.
26806         [POSIX] (ENOTSOCK): Likewise.
26807         [POSIX] (EOPNOTSUPP): Likewise.
26808         [POSIX] (EOVERFLOW): Likewise.
26809         [POSIX] (EPROTO): Likewise.
26810         [POSIX] (EPROTONOSUPPORT): Likewise.
26811         [POSIX] (EPROTOTYPE): Likewise.
26812         [POSIX] (ESTALE): Likewise.
26813         [POSIX] (ETIME): Likewise.
26814         [POSIX] (ETXTBSY): Likewise.
26815         [POSIX] (EWOULDBLOCK): Likewise.
26816         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26817         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26818         [POSIX] (SEEK_CUR): Likewise.
26819         [POSIX] (SEEK_END): Likewise.
26820         [POSIX || UNIX98] (mode_t): Do not require.
26821         [POSIX] (off_t): Likewise.
26822         [POSIX] (pid_t): Likewise.
26823         [POSIX] (sys/stat.h): Do not allow header.
26824         [POSIX] (unistd.h): Likewise.
26825         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26826         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26827         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26828         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26829         require.
26830         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26831         sigevent): Specify elements.
26832         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26833         entry.
26834         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26835         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26836
26837         * conform/data/cpio.h-data [POSIX]: Disable whole file.
26838         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26839         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26840         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26841         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26842         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26843         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26844         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26845         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26846         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26847         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26848         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26849         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26850         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26851         Likewise.
26852         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26853         Likewise.
26854         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26855         Likewise.
26856         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26857         Likewise.
26858         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26859         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26860         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26861         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26862         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26863         Specify lower bound on value.
26864         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26865         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26866         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26867         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26868         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26869         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26870         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26871         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26872         value.
26873         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26874         as optional.
26875         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26876         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26877         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26878         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26879         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26880         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26881         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26882         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26883         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26884         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26885         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26886         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26887         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26888         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26889         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26890         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26891         entry.
26892         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26893         optional.
26894         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26895         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26896         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26897         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26898         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26899         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26900         Likewise.
26901         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26902         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26903         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26904         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26905         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
26906         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26907         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26908         as optional.
26909         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26910         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26911         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26912         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26913         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26914         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26915         specify as optional.
26916         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26917         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26918         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26919         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26920         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26921         [XPG3] (NL_LANGMAX): Likewise.
26922         [POSIX || XPG3] (NL_MSGMAX): Likewise.
26923         [POSIX || XPG3] (NL_NMAX): Likewise.
26924         [POSIX || XPG3] (NL_SETMAX): Likewise.
26925         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26926         [XPG3] (NZERO): Likewise.
26927         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26928         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26929         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26930         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26931         (REG_ERANGE): Expect.
26932         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26933         optional-constant.
26934         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26935         Use (void) in prototype.
26936         [POSIX] (*_t): Allow.
26937         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26938         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26939         (WRDE_BADVAL): Expect.
26940
26941         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26942         expect.
26943         [XPG3 || XPG4] (O_RSYNC): Likewise.
26944         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26945         Likewise.
26946         [XPG3 || XPG4] (pthread_sigmask): Likewise.
26947         [XPG3 || XPG4] (sigqueue): Likewise.
26948         [XPG3 || XPG4] (sigtimedwait): Likewise.
26949         [XPG3 || XPG4] (sigwaitinfo): Likewise.
26950         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26951         [XPG3 || XPG4] (vsnprintf): Likewise.
26952         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26953         Likewise.
26954         [XPG3 || XPG4] (blksize_t): Likewise.
26955         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26956         Likewise.
26957         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26958         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26959         [XPG3 || XPG4] (struct itimerspec): Likewise.
26960         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26961         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26962         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26963         [XPG3 || XPG4] (clockid_t): Likewise.
26964         [XPG3 || XPG4] (timer_t): Likewise.
26965         [XPG3 || XPG4] (clock_getres): Likewise.
26966         [XPG3 || XPG4] (clock_gettime): Likewise.
26967         [XPG3 || XPG4] (clock_settime): Likewise.
26968         [XPG3 || XPG4] (nanosleep): Likewise.
26969         [XPG3 || XPG4] (timer_create): Likewise.
26970         [XPG3 || XPG4] (timer_delete): Likewise.
26971         [XPG3 || XPG4] (timer_gettime): Likewise.
26972         [XPG3 || XPG4] (timer_getoverrun): Likewise.
26973         [XPG3 || XPG4] (timer_settime): Likewise.
26974         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26975         [XPG3 || XPG4] (getlogin_r): Likewise.
26976         [XPG3 || XPG4] (pread): Likewise.
26977         [XPG3 || XPG4] (pthread_atfork): Likewise.
26978         [XPG3 || XPG4] (pwrite): Likewise.
26979
26980         [BZ #14835]
26981         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26982         <bits/siginfo.h>.
26983
26984 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
26985
26986         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26987         finalizing MALLSTREAM.
26988
26989         * sysdeps/mach/hurd/syncfs.c: New file.
26990
26991 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26992
26993         [BZ #14719]
26994         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26995         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26996         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26997         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26998         (_nss_dns_gethostbyname4_r): Likewise.
26999         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27000         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27001
27002 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
27003
27004         [BZ #13763]
27005         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27006
27007 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
27008
27009         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27010         * elf/cache.c (print_entry): Print ",AArch64" for
27011         FLAG_AARCH64_LIB64
27012
27013         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27014         * elf/cache.c (print_entry): Print ",hard-float" for
27015         FLAG_ARM_LIBHF.
27016
27017 2012-11-18  David S. Miller  <davem@davemloft.net>
27018
27019         With help from Joseph Myers.
27020         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27021         cutoff to 2**-13.
27022         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27023         cutoff to 2**-25.
27024         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27025         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27026         small.
27027         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27028         * math/libm-test.inc (y0_test): New tests.
27029         (y1_test): New tests.
27030         * sysdeps/i386/fpu/libm-test-ulps: Update.
27031         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27032         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27033
27034 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
27035
27036         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27037         64-bit targets.
27038         * configure: Regenerated.
27039
27040 2012-11-17  David S. Miller  <davem@davemloft.net>
27041
27042         [BZ #14811]
27043         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27044         nonzero exponents with absolute value below 0x1p-128 to +/-
27045         0x1p-128.
27046
27047 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
27048
27049         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27050
27051         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27052
27053         * posix/getconf-speclist.c: New file.
27054         * posix/posix-envs.def: Likewise.
27055         * posix/confstr.c (START_ENV_GROUP): New macro.
27056         (END_ENV_GROUP): Likewise.
27057         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27058         (KNOWN_PRESENT_ENV_STRING): Likewise.
27059         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27060         (UNKNOWN_ENVIRONMENT): Likewise.
27061         (confstr): Include posix-envs.def instead of handling
27062         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27063         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27064         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27065         (END_ENV_GROUP): Likewise.
27066         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27067         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27068         (UNKNOWN_ENVIRONMENT): Likewise.
27069         (__sysconf): Include posix-envs.def instead of handling associated
27070         cases directly here.
27071         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27072         preprocessing getconf-speclist.c rather than running getconf or
27073         generating empty file.
27074
27075 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
27076
27077         * scripts/check-local-headers.sh: Ignore 'mach' headers.
27078
27079 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
27080
27081         [BZ #14672]
27082         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27083
27084 2012-11-16  David S. Miller  <davem@davemloft.net>
27085
27086         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27087         smaller than LDBL_EPSILON/2.0L, just return xm1.
27088
27089 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
27090
27091         * elf/tst-array1.c (init): Set constructor priority to 1000.
27092         (fini): Set destructor priority to 1000.
27093         * elf/tst-array2dep.c: Likewise.
27094
27095 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27096
27097         [BZ #11741]
27098         * libio/fileops.c (_IO_new_file_write): Correctly return error.
27099         (_IO_new_file_xsputn): Also return EOF if none of the input
27100         data was written when overflow failed.
27101         * libio/iopadn.c (_IO_padn): Likewise.
27102         * libio/iowpadn.c (_IO_wpadn): Likewise.
27103         * stdio-common/tst-put-error.c: Add copyright notice.
27104         (do_test): Add case for printing padded string.
27105         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27106         _IO_padn returned error.
27107         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27108         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27109         return EOF.
27110
27111 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27112
27113         * libio/libioP.h: Add comment note that the references to C++
27114         bits are now obsolete.
27115
27116 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27117
27118         * math/libm-test.inc (check_complex): Use asprintf.
27119
27120 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
27121
27122         * debug/pcprofiledump.c (print_version): Update copyright year.
27123         * malloc/memusagestat.c (print_version): Likewise.
27124
27125 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
27126
27127         [BZ #14831]
27128         * elf/Makefile (tests): Add tst-audit8.
27129         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27130         ($(objpfx)tst-audit8.out): New target.
27131         (tst-audit8-ENV): New variable.
27132         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27133         audit if l_reloc_result is NULL.
27134         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27135         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27136         * elf/tst-audit8.c: New file.
27137
27138 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27139
27140         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27141         * misc/Makefile (CFLAGS-select.c): Define.
27142         * posix/Makefile (CFLAGS-pause.c): Define.
27143
27144 2012-11-13  David S. Miller  <davem@davemloft.net>
27145
27146         * crypt/Makefile: Move test targets after toplevel Rules
27147         inclusion.  Grab any necessary sysdep routines when linking.
27148         * crypt/md5.c (md5_process_block): Remove define, we will always
27149         name it __md5_process_block.
27150         (md5_finish_ctx): Update md5_process_block call.
27151         (md5_stream): Likewise.
27152         (md5_process_bytes): Likewise.
27153         (md5_process_block): Rename to __md5_process_block and move to ...
27154         * crypt/md5-block.c: ... here.
27155         * crypt/sha256.c (sha256_process_block): Move to ...
27156         * crypt/sha256-block.c: ... here.
27157         * crypt/sha512.c (sha512_process_block): Move to ...
27158         * crypt/sha512-block.c: ... here.
27159         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27160         path.
27161         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27162         * sysdeps/sparc/sparc64/multiarch/Makefile
27163         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27164         crypt subdir.
27165         (localedef-aux): Add md5 crypto assembler when in locale subdir.
27166         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27167         multiarch changes.
27168         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27169         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27170         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27171         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27172         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27173         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27174         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27175         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27176         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27177         file.
27178         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27179         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27180         file.
27181         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27182
27183 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
27184
27185         * timezone/tzselect.ksh: Update from tzcode git revision
27186         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27187         * timezone/zdump.c: Likewise.
27188         * timezone/zic.c: Likewise.
27189         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27190         in TZVERSION setting, not $(PKGVERSION).
27191         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
27192         REPORT_BUGS_TO settings.
27193
27194         [BZ #14838]
27195         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27196         macro.
27197
27198 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27199
27200         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27201         detection to immediately after _FP_ROUND().
27202         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27203         bits are 0.
27204
27205 2012-11-11  David S. Miller  <davem@davemloft.net>
27206
27207         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27208         inttypes.h
27209         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27210         __close rather than their public counterparts.
27211
27212 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
27213
27214         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27215         file.
27216         [UNIX98] (sem_timedwait): Do not expect.
27217         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27218         [XPG4 || UNIX98] (sockatmark): Do not expect.
27219         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27220         (clock_getcpuclockid): Do not expect.
27221         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27222         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27223         Do not expect.
27224         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27225         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27226         [UNIX98] (vwscanf): Likewise.
27227         [UNIX98] (vswscanf): Likewise.
27228
27229 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
27230
27231         * timezone/version.h: Remove file.
27232         * timezone/README: Do not refer to version.h.
27233         * timezone/Makefile ($(objpfx)zic.o): New dependency on
27234         $(objpfx)version.h.
27235         ($(objpfx)zdump.o): Likewise.
27236         ($(objpfx)version.h): New target.
27237
27238         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27239         2012i.
27240         * timezone/README: Don't mention modification to tzselect.ksh.
27241         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27242         work on unmodified tzselect.ksh.  Substitute version numbers in
27243         tzselect.ksh.
27244
27245         * Makefile (format-me): Remove.
27246         (INSTALL): Adjust indentation.  Use commands directly instead of
27247         using $(format-me).
27248
27249         * aclocal.m4 (ACX_PKGVERSION): New macro.
27250         (ACX_BUGURL): Likewise.
27251         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27252         (PKGVERSION): New AC_DEFINE_UNQUOTED.
27253         (REPORT_BUGS_TO): Likewise.
27254         * configure: Regenerated.
27255         * config.h.in (PKGVERSION): New macro.
27256         (REPORT_BUGS_TO): Likewise.
27257         * config.make.in (PKGVERSION): New variable.
27258         (PKGVERSION_TEXI): Likewise.
27259         (REPORT_BUGS_TO): Likewise.
27260         (REPORT_BUGS_TEXI): Likewise.
27261         * Makefile (format-me): Use -I$(common-objpfx)manual.
27262         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27263         ($(common-objpfx)manual/%): New target.
27264         (manual/%): Remove target.
27265         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27266         (print_version): Use PKGVERSION.
27267         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27268         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27269         and REPORT_BUGS_TO.
27270         ($(objpfx)xtrace): Likewise.
27271         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27272         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27273         (print_version): Use PKGVERSION.
27274         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27275         (do_version): Use PKGVERSION.
27276         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27277         REPORT_BUGS_TO.
27278         (common-ldd-rewrite): Likewise.
27279         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27280         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27281         (print_version): Use PKGVERSION.
27282         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27283         * elf/pldd.c (argp_program_bug_address): Remove variable.
27284         (more_help): New function.
27285         (argp): Use more_help.
27286         (print_version): Use PKGVERSION.
27287         * elf/sln.c (main): Use PKGVERSION.
27288         (usage): Use REPORT_BUGS_TO.
27289         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27290         (top level): Use PKGVERSION.
27291         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27292         (print_version): Use PKGVERSION.
27293         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27294         (print_version): Use PKGVERSION.
27295         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27296         (print_version): Use PKGVERSION.
27297         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27298         (print_version): Use PKGVERSION.
27299         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27300         (print_version): Use PKGVERSION.
27301         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27302         (print_version): Use PKGVERSION.
27303         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27304         and BUGURL.
27305         ($(objpfx)memusage): Likewise.
27306         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27307         (do_version): Use PKGVERSION.
27308         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27309         (print_version): Use PKGVERSION.
27310         * malloc/mtrace.pl ($PACKAGE): Remove variable.
27311         ($PKGVERSION): New variable.
27312         ($REPORT_BUGS_TO): Likewise.
27313         (usage): Use $REPORT_BUGS_TO.
27314         (top level): Use $PKGVERSION.
27315         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27316         ($(objpfx)pkgvers.texi): New rule.
27317         ($(objpfx)stamp-pkgvers): Likewise.
27318         * manual/install.texi: Include pkgvers.texi.
27319         (--with-pkgversion): Document new configure option.
27320         (--with-bugurl): Likewise.
27321         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27322         than necessarily for this particular distribution.  Use
27323         REPORT_BUGS_TO for where to report bugs.
27324         * INSTALL: Regenerated.
27325         * manual/libc.texinfo: Include pkgvers.texi.
27326         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27327         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27328         (print_version): Use PKGVERSION.
27329         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27330         (print_version): Use PKGVERSION.
27331         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27332         (print_version): Use PKGVERSION.
27333         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27334         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27335         macro.
27336         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27337         (print_version): Use PKGVERSION.
27338         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27339         (print_version): Use PKGVERSION.
27340         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27341         and PKGVERSION.
27342
27343         * timezone/checktab.awk: Update from tzcode 2012i.
27344         * timezone/ialloc.c: Likewise.
27345         * timezone/private.h: Likewise.
27346         * timezone/scheck.c: Likewise.
27347         * timezone/tzfile.h: Likewise.
27348         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27349         (TZVERSION): Hardcode tzcode version number.
27350         * timezone/zdump.c: Update from tzcode 2012i.
27351         * timezone/zic.c: Likewise.
27352         * timezone/version.h: New file.
27353         * timezone/README: Describe version.h.  Update upstream location.
27354
27355         [BZ #14824]
27356         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27357         (mktemp): Enable declaration.
27358         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27359         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27360         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27361         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27362         Likewise.
27363         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27364         Likewise.
27365         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27366         Likewise.
27367         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27368         Likewise.
27369         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27370         Likewise.
27371         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27372         Likewise.
27373
27374         [BZ #14821]
27375         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27376         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
27377         for copies of such integer values.
27378         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27379         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27380
27381 2012-11-09  Andreas Jaeger  <aj@suse.de>
27382
27383         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27384         definitions and declarations that are provided by
27385         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27386
27387 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27388
27389         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27390         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27391         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27392         definition.
27393
27394 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27395
27396         * elf/elf.h: Update comment before AArch64 relocations.
27397
27398 2012-11-07  David S. Miller  <davem@davemloft.net>
27399
27400         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27401         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27402         (__start_context): Declare.
27403         (__makecontext_ret): Delete.
27404         (__makecontext): Hook up __start_context instead of
27405         __makecontext_ret.
27406         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27407         (sysdep_routines): Add __start_context when in stdlib.
27408
27409 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27410
27411         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27412         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27413         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
27414         hardcoded "nm".
27415         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
27416         (READELF): New variable.  Use it instead of hardcoded "readelf".
27417
27418 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
27419
27420         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27421         * sysdeps/x86/Makefile: Here.
27422         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27423         * sysdeps/x86/tst-xmmymm.sh: This.
27424
27425 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27426
27427         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27428         expectations.
27429         [UNIX98] (pthread_barrier_t): Do not expect.
27430         [UNIX98] (pthread_barrierattr_t): Likewise.
27431         [UNIX98] (pthread_spinlock_t): Likewise.
27432         [UNIX98] (pthread_barrier_destroy): Likewise.
27433         [UNIX98] (pthread_barrier_init): Likewise.
27434         [UNIX98] (pthread_barrier_wait): Likewise.
27435         [UNIX98] (pthread_barrierattr_destroy): Likewise.
27436         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27437         [UNIX98] (pthread_barrierattr_init): Likewise.
27438         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27439         [UNIX98] (pthread_getcpuclockid): Likewise.
27440         [UNIX98] (pthread_mutex_timedlock): Likewise.
27441         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27442         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27443         [UNIX98] (pthread_sigmask): Likewise.
27444         [UNIX98] (pthread_spin_destroy): Likewise.
27445         [UNIX98] (pthread_spin_init): Likewise.
27446         [UNIX98] (pthread_spin_lock): Likewise.
27447         [UNIX98] (pthread_spin_trylock): Likewise.
27448         [UNIX98] (pthread_spin_unlock): Likewise.
27449         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27450         Do not expect.
27451         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27452         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27453         [XPG3 || XPG4] (pthread_cond_t): Likewise.
27454         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27455         [XPG3 || XPG4] (pthread_key_t): Likewise.
27456         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27457         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27458         [XPG3 || XPG4] (pthread_once_t): Likewise.
27459         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27460         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27461         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27462         [XPG3 || XPG4] (pthread_t): Likewise.
27463
27464         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27465         not expect.
27466         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27467
27468         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27469         Change function return type to int.
27470
27471         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27472         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27473         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27474         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27475         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27476         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27477         [!POSIX] (posix_madvise): Likewise.
27478         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27479         && !UNIX98].
27480         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27481         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27482         (mode_t): Likewise.
27483         (posix_mem_offset): Likewise.
27484         (posix_typed_mem_get_info): Likewise.
27485         (posix_typed_mem_open): Likewise.
27486
27487         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27488         Change condition to [XOPEN2K8].
27489
27490         * conform/conformtest.pl: Preprocess allow-header data with -x c
27491         instead of from stdin.
27492         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27493         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27494         [C99-based standards] (cerfc): Likewise.
27495         [C99-based standards] (cexp2): Likewise.
27496         [C99-based standards] (cexpm1): Likewise.
27497         [C99-based standards] (clog10): Likewise.
27498         [C99-based standards] (clog1p): Likewise.
27499         [C99-based standards] (clog2): Likewise.
27500         [C99-based standards] (clgamma): Likewise.
27501         [C99-based standards] (ctgamma): Likewise.
27502         [C99-based standards] (cerff): Likewise.
27503         [C99-based standards] (cerfcf): Likewise.
27504         [C99-based standards] (cexp2f): Likewise.
27505         [C99-based standards] (cexpm1f): Likewise.
27506         [C99-based standards] (clog10f): Likewise.
27507         [C99-based standards] (clog1pf): Likewise.
27508         [C99-based standards] (clog2f): Likewise.
27509         [C99-based standards] (clgammaf): Likewise.
27510         [C99-based standards] (ctgammaf): Likewise.
27511         [C99-based standards] (cerfl): Likewise.
27512         [C99-based standards] (cerfcl): Likewise.
27513         [C99-based standards] (cexp2l): Likewise.
27514         [C99-based standards] (cexpm1l): Likewise.
27515         [C99-based standards] (clog10l): Likewise.
27516         [C99-based standards] (clog1pl): Likewise.
27517         [C99-based standards] (clog2l): Likewise.
27518         [C99-based standards] (clgammal): Likewise.
27519         [C99-based standards] (ctgammal): Likewise.
27520         * conform/data/inttypes.h-data [C99-based standards]: Include
27521         stdint.h-data.  Remove all expectations for stdint.h contents.
27522         [C99-based standards] (PRI*): Do not allow.
27523         [C99-based standards] (SCN*): Likewise.
27524         [C99-based standards] (*_t): Likewise.
27525         [C99-based-standards] (PRId8): Expect macro.
27526         [C99-based-standards] (PRIi8): Likewise.
27527         [C99-based-standards] (PRIo8): Likewise.
27528         [C99-based-standards] (PRIu8): Likewise.
27529         [C99-based-standards] (PRIx8): Likewise.
27530         [C99-based-standards] (PRIX8): Likewise.
27531         [C99-based-standards] (SCNd8): Likewise.
27532         [C99-based-standards] (SCNi8): Likewise.
27533         [C99-based-standards] (SCNo8): Likewise.
27534         [C99-based-standards] (SCNu8): Likewise.
27535         [C99-based-standards] (SCNx8): Likewise.
27536         [C99-based-standards] (PRIdLEAST8): Likewise.
27537         [C99-based-standards] (PRIiLEAST8): Likewise.
27538         [C99-based-standards] (PRIoLEAST8): Likewise.
27539         [C99-based-standards] (PRIuLEAST8): Likewise.
27540         [C99-based-standards] (PRIxLEAST8): Likewise.
27541         [C99-based-standards] (PRIXLEAST8): Likewise.
27542         [C99-based-standards] (SCNdLEAST8): Likewise.
27543         [C99-based-standards] (SCNiLEAST8): Likewise.
27544         [C99-based-standards] (SCNoLEAST8): Likewise.
27545         [C99-based-standards] (SCNuLEAST8): Likewise.
27546         [C99-based-standards] (SCNxLEAST8): Likewise.
27547         [C99-based-standards] (PRIdFAST8): Likewise.
27548         [C99-based-standards] (PRIiFAST8): Likewise.
27549         [C99-based-standards] (PRIoFAST8): Likewise.
27550         [C99-based-standards] (PRIuFAST8): Likewise.
27551         [C99-based-standards] (PRIxFAST8): Likewise.
27552         [C99-based-standards] (PRIXFAST8): Likewise.
27553         [C99-based-standards] (SCNdFAST8): Likewise.
27554         [C99-based-standards] (SCNiFAST8): Likewise.
27555         [C99-based-standards] (SCNoFAST8): Likewise.
27556         [C99-based-standards] (SCNuFAST8): Likewise.
27557         [C99-based-standards] (SCNxFAST8): Likewise.
27558         [C99-based-standards] (PRId16): Likewise.
27559         [C99-based-standards] (PRIi16): Likewise.
27560         [C99-based-standards] (PRIo16): Likewise.
27561         [C99-based-standards] (PRIu16): Likewise.
27562         [C99-based-standards] (PRIx16): Likewise.
27563         [C99-based-standards] (PRIX16): Likewise.
27564         [C99-based-standards] (SCNd16): Likewise.
27565         [C99-based-standards] (SCNi16): Likewise.
27566         [C99-based-standards] (SCNo16): Likewise.
27567         [C99-based-standards] (SCNu16): Likewise.
27568         [C99-based-standards] (SCNx16): Likewise.
27569         [C99-based-standards] (PRIdLEAST16): Likewise.
27570         [C99-based-standards] (PRIiLEAST16): Likewise.
27571         [C99-based-standards] (PRIoLEAST16): Likewise.
27572         [C99-based-standards] (PRIuLEAST16): Likewise.
27573         [C99-based-standards] (PRIxLEAST16): Likewise.
27574         [C99-based-standards] (PRIXLEAST16): Likewise.
27575         [C99-based-standards] (SCNdLEAST16): Likewise.
27576         [C99-based-standards] (SCNiLEAST16): Likewise.
27577         [C99-based-standards] (SCNoLEAST16): Likewise.
27578         [C99-based-standards] (SCNuLEAST16): Likewise.
27579         [C99-based-standards] (SCNxLEAST16): Likewise.
27580         [C99-based-standards] (PRIdFAST16): Likewise.
27581         [C99-based-standards] (PRIiFAST16): Likewise.
27582         [C99-based-standards] (PRIoFAST16): Likewise.
27583         [C99-based-standards] (PRIuFAST16): Likewise.
27584         [C99-based-standards] (PRIxFAST16): Likewise.
27585         [C99-based-standards] (PRIXFAST16): Likewise.
27586         [C99-based-standards] (SCNdFAST16): Likewise.
27587         [C99-based-standards] (SCNiFAST16): Likewise.
27588         [C99-based-standards] (SCNoFAST16): Likewise.
27589         [C99-based-standards] (SCNuFAST16): Likewise.
27590         [C99-based-standards] (SCNxFAST16): Likewise.
27591         [C99-based-standards] (PRId32): Likewise.
27592         [C99-based-standards] (PRIi32): Likewise.
27593         [C99-based-standards] (PRIo32): Likewise.
27594         [C99-based-standards] (PRIu32): Likewise.
27595         [C99-based-standards] (PRIx32): Likewise.
27596         [C99-based-standards] (PRIX32): Likewise.
27597         [C99-based-standards] (SCNd32): Likewise.
27598         [C99-based-standards] (SCNi32): Likewise.
27599         [C99-based-standards] (SCNo32): Likewise.
27600         [C99-based-standards] (SCNu32): Likewise.
27601         [C99-based-standards] (SCNx32): Likewise.
27602         [C99-based-standards] (PRIdLEAST32): Likewise.
27603         [C99-based-standards] (PRIiLEAST32): Likewise.
27604         [C99-based-standards] (PRIoLEAST32): Likewise.
27605         [C99-based-standards] (PRIuLEAST32): Likewise.
27606         [C99-based-standards] (PRIxLEAST32): Likewise.
27607         [C99-based-standards] (PRIXLEAST32): Likewise.
27608         [C99-based-standards] (SCNdLEAST32): Likewise.
27609         [C99-based-standards] (SCNiLEAST32): Likewise.
27610         [C99-based-standards] (SCNoLEAST32): Likewise.
27611         [C99-based-standards] (SCNuLEAST32): Likewise.
27612         [C99-based-standards] (SCNxLEAST32): Likewise.
27613         [C99-based-standards] (PRIdFAST32): Likewise.
27614         [C99-based-standards] (PRIiFAST32): Likewise.
27615         [C99-based-standards] (PRIoFAST32): Likewise.
27616         [C99-based-standards] (PRIuFAST32): Likewise.
27617         [C99-based-standards] (PRIxFAST32): Likewise.
27618         [C99-based-standards] (PRIXFAST32): Likewise.
27619         [C99-based-standards] (SCNdFAST32): Likewise.
27620         [C99-based-standards] (SCNiFAST32): Likewise.
27621         [C99-based-standards] (SCNoFAST32): Likewise.
27622         [C99-based-standards] (SCNuFAST32): Likewise.
27623         [C99-based-standards] (SCNxFAST32): Likewise.
27624         [C99-based-standards] (PRId64): Likewise.
27625         [C99-based-standards] (PRIi64): Likewise.
27626         [C99-based-standards] (PRIo64): Likewise.
27627         [C99-based-standards] (PRIu64): Likewise.
27628         [C99-based-standards] (PRIx64): Likewise.
27629         [C99-based-standards] (PRIX64): Likewise.
27630         [C99-based-standards] (SCNd64): Likewise.
27631         [C99-based-standards] (SCNi64): Likewise.
27632         [C99-based-standards] (SCNo64): Likewise.
27633         [C99-based-standards] (SCNu64): Likewise.
27634         [C99-based-standards] (SCNx64): Likewise.
27635         [C99-based-standards] (PRIdLEAST64): Likewise.
27636         [C99-based-standards] (PRIiLEAST64): Likewise.
27637         [C99-based-standards] (PRIoLEAST64): Likewise.
27638         [C99-based-standards] (PRIuLEAST64): Likewise.
27639         [C99-based-standards] (PRIxLEAST64): Likewise.
27640         [C99-based-standards] (PRIXLEAST64): Likewise.
27641         [C99-based-standards] (SCNdLEAST64): Likewise.
27642         [C99-based-standards] (SCNiLEAST64): Likewise.
27643         [C99-based-standards] (SCNoLEAST64): Likewise.
27644         [C99-based-standards] (SCNuLEAST64): Likewise.
27645         [C99-based-standards] (SCNxLEAST64): Likewise.
27646         [C99-based-standards] (PRIdFAST64): Likewise.
27647         [C99-based-standards] (PRIiFAST64): Likewise.
27648         [C99-based-standards] (PRIoFAST64): Likewise.
27649         [C99-based-standards] (PRIuFAST64): Likewise.
27650         [C99-based-standards] (PRIxFAST64): Likewise.
27651         [C99-based-standards] (PRIXFAST64): Likewise.
27652         [C99-based-standards] (SCNdFAST64): Likewise.
27653         [C99-based-standards] (SCNiFAST64): Likewise.
27654         [C99-based-standards] (SCNoFAST64): Likewise.
27655         [C99-based-standards] (SCNuFAST64): Likewise.
27656         [C99-based-standards] (SCNxFAST64): Likewise.
27657         [C99-based-standards] (PRIdMAX): Likewise.
27658         [C99-based-standards] (PRIiMAX): Likewise.
27659         [C99-based-standards] (PRIoMAX): Likewise.
27660         [C99-based-standards] (PRIuMAX): Likewise.
27661         [C99-based-standards] (PRIxMAX): Likewise.
27662         [C99-based-standards] (PRIXMAX): Likewise.
27663         [C99-based-standards] (SCNdMAX): Likewise.
27664         [C99-based-standards] (SCNiMAX): Likewise.
27665         [C99-based-standards] (SCNoMAX): Likewise.
27666         [C99-based-standards] (SCNuMAX): Likewise.
27667         [C99-based-standards] (SCNxMAX): Likewise.
27668         [C99-based-standards] (PRIdPTR): Likewise.
27669         [C99-based-standards] (PRIiPTR): Likewise.
27670         [C99-based-standards] (PRIoPTR): Likewise.
27671         [C99-based-standards] (PRIuPTR): Likewise.
27672         [C99-based-standards] (PRIxPTR): Likewise.
27673         [C99-based-standards] (PRIXPTR): Likewise.
27674         [C99-based-standards] (SCNdPTR): Likewise.
27675         [C99-based-standards] (SCNiPTR): Likewise.
27676         [C99-based-standards] (SCNoPTR): Likewise.
27677         [C99-based-standards] (SCNuPTR): Likewise.
27678         [C99-based-standards] (SCNxPTR): Likewise.
27679         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27680         allow.
27681         * conform/data/stdint.h-data: Update comments to clarify
27682         requirements.
27683         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
27684         type.
27685         [C99-based standards] (INT8_MAX): Likewise.
27686         [C99-based standards] (INT16_MIN): Likewise.
27687         [C99-based standards] (INT16_MAX): Likewise.
27688         [C99-based standards] (INT32_MIN): Likewise.
27689         [C99-based standards] (INT32_MAX): Likewise.
27690         [C99-based standards] (INT64_MIN): Likewise.
27691         [C99-based standards] (INT64_MAX): Likewise.
27692         [C99-based standards] (UINT8_MAX): Likewise.
27693         [C99-based standards] (UINT16_MAX): Likewise.
27694         [C99-based standards] (UINT32_MAX): Likewise.
27695         [C99-based standards] (UINT64_MAX): Likewise.
27696         [C99-based standards] (INT_LEAST8_MIN): Likewise.
27697         [C99-based standards] (INT_LEAST8_MAX): Likewise.
27698         [C99-based standards] (INT_LEAST16_MIN): Likewise.
27699         [C99-based standards] (INT_LEAST16_MAX): Likewise.
27700         [C99-based standards] (INT_LEAST32_MIN): Likewise.
27701         [C99-based standards] (INT_LEAST32_MAX): Likewise.
27702         [C99-based standards] (INT_LEAST64_MIN): Likewise.
27703         [C99-based standards] (INT_LEAST64_MAX): Likewise.
27704         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27705         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27706         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27707         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27708         [C99-based standards] (INT_FAST8_MIN): Likewise.
27709         [C99-based standards] (INT_FAST8_MAX): Likewise.
27710         [C99-based standards] (INT_FAST16_MIN): Likewise.
27711         [C99-based standards] (INT_FAST16_MAX): Likewise.
27712         [C99-based standards] (INT_FAST32_MIN): Likewise.
27713         [C99-based standards] (INT_FAST32_MAX): Likewise.
27714         [C99-based standards] (INT_FAST64_MIN): Likewise.
27715         [C99-based standards] (INT_FAST64_MAX): Likewise.
27716         [C99-based standards] (UINT_FAST8_MAX): Likewise.
27717         [C99-based standards] (UINT_FAST16_MAX): Likewise.
27718         [C99-based standards] (UINT_FAST32_MAX): Likewise.
27719         [C99-based standards] (UINT_FAST64_MAX): Likewise.
27720         [C99-based standards] (INTPTR_MIN): Likewise.
27721         [C99-based standards] (INTPTR_MAX): Likewise.
27722         [C99-based standards] (UINTPTR_MAX): Likewise.
27723         [C99-based standards] (INTMAX_MIN): Likewise.
27724         [C99-based standards] (INTMAX_MAX): Likewise.
27725         [C99-based standards] (UINTMAX_MAX): Likewise.
27726         [C99-based standards] (PTRDIFF_MIN): Likewise.
27727         [C99-based standards] (PTRDIFF_MAX): Likewise.
27728         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27729         [C99-based standards] (SIZE_MAX): Likewise.
27730         [C99-based standards] (WCHAR_MAX): Likewise.
27731         [C99-based standards] (WINT_MAX): Likewise.
27732         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
27733         constraint on value.
27734         [C99-based standards] (WCHAR_MIN): Likewise.
27735         [C99-based standards] (WINT_MIN): Likewise.
27736         [C99-based standards] (*_t): Allow.
27737         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27738         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27739         Include math.h-data and complex.h-data.  Remove all expectations
27740         of math.h and complex.h contents.
27741         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27742         at end of line.
27743         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27744         (struct tm): Expect tag.
27745         [C99-based-standards] (wcstof): Expect function.
27746         [C99-based-standards] (wcstold): Likewise.
27747         [C99-based-standards] (wcstoll): Likewise.
27748         [C99-based-standards] (wcstoull): Likewise.
27749         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27750         macro-int-constant.  Specify type.
27751         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
27752         constraint on value.
27753         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27754         Specify type.
27755         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27756         Specify value.
27757         [ISO C standards]: Do not allow headers.
27758         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27759         wcs[abcdefghijklmnopqrstuvwxyz]*.
27760         [ISO C standards] (*_t): Do not allow.
27761         * conform/data/wctype.h-data [C99-based standards] (iswblank):
27762         Expect function.
27763         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27764         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27765         Specify type.
27766         [ISO C standards]: Do not allow headers.
27767         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27768         is[abcdefghijklmnopqrstuvwxyz]*.
27769         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27770         to[abcdefghijklmnopqrstuvwxyz]*.
27771         [ISO C standards] (*_t): Do not allow.
27772         * conform/data/stdalign.h-data: New file.
27773         * conform/data/stdbool.h-data: Likewise.
27774         * conform/data/stdnoreturn.h-data: Likewise.
27775
27776 2012-11-07  Roland McGrath  <roland@hack.frob.com>
27777
27778         [BZ #14815]
27779         * manual/filesys.texi (Directory Entries): Typo fix.
27780         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27781
27782 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27783
27784         * elf/elf.h (EM_AARCH64): New macro.
27785         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27786         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27787         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27788         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27789         (R_AARCH64_TLSDESC): Likewise.
27790         (NT_ARM_TLS): Likewise.
27791         (NT_ARM_HW_BREAK): Likewise.
27792         (NT_ARM_HW_WATCH): Likewise.
27793
27794 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27795
27796         [BZ #14811]
27797         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27798         (__ieee754_powl): Saturate nonzero exponents with absolute value
27799         below 0x1p-79 to +/- 0x1p-79.
27800         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27801         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27802         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27803         nonzero exponents with absolute value below 0x1p-32 to +/-
27804         0x1p-32.
27805         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27806         (__ieee754_powl): Saturate nonzero exponents with absolute value
27807         below 0x1p-79 to +/- 0x1p-79.
27808         * math/libm-test.inc (pow_test): Add more tests.
27809
27810 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27811
27812         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27813         _dl_s390_cap_flags with kernel. Increase string length.
27814         (_dl_s390_platforms): Add z196 and zEC12.
27815
27816 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27817
27818         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27819         Change XOPEN21K to XOPEN2K.
27820
27821 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
27822
27823         * string/memmove.c: Use memcpy when possible.
27824
27825 2012-11-06  Andreas Jaeger  <aj@suse.de>
27826
27827         * po/eo.po: Update from translation team.
27828
27829 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
27830
27831         [BZ #14793]
27832         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27833         exponent and small x and y exponents, scale x or y up.  Increase
27834         by 2 the exponent used in scaling up.
27835         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27836         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27837         * math/libm-test.inc (fma_test): Add more tests.
27838         (fma_test_towardzero): Likewise.
27839         (fma_test_downward): Likewise.
27840         (fma_test_upward): Likewise.
27841
27842 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
27843
27844         [BZ #14805]
27845         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27846         fenv_t *.
27847
27848         [BZ #14801]
27849         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27850         namespace for names of struct fields.
27851         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27852         fenv_t fields.
27853         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27854         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27855
27856 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27857
27858         [BZ #3665]
27859         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27860
27861 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
27862
27863         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27864         PTR_DEMANGLE.
27865
27866         [BZ #5246]
27867         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27868         PTR_DEMANGLE.
27869
27870 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
27871
27872         [BZ #14797]
27873         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27874         definitely overflow as x * y not x * y + z.
27875         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27876         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27877         * math/libm-test.inc (fma_test): Add more tests.
27878         (fma_test_towardzero): Likewise.
27879         (fma_test_downward): Likewise.
27880         (fma_test_upward): Likewise.
27881
27882 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
27883
27884         [BZ #157]
27885
27886         * include/stub-tag.h: Remove file.
27887         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27888         '#include' of it.
27889         * manual/maint.texi (Porting): Don't reference it.
27890         * Makerules ($(objpfx)stubs): Likewise.
27891         * dirent/closedir.c: Don't include <stub-tag.h>.
27892         * dirent/dirfd.c: Likewise.
27893         * dirent/fdopendir.c: Likewise.
27894         * dirent/getdents.c: Likewise.
27895         * dirent/getdents64.c: Likewise.
27896         * dirent/opendir.c: Likewise.
27897         * dirent/readdir.c: Likewise.
27898         * dirent/readdir64.c: Likewise.
27899         * dirent/readdir64_r.c: Likewise.
27900         * dirent/readdir_r.c: Likewise.
27901         * dirent/rewinddir.c: Likewise.
27902         * dirent/seekdir.c: Likewise.
27903         * dirent/telldir.c: Likewise.
27904         * gmon/profil.c: Likewise.
27905         * grp/setgroups.c: Likewise.
27906         * inet/if_index.c: Likewise.
27907         * io/access.c: Likewise.
27908         * io/chdir.c: Likewise.
27909         * io/chmod.c: Likewise.
27910         * io/chown.c: Likewise.
27911         * io/close.c: Likewise.
27912         * io/dup.c: Likewise.
27913         * io/dup2.c: Likewise.
27914         * io/dup3.c: Likewise.
27915         * io/euidaccess.c: Likewise.
27916         * io/faccessat.c: Likewise.
27917         * io/fchdir.c: Likewise.
27918         * io/fchmod.c: Likewise.
27919         * io/fchmodat.c: Likewise.
27920         * io/fchown.c: Likewise.
27921         * io/fchownat.c: Likewise.
27922         * io/fcntl.c: Likewise.
27923         * io/flock.c: Likewise.
27924         * io/fstatfs.c: Likewise.
27925         * io/fstatfs64.c: Likewise.
27926         * io/fstatvfs.c: Likewise.
27927         * io/fstatvfs64.c: Likewise.
27928         * io/futimens.c: Likewise.
27929         * io/fxstat.c: Likewise.
27930         * io/fxstat64.c: Likewise.
27931         * io/fxstatat.c: Likewise.
27932         * io/fxstatat64.c: Likewise.
27933         * io/getcwd.c: Likewise.
27934         * io/isatty.c: Likewise.
27935         * io/lchmod.c: Likewise.
27936         * io/lchown.c: Likewise.
27937         * io/link.c: Likewise.
27938         * io/linkat.c: Likewise.
27939         * io/lseek.c: Likewise.
27940         * io/lseek64.c: Likewise.
27941         * io/lxstat64.c: Likewise.
27942         * io/mkdir.c: Likewise.
27943         * io/mkdirat.c: Likewise.
27944         * io/mkfifo.c: Likewise.
27945         * io/mkfifoat.c: Likewise.
27946         * io/open.c: Likewise.
27947         * io/open64.c: Likewise.
27948         * io/openat.c: Likewise.
27949         * io/openat64.c: Likewise.
27950         * io/pipe.c: Likewise.
27951         * io/pipe2.c: Likewise.
27952         * io/poll.c: Likewise.
27953         * io/posix_fadvise.c: Likewise.
27954         * io/posix_fadvise64.c: Likewise.
27955         * io/posix_fallocate.c: Likewise.
27956         * io/posix_fallocate64.c: Likewise.
27957         * io/read.c: Likewise.
27958         * io/readlink.c: Likewise.
27959         * io/readlinkat.c: Likewise.
27960         * io/rmdir.c: Likewise.
27961         * io/sendfile.c: Likewise.
27962         * io/sendfile64.c: Likewise.
27963         * io/statfs.c: Likewise.
27964         * io/statfs64.c: Likewise.
27965         * io/statvfs.c: Likewise.
27966         * io/statvfs64.c: Likewise.
27967         * io/symlink.c: Likewise.
27968         * io/symlinkat.c: Likewise.
27969         * io/ttyname.c: Likewise.
27970         * io/ttyname_r.c: Likewise.
27971         * io/umask.c: Likewise.
27972         * io/unlink.c: Likewise.
27973         * io/unlinkat.c: Likewise.
27974         * io/utime.c: Likewise.
27975         * io/utimensat.c: Likewise.
27976         * io/write.c: Likewise.
27977         * io/xmknod.c: Likewise.
27978         * io/xmknodat.c: Likewise.
27979         * io/xstat.c: Likewise.
27980         * io/xstat64.c: Likewise.
27981         * login/getpt.c: Likewise.
27982         * login/grantpt.c: Likewise.
27983         * login/unlockpt.c: Likewise.
27984         * math/e_acoshl.c: Likewise.
27985         * math/e_acosl.c: Likewise.
27986         * math/e_asinl.c: Likewise.
27987         * math/e_atan2l.c: Likewise.
27988         * math/e_atanhl.c: Likewise.
27989         * math/e_coshl.c: Likewise.
27990         * math/e_expl.c: Likewise.
27991         * math/e_fmodl.c: Likewise.
27992         * math/e_gammal_r.c: Likewise.
27993         * math/e_hypotl.c: Likewise.
27994         * math/e_j0l.c: Likewise.
27995         * math/e_j1l.c: Likewise.
27996         * math/e_jnl.c: Likewise.
27997         * math/e_lgammal_r.c: Likewise.
27998         * math/e_log10l.c: Likewise.
27999         * math/e_log2l.c: Likewise.
28000         * math/e_logl.c: Likewise.
28001         * math/e_powl.c: Likewise.
28002         * math/e_rem_pio2l.c: Likewise.
28003         * math/e_sinhl.c: Likewise.
28004         * math/e_sqrtl.c: Likewise.
28005         * math/fclrexcpt.c: Likewise.
28006         * math/fedisblxcpt.c: Likewise.
28007         * math/feenablxcpt.c: Likewise.
28008         * math/fegetenv.c: Likewise.
28009         * math/fegetexcept.c: Likewise.
28010         * math/fegetround.c: Likewise.
28011         * math/feholdexcpt.c: Likewise.
28012         * math/fesetenv.c: Likewise.
28013         * math/fesetround.c: Likewise.
28014         * math/feupdateenv.c: Likewise.
28015         * math/fgetexcptflg.c: Likewise.
28016         * math/fraiseexcpt.c: Likewise.
28017         * math/fsetexcptflg.c: Likewise.
28018         * math/ftestexcept.c: Likewise.
28019         * math/k_cosl.c: Likewise.
28020         * math/k_rem_pio2l.c: Likewise.
28021         * math/k_sinl.c: Likewise.
28022         * math/k_tanl.c: Likewise.
28023         * math/s_asinhl.c: Likewise.
28024         * math/s_atanl.c: Likewise.
28025         * math/s_cbrtl.c: Likewise.
28026         * math/s_erfl.c: Likewise.
28027         * math/s_expm1l.c: Likewise.
28028         * math/s_log1pl.c: Likewise.
28029         * math/s_tanhl.c: Likewise.
28030         * misc/acct.c: Likewise.
28031         * misc/brk.c: Likewise.
28032         * misc/chflags.c: Likewise.
28033         * misc/chroot.c: Likewise.
28034         * misc/fchflags.c: Likewise.
28035         * misc/fgetxattr.c: Likewise.
28036         * misc/flistxattr.c: Likewise.
28037         * misc/fremovexattr.c: Likewise.
28038         * misc/fsetxattr.c: Likewise.
28039         * misc/fsync.c: Likewise.
28040         * misc/ftruncate.c: Likewise.
28041         * misc/futimes.c: Likewise.
28042         * misc/futimesat.c: Likewise.
28043         * misc/getdomain.c: Likewise.
28044         * misc/getdtsz.c: Likewise.
28045         * misc/gethostid.c: Likewise.
28046         * misc/gethostname.c: Likewise.
28047         * misc/getloadavg.c: Likewise.
28048         * misc/getpagesize.c: Likewise.
28049         * misc/getsysstats.c: Likewise.
28050         * misc/getxattr.c: Likewise.
28051         * misc/gtty.c: Likewise.
28052         * misc/ioctl.c: Likewise.
28053         * misc/lgetxattr.c: Likewise.
28054         * misc/listxattr.c: Likewise.
28055         * misc/llistxattr.c: Likewise.
28056         * misc/lremovexattr.c: Likewise.
28057         * misc/lsetxattr.c: Likewise.
28058         * misc/lutimes.c: Likewise.
28059         * misc/madvise.c: Likewise.
28060         * misc/mincore.c: Likewise.
28061         * misc/mlock.c: Likewise.
28062         * misc/mlockall.c: Likewise.
28063         * misc/mmap.c: Likewise.
28064         * misc/mprotect.c: Likewise.
28065         * misc/msync.c: Likewise.
28066         * misc/munlock.c: Likewise.
28067         * misc/munlockall.c: Likewise.
28068         * misc/munmap.c: Likewise.
28069         * misc/preadv.c: Likewise.
28070         * misc/preadv64.c: Likewise.
28071         * misc/ptrace.c: Likewise.
28072         * misc/pwritev.c: Likewise.
28073         * misc/pwritev64.c: Likewise.
28074         * misc/readv.c: Likewise.
28075         * misc/reboot.c: Likewise.
28076         * misc/remap_file_pages.c: Likewise.
28077         * misc/removexattr.c: Likewise.
28078         * misc/revoke.c: Likewise.
28079         * misc/select.c: Likewise.
28080         * misc/setdomain.c: Likewise.
28081         * misc/setegid.c: Likewise.
28082         * misc/seteuid.c: Likewise.
28083         * misc/sethostid.c: Likewise.
28084         * misc/sethostname.c: Likewise.
28085         * misc/setregid.c: Likewise.
28086         * misc/setreuid.c: Likewise.
28087         * misc/setxattr.c: Likewise.
28088         * misc/sstk.c: Likewise.
28089         * misc/stty.c: Likewise.
28090         * misc/swapoff.c: Likewise.
28091         * misc/swapon.c: Likewise.
28092         * misc/sync.c: Likewise.
28093         * misc/syncfs.c: Likewise.
28094         * misc/syscall.c: Likewise.
28095         * misc/truncate.c: Likewise.
28096         * misc/ualarm.c: Likewise.
28097         * misc/usleep.c: Likewise.
28098         * misc/ustat.c: Likewise.
28099         * misc/utimes.c: Likewise.
28100         * misc/vhangup.c: Likewise.
28101         * misc/writev.c: Likewise.
28102         * posix/_exit.c: Likewise.
28103         * posix/alarm.c: Likewise.
28104         * posix/execve.c: Likewise.
28105         * posix/fexecve.c: Likewise.
28106         * posix/fork.c: Likewise.
28107         * posix/fpathconf.c: Likewise.
28108         * posix/getaddrinfo.c: Likewise.
28109         * posix/getegid.c: Likewise.
28110         * posix/geteuid.c: Likewise.
28111         * posix/getgid.c: Likewise.
28112         * posix/getgroups.c: Likewise.
28113         * posix/getlogin.c: Likewise.
28114         * posix/getlogin_r.c: Likewise.
28115         * posix/getpgid.c: Likewise.
28116         * posix/getpid.c: Likewise.
28117         * posix/getppid.c: Likewise.
28118         * posix/getresgid.c: Likewise.
28119         * posix/getresuid.c: Likewise.
28120         * posix/getsid.c: Likewise.
28121         * posix/getuid.c: Likewise.
28122         * posix/glob64.c: Likewise.
28123         * posix/nanosleep.c: Likewise.
28124         * posix/pathconf.c: Likewise.
28125         * posix/pause.c: Likewise.
28126         * posix/posix_madvise.c: Likewise.
28127         * posix/pread.c: Likewise.
28128         * posix/pread64.c: Likewise.
28129         * posix/pwrite.c: Likewise.
28130         * posix/pwrite64.c: Likewise.
28131         * posix/sched_getaffinity.c: Likewise.
28132         * posix/sched_getp.c: Likewise.
28133         * posix/sched_gets.c: Likewise.
28134         * posix/sched_primax.c: Likewise.
28135         * posix/sched_primin.c: Likewise.
28136         * posix/sched_rr_gi.c: Likewise.
28137         * posix/sched_setaffinity.c: Likewise.
28138         * posix/sched_setp.c: Likewise.
28139         * posix/sched_sets.c: Likewise.
28140         * posix/sched_yield.c: Likewise.
28141         * posix/setgid.c: Likewise.
28142         * posix/setlogin.c: Likewise.
28143         * posix/setpgid.c: Likewise.
28144         * posix/setresgid.c: Likewise.
28145         * posix/setresuid.c: Likewise.
28146         * posix/setsid.c: Likewise.
28147         * posix/setuid.c: Likewise.
28148         * posix/sleep.c: Likewise.
28149         * posix/spawni.c: Likewise.
28150         * posix/sysconf.c: Likewise.
28151         * posix/times.c: Likewise.
28152         * posix/wait.c: Likewise.
28153         * posix/wait3.c: Likewise.
28154         * posix/wait4.c: Likewise.
28155         * posix/waitpid.c: Likewise.
28156         * resolv/gai_sigqueue.c: Likewise.
28157         * resource/getpriority.c: Likewise.
28158         * resource/getrlimit.c: Likewise.
28159         * resource/getrusage.c: Likewise.
28160         * resource/nice.c: Likewise.
28161         * resource/setpriority.c: Likewise.
28162         * resource/setrlimit.c: Likewise.
28163         * resource/ulimit.c: Likewise.
28164         * rt/aio_cancel.c: Likewise.
28165         * rt/aio_fsync.c: Likewise.
28166         * rt/aio_read.c: Likewise.
28167         * rt/aio_sigqueue.c: Likewise.
28168         * rt/aio_suspend.c: Likewise.
28169         * rt/aio_write.c: Likewise.
28170         * rt/clock_getres.c: Likewise.
28171         * rt/clock_gettime.c: Likewise.
28172         * rt/clock_nanosleep.c: Likewise.
28173         * rt/clock_settime.c: Likewise.
28174         * rt/lio_listio.c: Likewise.
28175         * rt/mq_close.c: Likewise.
28176         * rt/mq_getattr.c: Likewise.
28177         * rt/mq_notify.c: Likewise.
28178         * rt/mq_open.c: Likewise.
28179         * rt/mq_receive.c: Likewise.
28180         * rt/mq_send.c: Likewise.
28181         * rt/mq_setattr.c: Likewise.
28182         * rt/mq_timedreceive.c: Likewise.
28183         * rt/mq_timedsend.c: Likewise.
28184         * rt/mq_unlink.c: Likewise.
28185         * rt/shm_open.c: Likewise.
28186         * rt/shm_unlink.c: Likewise.
28187         * rt/timer_create.c: Likewise.
28188         * rt/timer_delete.c: Likewise.
28189         * rt/timer_getoverr.c: Likewise.
28190         * rt/timer_gettime.c: Likewise.
28191         * rt/timer_settime.c: Likewise.
28192         * setjmp/__longjmp.c: Likewise.
28193         * setjmp/setjmp.c: Likewise.
28194         * signal/kill.c: Likewise.
28195         * signal/killpg.c: Likewise.
28196         * signal/raise.c: Likewise.
28197         * signal/sigaction.c: Likewise.
28198         * signal/sigaltstack.c: Likewise.
28199         * signal/sigblock.c: Likewise.
28200         * signal/sigignore.c: Likewise.
28201         * signal/sigintr.c: Likewise.
28202         * signal/signal.c: Likewise.
28203         * signal/sigpause.c: Likewise.
28204         * signal/sigpending.c: Likewise.
28205         * signal/sigqueue.c: Likewise.
28206         * signal/sigreturn.c: Likewise.
28207         * signal/sigset.c: Likewise.
28208         * signal/sigsetmask.c: Likewise.
28209         * signal/sigstack.c: Likewise.
28210         * signal/sigsuspend.c: Likewise.
28211         * signal/sigtimedwait.c: Likewise.
28212         * signal/sigvec.c: Likewise.
28213         * signal/sigwait.c: Likewise.
28214         * signal/sigwaitinfo.c: Likewise.
28215         * signal/sysv_signal.c: Likewise.
28216         * socket/accept.c: Likewise.
28217         * socket/accept4.c: Likewise.
28218         * socket/bind.c: Likewise.
28219         * socket/connect.c: Likewise.
28220         * socket/getpeername.c: Likewise.
28221         * socket/getsockname.c: Likewise.
28222         * socket/getsockopt.c: Likewise.
28223         * socket/isfdtype.c: Likewise.
28224         * socket/listen.c: Likewise.
28225         * socket/recv.c: Likewise.
28226         * socket/recvfrom.c: Likewise.
28227         * socket/recvmsg.c: Likewise.
28228         * socket/send.c: Likewise.
28229         * socket/sendmsg.c: Likewise.
28230         * socket/sendto.c: Likewise.
28231         * socket/setsockopt.c: Likewise.
28232         * socket/shutdown.c: Likewise.
28233         * socket/sockatmark.c: Likewise.
28234         * socket/socket.c: Likewise.
28235         * socket/socketpair.c: Likewise.
28236         * stdio-common/ctermid.c: Likewise.
28237         * stdio-common/cuserid.c: Likewise.
28238         * stdio-common/remove.c: Likewise.
28239         * stdio-common/rename.c: Likewise.
28240         * stdio-common/renameat.c: Likewise.
28241         * stdio-common/tempname.c: Likewise.
28242         * stdlib/getcontext.c: Likewise.
28243         * stdlib/makecontext.c: Likewise.
28244         * stdlib/setcontext.c: Likewise.
28245         * stdlib/swapcontext.c: Likewise.
28246         * stdlib/system.c: Likewise.
28247         * streams/fattach.c: Likewise.
28248         * streams/fdetach.c: Likewise.
28249         * streams/getmsg.c: Likewise.
28250         * streams/getpmsg.c: Likewise.
28251         * streams/putmsg.c: Likewise.
28252         * streams/putpmsg.c: Likewise.
28253         * sysdeps/unix/bsd/getpt.c: Likewise.
28254         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28255         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28256         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28258         Likewise.
28259         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28260         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28261         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28262         * sysvipc/msgctl.c: Likewise.
28263         * sysvipc/msgget.c: Likewise.
28264         * sysvipc/msgrcv.c: Likewise.
28265         * sysvipc/msgsnd.c: Likewise.
28266         * sysvipc/semctl.c: Likewise.
28267         * sysvipc/semget.c: Likewise.
28268         * sysvipc/semop.c: Likewise.
28269         * sysvipc/semtimedop.c: Likewise.
28270         * sysvipc/shmat.c: Likewise.
28271         * sysvipc/shmctl.c: Likewise.
28272         * sysvipc/shmdt.c: Likewise.
28273         * sysvipc/shmget.c: Likewise.
28274         * termios/tcdrain.c: Likewise.
28275         * termios/tcflow.c: Likewise.
28276         * termios/tcflush.c: Likewise.
28277         * termios/tcgetattr.c: Likewise.
28278         * termios/tcgetpgrp.c: Likewise.
28279         * termios/tcsendbrk.c: Likewise.
28280         * termios/tcsetattr.c: Likewise.
28281         * termios/tcsetpgrp.c: Likewise.
28282         * time/adjtime.c: Likewise.
28283         * time/clock.c: Likewise.
28284         * time/getitimer.c: Likewise.
28285         * time/gettimeofday.c: Likewise.
28286         * time/setitimer.c: Likewise.
28287         * time/settimeofday.c: Likewise.
28288         * time/stime.c: Likewise.
28289         * time/time.c: Likewise.
28290
28291 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
28292
28293         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28294         /usr/old/bin.
28295
28296         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28297         instead of spaces.
28298         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28299
28300 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
28301
28302         [BZ #14796]
28303         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28304         FE_TONEAREST before applying Dekker multiplication and Knuth
28305         addition.  Clear inexact exceptions and check for exact zero
28306         results afterwards.
28307         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28308         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28309         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28310         * math/libm-test.inc (fma_test): Add more tests.
28311         (fma_test_towardzero): Likewise.
28312         (fma_test_downward): Likewise.
28313         (fma_test_upward): Likewise.
28314         * sysdeps/generic/math_private.h (default_libc_fesetround): New
28315         function.
28316         (libc_fesetround): New macro.
28317         (libc_fesetroundf): Likewise.
28318         (libc_fesetroundl): Likewise.
28319         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28320         function.
28321         (libc_fesetround_387): Likewise.
28322         (libc_fesetroundf): New macro.
28323         (libc_fesetround): Likewise.
28324         (libc_fesetroundl): Likewise.
28325         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28326         function.
28327         (libc_fesetroundf): New macro.
28328         (libc_fesetround): Likewise.
28329         (libc_fesetroundl): Likewise.
28330         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28331         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28332         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28333         libm_hidden_ver.
28334         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28335         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28336         libm_hidden_def.
28337         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28338         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28339         libm_hidden_ver.
28340         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28341         libm_hidden_def.
28342
28343         [BZ #3439]
28344         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28345         integer constant usable in #if and use that to give value to enum
28346         constant.
28347         (FE_DIVBYZERO): Likewise.
28348         (FE_UNDERFLOW): Likewise.
28349         (FE_OVERFLOW): Likewise.
28350         (FE_INVALID): Likewise.
28351         (FE_INVALID_SNAN): Likewise.
28352         (FE_INVALID_ISI): Likewise.
28353         (FE_INVALID_IDI): Likewise.
28354         (FE_INVALID_ZDZ): Likewise.
28355         (FE_INVALID_IMZ): Likewise.
28356         (FE_INVALID_COMPARE): Likewise.
28357         (FE_INVALID_SOFTWARE): Likewise.
28358         (FE_INVALID_SQRT): Likewise.
28359         (FE_INVALID_INTEGER_CONVERSION): Likewise.
28360         (FE_TONEAREST): Likewise.
28361         (FE_TOWARDZERO): Likewise.
28362         (FE_UPWARD): Likewise.
28363         (FE_DOWNWARD): Likewise.
28364         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28365         (FE_DIVBYZERO): Likewise.
28366         (FE_OVERFLOW): Likewise.
28367         (FE_UNDERFLOW): Likewise.
28368         (FE_INEXACT): Likewise.
28369         (FE_TONEAREST): Likewise.
28370         (FE_DOWNWARD): Likewise.
28371         (FE_UPWARD): Likewise.
28372         (FE_TOWARDZERO): Likewise.
28373         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28374         (FE_UNDERFLOW): Likewise.
28375         (FE_OVERFLOW): Likewise.
28376         (FE_DIVBYZERO): Likewise.
28377         (FE_INVALID): Likewise.
28378         (FE_TONEAREST): Likewise.
28379         (FE_TOWARDZERO): Likewise.
28380         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28381         (FE_OVERFLOW): Likewise.
28382         (FE_UNDERFLOW): Likewise.
28383         (FE_DIVBYZERO): Likewise.
28384         (FE_INEXACT): Likewise.
28385         (FE_TONEAREST): Likewise.
28386         (FE_TOWARDZERO): Likewise.
28387         (FE_UPWARD): Likewise.
28388         (FE_DOWNWARD): Likewise.
28389         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28390         (FE_DIVBYZERO): Likewise.
28391         (FE_OVERFLOW): Likewise.
28392         (FE_UNDERFLOW): Likewise.
28393         (FE_INEXACT): Likewise.
28394         (FE_TONEAREST): Likewise.
28395         (FE_DOWNWARD): Likewise.
28396         (FE_UPWARD): Likewise.
28397         (FE_TOWARDZERO): Likewise.
28398
28399 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
28400
28401         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28402
28403 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
28404
28405         * scripts/cross-test-ssh.sh (command): Use newlines to separate
28406         commands.  Quote $PWD.
28407         (blacklist_exports): Don't use remove_newlines.  Replace "declare
28408         -x" by "export".
28409         (remove_newlines): Remove.
28410
28411 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
28412
28413         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28414         * stdlib/stdlib.h (atof): Moved to ...
28415         * include/bits/stdlib-float.h: Here.  New file.
28416         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28417         * stdlib/bits/stdlib-float.h: New file.
28418         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28419         -mno-sse -mno-mmx.
28420         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28421         <xmmintrin.h>.
28422
28423 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
28424
28425         * conform/conformtest.pl (@headers): Add fenv.h.
28426         * conform/data/fenv.h-data: New file.
28427         * include/fenv.h [_ISOMAC]: Disable all contents of file except
28428         include of <math/fenv.h>.
28429
28430         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28431         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28432         && !UNIX98].  Enables tests for XOPEN2K8.
28433         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28434         POSIX2008]: Likewise.
28435
28436         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28437         (struct rusage): Do not expect type or its members.
28438
28439         [BZ #3439]
28440         * math/math.h (FP_NAN): Define macro to integer constant usable in
28441         #if and use that to give value to enum constant.
28442         (FP_INFINITE): Likewise.
28443         (FP_ZERO): Likewise.
28444         (FP_SUBNORMAL): Likewise.
28445         (FP_NORMAL): Likewise.
28446
28447 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
28448
28449         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28450         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28451         arguments.
28452
28453 2012-11-02  Roland McGrath  <roland@hack.frob.com>
28454
28455         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28456         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28457         autoconf-time if not.
28458         * configure.in: Remove AC_PREREQ.
28459
28460 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28461
28462         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28463         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28464         of the internal implementation.
28465
28466 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
28467
28468         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28469         except include of <misc/sys/syslog.h>.
28470
28471 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28472
28473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28474         function returns with a NULL context exit with zero.
28475
28476 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28477
28478         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28479
28480 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
28481
28482         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28483         (run_program_cmd): This.
28484         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28485         (tst_langinfo): New variable.  Use it.
28486
28487 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
28488
28489         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28490         floating point opcodes.
28491
28492 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28493
28494         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28495         variable.
28496
28497         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28498
28499         * sysdeps/mach/hurd/powerpc: Remove directory.
28500         * sysdeps/mach/powerpc: Likewise.
28501
28502 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28503
28504         * scripts/check-local-headers.sh: Ignore c++ headers.
28505
28506 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28507
28508         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28509         __libc_cleanup_region_start argument.
28510
28511 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
28512
28513         [BZ #14784]
28514         [BZ #14785]
28515         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28516         x * y using scaling, not as x * y + z.
28517         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28518         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28519         * math/libm-test.inc (fma_test): Add more tests.
28520         (fma_test_towardzero): Likewise.
28521         (fma_test_downward): Likewise.
28522         (fma_test_upward): Likewise.
28523
28524 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28525
28526         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28527
28528 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
28529
28530         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28531         New variable.
28532
28533 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
28534
28535         * rt/tst-shm.c (worker): Correct checking for mmap failure.
28536
28537 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
28538
28539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28540         Fix sort order.
28541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28542         Likewise.
28543
28544 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28545
28546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28547         Fix the order of the list for glibc 2.17.
28548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28549         Likewise.
28550
28551 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
28552
28553         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28554
28555 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
28556
28557         [BZ #14610]
28558         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28559         for low part of x being zero before using __atanl (y).
28560         * math/libm-test.inc (atan2_test): Add another test.
28561
28562         * manual/install.texi (Configuring and compiling): Document
28563         general use of test-wrapper and test-wrapper-env.
28564         * INSTALL: Regenerated.
28565
28566         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28567         (__fma): Do not extract and scale down low bits on after-rounding
28568         systems when result rounded to normal precision would have normal
28569         exponent.
28570         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28571         (__fmal): Do not extract and scale down low bits on after-rounding
28572         systems when result rounded to normal precision would have normal
28573         exponent.
28574         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28575         (__fmal): Do not extract and scale down low bits on after-rounding
28576         systems when result rounded to normal precision would have normal
28577         exponent.
28578         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28579         macro.
28580         (fma_test): Add more tests.
28581         (fma_test_towardzero): Likewise.
28582         (fma_test_downward): Likewise.
28583         (fma_test_upward): Likewise.
28584
28585 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
28586
28587         * sysdeps/i386/tininess.h: Renamed to ...
28588         * sysdeps/x86/tininess.h: This.
28589         * sysdeps/x86_64/tininess.h: Removed.
28590
28591 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
28592
28593         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28594         input.  Use $(build-program-cmd).
28595         ($(objpfx)tst-array1-static.out): Likewise.
28596         ($(objpfx)tst-array2.out): Likewise.
28597         ($(objpfx)tst-array3.out): Likewise.
28598         ($(objpfx)tst-array4.out): Likewise.
28599         ($(objpfx)tst-array5.out): Likewise.
28600         ($(objpfx)tst-array5-static.out): Likewise.
28601
28602 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
28603
28604         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28605         if defined.
28606
28607         * nss/nsswitch.h (nss_interface_function): Provide new
28608         macro for use with NSS functions.
28609         * grp/initgroups.c: Use new macro.
28610         * nss/getXXbyYY.c: Likewise.
28611         * nss/getXXbyYY_r.c: Likewise.
28612         * nss/getXXent.c: Likewise.
28613         * nss/getXXent_r.c: Likewise.
28614         * sysdeps/posix/getaddrinfo.c: Likewise.
28615
28616 2012-10-30  Andreas Jaeger  <aj@suse.de>
28617
28618         * po/ru.po: Update Russion translation from translation project.
28619
28620 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
28621
28622         [BZ #14152]
28623         [BZ #14783]
28624         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28625         result and shift together with sticky bit instead of replicating
28626         round-to-nearest rounding.
28627         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28628         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28629         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
28630         missing underflow exceptions.
28631         (fma_test_towardzero): Add more tests.
28632         (fma_test_downward): Likewise.
28633         (fma_test_upward): Likewise.
28634
28635         [BZ #14047]
28636         * sysdeps/generic/tininess.h: New file.
28637         * sysdeps/i386/tininess.h: Likewise.
28638         * sysdeps/sh/tininess.h: Likewise.
28639         * sysdeps/x86_64/tininess.h: Likewise.
28640         * stdlib/tst-strtod-underflow.c: Likewise.
28641         * stdlib/tst-tininess.c: Likewise.
28642         * stdlib/strtod_l.c: Include <tininess.h>.
28643         (round_and_return): Do not set errno for exact underflow cases.
28644         Force an underflow exception when setting errno for underflow.
28645         Determine underflow based on rounding to normal precision if
28646         TININESS_AFTER_ROUNDING.
28647         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28648         ERANGE for exact underflow cases.
28649         * stdlib/Makefile (tests): Add tst-tininess and
28650         tst-strtod-underflow.
28651         ($(objpfx)tst-tininess): Use $(link-libm).
28652         ($(objpfx)tst-strtod-underflow): Likewise.
28653
28654 2012-10-30  Andreas Jaeger  <aj@suse.de>
28655
28656         [BZ#14767]
28657         * elf/Makefile (tests): Remove conditional for have-initfini-array
28658         since this is now always required and the variable does not exist
28659         anymore.
28660         (tests-static): Likewise.
28661         (modules-names): Likewise.
28662
28663         * po/eo.po: Add Esperanto translation from translation project.
28664
28665         * elf/tst-array1.c (fini_array): Make writeable so that it can be
28666         merged with constructor/destructor.
28667         (init_array): Likewise.
28668         * elf/tst-array2dep.c (fini_array): Likewise.
28669         (init_array): Likewise.
28670
28671 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
28672
28673         * manual/message.texi: Delete @cartouche tags.
28674
28675 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
28676
28677         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28678         EOPNOTSUPP.
28679         * sysdeps/mach/hurd/fsync.c: Likewise.
28680
28681         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28682         [_POSIX_REALTIME_SIGNALS]: Change condition to
28683         [_POSIX_REALTIME_SIGNALS > 0].
28684
28685 2012-10-27  Andreas Jaeger  <aj@suse.de>
28686
28687         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28688         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28689         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28690         [__WORDSIZE != 64]: Likewise.
28691
28692 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
28693
28694         *  iconvdata/tst-table.sh: Remove ${SHELL}.
28695         *  iconvdata/tst-tables.sh: Likewise.
28696
28697 2012-10-25  David S. Miller  <davem@davemloft.net>
28698
28699         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28700         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28701         of strtoull.
28702
28703         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28704         ifunc-impl-list.c
28705         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28706         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28707         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28708         file.
28709
28710 2012-10-25  Roland McGrath  <roland@hack.frob.com>
28711
28712         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28713         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28714         __getdirentries.
28715
28716 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
28717             Jim Blandy  <jimb@codesourcery.com>
28718
28719         * scripts/cross-test-ssh.sh: New file.
28720         * manual/install.texi (Configuring and compiling): Document use of
28721         cross-test-ssh.sh.
28722         * INSTALL: Regenerated.
28723
28724 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
28725
28726         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28727         EOPNOTSUPP.
28728
28729 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
28730
28731         * Makeconfig (run-program-prefix): Fix comment.
28732
28733 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
28734             Jim Blandy  <jimb@codesourcery.com>
28735
28736         * Makeconfig (test-wrapper): New variable,
28737         (test-wrapper-env): Likewise.
28738         [$(cross-compiling) = yes && $(test-wrapper) != ""]
28739         (run-built-tests): Define to yes.
28740         (run-program-prefix): Use $(test-wrapper).
28741         (built-program-cmd): Likewise.
28742         * Rules (make-test-out): Use $(test-wrapper-env) and
28743         $(host-built-program-cmd).
28744         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28745         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28746         tst-pathopt.sh.
28747         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28748         $(test-wrapper-env) to tst-rtld-load-self.sh.
28749         ($(objpfx)order2.out): Use $(test-wrapper).
28750         ($(objpfx)tst-initorder.out): Likewise.
28751         ($(objpfx)tst-initorder2.out): Likewise.
28752         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28753         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28754         (test_wrapper_env): New variable.  Use it to run ld.so.
28755         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28756         Use it to run ld.so.
28757         (test_wrapper_env): Likewise.
28758         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28759         $(test-wrapper) to run-iconv-test.sh.
28760         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28761         (ICONV): Use $test_wrapper.
28762         * posix/Makefile ($(objpfx)globtest.out): Pass
28763         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28764         globtest.sh, not $(run-program-prefix).
28765         * posix/globtest.sh (run_via_rtld_prefix): New variable.
28766         (test_wrapper): Likewise.
28767         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
28768         set together with run_via_rtld_prefix.
28769         (run_program_prefix): Define in terms of test_wrapper and
28770         run_via_rtld_prefix.
28771
28772 2012-10-24  Roland McGrath  <roland@hack.frob.com>
28773
28774         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28775         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28776         Targets removed.
28777
28778         [BZ #14743]
28779         * include/time.h: Remove librt_hidden_proto (clock_gettime).
28780         Declare __clock_getres, __clock_gettime, __clock_settime,
28781         __clock_nanosleep, and __clock_getcpuclockid.
28782         * rt/clock_gettime.c: Define __clock_gettime as an alias.
28783         Remove librt_hidden_def (clock_gettime).
28784         * sysdeps/unix/clock_gettime.c: Likewise.
28785         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28786         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28787         * rt/clock_getres.c: Define __clock_getres as an alias.
28788         * sysdeps/posix/clock_getres.c: Likewise.
28789         * rt/clock_settime.c: Define __clock_settime as an alias.
28790         * sysdeps/unix/clock_settime.c: Likewise.
28791         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28792         * sysdeps/unix/clock_nanosleep.c: Likewise.
28793         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28794         * rt/clock-compat.c: New file.
28795         * rt/Makefile (librt-routines): Add clock-compat and move
28796         $(clock-routines) to ...
28797         (routines): ... here, new variable.
28798         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28799         Don't add get_clockfreq here.
28800         * rt/Versions (libc: GLIBC_2.17): New version set.
28801         Add clock_* symbols here.
28802         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
28803         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28804         (GLIBC_2.17): Add clock_* symbols.
28805         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28806         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28807         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28809         Likewise.
28810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28811         Likewise.
28812         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28813         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28814         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28815         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28816         * NEWS: Mention the move.
28817
28818         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28819         Use __open, __read, __close rather than their public counterparts.
28820         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28821         (__get_clockfreq_via_cpuinfo): Likewise.
28822         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28823         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28824
28825         * config.h.in (HAVE_IFUNC): New #undef.
28826         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28827         was successful.
28828         * configure: Regenerated.
28829
28830 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
28831
28832         * configure.in: Move READELF check to start of file.
28833         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28834         libc_cv_asm_gnu_indirect_function in the process.
28835         * configure: Regenerated.
28836
28837 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
28838
28839         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28840         send the output to /dev/null.
28841         (libc_cv_cc_with_libunwind): Likewise.
28842         (libc_cv_as_noexecstack): Likewise.
28843         * configure: Regenerate.
28844
28845 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
28846
28847         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28848
28849         * posix/globtest.sh (TMPDIR): Do not set.
28850         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28851         (testout): Likewise.
28852
28853 2012-10-24  Andreas Jaeger  <aj@suse.de>
28854
28855         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28856         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28857         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28858         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28859         posix_fadvise64, posix_fallocate64.
28860
28861         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28862         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28863         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28864         Likewise.
28865         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28866         Likewise.
28867         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28868
28869         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28870         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28871         <bits/fcntl-linux.h>.
28872         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28873
28874         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28875         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28876         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28877         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28878         [__WORDSIZE != 64]: Likewise.
28879
28880 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
28881
28882         * Makeconfig (run-built-tests): New variable.
28883         * Rules [$(cross-compiling) = yes]: Change condition to
28884         [$(run-built-tests) = no].
28885         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28886         to [$(run-built-tests) = yes].
28887         * elf/Makefile [$(cross-compiling) = no]: Likewise
28888         * grp/Makefile [$(cross-compiling) = no]: Likewise.
28889         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28890         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28891         * intl/Makefile [$(cross-compiling) = no]: Likewise.
28892         * io/Makefile [$(cross-compiling) = no]: Likewise.
28893         * libio/Makefile [$(cross-compiling) = no]: Likewise.
28894         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28895         * misc/Makefile [$(cross-compiling) = no]: Likewise.
28896         * posix/Makefile [$(cross-compiling) = no]: Likewise.
28897         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28898         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28899         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28900         * string/Makefile [$(cross-compiling) = no]: Likewise.
28901
28902         * posix/Makefile ($(objpfx)globtest.out): Pass
28903         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28904         $(rtld-installed-name).
28905         * posix/globtest.sh (elf_objpfx): Remove variable.
28906         (rtld_installed_name): Likewise.
28907         (library_path): Likewise.
28908         (run_program_prefix): New variable.  Use for running globtest
28909         binary.
28910
28911 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
28912             Joseph Myers  <joseph@codesourcery.com>
28913
28914         * Makeconfig (host-built-program-cmd): New variable.
28915         * elf/Makefile (tst-stackguard1-ARGS): Use
28916         $(host-built-program-cmd).
28917         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28918         (tst-spawn-ARGS): Likewise.
28919         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28920
28921 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
28922             Jim Blandy  <jimb@codesourcery.com>
28923
28924         * Makeconfig (run-via-rtld-prefix): New variable.
28925         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28926         (built-program-cmd): Likewise.
28927
28928 2012-10-22  Andreas Jaeger  <aj@suse.de>
28929
28930         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28931         __O_RSYNC if it exists, otherwise to O_SYNC.
28932
28933 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
28934             Joseph Myers  <joseph@codesourcery.com>
28935
28936         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28937         /dev/null.
28938         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28939         from /dev/null
28940         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28941         /dev/null.
28942
28943 2012-10-22  Andreas Jaeger  <aj@suse.de>
28944
28945         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28946         Define always.
28947         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28948
28949         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28950         bits/fcntl-linux.h.
28951
28952         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28953         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28954
28955         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28956         to __O_LARGEFILE.
28957         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28958         to __O_LARGEFILE.
28959
28960 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
28961             Joseph Myers  <joseph@codesourcery.com>
28962
28963         * config.make.in (NM): New variable.
28964
28965 2012-10-21  Andreas Jaeger  <aj@suse.de>
28966
28967         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28968         definitions and declarations that are provided by
28969         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28970
28971 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
28972
28973         [BZ #14683]
28974         * elf/Makefile (tests-static): Add tst-leaks1-static.
28975         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28976         ($(objpfx)tst-leaks1-static): New rule.
28977         ($(objpfx)tst-leaks1-static-mem): Likewise.
28978         (tst-leaks1-static-ENV): New macro.
28979         * elf/dl-open.c (dl_open_worker): Check the main application
28980         only if SHARED is defined.
28981         * elf/tst-leaks1-static.c: New file.
28982
28983 2012-10-20  Andreas Jaeger  <aj@suse.de>
28984
28985         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28986         generic values for Linux.
28987         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28988         and declarations that are provided by <bits/fcntl-linux.h> and
28989         include <bits/fcntl-linux.h>.
28990         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28991         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28992
28993 2012-10-20  Roland McGrath  <roland@hack.frob.com>
28994
28995         * io/fcntl.h: Move include of <bits/types.h> to the top and
28996         include it unconditionally.
28997
28998 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
28999
29000         * wcsmbs/Makefile (tests-ifunc): New variable.
29001         (tests): Add $(tests-ifunc).
29002         * wcsmbs/test-wcschr-ifunc.c: New file.
29003         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29004         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29005         * wcsmbs/test-wcslen-ifunc.c: Likewise.
29006         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29007         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29008
29009         * string/Makefile (tests-ifunc): New variable.
29010         (tests): Add $(tests-ifunc).
29011         * string/test-memccpy.c (TEST_NAME): New macro.
29012         * string/test-memchr.c (TEST_NAME): Likewise.
29013         * string/test-memcmp.c (TEST_NAME): Likewise.
29014         * string/test-memcpy.c (TEST_NAME): Likewise.
29015         * string/test-memmem.c (TEST_NAME): Likewise.
29016         * string/test-memmove.c (TEST_NAME): Likewise.
29017         * string/test-memset.c (TEST_NAME): Likewise.
29018         * string/test-rawmemchr.c (TEST_NAME): Likewise.
29019         * string/test-stpcpy.c (TEST_NAME): Likewise.
29020         * string/test-stpncpy.c (TEST_NAME): Likewise.
29021         * string/test-strcasecmp.c (TEST_NAME): Likewise.
29022         * string/test-strcasestr.c (TEST_NAME): Likewise.
29023         * string/test-strcat.c (TEST_NAME): Likewise.
29024         * string/test-strchr.c (TEST_NAME): Likewise.
29025         * string/test-strcmp.c(TEST_NAME): Likewise.
29026         * string/test-strcpy.c (TEST_NAME): Likewise.
29027         * string/test-strcspn.c (TEST_NAME): Likewise.
29028         * string/test-strlen.c (TEST_NAME): Likewise.
29029         * string/test-strncasecmp.c (TEST_NAME): Likewise.
29030         * string/test-strncmp.c (TEST_NAME): Likewise.
29031         * string/test-strncpy.c (TEST_NAME): Likewise.
29032         * string/test-strnlen.c (TEST_NAME): Likewise.
29033         * string/test-strpbrk.c (TEST_NAME): Likewise.
29034         * string/test-strrchr.c (TEST_NAME): Likewise.
29035         * string/test-strspn.c (TEST_NAME): Likewise.
29036         * string/test-strstr.c (TEST_NAME): Likewise.
29037         * string/test-bcopy-ifunc.c: New file.
29038         * string/test-bzero-ifunc.c: Likewise.
29039         * string/test-memccpy-ifunc.c: Likewise.
29040         * string/test-memchr-ifunc.c: Likewise.
29041         * string/test-memcmp-ifunc.c: Likewise.
29042         * string/test-memcpy-ifunc.c: Likewise.
29043         * string/test-memmem-ifunc.c: Likewise.
29044         * string/test-memmove-ifunc.c: Likewise.
29045         * string/test-mempcpy-ifunc.c: Likewise.
29046         * string/test-memset-ifunc.c: Likewise.
29047         * string/test-rawmemchr-ifunc.c: Likewise.
29048         * string/test-stpcpy-ifunc.c: Likewise.
29049         * string/test-stpncpy-ifunc.c: Likewise.
29050         * string/test-strcasecmp-ifunc.c: Likewise.
29051         * string/test-strcasestr-ifunc.c: Likewise.
29052         * string/test-strcat-ifunc.c: Likewise.
29053         * string/test-strchr-ifunc.c: Likewise.
29054         * string/test-strchrnul-ifunc.c: Likewise.
29055         * string/test-strcmp-ifunc.c: Likewise.
29056         * string/test-strcpy-ifunc.c: Likewise.
29057         * string/test-strcspn-ifunc.c: Likewise.
29058         * string/test-strlen-ifunc.c: Likewise.
29059         * string/test-strncasecmp-ifunc.c: Likewise.
29060         * string/test-strncat-ifunc.c: Likewise.
29061         * string/test-strncmp-ifunc.c: Likewise.
29062         * string/test-strncpy-ifunc.c: Likewise.
29063         * string/test-strnlen-ifunc.c: Likewise.
29064         * string/test-strpbrk-ifunc.c: Likewise.
29065         * string/test-strrchr-ifunc.c: Likewise.
29066         * string/test-strspn-ifunc.c: Likewise.
29067         * string/test-strstr-ifunc.c: Likewise.
29068
29069         * debug/Makefile (tests-ifunc): New variable.
29070         (tests): Add $(tests-ifunc).
29071         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29072         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29073         * debug/test-stpcpy_chk-ifunc.c: New file.
29074         * debug/test-strcpy_chk-ifunc.c: Likewise.
29075
29076 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29077
29078         [BZ #13601]
29079         * elf/dl-load.c (open_verify): Retry read if the entire ELF
29080         header is not read in.
29081
29082 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
29083
29084         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
29085         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
29086         directly.  Pass built executable to script as
29087         $(built-program-cmd).
29088         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
29089         $testprogram without using LD_LIBRARY_PATH and $ldso.
29090
29091         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29092         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29093         $(rtld-installed-name).
29094         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29095         (rtld_installed_name): Likewise.
29096         (library_path): Likewise.
29097         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
29098         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29099         $(run-program-prefix) to tst-tables.sh.
29100         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
29101         it to run tst-table-from and tst-table-to.
29102         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29103         Pass it to tst-table.sh.
29104         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29105         $(run-program-prefix) to tst-gettext.sh.
29106         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29107         tst-translit.sh.
29108         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29109         tst-gettext2.sh.
29110         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
29111         to run tst-gettext.
29112         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
29113         to run tst-gettext2.
29114         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
29115         to run tst-translit.
29116         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29117         $(run-program-prefix) to tst-mtrace.sh.
29118         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
29119         to run tst-mtrace.
29120         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29121         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29122         $(rtld-installed-name).
29123         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29124         (rtld_installed_name): Likewise.
29125         (run_program_prefix): New variable.  Use it to run wordexp-test.
29126
29127         * Makeconfig (ARCH): Remove all definitions.
29128         (machine): Likewise.
29129         [ARCH]: Remove conditional code.
29130         [!objdir]: Give error.
29131         [!objdir] (objpfx): Remove.
29132         [!objdir] (common-objpfx): Likewise.
29133         [!objdir] (common-objdir): Likewise.
29134         * configure.in (config_makefile): Remove.  Hardcode Makefile in
29135         AC_CONFIG_FILES call.
29136         * configure: Regenerated.
29137
29138         [BZ #13888]
29139         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29140         or TMPDIR.
29141         (testout): Likewise.
29142
29143         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29144         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29145         $(rtld-installed-name).
29146         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29147         (rtld_installed_name): Likwise.
29148         (runit): Remove function.
29149         (run_getconf): New variable,  Use it for running getconf binary.
29150
29151 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
29152
29153         [BZ #14716]
29154         * string/test-memmem.c (check_result): New function.
29155         (do_one_test): Use it.
29156         (check1): New function.
29157         (test_main): Use it.
29158
29159 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
29160
29161         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29162
29163 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
29164
29165         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29166         (_G_LSEEK64): Likewise.
29167         (_G_MMAP64): Likewise.
29168         (_G_FSTAT64): Likewise.
29169         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29170         (_G_LSEEK64): Likewise.
29171         (_G_MMAP64): Likewise.
29172         (_G_FSTAT64): Likewise.
29173         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29174         unconditional.  Call __mmap64 directly.
29175         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29176         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
29177         __lseek64 directly.
29178         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29179         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
29180         __mmap64 directly.
29181         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29182         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29183         __lseek64 directly.
29184         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29185         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29186         __lseek64 directly.
29187         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29188         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
29189         __lseek64 directly.
29190         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29191         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
29192         __fxstat64 directly.
29193         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29194         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29195         unconditional.
29196         (freopen64) [!_G_OPEN64]: Remove conditional code.
29197         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29198         unconditional.
29199         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29200         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29201         unconditional.
29202         (ftello64) [!_G_LSEEK64]: Remove conditional code.
29203         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29204         unconditional.
29205         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29206         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29207         unconditional.
29208         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29209         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29210         unconditional.
29211         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29212         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29213         unconditional.
29214         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29215         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29216         unconditional.
29217         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29218
29219 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29220
29221         [BZ #12140]
29222         * manual/memory.texi (Malloc Tunable Parameters): Add note
29223         about free list pointers overwriting some perturb bytes.
29224         Wording suggested by Roland McGrath.
29225
29226 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
29227
29228         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29229         (lgamma_test): Likewise.
29230         (tgamma_test): Likewise.
29231
29232 2012-10-16  Florian Weimer  <fweimer@redhat.com>
29233
29234         [BZ #14700]
29235         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29236         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29237
29238 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
29239
29240         * NEWS: Mention BZ #14716.
29241         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29242         when removing AVAILABLE1_USES_J macro.
29243
29244 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
29245
29246         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29247         (__bswap_64): __uint64_t for unsigned 64-bit int.
29248
29249 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
29250
29251         * include/string.h (memmem): Declare libc hidden alias.
29252         * string/memmem.c (memmem): Define libc hidden alias.
29253         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29254         __read, __close instead of open, read, close.
29255
29256 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
29257
29258         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29259         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29260         global and hidden.
29261         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29262         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29263         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29264         Likewise.
29265         (__rawmemchr_sse2): Likewise.
29266         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29267         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29268         (__strchr_sse2): Likewise.
29269         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29270         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29271         (__strcasecmp_sse2): Likewise.
29272         (__strncasecmp_sse2): Likewise.
29273         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29274         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29275         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29276         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29277         (__strrchr_sse2): Likewise.
29278         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29279         ifunc-impl-list.c.
29280         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29281         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29282         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29283         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29284         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29285         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29286         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29287         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29288         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29289         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29290         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29291         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29292         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29293         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29294         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29295         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29296         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29297         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29298         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29299         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29300         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29301         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29302         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29303         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29304         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29305         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29306         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29307         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29308         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29309         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29310
29311         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29312         global and hidden.
29313         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29314         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29315         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29316         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29317         Likewise.
29318         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29319         Likewise.
29320         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29321         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29322         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29323         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29324         ifunc-impl-list.c.
29325         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29326         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29327         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29328         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29329         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29330         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29331         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29332         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29333         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29334         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29335         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29336         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29337         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29338         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29339         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29340         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29341         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29342         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29343         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29344         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29345         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29346         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29347         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29348         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29349         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29350         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29351         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29352         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29353         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29354         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29355         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29356         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29357         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29358         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29359         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29360         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29361         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29362         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29363         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29364         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29365         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29366
29367         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29368         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29369         * include/ifunc-impl-list.h: New file.
29370         * misc/ifunc-impl-list.c: Likewise.
29371         * misc/Makefile (routines): Add ifunc-impl-list.
29372         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29373         * string/test-string.h: Include <ifunc-impl-list.h>.
29374         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29375         TEST_NAME]: New variables.
29376         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29377         are defined.
29378         (test_init): Call __libc_ifunc_impl_list to initialize
29379         func_list if TEST_IFUNC and TEST_NAME are defined.
29380
29381         * string/Makefile (strop-tests): Add bcopy and bzero.
29382         * string/test-bcopy.c: New file.
29383         * string/test-bzero.c: Likewise.
29384         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29385         defined.
29386         * string/test-memset.c: Support bzero test if TEST_BZERO is
29387         defined.
29388         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29389         __libc_memmove.
29390         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29391         __libc_memset.
29392         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29393         of memset.
29394
29395 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
29396
29397         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29398         * configure: Regenerated.
29399
29400         * Makeconfig (+link-static-before-libc): Don't include
29401         $(link-static-libc).
29402
29403         * libio/libio.h (_IO_pos_t): Remove.
29404
29405 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29406
29407         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
29408         McGrath.
29409
29410 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29411
29412         * crypt/crypt-entry.c: Include fips-private.h.
29413         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29414         * crypt/md5c-test.c (main): Tolerate disabled MD5.
29415         * sysdeps/unix/sysv/linux/fips-private.h: New file.
29416         * sysdeps/generic/fips-private.h: New file, dummy fallback.
29417
29418 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29419
29420         * crypt/crypt-private.h: Include stdbool.h.
29421         (_ufc_setup_salt_r): Return bool.
29422         * crypt/crypt-entry.c: Include errno.h.
29423         (__crypt_r): Return NULL with EINVAL for bad salt.
29424         * crypt/crypt_util.c (bad_for_salt): New.
29425         (_ufc_setup_salt_r): Check that salt is long enough and within
29426         the specified alphabet.
29427         * crypt/badsalttest.c: New file.
29428         * crypt/Makefile (tests): Add it.
29429         ($(objpfx)badsalttest): New.
29430
29431 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
29432
29433         * NEWS: Add entry for BZ #14602.
29434
29435 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
29436
29437         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29438         type-generic.
29439         * math/libm-test.inc: Update comment listing what functions and
29440         macros are tested.
29441         (isgreater_test): New function.
29442         (isgreaterequal_test): Likewise.
29443         (isless_test): Likewise.
29444         (islessequal_test): Likewise.
29445         (islessgreater_test): Likewise.
29446         (isunordered_test): Likewise.
29447         (main): Call the new functions.
29448
29449 2012-10-09  Roland McGrath  <roland@hack.frob.com>
29450
29451         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29452         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29453         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29454         * sysdeps/i386/configure: Regenerated.
29455         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29456         * sysdeps/mach/configure: Regenerated.
29457         * sysdeps/mach/hurd/configure: Regenerated.
29458         * sysdeps/powerpc/configure: Regenerated.
29459         * sysdeps/powerpc/powerpc32/configure: Regenerated.
29460         * sysdeps/powerpc/powerpc64/configure: Regenerated.
29461         * sysdeps/s390/s390-32/configure: Regenerated.
29462         * sysdeps/s390/s390-64/configure: Regenerated.
29463         * sysdeps/sh/configure: Regenerated.
29464         * sysdeps/sparc/configure: Regenerated.
29465         * sysdeps/unix/sysv/linux/configure: Regenerated.
29466         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29467         * sysdeps/x86_64/configure: Regenerated.
29468
29469         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29470         defined.  Don't check if MAP is NULL.
29471
29472 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
29473
29474         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29475         (_G_stat64): Likewise.
29476         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29477         (_G_stat64): Likewise.
29478         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29479         instead of struct _G_stat64.
29480         * libio/fileops.c (mmap_remap_check): Likewise.
29481         (decide_maybe_mmap): Likewise.
29482         (_IO_new_file_seekoff): Likewise.
29483         (_IO_file_stat): Likewise.
29484         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29485         _G_off64_t.
29486         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29487         instead of struct _G_stat64.
29488         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29489
29490 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
29491
29492         [BZ #14602]
29493         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29494         Replace with ...
29495         (CHECK_EOL): New macro.
29496         (two_way_short_needle): Check beginning of haystack for EOL.  Use
29497         CHECK_EOL.
29498         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29499         Replace with CHECK_EOL.
29500         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29501         Replace with CHECK_EOL.
29502
29503 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
29504
29505         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29506         type-generic.
29507         * math/libm-test.inc: Update comment listing what functions and
29508         macros are tested.
29509         (finite_test): New function.
29510         (isinf_test): Likewise.
29511         (isnan_test): Likewise.
29512         (fpclassify_test): Test subnormal input.
29513         (isfinite_test): Likewise.
29514         (isnormal_test): Likewise.
29515         (main): Call the new functions.
29516
29517 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
29518
29519         [BZ #14660]
29520         * Makerules (%.dynsym): Force C locale when running
29521         $(OBJDUMP) --dynamic-syms.
29522
29523 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
29524
29525         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29526         <stdint.h>.
29527
29528 2012-10-06  David S. Miller  <davem@davemloft.net>
29529
29530         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29531         upper 32-bits of the length value in %o2 since we use branch-on-register
29532         tests which consider the entire 64-bit register.
29533
29534 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
29535
29536         * string/test-strstr.c (check2): Add a test for page boundary.
29537
29538 2012-10-05  David S. Miller  <davem@davemloft.net>
29539
29540         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29541         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29542         file.
29543         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29544         sysdep_routines.
29545         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29546         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29547         and bzero when HWCAP_SPARC_CRYPTO is present.
29548
29549 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
29550
29551         [BZ #14602]
29552         * string/test-strstr.c (check2): New function.
29553         (test_main): Call check2.
29554
29555         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29556         and bug-strchr1.
29557         * string/bug-strcasestr1.c (do_test): Moved to ...
29558         * string/test-strcasestr.c (check1): Here.  New function.
29559         (do_one_test): Break out result checking code into ...
29560         (check_result): This.  New function.
29561         (do_one_test): Call check_result.
29562         (test_main): Call check1.
29563         * string/bug-strchr1.c (do_test): Moved to ...
29564         * string/test-strchr.c (check1): Here.  New function.
29565         (do_one_test): Break out result checking code into ...
29566         (check_result): This.  New function.
29567         (do_one_test): Call check_result.
29568         (test_main): Call check1.
29569         * string/bug-strstr1.c (main): Moved to ...
29570         * string/test-strstr.c (check1): Here.  New function.
29571         (do_one_test): Break out result checking code into ...
29572         (check_result): This.  New function.
29573         (do_one_test): Call check_result.
29574         (test_main): Call check1.
29575         * string/bug-strcasestr1.c: Removed.
29576         * string/bug-strchr1.c: Likewise.
29577         * string/bug-strstr1.c: Likewise.
29578
29579         * elf/Makefile (dl-routines): Add hwcaps.
29580         * elf/dl-support.c (_dl_important_hwcaps): Removed.
29581         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29582         (_dl_important_hwcaps): Moved to ...
29583         * elf/dl-hwcaps.c: Here.  New file.
29584         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29585
29586         [BZ #14557]
29587         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29588         if IS_IN_rtld isn't defined.
29589
29590         * elf/dl-support.c (_dl_sysinfo_map): New.
29591         Include "get-dynamic-info.h" and "setup-vdso.h".
29592         (_dl_non_dynamic_init): Call setup_vdso.
29593         * elf/dynamic-link.h: Don't include <assert.h>.
29594         (elf_get_dynamic_info): Moved to ...
29595         * elf/get-dynamic-info.h: Here.  New file.
29596         * elf/dynamic-link.h: Include "get-dynamic-info.h".
29597         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29598         * elf/setup-vdso.h: Here.  New file.
29599         * elf/rtld.c: Include "setup-vdso.h".
29600         (dl_main): Call setup_vdso.
29601
29602 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
29603
29604         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29605         creal in comment listing functions tested.  List finite, isinf,
29606         isnan, isless, islessequal, isgreater, isgreaterequal,
29607         islessgreater, isunordered, lgamma_r and pow10 as functions and
29608         macros not tested.  Mention which functions not tested are aliases
29609         for other functions.  Fix typo.  Note that signs of NaNs are not
29610         tested.
29611
29612         * scripts/config.guess: Update from config.git.
29613         * scripts/config.sub: Likewise.
29614
29615 2012-10-04  Roland McGrath  <roland@hack.frob.com>
29616
29617         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29618         * misc/madvise.c (madvise): Renamed to __madvise.
29619         Make madvise a weak alias.
29620         * include/sys/mman.h: Declare __madvise.
29621         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29622         * sysdeps/unix/syscalls.list
29623         (madvise): Make __madvise the strong name, and madvise a weak alias.
29624         * sysdeps/unix/sysv/linux/syscalls.list
29625         (madvise, mmap): Remove redundant entries.
29626         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29627         * malloc/malloc.c (mtrim): Likewise.
29628         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29629
29630 2012-10-03  Roland McGrath  <roland@hack.frob.com>
29631
29632         * sysdeps/mach/hurd/dl-cache.c: File removed.
29633         * config.h.in (USE_LDCONFIG): New #undef.
29634         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29635         * configure: Regenerated.
29636         * elf/Makefile (dl-routines): Add dl-cache only under
29637         [$(use-ldconfig) = yes].
29638         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29639         cache on [USE_LDCONFIG].
29640         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29641         [USE_LDCONFIG].
29642         * elf/rtld.c (dl_main): Likewise.
29643
29644 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
29645
29646         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29647         _SC_LEVEL4_CACHE_LINESIZE.
29648
29649 2012-10-03  Roland McGrath  <roland@hack.frob.com>
29650
29651         * sysdeps/unix/bsd/confstr.h: File removed.
29652
29653 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
29654
29655         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29656         sys/sdt-config.h.
29657
29658 2012-10-02  Roland McGrath  <roland@hack.frob.com>
29659
29660         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29661         Make 'mapoff' field ElfW(Off) rather than off_t.
29662
29663 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
29664
29665         * nscd/Makefile: Remove nscd-cflags and all its users.
29666         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29667         (CFLAGS-nonlib): Add compiler flags for nscd modules.
29668
29669         [BZ #10631]
29670         * malloc.c (malloc_printerr): Clarify error message.
29671
29672 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
29673
29674         [BZ #14648]
29675         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29676         Set bit_FMA_Usable if FMA is supported.
29677         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29678         macro.
29679         (bit_FMA4_Usable): Updated.
29680         (index_FMA_Usable): New macro.
29681         (CPUID_FMA): Likewise
29682         (HAS_FMA): Defined with bit_FMA_Usable.
29683
29684 2012-10-01  Roland McGrath  <roland@hack.frob.com>
29685
29686         * bits/types.h (__swblk_t): Type removed.
29687         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29688         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29689         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29690         (__SWBLK_T_TYPE): Likewise.
29691         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29692         (__SWBLK_T_TYPE): Likewise.
29693         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29694         (__SWBLK_T_TYPE): Likewise.
29695         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29696         (__SWBLK_T_TYPE): Likewise.
29697
29698 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
29699             Honza Horak <hhorak@redhat.com>
29700
29701         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29702         (xdr_mapname): Use YPMAXMAP as maxsize.
29703         (xdr_peername): Use YPMAXPEER as maxsize.
29704         (xdr_keydat): Use YPAXRECORD as maxsize.
29705         (xdr_valdat): Use YPMAXRECORD as maxsize.
29706
29707 2012-10-01  Roland McGrath  <roland@hack.frob.com>
29708
29709         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29710
29711         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29712         * csu/init-first.c: ... here.
29713         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29714         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29715         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29716         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29717         * sysdeps/i386/init-first.c: File removed.
29718         * sysdeps/sh/init-first.c: File removed.
29719
29720 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
29721
29722         [BZ #14645]
29723         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29724         if x * y might underflow to zero and z is zero.
29725         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29726         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29727         * math/libm-test.inc (min_subnorm_value): New variable.
29728         (fma_test): Add more tests.
29729         (fma_test_towardzero): Likewise.
29730         (fma_test_downward): Likewise
29731         (fma_test_upward): Likewise.
29732         (initialize): Set min_subnorm_value.
29733
29734 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
29735
29736         [BZ #14638]
29737         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29738         0 + 0.
29739         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29740         mode for addition resulting in exact zero.
29741         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29742         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29743         exact 0 + 0.
29744         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29745         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29746         * math/libm-test.inc (fma_test): Add more tests.
29747         (fma_test_towardzero): New function.
29748         (fma_test_downward): Likewise.
29749         (fma_test_upward): Likewise.
29750         (main): Call the new functions.
29751
29752 2012-09-28  David S. Miller  <davem@davemloft.net>
29753
29754         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29755
29756 2012-09-28  Roland McGrath  <roland@hack.frob.com>
29757
29758         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29759         instead of SIGALRM.
29760
29761         * sysdeps/gnu/_G_config.h: Moved to ...
29762         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29763         * sysdeps/mach/hurd/_G_config.h: Moved to ...
29764         * sysdeps/generic/_G_config.h: ... here.
29765
29766         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
29767
29768         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29769
29770         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29771         Conditionalize target on [libnss_test1.so-version].
29772
29773         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29774
29775         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29776         (elfobjdir): Move out of conditionals.
29777
29778         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29779         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29780         (__nss_lookup_function): Conditionalize label remove_from_tree on
29781         [!DO_STATIC_NSS || SHARED], matching its only use.
29782
29783 2012-09-28  David S. Miller  <davem@davemloft.net>
29784
29785         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29786         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29787         file.
29788         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29789         sysdep_routines.
29790         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29791         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29792         when HWCAP_SPARC_CRYPTO is present.
29793
29794 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29795
29796         * io/tst-mknodat.c: Create a FIFO instead of a socket.
29797
29798 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
29799
29800         [BZ #6530]
29801         * stdio-common/vfprintf.c (process_string_arg): Revert
29802         2000-07-22 change.
29803
29804 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
29805
29806         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29807         for testcase.
29808         * stdio-common/tst-sprintf.c: Include <locale.h>
29809         (main): Test sprintf's handling of incomplete multibyte
29810         characters.
29811
29812 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
29813
29814         * elf/dl-runtime.c (VERSYMIDX): Removed.
29815         * elf/dl-version.c (VERSYMIDX): Likewise.
29816         * elf/do-rel.h (VERSYMIDX): Likewise.
29817         (VALIDX): Likewise.
29818         * elf/dynamic-link.h (VERSYMIDX): Likewise.
29819         * elf/rtld.c (VALIDX): Likewise.
29820         (ADDRIDX): Likewise.
29821         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29822         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29823         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
29824         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29825         (VALIDX): Likewise.
29826         (ADDRIDX): Likewise.
29827
29828 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29829
29830         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29831
29832 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
29833
29834         [BZ #11438]
29835         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29836         to global scope.
29837         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29838         addresses are in the same scope as 192.0.2/24.
29839         * posix/gai.conf: Document new scope table defaults.
29840
29841 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29842
29843         [BZ #5298]
29844         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29845         for ftell.  Compute offsets from write pointers instead.
29846         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29847
29848 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29849
29850         [BZ #14543]
29851         * libio/Makefile (tests): New test case tst-fseek.
29852         * libio/tst-fseek.c: New test case to verify that fseek/ftell
29853         combination works in wide mode.
29854         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29855         state when the external buffer state changes.
29856
29857 2012-09-27  David S. Miller  <davem@davemloft.net>
29858
29859         [BZ #14376]
29860         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29861         pass reloc->r_addend in as the 'high' argument to
29862         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29863
29864         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29865
29866 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29867
29868         * rt/tst-aio2.c: Include <pthread.h>.
29869         * rt/tst-aio3.c: Likewise.
29870
29871 2012-09-27  Steve Ellcey  <sellcey@mips.com>
29872
29873         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29874
29875 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
29876
29877         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29878         contents on [SHARED].
29879
29880 2012-09-26  Marek Polacek  <polacek@redhat.com>
29881
29882         [BZ #14530]
29883         [BZ #13741]
29884         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29885         for C++ and GCC <4.3 as well as for non GCC compilers.
29886
29887 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
29888
29889         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29890
29891 2012-09-25  Roland McGrath  <roland@hack.frob.com>
29892
29893         * Makefile.in (all, install): Declare with .PHONY.
29894         Reported by Michael Hope <michael.hope@linaro.org>.
29895
29896 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29897
29898         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29899         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29900         system header.
29901         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29902         Likewise.
29903         (sydep_routines): Add the new and the internal functions.
29904         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29905         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29907         (GLIBC_2.17): Add the new function.
29908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29909         (GLIBC_2.17): Likewise.
29910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29911         (GLIBC_2.17): Likewise.
29912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29913         (GLIBC_2.17): Likewise.
29914         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29915
29916 2012-09-25  Alan Modra  <amodra@gmail.com>
29917
29918         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29919         Add release barrier before setting once_control to say
29920         initialisation is done.  Add hints on lwarx.  Use macro in
29921         place of isync.
29922         (clear_once_control): Add release barrier.
29923
29924 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
29925
29926         [BZ #13629]
29927         * math/s_clog.c (__clog): Handle more values close to |z| = 1
29928         specially.
29929         * math/s_clog10.c (__clog10): Likewise.
29930         * math/s_clog10f.c (__clog10f): Likewise.
29931         * math/s_clog10l.c (__clog10l): Likewise.
29932         * math/s_clogf.c (__clogf): Likewise.
29933         * math/s_clogl.c (__clogl): Likewise.
29934         * math/Makefile (libm-calls): Add x2y2m1.
29935         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29936         (__x2y2m1): Likewise.
29937         (__x2y2m1l): Likewise.
29938         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29939         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29940         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29941         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29942         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29943         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29944         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29945         * sysdeps/i386/fpu/libm-test-ulps: Update.
29946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29947
29948         [BZ #14621]
29949         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29950         int as type of variable DEPTH.
29951         (glob): Use size_t instead of int as type of variables NEWCOUNT
29952         and OLD_PATHC.
29953
29954 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29955
29956         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29957         Add s_sincosf-sse2.
29958         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29959         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29960         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29961         macros for using routine as __sincosf_ia32.
29962         Use macro for function declaration and weak_alias.
29963         * sysdeps/i386/fpu/libm-test-ulps: Update.
29964
29965         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29966         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29967
29968         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29969         subnormal argument.
29970         * math/s_cexpf.c (__cexpf): Likewise.
29971         * math/s_csinf.c (__csinf): Likewise.
29972         * math/s_csinhf.c (__csinhf): Likewise.
29973         * math/s_ctanf.c (__ctanf): Likewise.
29974         * math/s_ctanhf.c (__ctanhf): Likewise.
29975         * math/s_ccosh.c (__ccoshf): Likewise.
29976         * math/s_cexp.c (__cexpl): Likewise.
29977         * math/s_csin.c (__csin): Likewise.
29978         * math/s_csinh.c (__csinh): Likewise.
29979         * math/s_ctan.c (__ctan): Likewise.
29980         * math/s_ctanh.c (ctanh): Likewise.
29981         * math/s_ccoshl.c (__ccoshl): Likewise.
29982         * math/s_cexpl.c (__cexpl): Likewise.
29983         * math/s_csinl.c (__csinl): Likewise.
29984         * math/s_csinhl.c (__csinhl): Likewise.
29985         * math/s_ctanl.c (__ctanl): Likewise.
29986         * math/s_ctanhl.c (__ctanhl): Likewise.
29987
29988 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
29989
29990         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29991         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29992         (_IO_off_t): Define to __off_t, not _G_off_t.
29993         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29994         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29995         (_IO_wint_t): Define to wint_t, not _G_wint_t.
29996         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29997         type of __dummy and __dummy2 fields.
29998         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29999         (_G_ssize_t): Likewise.
30000         (_G_off_t): Likewise.
30001         (_G_pid_t): Likewise.
30002         (_G_uid_t): Likewise.
30003         (_G_wchar_t): Likewise.
30004         (_G_wint_t): Likewise.
30005         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30006         (_G_ssize_t): Likewise.
30007         (_G_off_t): Likewise.
30008         (_G_pid_t): Likewise.
30009         (_G_uid_t): Likewise.
30010         (_G_wchar_t): Likewise.
30011         (_G_wint_t): Likewise.
30012         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30013         (_G_ssize_t): Likewise.
30014         (_G_off_t): Likewise.
30015         (_G_pid_t): Likewise.
30016         (_G_uid_t): Likewise.
30017         (_G_wchar_t): Likewise.
30018         (_G_wint_t): Likewise.
30019
30020 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30021
30022         * malloc/arena.c: Include malloc-sysdep.h.
30023         (shrink_heap): Use check_may_shrink_heap to decide if madvise
30024         is sufficient to shrink the heap or an unmap is needed.
30025         * sysdeps/generic/malloc-sysdep.h: New file.  Define
30026         new function check_may_shrink_heap.
30027         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
30028         new function check_may_shrink_heap.
30029
30030 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30031
30032         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30033         comments.
30034
30035 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
30036
30037         * catgets/test-gencat.sh: Add "set -e".
30038         * elf/tst-pathopt.sh: Likewise.
30039         * grp/tst_fgetgrent.sh: Likewise.
30040         * iconvdata/run-iconv-test.sh: Likewise.
30041         * intl/tst-gettext.sh: Likewise.
30042         * intl/tst-gettext2.sh: Likewise.
30043         * intl/tst-gettext4.sh: Likewise.
30044         * intl/tst-gettext6.sh: Likewise.
30045         * intl/tst-translit.sh: Likewise.
30046         * io/ftwtest-sh: Likewise.
30047         * libio/test-freopen.sh: Likewise.
30048         * malloc/tst-mtrace.sh: Likewise.
30049         * posix/globtest.sh: Likewise.
30050         * posix/tst-getconf.sh: Likewise.
30051         * posix/wordexp-tst.sh: Likewise.
30052         * stdio-common/tst-printf.sh: Likewise.
30053         * stdio-common/tst-unbputc.sh: Likewise.
30054         * stdlib/tst-fmtmsg.sh: Likewise.
30055         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30056         * catgets/Makefile: Do not specify -e option when running
30057         testsuite shell scripts.
30058         * elf/Makefile: Likewise.
30059         * grp/Makefile: Likewise.
30060         * iconvdata/Makefile: Likewise.
30061         * intl/Makefile: Likewise.
30062         * io/Makefile: Likewise.
30063         * libio/Makefile: Likewise.
30064         * malloc/Makefile: Likewise.
30065         * posix/Makefile: Likewise.
30066         * stdio-common/Makefile: Likewise.
30067         * stdlib/Makefile: Likewise.
30068         * sysdeps/x86_64/Makefile: Likewise.
30069
30070         * io/ftwtest-sh: Add copyright header.
30071         * posix/globtest.sh: Likewise.
30072         * posix/tst-getconf.sh: Likewise.
30073         * posix/wordexp-tst.sh: Likewise.
30074         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30075
30076 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
30077
30078         [BZ #13679]
30079         * Makeconfig (+link): Defined as $(+link-static) if
30080         $(build-shared) isn't yes.
30081         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30082         isn't yes.
30083         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30084
30085         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30086
30087         [BZ #14562]
30088         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30089         new chunk size with MALLOC_ALIGN_MASK.
30090
30091 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
30092
30093         [BZ #5044]
30094         * stdio-common/printf_fphex.c: Include <stdbool.h> and
30095         <rounding-mode.h>.
30096         (__printf_fphex): Determine rounding using get_rounding_mode and
30097         round_away.
30098         * stdio-common/tst-printf-round.c (struct hex_test): New
30099         structure.
30100         (hex_tests): New variable.
30101         (test_hex_in_one_mode): New function.
30102         (do_test): Also run tests for hex float output.
30103
30104 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
30105
30106         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30107         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30108         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30109         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30110         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30111         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30112         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30113         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30114
30115 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
30116
30117         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30118         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30119         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30120         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30121
30122 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
30123
30124         [BZ #14579]
30125         * elf/rtld.c (dl_main): Limit the check for self loading to normal
30126         mode only.
30127         * elf/tst-rtld-load-self.sh: New test.
30128         * elf/Makefile: Run it.
30129
30130 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
30131
30132         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30133         (tst-writev-ENV): Remove.
30134         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30135
30136 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
30137
30138         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30139
30140 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
30141
30142         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30143         unconditional.
30144         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30145         Likewise.
30146         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30147         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30148         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30149         Likewise.
30150
30151 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
30152
30153         [BZ #14587]
30154         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30155         * config.make.in (have-cpp-asm-debuginfo): Removed.
30156         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30157         * configure: Regenerated.
30158
30159 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
30160
30161         [BZ #5044]
30162         * stdio-common/printf_fp.c: Include <stdbool.h> and
30163         <rounding-mode.h>.
30164         (___printf_fp): Determine rounding using get_rounding_mode and
30165         round_away.
30166         * stdio-common/tst-printf-round.c: New file.
30167         * stdio-common/Makefile (tests): Add tst-printf-round.
30168         (link-libm): New variable.
30169         ($(objpfx)tst-printf-round): Depend in $(link-libm).
30170
30171 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
30172
30173         [BZ #14576]
30174         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30175         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30176         Likewise.
30177         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30178         Likewise.
30179
30180 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
30181
30182         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30183         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30184         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30185         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30186
30187 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
30188
30189         [BZ #14518]
30190         * include/rounding-mode.h: New file.
30191         * sysdeps/generic/get-rounding-mode.h: Likewise.
30192         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30193         * stdlib/strtod_l.c: Include <rounding-mode.h>.
30194         (MAX_VALUE): New macro.
30195         (MIN_VALUE): Likewise.
30196         (overflow_value): New function.
30197         (underflow_value): Likewise.
30198         (round_and_return): Use overflow_value and underflow_value to
30199         determine return values in overflow and underflow cases.  Use
30200         round_away to determine rounding depending on rounding mode.
30201         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30202         determine return values in overflow and underflow cases.
30203         * stdlib/tst-strtod-round.c: Include <fenv.h>.
30204         (struct test_results): New structure.
30205         (struct test): Use struct test_results to store expected results
30206         for all rounding modes.
30207         (TEST): Include expected results for all rounding modes.
30208         (test_in_one_mode): New function.
30209         (do_test): Use test_in_one_mode to compute and check results.
30210         Check results for all rounding modes.
30211         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30212         $(link-libm).
30213
30214 2012-12-09  Allan McRae  <allan@archlinux.org>
30215
30216         * sysdeps/i386/fpu/libm-test-ulps: Update
30217
30218 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
30219
30220         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30221         (_G_int32_t): Likewise.
30222         (_G_uint16_t): Likewise.
30223         (_G_uint32_t): Likewise.
30224         (_G_HAVE_BOOL): Likewise.
30225         (_G_HAVE_ATEXIT): Likewise.
30226         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30227         (_G_HAVE_IO_FILE_OPEN): Likewise.
30228         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30229         (_G_int32_t): Likewise.
30230         (_G_uint16_t): Likewise.
30231         (_G_uint32_t): Likewise.
30232         (_G_HAVE_BOOL): Likewise.
30233         (_G_HAVE_ATEXIT): Likewise.
30234         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30235         (_G_HAVE_IO_FILE_OPEN): Likewise.
30236         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30237         (_G_int32_t): Likewise.
30238         (_G_uint16_t): Likewise.
30239         (_G_uint32_t): Likewise.
30240         (_G_HAVE_BOOL): Likewise.
30241         (_G_HAVE_ATEXIT): Likewise.
30242         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30243         (_G_HAVE_IO_FILE_OPEN): Likewise.
30244
30245 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
30246
30247         * csu/libc-tls.c: Update copyright years.
30248
30249 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
30250
30251         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30252         [!_G_USING_THUNKS]: Remove conditional code.
30253         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30254         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30255
30256         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30257         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30258         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30259         (_G_VTABLE_LABEL_PREFIX): Likewise.
30260         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30261         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30262         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30263         (_G_VTABLE_LABEL_PREFIX): Likewise.
30264         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30265         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30266         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30267         (_G_VTABLE_LABEL_PREFIX): Likewise.
30268         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30269
30270 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
30271
30272         * libio/Makefile: Include ../Makeconfig before tests.
30273         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30274         only if $(build-shared) is yes.
30275
30276         * iconv/gconv_db.c: Update copyright years.
30277
30278 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30279
30280         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30281         unwind info if defined PIC. Fix special cases description.
30282         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30283
30284         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30285         DP_HI_MASK entry.
30286         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30287
30288 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
30289
30290         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30291
30292         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30293         is NULL.
30294
30295         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30296         (LDLIBS-tst-chk4): This.
30297         (LDFLAGS-tst-chk5): Renamed to ...
30298         (LDLIBS-tst-chk5): This.
30299         (LDFLAGS-tst-chk6): Renamed to ...
30300         (LDLIBS-tst-chk6): This.
30301         (LDFLAGS-tst-lfschk4): Renamed to ...
30302         (LDLIBS-tst-lfschk4): This.
30303         (LDFLAGS-tst-lfschk5): Renamed to ...
30304         (LDLIBS-tst-lfschk5): This.
30305         (LDFLAGS-tst-lfschk6): Renamed to ...
30306         (LDLIBS-tst-lfschk6): This.
30307
30308         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30309         on $(common-objpfx)soversions.mk.
30310
30311 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
30312
30313         [BZ #10014]
30314         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30315         example host name.
30316
30317 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30318
30319         * malloc/arena.c (arena_get_retry): New function that gets
30320         another arena for the caller to try its request on.
30321         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30322         current arena cannot fulfill the request.
30323         (__libc_memalign): Likewise.
30324         (__libc_memalign): Likewise.
30325         (__libc_pvalloc): Likewise.
30326         (__libc_calloc): Likewise.
30327
30328 2012-09-05  John Tobey  <john.tobey@gmail.com>
30329
30330         [BZ #13542]
30331         * manual/arith.texi (Operations on Complex): Fix description
30332         of carg branch cut.
30333
30334 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30335
30336         [BZ #10014]
30337         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30338         host name.
30339
30340         [BZ #10038]
30341         * manual/memory.texi (Memory): Make order of menu items match
30342         order of sections.
30343
30344 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30345
30346         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30347         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
30348         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30349
30350 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30351
30352         * csu/libc-tls.c (static_dtv): Renamed to ...
30353         (_dl_static_dtv): This.  Make it global.
30354         (_dl_initial_dtv): Removed.
30355         (__libc_setup_tls): Updated.
30356         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30357         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30358         DL_INITIAL_DTV.
30359
30360 2012-09-06  Petr Machata  <pmachata@redhat.com>
30361
30362         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30363         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30364         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30365         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30366
30367 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30368
30369         [BZ #14545]
30370         * csu/libc-tls.c (_dl_initial_dtv): New variable.
30371         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30372         freeing dtv[-1].
30373
30374 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30375
30376         [BZ #14544]
30377         * Makeconfig (link-static-before-libc): Replace $(+prector)
30378         with $(+prectorT).
30379         (link-static-after-libc): Replace $(+postctor) with
30380         $(+postctorT).
30381         (link-bounded): Replace $(+prector)/$(+postctor) with
30382         $(+prectorT)/$(+postctorT).
30383         (+prectorT): New macro.
30384         (+postctorT): Likewise.
30385
30386 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30387
30388         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30389         (round_str): Handle values above the maximum for IBM long double
30390         as inexact.
30391         * stdlib/tst-strtod-round.c (tests): Regenerated.
30392
30393 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30394
30395         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30396         assembler flag.
30397         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30398         zarch_nohighgprs around the zarch optimized routines.
30399         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30400         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30401         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30402         for zarch.
30403
30404 2012-09-05  David S. Miller  <davem@davemloft.net>
30405
30406         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30407
30408         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30409         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30410         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30411         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30412         entries.
30413
30414 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30415
30416         * malloc/arena.c: Fold copyright years.
30417         * malloc/mcheck.c, malloc/memusage.c: Likewise.
30418
30419 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30420
30421         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30422
30423 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30424
30425         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
30426
30427 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30428
30429         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30430         change internal state upon failure.
30431
30432 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30433
30434         * malloc/mcheck.c (mcheck_check_all): Fix typo.
30435         * malloc/memusage.c (mmap): Likewise.
30436         (mmap64, mremap): Likewise.  Adjust name in comment.
30437
30438 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30439
30440         * libio/fileops.c: Fix typos in comments.
30441         * libio/oldfileops.c: Likewise.
30442         * libio/wfileops.c: Likewise.
30443
30444 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30445
30446         [BZ #1349]
30447         * malloc/Makefile (tests): Add tst-malloc-usable test case.
30448         (tst-malloc-usable-ENV): Set environment for test case.
30449         * malloc/hooks.c (malloc_check_get_size): New function to get
30450         requested size.
30451         * malloc/malloc.c (musable): Use malloc_check_get_size.
30452         * malloc/tst-malloc-usable.c: New test case.
30453
30454 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30455
30456         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30457
30458 2012-09-05  Allan McRae  <allan@archlinux.org>
30459
30460         [BZ #13966]
30461         * configure.in (CXX_SYSINCLUDES): Use compiler output to
30462         determine header location.
30463         * configure: Regenerated.
30464
30465 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30466
30467         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30468         float format.
30469         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30470         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30471         format.
30472         (test): Regenerate.
30473
30474 2012-09-04  David S. Miller  <davem@davemloft.net>
30475
30476         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30477         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30478         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30479
30480 2012-09-04  Florian Weimer  <fweimer@redhat.com>
30481
30482         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30483         failures.
30484
30485         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30486
30487 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
30488
30489         [BZ #9914]
30490         * libio/iogetdelim.c: Include <limits.h>.
30491         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30492         + len + 1 would overflow.
30493
30494 2012-09-03  Andreas Jaeger  <aj@suse.de>
30495
30496         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30497         * sysdeps/i386/fpu/libm-test-ulps: Update.
30498
30499 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30500
30501         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30502         Add s_sinf-sse2, s_conf-sse2.
30503
30504         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30505         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30506         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30507         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30508
30509         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30510         for using routine as __sinf_ia32.
30511         Use macro for function declaration and weak_alias.
30512         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30513         for using routine as __cosf_ia32.
30514         Use macro for function declaration and weak_alias.
30515
30516         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30517         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30518
30519         * sysdeps/x86_64/fpu/s_sinf.S: New file.
30520         * sysdeps/x86_64/fpu/s_cosf.S: New file.
30521         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30522
30523         * math/libm-test.inc (cos_test): Add more test cases.
30524         (sin_test): Likewise.
30525         (sincos_test): Likewise.
30526
30527 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30528
30529         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30530         (IFUNC_RESOLVE): Make pointers to the specialized implementations
30531         hidden.
30532         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30533
30534 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
30535
30536         [BZ #14538]
30537         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30538         first element of the GOT.
30539         (elf_machine_load_address): Return the difference between
30540         the runtime address of _DYNAMIC and elf_machine_dynamic ().
30541
30542 2012-09-01  Allan McRae  <allan@archlinux.org>
30543
30544         [BZ #13412]
30545         * configure.in (AWK): Require gawk version 3.0 or later.
30546         * configure: Regenerated.
30547
30548 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
30549
30550         * sysdeps/unix/sysv/linux/kernel-features.h
30551         (__ASSUME_POSIX_CPU_TIMERS): Remove.
30552         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30553         [__NR_clock_getres]: Make code unconditional.
30554         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30555         (clock_getcpuclockid): Remove code left unreachable by removal of
30556         conditionals.
30557         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30558         code unconditional.
30559         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30560         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30561         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30562         Make code unconditional.
30563         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30564         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30565         * sysdeps/unix/sysv/linux/clock_settime.c
30566         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30567         conditional code.
30568         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30569         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30570
30571 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
30572
30573         [BZ #14476]
30574         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30575         scripts/test-installation.pl.
30576
30577         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30578         and $ld_so_version if it is set.
30579
30580 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30581
30582         [BZ #14516]
30583         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30584         failure if reading from procfs failed.
30585         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30586
30587 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
30588
30589         * sysdeps/unix/sysv/linux/kernel-features.h
30590         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30591         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30592         Remove conditional code.
30593         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30594         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30595         Remove conditional code.
30596         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30597         * sysdeps/unix/sysv/linux/i386/fxstat.c
30598         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30599         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30600         * sysdeps/unix/sysv/linux/i386/fxstatat.c
30601         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30602         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30603         * sysdeps/unix/sysv/linux/i386/lxstat.c
30604         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30605         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30606         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30607         Remove conditional code.
30608         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30609         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30610         Remove conditional code.
30611         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30612         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30613         <kernel-features.h>.
30614         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30615         Remove.
30616         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30617         Remove conditional code.
30618         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30619         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30620         Remove conditional.
30621
30622 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
30623
30624         [BZ #5400]
30625         * NEWS: Add fixed bug number.
30626
30627 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
30628
30629         [BZ #14519]
30630         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30631         underflowing exponent in case of negative sign.
30632         * stdlib/tst-strtod-round-data: Add more tests.
30633         * stdlib/tst-strtod-round.c (tests): Regenerated.
30634
30635         [BZ #3479]
30636         * stdlib/strtod_l.c (NDIG): Remove.
30637         (HEXNDIG): Likewise.
30638         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30639         smallest representable value.
30640         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30641         lie within an exact representation of 1/2 ulp of the result.
30642         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30643         unconditionally.
30644         (TENS_P9_IDX): Define unconditionally.
30645         (TENS_P9_SIZE): Likewise.
30646         (TENS_P10_IDX): Likewise.
30647         (TENS_P10_SIZE): Likewise.
30648         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30649         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30650         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30651         entries for 10^2^13 and 10^2^14.
30652         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30653         (TENS_P13_IDX): Define.
30654         (TENS_P13_SIZE): Likewise.
30655         (TENS_P14_IDX): Likewise.
30656         (TENS_P14_SIZE): Likewise.
30657         (_fpioconst_pow10): Change array size to
30658         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
30659         unconditional.
30660         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30661         1024]: Add entries for 10^2^13 and 10^2^14.
30662         [LAST_POW10 > _LAST_POW10]: Remove #error.
30663         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30664         (_fpioconst_pow10): Change array size to
30665         FPIOCONST_POW10_ARRAY_SIZE.
30666         * stdlib/gen-fpioconst.c: New file.
30667         * stdlib/gen-tst-strtod-round.c: Likewise.
30668         * stdlib/tst-strtod-round-data: Likewise.
30669         * stdlib/tst-strtod-round.c: Likewise.
30670         * stdlib/Makefile (tests): Add tst-strtod-round.
30671
30672         [BZ #14459]
30673         * stdlib/strtod_l.c: Include <stdint.h>.
30674         (NDEBUG): Do not define.
30675         (round_and_return): Change EXPONENT parameter to type intmax_t.
30676         Rearrange calculations to avoid internal overflow possibilities.
30677         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30678         Rearrange calculations to avoid internal overflow possibilities.
30679         Assert that number fits inside MPNSIZE limbs.
30680         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30681         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
30682         calculations and add assertions to avoid internal overflow
30683         possibilities.  Add casts to avoid signed/unsigned operations.
30684         * stdlib/tst-strtod-overflow.c: New file.
30685         * stdlib/Makefile (tests): Add tst-strtod-overflow.
30686
30687 2012-08-25  Marek Polacek  <polacek@redhat.com>
30688
30689         * time/time.h: Fix some typos in comments.
30690
30691 2012-08-23  Roland McGrath  <roland@hack.frob.com>
30692
30693         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30694         * posix/tst-rfc3484-2.c: Likewise.
30695         * posix/tst-rfc3484-3.c: Likewise.
30696
30697 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
30698
30699         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30700         (EF_ARM_ABI_FLOAT_HARD): Likewise.
30701
30702 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
30703
30704         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30705         #include of fxstatat64.c.
30706
30707 2012-08-22  Roland McGrath  <roland@hack.frob.com>
30708
30709         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30710         * shadow/getspent_r.c: Likewise.
30711         * shadow/getspnam.c: Likewise.
30712         * shadow/getspnam_r.c: Likewise.
30713         * gshadow/getsgent.c: Likewise.
30714         * gshadow/getsgent_r.c: Likewise.
30715         * gshadow/getsgnam.c: Likewise.
30716         * gshadow/getsgnam_r.c: Likewise.
30717         * inet/getnetbyad.c: Likewise.
30718         * inet/getnetbyad_r.c: Likewise.
30719         * inet/getnetbynm.c: Likewise.
30720         * inet/getnetbynm_r.c: Likewise.
30721         * inet/getnetent.c: Likewise.
30722         * inet/getnetent_r.c: Likewise.
30723         * inet/getproto.c: Likewise.
30724         * inet/getproto_r.c: Likewise.
30725         * inet/getprtent.c: Likewise.
30726         * inet/getprtent_r.c: Likewise.
30727         * inet/getprtname.c: Likewise.
30728         * inet/getprtname_r.c: Likewise.
30729         * inet/getrpcbyname.c: Likewise.
30730         * inet/getrpcbyname_r.c: Likewise.
30731         * inet/getrpcbynumber.c: Likewise.
30732         * inet/getrpcbynumber_r.c: Likewise.
30733         * inet/getrpcent.c: Likewise.
30734         * inet/getrpcent_r.c: Likewise.
30735         * inet/getaliasent.c: Likewise.
30736         * inet/getaliasent_r.c: Likewise.
30737         * inet/getaliasname.c: Likewise.
30738         * inet/getaliasname_r.c: Likewise.
30739         * nscd/getgrgid_r.c: Likewise.
30740         * nscd/getgrnam_r.c: Likewise.
30741         * nscd/gethstbyad_r.c: Likewise.
30742         * nscd/gethstbynm3_r.c: Likewise.
30743         * nscd/getpwnam_r.c: Likewise.
30744         * nscd/getpwuid_r.c: Likewise.
30745         * nscd/getsrvbynm_r.c: Likewise.
30746         * nscd/getsrvbypt_r.c: Likewise.
30747         * nscd/gai.c: Likewise.
30748
30749         * configure.in (build_nscd): New substituted variable, set
30750         by --disable-build-nscd and defaults to $use_nscd.
30751         * configure: Regenerated.
30752         * config.make.in (build-nscd): New substituted variable.
30753         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30754         Change conditional to require [$(build-nscd) = yes] as well.
30755         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30756
30757         [BZ# 13696]
30758         * configure.in (use_nscd): New substituted variable, set by
30759         --disable-nscd.  If enabled, define USE_NSCD.
30760         * configure: Regenerated.
30761         * config.h.in: Add USE_NSCD.
30762         * config.make.in (use-nscd): New substituted variable.
30763         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30764         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30765         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30766         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30767         (CFLAGS-getgrnam_r.c): Likewise.
30768         (CFLAGS-initgroups.c): Likewise.
30769         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30770         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30771         Variables removed.
30772         * inet/getnetgrent_r.c
30773         (nscd_setnetgrent): New function, broken out of ...
30774         (setnetgrent): ... here.  Call it.
30775         (innetgr): Conditionalize nscd bits on [USE_NSCD].
30776         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30777         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30778         * nscd/Makefile (routines, aux): Move definitions after include of
30779         Makeconfig.  Conditionalize on [$(use-nscd) != no].
30780         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30781         Conditionalize on [USE_NSCD].
30782         (is_nscd, nscd_init_cb): Likewise.
30783         (nss_load_library): Conditionalize init callback on [USE_NSCD].
30784         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30785         * nss/nss_db/db-init.c: Likewise.
30786         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30787         [USE_NSCD].
30788         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30789         (make_request): Use it.
30790         (cache_valid_p): New function.
30791         (__check_pf): Use it.
30792         * NEWS: Add item for --disable-nscd.
30793
30794 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
30795
30796         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30797         to support sed >= 4.2.1-20-ga9bf076.
30798         * configure: Regenerated.
30799
30800 2012-08-22  Roland McGrath  <roland@hack.frob.com>
30801
30802         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30803         Conditionalize whole body on [IREL].
30804
30805 2012-08-22  Jeff Law <law@redhat.com>
30806
30807         [BZ #14505]
30808         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30809         if the family is PF_UNSPEC.
30810
30811 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
30812
30813         * Makerules (lib-version): Rename from V.
30814         (install-lib-nosubdir): Change V to lib-version.
30815
30816 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
30817
30818         [BZ #14252]
30819         * powerpc32/power6/wcschr.c: New file.
30820         * powerpc32/power6/wcscpy.c: New file.
30821         * powerpc32/power6/wcsrchr.c: New file.
30822         * powerpc64/power6/wcschr.c: New file.
30823         * powerpc64/power6/wcscpy.c: New file.
30824         * powerpc64/power6/wcsrchr.c: New file.
30825
30826 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
30827
30828         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30829         (two_way_short_needle): Use it.
30830         * string/strstr.c (AVAILABLE1_USES_J): Define.
30831         * string/strcasestr.c: Likewise.
30832
30833         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30834         array references.
30835         * string/strcasestr.c (TOLOWER): Make side-effect safe.
30836
30837         [BZ #11607]
30838         * NEWS: Add an entry.
30839         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30840         define their defaults.
30841         (two_way_short_needle): Detect end-of-string on-the-fly.
30842         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30843         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30844         * string/bug-strcasestr1.c: New test.
30845         * string/Makefile: Run it.
30846
30847 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
30848
30849         [BZ #11607]
30850         * string/str-two-way.h (two_way_short_needle): Optimize matching of
30851         the first character.
30852
30853 2012-08-21  Roland McGrath  <roland@hack.frob.com>
30854
30855         * csu/elf-init.c (__libc_csu_irel): Function removed.
30856         * csu/libc-start.c (apply_irel): New function.
30857         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30858
30859 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
30860
30861         * sysdeps/unix/sysv/linux/kernel-features.h
30862         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30863         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30864         <kernel-features.h>.
30865         [__NR_fadvise64_64]: Make code unconditional.
30866         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30867         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30868         !__NR_fadvise64_64)]: Likewise.
30869         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30870         !__NR_fadvise64_64))]: Likewise.
30871         [__NR_fadvise64]: Make code unconditional.
30872         [!__NR_fadvise64]: Remove conditional code.
30873         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30874         <kernel-features.h>.
30875         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30876         unconditional.
30877         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30878         conditional code.
30879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30880         not include <kernel-features.h>.
30881         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30882         unconditional.
30883         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30884         conditional code.
30885         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30886         include <kernel-features.h>.
30887         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30888         unconditional.
30889         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30890         conditional code.
30891
30892 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
30893
30894         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30895         slight instruction rearrangements per scrollpipe analysis.
30896         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30897
30898 2012-08-20  Roland McGrath  <roland@hack.frob.com>
30899
30900         * manual/syslog.texi (syslog; vsyslog, closelog):
30901         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30902         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30903
30904         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30905         DSOCAPS to match condition on defining it.
30906
30907 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
30908
30909         * sysdeps/unix/sysv/linux/kernel-features.h
30910         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30912         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30913         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30915         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30916         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30918         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30919         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30920
30921         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30922         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30923
30924         * sysdeps/unix/sysv/linux/kernel-features.h
30925         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30926         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30927         unconditional.
30928         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30929         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30930         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30931         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30932         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30933         Make code unconditional.
30934         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30935         (__mmap64) [!__NR_mmap2]: Likewise.
30936         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30937         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30938         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30939         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30940         [__NR_mmap2]: Make code unconditional.
30941         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30942         (__mmap64) [!__NR_mmap2]: Likewise.
30943
30944 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30945
30946         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30947
30948 2012-08-18  Andreas Jaeger  <aj@suse.de>
30949
30950         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30951
30952 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
30953
30954         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30955         * include/unistd.h (__have_sock_cloexec): Likewise.
30956         (__have_pipe2): Likewise.
30957         (__have_dup3): Likewise.
30958
30959 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
30960
30961         [BZ #9685]
30962         * include/unistd.h (__have_pipe2): Change define into an extern int.
30963         (__have_dup3): Likewise.
30964         * socket/have_sock_cloexec.c: Include fcntl.h.
30965         (__have_pipe2): New variable.
30966         (__have_dup3): Likewise.
30967
30968 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
30969
30970         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30971
30972 2012-08-17  Marek Polacek  <polacek@redhat.com>
30973
30974         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30975         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30976
30977 2012-08-17  Roland McGrath  <roland@hack.frob.com>
30978
30979         * configure.in: Add AC_SUBST for sysheaders.
30980         * configure: Regenerated.
30981         * config.make.in (sysheaders): New substituted variable.
30982
30983         * sysdeps/unix/mkfifo.c: Moved ...
30984         * sysdeps/posix/mkfifo.c: ... here.
30985         * sysdeps/unix/mkfifoat.c: Moved ...
30986         * sysdeps/posix/mkfifoat.c: ... here.
30987
30988         * sysdeps/unix/utime.c: Moved ...
30989         * sysdeps/posix/utime.c: ... here.
30990
30991         * sysdeps/unix/time.c: Moved ...
30992         * sysdeps/posix/time.c: ... here.
30993         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30994         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30995
30996         * sysdeps/unix/nice.c: Moved ...
30997         * sysdeps/posix/nice.c: ... here.
30998
30999         * sysdeps/unix/alarm.c: Moved ...
31000         * sysdeps/posix/alarm.c: ... here.
31001
31002         * intl/Makefile ($(codeset_mo)): Depend on the input file.
31003
31004 2012-08-17  Jeff Law <law@redhat.com>
31005
31006         * intl/Makefile (codeset_mo): New variable.
31007         ($(codeset_mo)): New target.
31008         (tst-codeset.out): Depend on that.  Remove explicit rule.
31009         (tst-gettext3.out, tst-gettext5.out): Likewise.
31010         (LOCPATH-ENV, tst-codeset-ENV): New variables.
31011         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31012         * intl/tst-codeset.sh: Remove.
31013         * intl/tst-gettext3.sh: Likewise.
31014         * intl/tst-gettext5.sh: Likewise.
31015
31016 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31017
31018         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
31019         * sysdeps/unix/syscalls.list: ... here.
31020
31021         * sysdeps/posix/getaddrinfo.c
31022         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31023         (gaiconf_init, gaiconf_reload): Use them.
31024         [!_STATBUF_ST_NSEC]
31025         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31026         Define using time_t rather than struct timespec.
31027
31028         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31029         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31030         Macros removed.
31031         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31032         [!NO_THREADS].
31033         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31034         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31035         Likewise.
31036
31037         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31038         __libc_cleanup_push argument.
31039
31040         * bits/param.h: New file.
31041         * misc/sys/param.h: New file.
31042         * include/sys/param.h: New file.
31043         * misc/Makefile (headers): Add bits/param.h.
31044         * sysdeps/generic/sys/param.h: File removed.
31045         * sysdeps/unix/sysv/linux/bits/param.h: New file.
31046         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31047         * sysdeps/mach/hurd/bits/param.h: New file.
31048         * sysdeps/mach/hurd/sys/param.h: File removed.
31049
31050         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31051         last change.
31052
31053         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31054         [_IO_MTSAFE_IO].
31055         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31056         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31057         New macros.
31058
31059         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31060         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31061         rather than -D_IO_MTSAFE_IO conditionally.
31062         * stdio-common/Makefile (CPPFLAGS): Likewise.
31063         * wcsmbs/Makefile (CPPFLAGS): Likewise.
31064         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31065         Use $(libio-mtsafe).
31066         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31067         of -D_IO_MTSAFE_IO.
31068         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31069         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31070         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31071         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31072         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31073         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31074         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31075         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31076         (CFLAGS-fread_u_chk.c): Likewise.
31077         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31078         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31079         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31080         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31081         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31082         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31083         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31084         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31085         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31086
31087         * libio/Makefile: Test [$(libc-reentrant) = yes]
31088         instead of [$(filter %REENTRANT, $(defines)) nonempty].
31089
31090         * Makeconfig
31091         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31092         * sysdeps/pthread/configure: File removed.
31093         * sysdeps/pthread/Makeconfig: New file.
31094         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31095         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31096
31097 2012-08-16  Gary Benson  <gbenson@redhat.com>
31098
31099         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31100         unmapping the first object in a namespace.
31101
31102 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31103
31104         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31105         (__internal_setnetgrent): ... this.  Add internal_function to
31106         definition.  Add libc_hidden_def.
31107         (setnetgrent): Update caller.
31108         (internal_endnetgrent): Renamed to ...
31109         (__internal_endnetgrent): ... this.  Add internal_function to
31110         definition.  Add libc_hidden_def.
31111         (endnetgrent): Update caller.
31112         (internal_getnetgrent_r): Renamed to ...
31113         (__internal_getnetgrent_r): ... this.  Add internal_function to
31114         definition.  Add libc_hidden_def.
31115         (__getnetgrent_r): Update caller.
31116         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
31117
31118 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31119
31120         * stdlib/longlong.h: Update from GCC.
31121
31122 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31123
31124         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31125         on _QL, which is set by umul_ppmm but never used.
31126         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31127         variables, which are set by GMP macros but never used.
31128         * stdio-common/_itowa.c (_itowa): Likewise.
31129         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31130         * stdlib/mod_1.c (mpn_mod_1): Likewise.
31131
31132 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
31133
31134         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31135         struct La_sh_regs is not constant.
31136         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31137         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31138         and struct La_sparc64_regs are not constant.
31139
31140 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31141
31142         * sysdeps/unix/sysv/linux/kernel-features.h
31143         (__ASSUME_POSIX_TIMERS): Remove.
31144         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31145         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31146         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31147         Make code unconditional.
31148         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31149         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31150         Make code unconditional.
31151         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31152         * sysdeps/unix/sysv/linux/clock_nanosleep.c
31153         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31154         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31155         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31156         Make code unconditional.
31157         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31158         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31159         (__libc_missing_posix_timers): Remove.
31160
31161 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31162
31163         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31164         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31165
31166         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31167
31168         * elf/dl-sym.c: Include <stdlib.h>.
31169
31170         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31171         constants, which avoids warnings in 32-bit builds.
31172
31173         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31174         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31175
31176         * misc/lseek.c: File moved to ...
31177         * io/lseek.c: ... here.
31178
31179         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31180
31181         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31182         shifting LEN more than 31 bits at once.
31183
31184 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31185
31186         [BZ #14195]
31187         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31188         segmentation fault for a case of two empty input strings.
31189         * string/test-strncasecmp.c (check1): Renamed to...
31190         (bz12205): ...this.
31191         (bz14195): Add new testcase for two empty input strings and N > 0.
31192         (test_main): Call new testcase, adapt for renamed function.
31193
31194 2012-08-15  Andreas Jaeger  <aj@suse.de>
31195
31196         [BZ #14090]
31197         * crypt/md5test2.c: New test, based on test supplied by Serge
31198         Belyshev <belyshev@depni.sinp.msu.ru>.
31199         * crypt/Makefile (xtests): Add md5test-giant..
31200         * crypt/Makefile ($(objpfx)md5test-giant): Add.
31201
31202 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
31203
31204         [BZ #14090]
31205         * crypt/md5.c (md5_process_block): Don't assume the buffer
31206         length is less than 2**32.
31207         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31208         length is less than 2**64.
31209
31210 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31211
31212         * string/str-two-way.h: Include <sys/param.h>.
31213         (MAX): Macro removed.
31214
31215         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31216         Move #define and #undef of memmove to just before and after
31217         including <string.h>.
31218
31219         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31220         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31221         and after including <string.h>.  Move declarations of
31222         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31223         to before #include "string/memmove.c".
31224
31225         * include/dirent.h: Declare __getdirentries.
31226
31227         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31228         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31229
31230 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
31231
31232         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31233         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31234         * sysdeps/i386/configure: Regenerated.
31235         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31236         STABS_CURRENT_FILE, and STABS_FUN.
31237         (END): Remove call to STABS_FUN_END.
31238         (STABS_CURRENT_FILE1): Delete.
31239         (STABS_CURRENT_FILE): Likewise.
31240         (STABS_FUN): Likewise.
31241         (STABS_FUN_END): Likewise.
31242         (STABS_FUN2): Likewise.
31243         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31244         * sysdeps/x86_64/configure: Regenerated.
31245
31246 2012-08-14  Roland McGrath  <roland@hack.frob.com>
31247
31248         * elf/dl-open.c: Include <atomic.h>.
31249         * elf/dl-lookup.c: Likewise.
31250
31251 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
31252
31253         * sysdeps/unix/sysv/linux/kernel-features.h
31254         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31255         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31256         unconditionally.
31257         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31258         unconditionally.
31259         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31260         condition on __ASSUME_CLONE_THREAD_FLAGS.
31261
31262 2012-08-14  Andreas Jaeger  <aj@suse.de>
31263
31264         * sysdeps/i386/fpu/libm-test-ulps: Update.
31265
31266 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
31267
31268         * include/atomic.h (atomic_exchange_and_add): Split into ...
31269         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31270         New atomic macros.
31271
31272 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
31273
31274         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31275
31276 2012-08-13  Jeff Law <law@redhat.com>
31277
31278         * manual/stdio.texi (snprintf): Clarify handling of the trailing
31279         null byte in the output string.
31280
31281 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
31282
31283         * sysdeps/unix/sysv/linux/kernel-features.h
31284         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31285         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31286         (__ASSUME_ARG_MAX_STACK_BASED): Define.
31287         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31288         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31289         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
31290         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31291
31292 2012-08-09  Jeff Law <law@redhat.com>
31293
31294         [BZ #13939]
31295         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31296         When avoid_arena is set, don't retry in the that arena.  Pick the
31297         next one, whatever it might be.
31298         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31299         (arena_lock): Pass in new parameter to arena_get2.
31300         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31301         arena_get2.
31302         (__libc_malloc): Unify retrying after main arena failure with
31303         __libc_memalign version.
31304         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31305
31306 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
31307
31308         [BZ #14166]
31309         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31310         to __redirect_strstr.
31311         (__strstr_sse42): Use typeof __redirect_strstr.
31312         (__strstr_ia32): Likewise.
31313         (__libc_strstr): New prototype.
31314         (strstr): Renamed to ...
31315         (__libc_strstr): This.
31316         (strstr): New strong alias of __libc_strstr.
31317         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31318         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31319         __redirect_time.
31320         Include <time.h>.
31321         (__libc_time): New prototype.
31322         (time_ifunc): Replace time with __libc_time.
31323         (time): New strong alias and hidden definition of __libc_time.
31324         (__GI_time): Remove strong alias.
31325         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31326         Include <stddef.h>.
31327         (memmove): Redefined to __redirect_memmove.
31328         (__memmove_sse2): Use typeof __redirect_memmove.
31329         (__memmove_ssse3): Likewise.
31330         (__memmove_ssse3_back): Likewise.
31331         (__libc_memmove): New prototype.
31332         (memmove): Renamed to ...
31333         (__libc_memmove): This.
31334         (memmove): New strong alias of __libc_memmove.
31335
31336 2012-08-08  Mark Salter  <msalter@redhat.com>
31337
31338         * elf/elf.h
31339         (R_MN10300_TLS_GD): Define.
31340         (R_MN10300_TLS_LD): Likewise.
31341         (R_MN10300_TLS_LDO): Likewise.
31342         (R_MN10300_TLS_GOTIE): Likewise.
31343         (R_MN10300_TLS_IE): Likewise.
31344         (R_MN10300_TLS_LE): Likewise.
31345         (R_MN10300_TLS_DTPMOD): Likewise.
31346         (R_MN10300_TLS_DTPOFF): Likewise.
31347         (R_MN10300_TLS_TPOFF): Likewise.
31348         (R_MN10300_SYM_DIFF): Likewise.
31349         (R_MN10300_ALIGN): Likewise.
31350         (R_MN10300_NUM): Update.
31351
31352 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
31353
31354         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31355         Remove.
31356
31357 2012-08-08  Roland McGrath  <roland@hack.frob.com>
31358
31359         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31360
31361         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31362         sysdeps/unix -> sysdeps/posix move.
31363         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31364
31365 2012-08-07      Allan McRae     <allan@archlinux.org>
31366
31367         [BZ #14303]
31368         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31369         (SUNOS_CPP): Likewise.
31370         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31371         not found.
31372         (open_input): Call CPP using execvp.
31373
31374 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
31375
31376         * sysdeps/unix/sysv/linux/kernel-features.h
31377         (__ASSUME_PROT_GROWSUPDOWN): Remove.
31378         (__ASSUME_NO_CLONE_DETACHED): Likewise.
31379         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31380         (__ASSUME_WAITID_SYSCALL): Likewise.
31381         * sysdeps/unix/sysv/linux/dl-execstack.c
31382         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31383         code unconditional.
31384         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31385         conditional code.
31386         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31387         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31388         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31389         code.
31390         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31391         unconditional.
31392         [__ASSUME_WAITID_SYSCALL]: Likewise.
31393         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31394
31395 2012-08-07  Roland McGrath  <roland@hack.frob.com>
31396
31397         * sysdeps/unix/closedir.c: Renamed to ...
31398         * sysdeps/posix/closedir.c: ... here.
31399         * sysdeps/unix/dirfd.c: Renamed to ...
31400         * sysdeps/posix/dirfd.c: ... here.
31401         * sysdeps/unix/dirstream.h: Renamed to ...
31402         * sysdeps/posix/dirstream.h: ... here.
31403         * sysdeps/unix/fdopendir.c: Renamed to ...
31404         * sysdeps/posix/fdopendir.c: ... here.
31405         * sysdeps/unix/opendir.c: Renamed to ...
31406         * sysdeps/posix/opendir.c: ... here.
31407         * sysdeps/unix/readdir.c: Renamed to ...
31408         * sysdeps/posix/readdir.c: ... here.
31409         * sysdeps/unix/readdir_r.c: Renamed to ...
31410         * sysdeps/posix/readdir_r.c: ... here.
31411         * sysdeps/unix/rewinddir.c: Renamed to ...
31412         * sysdeps/posix/rewinddir.c: ... here.
31413         * sysdeps/unix/seekdir.c: Renamed to ...
31414         * sysdeps/posix/seekdir.c: ... here.
31415         * sysdeps/unix/telldir.c: Renamed to ...
31416         * sysdeps/posix/telldir.c: ... here.
31417         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31418         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31419         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31420         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31421
31422         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31423         * bits/fcntl.h: ... here.
31424
31425         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31426         not 0.
31427         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31428         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31429         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31430         (struct flock): Move l_start, l_len to the beginning.
31431         Use __pid_t for l_pid.
31432         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31433         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31434         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31435         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31436         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31437         [__USE_LARGEFILE64] (struct flock64): New type.
31438         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31439
31440         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31441         * bits/dirent.h: ... here.
31442
31443         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31444         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31445
31446 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
31447
31448         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31449         Change from 2.6.0 to 2.6.16.
31450         * sysdeps/unix/sysv/linux/configure: Regenerated.
31451         * sysdeps/unix/sysv/linux/kernel-features.h
31452         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31453         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31454         version.
31455         (__ASSUME_UTIMES): Likewise.
31456         (__ASSUME_CLONE_STOPPED): Remove.
31457         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31458         architectures, not kernel version.
31459         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31460         (__ASSUME_NO_CLONE_DETACHED): Likewise.
31461         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31462         (__ASSUME_WAITID_SYSCALL): Likewise.
31463         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31464         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31465         * README: State 2.6.16 as minimum Linux kernel version.  Do not
31466         refer to older versions.
31467
31468 2012-08-06  Roland McGrath  <roland@hack.frob.com>
31469
31470         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31471         Define alphasort64 as an alias.
31472         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31473         Define versionsort64 as an alias.
31474         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31475         Define scandir64 as an alias.
31476         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31477         Define scandirat64 as an alias.
31478         * dirent/alphasort64.c (alphasort64):
31479         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31480         * dirent/versionsort64.c: Likewise.
31481         * dirent/scandir64.c: Likewise.
31482         * dirent/scandirat64.c: Likewise.
31483         * sysdeps/wordsize-64/alphasort.c: File removed.
31484         * sysdeps/wordsize-64/alphasort64.c: File removed.
31485         * sysdeps/wordsize-64/scandir.c: File removed.
31486         * sysdeps/wordsize-64/scandir64.c: File removed.
31487         * sysdeps/wordsize-64/scandirat.c: File removed.
31488         * sysdeps/wordsize-64/scandirat64.c: File removed.
31489         * sysdeps/wordsize-64/versionsort.c: File removed.
31490         * sysdeps/wordsize-64/versionsort64.c: File removed.
31491         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31492         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31493         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31494         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31495         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31496         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31497         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31498         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31499
31500         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31501         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31502         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31503         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31504         [defined __arch64__ || defined __sparcv9]
31505         (__INO_T_MATCHES_INO64_T): New macro.
31506         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31507         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31508         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31509         * sysdeps/unix/sysv/linux/bits/dirent.h
31510         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31511         (_DIRENT_MATCHES_DIRENT64): New macro.
31512
31513         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31514         Define lockf64 as an alias.
31515         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31516         Define fseeko64 as an alias.
31517         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31518         Define ftello64 as an alias.
31519         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31520         Define _IO_fgetpos64 and fgetpos64 as aliases.
31521         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31522         Define _IO_fsetpos64 and fsetpos64 as aliases.
31523         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31524         Conditionalize body on this.
31525         * libio/fseeko64.c: Likewise.
31526         * libio/ftello64.c: Likewise.
31527         * libio/iofgetpos64.c: Likewise.
31528         * libio/iofsetpos64.c: Likewise.
31529         * sysdeps/wordsize-64/lockf.c: File removed.
31530         * sysdeps/wordsize-64/lockf64.c: File removed.
31531         * sysdeps/wordsize-64/fseeko.c: File removed.
31532         * sysdeps/wordsize-64/fseeko64.c: File removed.
31533         * sysdeps/wordsize-64/ftello.c: File removed.
31534         * sysdeps/wordsize-64/ftello64.c: File removed.
31535         * sysdeps/wordsize-64/iofgetpos.c: File removed.
31536         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31537         * sysdeps/wordsize-64/iofsetpos.c: File removed.
31538         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31539         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31540         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31541         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31542         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31543         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31544         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31545         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31546         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31547         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31548         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31549
31550         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31551         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31552         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31553         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31554         [defined __arch64__ || defined __sparcv9]
31555         (__OFF_T_MATCHES_OFF64_T): New macro.
31556         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31557         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31558         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31559         (__OFF_T_MATCHES_OFF64_T): New macro.
31560
31561 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
31562
31563         * stdlib/secure-getenv.c (__secure_getenv): Replace
31564         GLIBC_2_16 with GLIBC_2_17.
31565
31566 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
31567
31568         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31569         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31570
31571 2012-08-03  David S. Miller  <davem@davemloft.net>
31572
31573         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31574
31575 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
31576
31577         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31578         Remove.
31579         (__ASSUME_CORRECT_SI_PID): Likewise.
31580         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31581         (__ASSUME_TMPFS_NAME): Likewise.
31582         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31583         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31584         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31585         (HAVE_AUX_SECURE): Make definition unconditional.
31586         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31587         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31588
31589 2012-08-03  Roland McGrath  <roland@hack.frob.com>
31590
31591         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31592         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31593         * sysdeps/mach/hurd/eloop-threshold.h: New file.
31594         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31595         __eloop_threshold instead of SYMLOOP_MAX.
31596
31597         * sysdeps/generic/eloop-threshold.h: New file.
31598         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31599         of MAXSYMLINKS.
31600         * elf/chroot_canon.c (chroot_canon): Likewise.
31601
31602 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
31603
31604         [BZ #13717]
31605         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31606         Change to 2.6.0 everywhere.
31607         * sysdeps/unix/sysv/linux/configure: Regenerated.
31608         * sysdeps/unix/sysv/linux/kernel-features.h
31609         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31610         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31611         kernel versions.
31612         (__ASSUME_POSIX_TIMERS): Define unconditionally.
31613         (__ASSUME_FUTEX_REQUEUE): Remove.
31614         (__ASSUME_STATFS64): Define unconditionally.
31615         (__ASSUME_AT_SECURE): Likewise.
31616         (__ASSUME_CORRECT_SI_PID): Likewise.
31617         (__ASSUME_TGKILL): Define without depending on kernel version for
31618         i386.
31619         (__ASSUME_UTIMES): Likewise.
31620         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31621         kernel version.
31622         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31623         (__ASSUME_TMPFS_NAME): Likewise.
31624         * README: Update reference to Linux kernel versions.
31625
31626 2012-08-02  Marek Polacek  <polacek@redhat.com>
31627
31628         [BZ# 14150]
31629         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
31630         libc_cv_asm_type_prefix with %.
31631         * configure: Regenerated.
31632         * include/libc-symbols.h: Remove comment about
31633         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31634         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31635         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31636         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31637         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31638         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31639         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31640         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31641         * elf/tst-unique2mod1.c: Likewise.
31642         * elf/tst-unique1mod2.c: Likewise.
31643         * elf/tst-unique1mod1.c: Likewise.
31644         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31645         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31646         Replace ASM_TYPE_DIRECTIVE with .type.
31647         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31648         * sysdeps/i386/sysdep.h: Likewise.
31649         * sysdeps/x86_64/sysdep.h: Likewise.
31650         * sysdeps/sh/sysdep.h: Likewise.
31651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31652         Do not define ASM_TYPE_DIRECTIVE.
31653         * sysdeps/powerpc/sysdep.h: Likewise.
31654         * sysdeps/powerpc/powerpc32/sysdep.h:
31655         Replace ASM_TYPE_DIRECTIVE with .type.
31656         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31657         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31658         * sysdeps/i386/fpu/e_powf.S: Likewise.
31659         * sysdeps/i386/fpu/e_expl.S: Likewise.
31660         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31661         * sysdeps/i386/fpu/e_acosh.S: Likewise.
31662         * sysdeps/i386/fpu/e_pow.S: Likewise.
31663         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31664         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31665         * sysdeps/i386/fpu/s_expm1.S: Likewise.
31666         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31667         * sysdeps/i386/fpu/e_log2.S: Likewise.
31668         * sysdeps/i386/fpu/e_log2l.S: Likewise.
31669         * sysdeps/i386/fpu/e_scalb.S: Likewise.
31670         * sysdeps/i386/fpu/e_powl.S: Likewise.
31671         * sysdeps/i386/fpu/e_log10f.S: Likewise.
31672         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31673         * sysdeps/i386/fpu/e_logl.S: Likewise.
31674         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31675         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31676         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31677         * sysdeps/i386/fpu/e_log2f.S: Likewise.
31678         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31679         * sysdeps/i386/fpu/e_log.S: Likewise.
31680         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31681         * sysdeps/i386/fpu/e_logf.S: Likewise.
31682         * sysdeps/i386/fpu/e_log10l.S: Likewise.
31683         * sysdeps/i386/fpu/e_atanh.S: Likewise.
31684         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31685         * sysdeps/i386/fpu/e_log10.S: Likewise.
31686         * sysdeps/i386/fpu/s_frexp.S: Likewise.
31687         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31688         * sysdeps/i386/fpu/s_asinh.S: Likewise.
31689         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31690         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31691         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31692         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31693         * sysdeps/i386/i686/strtok.S: Likewise.
31694         * sysdeps/i386/i386-mcount.S: Likewise.
31695         * sysdeps/i386/strtok.S: Likewise.
31696         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31697         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31698         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31699         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31700         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31701         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31702         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31703         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31704         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31705         * sysdeps/x86_64/_mcount.S: Likewise.
31706         * sysdeps/x86_64/strtok.S: Likewise.
31707         * sysdeps/sh/_mcount.S: Likewise.
31708
31709 2012-08-01  Roland McGrath  <roland@hack.frob.com>
31710
31711         * libio/iofopen.c: Include <fcntl.h>.
31712         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31713         (_IO_fopen64, fopen64): Define as aliases.
31714         * libio/iofopen64.c: Include <fcntl.h>.
31715         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31716         Conditionalize body on this.
31717         * sysdeps/wordsize-64/iofopen.c: File removed.
31718         * sysdeps/wordsize-64/iofopen64.c: File removed.
31719
31720 2012-08-01  Marek Polacek  <polacek@redhat.com>
31721
31722         * libc/Makeconfig: Use elf in place of binfmt-subdir.
31723         Use dlfcn directly instead of a variable.
31724         (binfmt-subdir): Do not define.
31725         (dlfcn): Likewise.
31726
31727 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
31728
31729         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31730         Remove all definitions.
31731         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31732         <kernel-features.h>.
31733         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31734         (miss_F_GETOWN_EX): Remove all definitions.
31735         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31736         macro definition.
31737         [!__ASSUME_FCNTL64]: Remove conditional code.
31738         [__ASSUME_FCNTL64]: Make code unconditional.
31739         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31740         <kernel-features.h>.
31741         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31742         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31743         (lockf64) [__NR_fcntl64]: Make code unconditional.
31744         (lockf64) [__ASSUME_FCNTL64]: Likewise.
31745
31746         * sysdeps/unix/sysv/linux/kernel-features.h
31747         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31748         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31749         Make code unconditional.
31750         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31751         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31753         [__NR_vfork]: Make code unconditional.
31754         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31755         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31757         [__NR_vfork]: Make code unconditional.
31758         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31759         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31760
31761 2012-08-01  Roland McGrath  <roland@hack.frob.com>
31762
31763         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31764         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31765
31766         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31767         Define mkstemp64 as an alias.
31768         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31769         Define mkstemps64 as an alias.
31770         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31771         Define mkostemp64 as an alias.
31772         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31773         Define mkostemps64 as an alias.
31774         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31775         Conditionalize body on this.
31776         * misc/mkostemp64.c: Likewise.
31777         * misc/mkostemps64.c: Likewise.
31778         * misc/mkstemps64.c: Likewise.
31779         * sysdeps/wordsize-64/mkstemp64.c: File removed.
31780         * sysdeps/wordsize-64/mkostemp64.c: File removed.
31781         * sysdeps/wordsize-64/mkostemp.c: File removed.
31782         * sysdeps/wordsize-64/mkstemp.c: File removed.
31783         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31784         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31785         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31786         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31787
31788         [BZ #14138]
31789         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31790         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31791         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31792         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31793
31794         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31795         compat_symbol macros from <shlib-compat.h> rather than the underlying
31796         default_symbol_version and symbol_version macros, so that DEFAULT
31797         lines in shlib-versions are respected.
31798         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31799
31800 2012-08-01  Florian Weimer  <fweimer@redhat.com>
31801
31802         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31803         Declare with warn_unused_result.
31804         (setgid, setregid, setegid, setresgid): Likewise.
31805         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31806         Likewise.
31807         * WUR-REPORT: Remove set*id functions.
31808
31809 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
31810
31811         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31812
31813 2012-07-31  Roland McGrath  <roland@hack.frob.com>
31814
31815         [BZ #10191]
31816         * include/sys/socket.h (__libc_accept, __libc_accept4):
31817         Add attribute_hidden.
31818         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31819
31820         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31821         use of PTR_MANGLE.
31822         * inet/getnetgrent_r.c (setup): Likewise.
31823
31824         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31825
31826 2012-07-31  David S. Miller  <davem@davemloft.net>
31827
31828         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31829
31830 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
31831
31832         [BZ #13629]
31833         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31834         value between 1.0 and 2.0 and smaller part has absolute value less
31835         than 1.0.
31836         * math/s_clog10.c (__clog10): Likewise.
31837         * math/s_clog10f.c (__clog10f): Likewise.
31838         * math/s_clog10l.c (__clog10l): Likewise.
31839         * math/s_clogf.c (__clogf): Likewise.
31840         * math/s_clogl.c (__clogl): Likewise.
31841         * math/libm-test.inc (clog_test): Add more tests.
31842         (clog10_test): Likewise.
31843         * sysdeps/i386/fpu/libm-test-ulps: Update.
31844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31845
31846 2012-07-31  Florian Weimer  <fweimer@redhat.com>
31847
31848         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31849         Exit with zero in case no suitable GID is found, and write a
31850         message to standard error.
31851
31852 2012-07-30  Roland McGrath  <roland@hack.frob.com>
31853
31854         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31855         rather than to 1.
31856         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31857         (MAXPATHLEN): Removed.
31858         (NOGROUP, NODEV): New macros.
31859         (setbit, clrbit, isset, isclr): New macros.
31860         (howmany, roundup, powerof2): New macros.
31861         (DEV_BSIZE): New macro.
31862
31863         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31864         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31865
31866         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31867         definition on [!__NO_LONG_DOUBLE_MATH].
31868
31869         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31870         PTR_MANGLE and PTR_DEMANGLE.
31871
31872         * socket/accept4.c (accept4): Rename to __libc_accept4.
31873         Define accept4 as a weak alias.
31874
31875         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31876         on [_DIRENT_HAVE_D_TYPE].
31877         * io/ftw.c (ftw_dir): Likewise.
31878
31879         * io/xmknod.c (__xmknod): Don't check PATH for being null.
31880
31881         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31882
31883         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31884         Use the BSD numbers rather than the arbitrary ones we had.
31885         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31886         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31887         (SIGXCPU, SIGXFSZ): New macros.
31888         (_NSIG): Now 32.
31889
31890         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31891         initializer on [_LIBC_REENTRANT].
31892
31893         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31894         definitions inside [_POSIX_MAPPED_FILES].
31895
31896         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31897
31898         * dirent/opendir.c: Include <fcntl.h>.
31899
31900         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31901         (__libc_getspecific): Likewise.
31902         (__libc_key_create): Likewise.
31903
31904         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31905         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31906         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31907         (tmpfile64): Define as alias.
31908         * sysdeps/wordsize-64/tmpfile.c: File removed.
31909         * sysdeps/wordsize-64/tmpfile64.c: File removed.
31910         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31911         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31912
31913         * stdio-common/vfscanf.c: Include <stdbool.h>.
31914         * nss/makedb.c: Likewise.
31915         * stdio-common/_i18n_number.h: Likewise.
31916         * argp/argp-help.c: Likewise.
31917         * posix/wordexp.c: Likewise.
31918         * sysdeps/posix/spawni.c: Likewise.
31919         * nss/nss_files/files-initgroups.c: Likewise.
31920         * stdio-common/reg-modifier.c: Include <stdlib.h>.
31921         * nss/nss_files/files-initgroups.c: Likewise.
31922         * nss/nss_db/db-netgrp.c: Likewise.
31923         * nss/nss_db/db-initgroups.c: Likewise.
31924         * io/fchmodat.c: Include <sys/stat.h>.
31925
31926         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31927         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31928
31929         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31930         [HAVE_MMAP].
31931
31932         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31933         Add multiple inclusion protection.
31934
31935 2012-07-27  David S. Miller  <davem@davemloft.net>
31936
31937         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31938
31939 2012-07-27  Gary Benson  <gbenson@redhat.com>
31940
31941         [BZ #14298]
31942         * elf/rtld.c: Include <stap-probe.h>.
31943         (dl_main): Added static probes "init_start" and "init_complete".
31944         * elf/dl-load.c: Include <stap-probe.h>.
31945         (lose): Take new parameter "nsid".
31946         Added static probe "map_failed".
31947         (_dl_map_object_from_fd): Pass namespace id to lose.
31948         Added static probe "map_start".
31949         (open_verify): Pass namespace id to lose.
31950         * elf/dl-open.c: Include <stap-probe.h>.
31951         (dl_open_worker) Added static probes "map_complete", "reloc_start"
31952         and "reloc_complete".
31953         * elf/dl-close.c: Include <stap-probe.h>.
31954         (_dl_close_worker): Added static probes "unmap_start" and
31955         "unmap_complete".
31956         * elf/rtld-debugger-interface.txt: New file documenting the above.
31957
31958 2012-07-26  Roland McGrath  <roland@hack.frob.com>
31959
31960         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31961         rather than a string variable.
31962         * sunrpc/rpc_main.c (h_output): Likewise.
31963         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31964
31965 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
31966
31967         * inet/check_native.c: New file.
31968
31969 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
31970
31971         [BZ #13629]
31972         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31973         if larger part has absolute value 1.0.
31974         * math/s_clog10.c (__clog10): Likewise.
31975         * math/s_clog10f.c (__clog10f): Likewise.
31976         * math/s_clog10l.c (__clog10l): Likewise.
31977         * math/s_clogf.c (__clogf): Likewise.
31978         * math/s_clogl.c (__clogl): Likewise.
31979         * math/libm-test.inc (clog_test): Add more tests.
31980         (clog10_test): Likewise.
31981         * sysdeps/i386/fpu/libm-test-ulps: Update.
31982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31983
31984         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31985         (pltexit): Likewise.
31986         (La_regs): Likewise.
31987         (La_retval): Likewise.
31988         (int_retval): Likewise.
31989         Update #error for removed macros to refer only to definitions in
31990         tst-audit.h.
31991         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31992         macro.
31993         (pltexit): Likewise.
31994         (La_regs): Likewise.
31995         (La_retval): Likewise.
31996         (int_retval): Likewise.
31997         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31998         macro.
31999         (pltexit): Likewise.
32000         (La_regs): Likewise.
32001         (La_retval): Likewise.
32002         (int_retval): Likewise.
32003         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32004         macro.
32005         (pltexit): Likewise.
32006         (La_regs): Likewise.
32007         (La_retval): Likewise.
32008         (int_retval): Likewise.
32009         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32010         macro.
32011         (pltexit): Likewise.
32012         (La_regs): Likewise.
32013         (La_retval): Likewise.
32014         (int_retval): Likewise.
32015         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32016         macro.
32017         (pltexit): Likewise.
32018         (La_regs): Likewise.
32019         (La_retval): Likewise.
32020         (int_retval): Likewise.
32021         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32022         macro.
32023         (pltexit): Likewise.
32024         (La_regs): Likewise.
32025         (La_retval): Likewise.
32026         (int_retval): Likewise.
32027         * sysdeps/generic/tst-audit.h: Update comment to refer only to
32028         macro definitions in tst-audit.h.
32029         * sysdeps/i386/tst-audit.h: New file.
32030         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32031         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32032         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32033         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32034         * sysdeps/sh/tst-audit.h: Likewise.
32035         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32036         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32037         * sysdeps/x86_64/tst-audit.h: Likewise.
32038
32039 2012-07-26  Andreas Jaeger  <aj@suse.de>
32040
32041         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32042         ptrace.
32043
32044         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32045         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32046         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32047         PTRACE_O_MASK.
32048         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32049         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32050         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32051
32052         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32053         value.
32054
32055         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32056         _sigsys.
32057         (si_call_addr, si_syscall, si_arch): Define new macro.
32058         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32059         _sigsys.
32060         (si_call_addr, si_syscall, si_arch): Define new marcro.
32061         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32062         _sigsys.
32063         (si_call_addr, si_syscall, si_arch): Define new macro.
32064         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32065         _sigsys.
32066         (si_call_addr, si_syscall, si_arch): Define new macro.
32067
32068 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32069
32070         [BZ #13717]
32071         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32072         Change to 2.4.21 where previously 2.4.1.
32073         * sysdeps/unix/sysv/linux/configure: Regenerated.
32074         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32075         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32076         Linux kernel version.
32077         (__ASSUME_STD_AUXV): Remove.
32078         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32079         kernel version.
32080         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32081         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32082         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32083         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32084         (__ASSUME_NETLINK_SUPPORT): Likewise.
32085         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32086         (__no_netlink_support): Remove conditional definition.
32087         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32088         Remove.
32089         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32090         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32091         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32092         (if_nameindex_ioctl): Remove.
32093         (if_nameindex_netlink): Do not handle __no_netlink_support.
32094         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32095         code.
32096         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32097         Remove conditional code.
32098         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32099         code.
32100         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32101         unconditional.
32102         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32103         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32104         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32105         Remove.
32106         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32107         [!__ASSUME_STD_AUXV]: Remove conditional code.
32108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32109         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32110         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32112         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32113         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32114         code.
32115         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32117         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32118         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32119         conditional code.
32120         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32122         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32123         code.
32124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32125         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32126         conditional code.
32127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32128         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32129         code unconditional.
32130         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32131         conditional code.
32132         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32133         unconditional.
32134         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32135         conditional code.
32136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32137         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32138         unconditional.
32139         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32140         conditional code.
32141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32142         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32143         code unconditional.
32144         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32145         conditional code.
32146         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32147         unconditional.
32148         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32149         conditional code.
32150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32151         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32152         code unconditional.
32153         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32154         conditional code.
32155         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32156         unconditional.
32157         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32158         conditional code.
32159
32160 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
32161
32162         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32163         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32164         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32165         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32166         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32167         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32168         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32169         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32170         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32171         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32172         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32173         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32174         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32175         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32176         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32177         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32178         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32179         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32180         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32181         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32182         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32183         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32184         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32185
32186 2012-07-25  Florian Weimer  <fweimer@redhat.com>
32187
32188         * Versions.def: Add GLIBC_2.17.
32189         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32190         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32191         Introduce __libc_secure_getenv.
32192         * stdlib/Versions (2.17): Add secure_getenv
32193         (GLIBC_PRIVATE): Add __libc_secure_getenv.
32194         * stdlib/secure-getenv.c: Rename __secure_getenv to
32195         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
32196         symbol __secure_getenv for GLIBC_2.0.
32197         * stdlib/tst-secure-getenv.c: New.
32198         * stdlib/Makefile (tests): Add testcase.
32199         * manual/startup.texi (Environment Access): Document
32200         secure_getenv.
32201         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32202         __libc_secure_getenv.
32203         * inet/ruserpass.c (ruserpass): Likewise.
32204         * malloc/mtrace.c (mtrace): Likewise.
32205         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32206         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32207         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32208         * sysdeps/posix/tempname.c: Likewise.  Evaluate
32209         HAVE_SECURE_GETENV.
32210         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32211         __secure_getenv to __libc_secure_getenv.
32212         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32214         Likewise.
32215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32216         Likewise.
32217         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32218         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32219         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32220         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32221         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32222         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32223         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32224
32225 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32226
32227         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32228         (struct La_i86_retval): Likewise.
32229         (struct La_x86_64_regs): Likewise.
32230         (struct La_x86_64_retval): Likewise.
32231         (struct La_x32_regs): Likewise.
32232         (struct La_x32_retval): Likewise.
32233         (struct La_ppc32_regs): Likewise.
32234         (struct La_ppc32_retval): Likewise.
32235         (struct La_ppc64_regs): Likewise.
32236         (struct La_ppc64_retval): Likewise.
32237         (struct La_sh_regs): Likewise.
32238         (struct La_sh_retval): Likewise.
32239         (struct La_s390_32_regs): Likewise.
32240         (struct La_s390_32_retval): Likewise.
32241         (struct La_s390_64_regs): Likewise.
32242         (struct La_s390_64_retval): Likewise.
32243         (struct La_sparc32_regs): Likewise.
32244         (struct La_sparc32_retval): Likewise.
32245         (struct La_sparc64_regs): Likewise.
32246         (struct La_sparc64_retval): Likewise.
32247         (struct audit_ifaces): Remove architecture-specific pltenter and
32248         pltexit members.
32249         * sysdeps/i386/ldsodefs.h: New file.
32250         * sysdeps/powerpc/ldsodefs.h: Likewise.
32251         * sysdeps/s390/ldsodefs.h: Likewise.
32252         * sysdeps/sh/ldsodefs.h: Likewise.
32253         * sysdeps/sparc/ldsodefs.h: Likewise.
32254         * sysdeps/x86_64/ldsodefs.h: Likewise.
32255
32256 2012-07-25  Marek Polacek  <polacek@redhat.com>
32257
32258         [BZ #6808]
32259         * math/libm-test.inc (yn_test): Add another test.
32260         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32261         to ERANGE when the result is +-Inf.
32262         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32263         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32264         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32265         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32266
32267 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
32268
32269         * conform/data/time.h-data (NULL): Use macro-constant.  Require
32270         equal to 0.
32271         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
32272         clock_t.
32273         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
32274
32275 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
32276
32277         * configure.in <sysdeps resolving>: Correct printing
32278         Implies_before.
32279         * configure: Regenerate.
32280
32281 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
32282
32283         * math/w_ilogb.c: Include <limits.h>.
32284         * math/w_ilogbl.c: Likewise.
32285
32286 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32287
32288         * manual/lang.texi (__va_copy): Document primarily as ISO C99
32289         va_copy.  Document allowing for unavailable va_copy only as
32290         pre-C99 compatibility.
32291         * manual/string.texi (Copying and Concatenation): Use va_copy
32292         instead of __va_copy in concat example.
32293
32294 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
32295
32296         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32297         (__sendto): Use create_address_port.  Initialize APORT and deallocate
32298         it if not null.
32299
32300         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32301         with O_NOLINK passed to __file_name_lookup.
32302
32303         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32304         with O_NOLINK passed to __file_name_lookup.
32305
32306         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32307         negative N or less than NGIDS.
32308
32309         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32310         type to string_t.  Set ERANGE as errno and return it if NAME is not big
32311         enough.  Use memcpy instead of strncpy.
32312
32313 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32314
32315         * elf/Makefile (check-data): Remove.
32316         (localplt.data): New vpath directive.
32317         ($(objpfx)check-localplt.out): Use localplt.data from vpath
32318         instead of $(check-data).
32319         * scripts/data/localplt-generic.data: Move to ...
32320         * sysdeps/generic/localplt.data: ... here.
32321         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32322         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32323         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32325         ... here.
32326         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32328         ... here.
32329         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32331         ... here.
32332         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32333         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32334         ... here.
32335         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32336         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32337         ... here.
32338         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32339         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32340         ... here.
32341
32342 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32343
32344         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32345         PPC32 and PPC64 files.
32346         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32347         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32348
32349 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32350
32351         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32352         __makecontext_ret to ...
32353         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32354         ... here and call exit if uc_link is NULL.  New file.
32355         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32356         __makecontext_ret.S.
32357         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32358         __makecontext_ret to ...
32359         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32360         ... here and call exit if uc_link is NULL.  New file.
32361         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32362         __makecontext_ret.S.
32363
32364 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32365
32366         * elf/elf.h (R_390_IRELATIVE): New definition.
32367         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32368         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
32369         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32370         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32371         (elf_machine_lazy_rel): Likewise.
32372         * sysdeps/s390/dl-irel.h: New file.
32373         * sysdeps/s390/s390-64/memcpy.S: New asm code.
32374         * sysdeps/s390/s390-64/memset.S: New asm code.
32375         * sysdeps/s390/s390-64/memcmp.S: New asm code.
32376         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32377         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32378         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32379         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32380         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32381         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32382         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32383         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32384         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32385         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32386         * sysdeps/s390/s390-32/memcpy.S: New asm code.
32387         * sysdeps/s390/s390-32/memset.S: New asm code.
32388         * sysdeps/s390/s390-32/memcmp.S: New asm code.
32389
32390 2012-07-17  Marek Polacek  <polacek@redhat.com>
32391
32392         [BZ #14349]
32393         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32394         * sysdeps/s390/s390-64/configure.in: Likewise.
32395         * sysdeps/sparc/configure.in: Likewise.
32396         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32397         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32398         * sysdeps/i386/configure.in: Likewise.
32399         * sysdeps/x86_64/configure.in: Likewise.
32400         * sysdeps/sh/configure.in: Likewise.
32401         * sysdeps/s390/s390-32/configure: Regenerated.
32402         * sysdeps/s390/s390-64/configure: Likewise.
32403         * sysdeps/x86_64/configure: Likewise.
32404         * sysdeps/sh/configure: Likewise.
32405         * sysdeps/powerpc/powerpc64/configure: Likewise.
32406         * sysdeps/powerpc/powerpc32/configure: Likewise.
32407         * sysdeps/sparc/configure: Likwise.
32408         * sysdeps/i386/configure: Likewise.
32409
32410         * elf/dl-open.c: Comment fixes.
32411
32412 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
32413
32414         * Makefile [CXX] (check-data): Remove.
32415         [CXX] (c++-types.data): New vpath directive.
32416         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32417         vpath.  Do not allow for C++ type data being missing.
32418         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32419         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32420         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32421         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32422         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32423         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32424         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32426         ... here.
32427         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32429         ... here.
32430         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32431         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32432         ... here.
32433         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32434         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32435         ... here.
32436         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32437         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32438         ... here.
32439         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32440         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32441         ... here.
32442         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32443         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32444         ... here.
32445         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32446         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32447
32448         * elf/tls-macros.h (TLS_LE): Move architecture-specific
32449         definitions to architecture-specific files.
32450         (TLS_IE): Likewise.
32451         (TLS_LD): Likewise.
32452         (TLS_GD): Likewise.
32453         * sysdeps/i386/tls-macros.h: New file.
32454         * sysdeps/powerpc/tls-macros.h: Likewise.
32455         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32456         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32457         * sysdeps/sh/tls-macros.h: Likewise.
32458         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32459         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32460         * sysdeps/x86_64/tls-macros.h: Likewise.
32461
32462 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
32463
32464         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32465         zero value for regular exit case.
32466
32467         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32468         (__start_context): Preserve zero value for regular exit case.
32469
32470 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
32471             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32472
32473         * manual/setjmp.texi (setcontext): Clarify normal process
32474         termination when uc_link is the null pointer.
32475         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32476         exit call.
32477
32478 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
32479
32480         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32481         preprocessor.  Test for each exception mask separately.
32482
32483 2012-07-16  Andreas Jaeger  <aj@suse.de>
32484
32485         * po/ru.po: Update from translation team.
32486
32487 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
32488
32489         * conform/data/string.h-data (NULL): Use macro-constant.  Require
32490         equal to 0.
32491         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32492         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32493         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32494         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32495         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32496
32497 2012-07-13  Andreas Jaeger  <aj@suse.de>
32498
32499         * po/fr.po: Update from translation team.
32500
32501 2012-07-12  Marek Polacek  <polacek@redhat.com>
32502
32503         [BZ #14173]
32504         * math/libm-test.inc (yn_test): Add test for BZ #14173.
32505         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32506         loop condition.
32507
32508 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
32509
32510         [BZ #13717]
32511         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32512         Change to 2.4.1 where previously 2.4.0.
32513         * sysdeps/unix/sysv/linux/configure: Regenerated.
32514         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32515         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32516         version.
32517         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32518         (__ASSUME_AT_CLKTCK): Remove.
32519         (__ASSUME_AT_PAGESIZE): Likewise.
32520         (__ASSUME_AT_XID): Likewise.
32521         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32522         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32523         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32524         unconditionally.
32525         (HAVE_AUX_PAGESIZE): Likewise.
32526         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32527         [__ASSUME_AT_CLKTCK]: Make code unconditional.
32528         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32529
32530 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
32531
32532         [BZ #14307]
32533         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32534         the temporary buffer used to invoke __gethostbyname2_r,
32535         __gethostbyaddr_r and gethostbyname4_r to make room for struct
32536         host_data / struct gaih_addrtuple.
32537         * resolv/nss_dns/dns-host.c (global scope): Move definition of
32538         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32539         header file nss/nsswitch.h.
32540         * nss/nsswitch.h (global scope): Add definition of implementation
32541         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32542         resolv/nss_dns/dns-host.c).
32543
32544 2012-07-11  Andreas Jaeger  <aj@suse.de>
32545
32546         * po/fr.po: Update from translation team.
32547
32548         * po/sv.po: Update from translation team
32549         * po/fr.po: Another update from translation team.
32550
32551 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32552
32553         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32554         for subnormals or multiply small sinh result by itself.
32555         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32556         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32557
32558 2012-07-11  David S. Miller  <davem@davemloft.net>
32559
32560         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32561
32562 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
32563
32564         [BZ #14347]
32565         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32566         (INTERNAL_MARK): Shift it here.
32567
32568 2012-07-10  Marek Polacek  <polacek@redhat.com>
32569
32570         [BZ #14151]
32571         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
32572         libc_cv_asm_global_directive with .globl.
32573         * configure: Regenerated.
32574         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32575         with .globl.
32576         * sysdeps/i386/configure: Regenerated.
32577         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32578         with .globl.
32579         * sysdeps/x86_64/configure: Regenerated.
32580         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32581         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32582         * elf/tst-unique2mod2.c: Likewise.
32583         * elf/tst-unique2mod1.c: Likewise.
32584         * elf/tst-unique1mod2.c: Likewise.
32585         * elf/tst-unique1mod1.c: Likewise.
32586         * sysdeps/s390/s390-32/sysdep.h: Likewise.
32587         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32588         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32589         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32590         * sysdeps/mach/sysdep.h: Likewise.
32591         * sysdeps/i386/sysdep.h: Likewise.
32592         * sysdeps/i386/i386-mcount.S: Likewise.
32593         * sysdeps/x86_64/_mcount.S: Likewise.
32594         * sysdeps/x86_64/sysdep.h: Likewise.
32595         * sysdeps/sh/_mcount.S: Likewise.
32596         * sysdeps/sh/sysdep.h: Likewise.
32597         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32598         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32599         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32600         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32601         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32602         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32603         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32604         * locale/localeinfo.h: Likewise.
32605         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32606         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32607
32608 2012-07-09  Roland McGrath  <roland@hack.frob.com>
32609
32610         [BZ #14336]
32611         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32612         system".
32613         * manual/message.texi (The Uniforum approach): Likewise.
32614         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32615         (glibc iconv Implementation): Likewise.
32616
32617 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
32618
32619         [BZ #14337]
32620         * math/s_clog.c (__clog): Avoid scaling a value down where that
32621         could result in underflow.
32622         * math/s_clog10.c (__clog10): Likewise.
32623         * math/s_clog10f.c (__clog10f): Likewise.
32624         * math/s_clog10l.c (__clog10l): Likewise.
32625         * math/s_clogf.c (__clogf): Likewise.
32626         * math/s_clogl.c (__clogl): Likewise.
32627         * math/libm-test.inc (clog_test): Add more tests.
32628         (clog10_test): Likewise.
32629         * sysdeps/i386/fpu/libm-test-ulps: Update.
32630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32631
32632 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
32633
32634         [BZ #14283]
32635         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32636         by 7 not 8 to examine high bit of fractional part.
32637
32638         [BZ #14042]
32639         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32640         for call to __mcount_internal.
32641         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32642         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32643         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32644
32645 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
32646
32647         [BZ #14154]
32648         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32649         approximation for values within 0x1p-13f of an odd multiple of
32650         pi/4.
32651         * math/libm-test.inc (tan_test): Do not allow spurious underflow
32652         exception.  Add more tests.
32653         * sysdeps/i386/fpu/libm-test-ulps: Update.
32654
32655         [BZ #6778]
32656         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32657         inputs and return -1 for them.  Do not check for +Inf in case not
32658         reachable for +Inf.
32659         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32660         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32661         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32662         and return -1 for them.  Do not check for +Inf in case not
32663         reachable for +Inf.
32664         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32665         define.
32666         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32667         and return -1 for them.  Do not check for +Inf in case not
32668         reachable for +Inf.
32669         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
32670         spurious underflow.
32671         * sysdeps/i386/fpu/libm-test-ulps: Update.
32672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32673
32674 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
32675
32676         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32677
32678 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
32679
32680         [BZ #14157]
32681         [BZ #14331]
32682         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32683         could result in spurious underflow.  Scale down values above
32684         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32685         * math/s_csqrtf.c (__csqrtf): Likewise.
32686         * math/s_csqrtl.c (__csqrtl): Likewise.
32687         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
32688         spurious underflow.
32689         * sysdeps/i386/fpu/libm-test-ulps: Update.
32690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32691
32692 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
32693
32694         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32695         xopen-msg.sed.
32696         * catgets/xopen-msg.awk: New file.
32697         * catgets/xopen-msg.sed: Removed.
32698
32699         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32700         po2text.sed.
32701         * intl/po2test.awk: New file.
32702         * intl/po2test.sed: Removed.
32703
32704 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
32705
32706         [BZ #14328]
32707         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32708         or multiply small sinh result by itself.
32709         * math/s_ctanf.c (__ctanf): Likewise.
32710         * math/s_ctanh.c (__ctanh): Likewise.
32711         * math/s_ctanhf.c (__ctanhf): Likewise.
32712         * math/s_ctanhl.c (__ctanhl): Likewise.
32713         * math/s_ctanl.c (__ctanl): Likewise.
32714         * math/libm-test.inc (ctan_test_tonearest): New function.
32715         (ctan_test_towardzero): Likewise.
32716         (ctan_test_downward): Likewise.
32717         (ctan_test_upward): Likewise.
32718         (ctanh_test_tonearest): Likewise.
32719         (ctanh_test_towardzero): Likewise.
32720         (ctanh_test_downward): Likewise.
32721         (ctanh_test_upward): Likewise.
32722         (main): Call these new functions.
32723         * sysdeps/i386/fpu/libm-test-ulps: Update.
32724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32725
32726 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
32727
32728         * .gitignore: Delete /ports entry.
32729
32730 2012-07-03  Andreas Jaeger  <aj@suse.de>
32731
32732         * po/bg.po: Update from translation team.
32733         * po/cs.po: Likewise.
32734         * po/de.po: Likewise.
32735         * po/hr.po: Likewise.
32736         * po/nl.pl: Likewise.
32737         * po/pl.po: Likewise.
32738         * po/vi.po: Likewise.
32739
32740 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
32741
32742         * Makeconfig [!+link] (+link-before-libc): New variable.
32743         [!+link] (+link-after-libc): Likewise.
32744         [!+link] (+link-tests): Likewise.
32745         [!+link] (+link): Define in terms of $(+link-before-libc) and
32746         $(+link-after-libc).
32747         [!+link-static] (+link-static-before-libc): New variable.
32748         [!+link-static] (+link-static-after-libc): Likewise.
32749         [!+link-static] (+link-static-tests): Likewise.
32750         [!+link-static] (+link-static): Define in terms of
32751         $(+link-static-before-libc) and $(+link-static-after-libc).
32752         [build-shared] (link-libc-before-gnulib): New variable.
32753         [build-shared] (link-libc-tests): Likewise.
32754         [build-shared] (link-libc): Define in terms of
32755         $(link-libc-before-gnulib).
32756         [!build-shared] (link-libc-tests): New variable.
32757         (link-libc-static-tests): New variable.
32758         [!gnulib] (gnulib-arch): New variable.
32759         [!gnulib] (gnulib-tests): Likewise.
32760         [!gnulib] (static-gnulib-arch): Likewise.
32761         [!gnulib] (static-gnulib-tests): Likewise.
32762         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
32763         Define with "=" instead of ":=".
32764         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
32765         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
32766         * Rules (binaries-all-notests): New variable.
32767         (binaries-all-tests): Likewise.
32768         (binaries-static-notests): Likewise.
32769         (binaries-static-tests): Likewise.
32770         (binaries-all): Define using $(binaries-all-notests) and
32771         $(binaries-all-tests).
32772         (binaries-static): Define using $(binaries-static-notests) and
32773         $(binaries-static-tests).
32774         (binaries-shared-tests): New variable.
32775         (binaries-shared-notests): Likewise.
32776         (binaries-shared): Remove variable.
32777         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32778         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32779         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32780         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32781         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32782         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32783         * elf/Makefile (sln-modules): New variable.
32784         (extra-objs): Add $(sln-modules:=.o).
32785         (ldconfig-modules): Add static-stubs.
32786         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32787         * elf/static-stubs.c: New file.
32788
32789         [BZ #14283]
32790         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32791         by 7 not 8 to examine high bit of fractional part.  Use volatile
32792         variables when splitting into final array of floats if
32793         __FLT_EVAL_METHOD__ != 0.
32794         * math/libm-test.inc (cos_test): Add another test.
32795         (sin_test): Likewise.
32796         * sysdeps/i386/fpu/libm-test-ulps: Update.
32797
32798         [BZ #14273]
32799         * math/libm-test.inc (cosh_test): Add more tests.
32800
32801         * version.h (RELEASE): Set to "development".
32802         (VERSION): Set to "2.16.90".
32803
32804 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
32805
32806         * NEWS: Update copyright. Remove last-updated date.
32807         Mention math library bug fixes and timezone data changes.
32808         * README: Mention GNU/Hurd, x32, and HPPA support status.
32809
32810 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
32811
32812         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32813
32814 2012-06-27  Andreas Jaeger  <aj@suse.de>
32815
32816         * manual/contrib.texi (Contributors): Add Samuel Thibault.
32817
32818 2012-06-25  Andreas Jaeger  <aj@suse.de>
32819
32820         * sysdeps/s390/fpu/libm-test-ulps: Update.
32821
32822 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
32823             Thomas Schwinge  <thomas@codesourcery.com>
32824
32825         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32826         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32827         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32828         fanotify_mark.
32829
32830 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
32831
32832         * sysdeps/mach/start.c: Remove file.
32833         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32834         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32835         * sysdeps/sh/init-first.c: Likewise.
32836
32837         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32838         registers for frame unwinding purposes, add CFI directives.
32839         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32840         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32841         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32842         Likewise.
32843
32844         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32845         __fortify_fail returning.
32846         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32847
32848         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32849         sysdeps/sh/____longjmp_chk.S.
32850         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32851         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32852         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32853         (gen-as-const-headers): Append sigaltstack-offsets.sym.
32854
32855         * sysdeps/sh/abort-instr.h: New file.
32856         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32857         process in case exit returns.
32858
32859         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32860         initialize the GOT register before use.
32861
32862         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32863         calculation of ARGC > 4.
32864
32865         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32866         meaningful names to some local labels.
32867
32868 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32869             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32870
32871         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32872         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32873         (__arch_compare_and_exchange_val_16_acq): Likewise.
32874         (__arch_compare_and_exchange_val_32_acq): Likewise.
32875         (atomic_exchange_and_add): Fix gUSA sequence.
32876         (atomic_add): Likewise.
32877         (atomic_add_negative): Likewise.
32878         (atomic_add_zero): Likewise.
32879         (atomic_bit_test_set): Likewise.
32880
32881 2012-06-22  Andreas Schwab  <schwab@redhat.com>
32882
32883         [BZ #13579]
32884         * include/link.h (struct link_map): Add l_free_initfini.
32885         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32886         l_initfini.
32887         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32888         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32889         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32890         set.
32891
32892 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
32893
32894         * configure.in: Use AC_LANG_SOURCE.
32895         * configure: Regenerate.
32896
32897 2012-06-22  Roland McGrath  <roland@hack.frob.com>
32898
32899         * configure.in (libc_cv_localstatedir): New substituted variable.
32900         * configure: Regenerated.
32901         * config.make.in (localstatedir): New variable, substituted from
32902         libc_cv_localstatedir.
32903         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32904         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32905         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32906         * sysdeps/gnu/configure: Regenerated.
32907
32908 2012-06-21  Jeff Law  <law@redhat.com>
32909
32910         [BZ #14277]
32911         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32912         free.  Simplify list management for _LIBC case.
32913
32914 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
32915
32916         [BZ #14273]
32917         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32918         Clear sign bit of 64-bit integer value before comparing against
32919         overflow value.
32920
32921         * sysdeps/mach/configure: Regenerated.
32922
32923 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
32924
32925         [BZ #14278]
32926         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32927
32928 2012-06-21  Jeff Law  <law@redhat.com>
32929
32930         [BZ #13882]
32931         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
32932         uint16_t for elements in the "seen" array to avoid char overflows.
32933         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32934         * elf/dl-open.c (dl_open_worker): Likewise.
32935
32936 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
32937
32938         * scripts/list-sources.sh: Scan PORTS for translations.
32939         * po/libc.pot: Regenerated.
32940
32941 2012-06-21  Andreas Jaeger  <aj@suse.de>
32942
32943         [BZ #12194]
32944         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32945         warning.
32946         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32947         * bits/byteswap-16.h (__bswap_16): Likewise.
32948         * bits/byteswap.h (__bswap_constant_16): Likewise.
32949
32950 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
32951
32952         [BZ #14117]
32953         * sysdeps/i386/fpu_control.h: Removed.
32954         * sysdeps/x86_64/fpu_control.h: Moved to ...
32955         * sysdeps/x86/fpu_control.h: Here.
32956
32957         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32958         (_FPU_SETCW): Likewise.
32959
32960 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
32961
32962         [BZ #14117]
32963         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32964         * sysdeps/x86/fpu/bits/mathinline.h: This.
32965         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32966
32967         [BZ #14050]
32968         [BZ #14117]
32969         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32970         functions if __x86_64__ is defined.
32971
32972 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
32973
32974         * string/endian.h: Add !__ASSEMBLER__ condition for including
32975         conversion interfaces.
32976
32977 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
32978
32979         [BZ #14241]
32980         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32981         of ABS(x) in calculating zero to negative powers other than odd
32982         integers.
32983         * math/libm-test.inc (pow_test): Add more tests.
32984
32985 2012-06-15  Andreas Jaeger  <aj@suse.de>
32986
32987         * manual/contrib.texi (Contributors): Update entry of Liubov
32988         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32989         Machado Filho.
32990
32991 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
32992
32993         * string/string.h: Add __wur to GNU version of strerror_r.
32994
32995 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
32996
32997         [BZ #14229]
32998         * string/Makefile (tests): Add tst-strtok_r.
32999         * string/tst-strtok_r.c: New file.
33000         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33001         RAX_LP/RDX_LP on SAVE_PTR.
33002
33003 2012-06-14  Roland McGrath  <roland@hack.frob.com>
33004
33005         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33006
33007 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
33008
33009         * libm_test.inc (csqrt_test): Allow more spurious underflow
33010         exceptions.
33011         (j0_test): Likewise.
33012         (j1_test): Likewise.
33013         (y0_test): Likewise.
33014         (y1_test): Likewise.
33015
33016 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
33017
33018         * po/Makefile (libc.pot): Use UTF-8 charset.
33019
33020 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
33021
33022         [BZ #14210]
33023         Suppress sign-conversion warning from FD_SET.
33024         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33025         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33026         not unsigned long int.
33027         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33028
33029 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
33030
33031         [BZ #14050]
33032         [BZ #14117]
33033         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33034         __extern_always_inline instead of __extern_inline.
33035         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33036         (__signbit): Likewise.
33037         (__signbitl): Support C++ namespace.
33038         (lrintf): New inline function.
33039         (lrint): Likewise.
33040         (llrintf): Likewise.
33041         (llrint): Likewise.
33042         (fmaxf): Likewise.
33043         (fmax): Likewise.
33044         (fminf): Likewise.
33045         (fmin): Likewise.
33046         (rint): Likewise.
33047         (rintf): Likewise.
33048         (ceil): Likewise.
33049         (ceilf): Likewise.
33050         (floor): Likewise.
33051         (floorf): Likewise.
33052         (nearbyint): Likewise.
33053         (nearbyintf): Likewise.
33054
33055 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
33056
33057         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33058         non-default versions.
33059
33060 2012-06-11  Roland McGrath  <roland@hack.frob.com>
33061
33062         [BZ #14218]
33063         * manual/argp.texi (Argp): Reword argp_parse description slightly.
33064
33065 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
33066
33067         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33068         (FE_UPWARD, FE_DOWNWARD): Don't define.
33069         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33070         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33071
33072         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33073         reading it.
33074         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33075         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33076
33077 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33078
33079         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33080         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33081         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33082         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33083
33084 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
33085
33086         [BZ #14117]
33087         * sysdeps/i386/fpu/bits/fenv.h: Removed.
33088         * sysdeps/i386/fpu/Implies: New file.
33089         * sysdeps/x86_64/fpu/Implies: Likewise.
33090         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33091         * sysdeps/x86/fpu/bits/fenv.h: This.
33092
33093         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33094         __SSE_MATH__.
33095
33096 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33097
33098         [BZ #14134]
33099         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33100         character 0xffff that matches the last element of the
33101         conversion table.
33102
33103 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33104
33105         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33106         fmodl commit.
33107
33108 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33109
33110         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33111         values higher than 25.6283.
33112
33113 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33114
33115         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33116         subnormal exponent extraction and add some __builtin_expect.
33117         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33118         Fix for subnormal mantissa calculation.
33119
33120 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
33121
33122         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33123         cpu2 is -1 and errno is not ENOSYS.
33124
33125 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
33126
33127         [BZ #14117]
33128         * sysdeps/i386/i486/bits/string.h: Renamed to ...
33129         * sysdeps/x86/bits/string.h: This.
33130         * sysdeps/x86_64/bits/string.h: Removed.
33131
33132         * sysdeps/i386/i486/bits/string.h: Define inline functions only
33133         if not compiling for x86-64, but compiling for >= i486.
33134
33135         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33136         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33137
33138         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33139         New macro from Linux kernel 3.4.0.
33140         (FP_XSTATE_MAGIC2): Likewise.
33141         (FP_XSTATE_MAGIC2_SIZE): Likewise.
33142         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33143         (struct _fpx_sw_bytes): New struct.
33144         (struct _xsave_hdr): Likewise.
33145         (struct _ymmh_state): Likewise.
33146         (struct _xstate): Likewise.
33147
33148         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33149         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33150         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33151         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33152         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33153         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33154
33155         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33156         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33157         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33158         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33159         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33160         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33161
33162 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33163
33164         [BZ #13743]
33165         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33166         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33167         (sysdep_headers): Include sys/platform/ppc.h.
33168         * sysdeps/powerpc/test-gettimebase.c: Test for
33169         __ppc_get_timebase() to catch future ISA opcode/insn changes.
33170         * manual/Makefile (appendices): Include platform.texi.
33171         * manual/contrib.texi (Contributors): Update @node pointers.
33172         * manual/maint.texi (Maintenance): Likewise.
33173         (Platform): New node.
33174         * manual/platform.texi: New file.  Document the new features.
33175
33176 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33177             Jakub Jelinek  <jakub@redhat.com>
33178
33179         [BZ #14188]
33180         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33181         where __builtin_expect is unavailable.
33182
33183 2012-06-03  David S. Miller  <davem@davemloft.net>
33184
33185         * stdlib/longlong.h: Updated from GCC.
33186
33187 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
33188
33189         [BZ #14042]
33190         * sysdeps/powerpc/powerpc32/mcount.c: New file.
33191         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33192         __mcount_internal.
33193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33194         (GLIBC_2.16): Likewise.
33195
33196 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33197
33198         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33199
33200 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33201
33202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33203         (default-abi): New variable.
33204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33205         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33206         variable.
33207         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33208         Likewise.
33209         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33210         Likewise.
33211         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33212         Likewise.
33213
33214         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33215         definition.  Document in comment.
33216
33217 2012-06-01  David S. Miller  <davem@davemloft.net>
33218
33219         * stdlib/longlong.h: Updated from GCC.
33220
33221 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33222
33223         [BZ #14117]
33224         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33225         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33226         sys/debugreg.h sys/io.h here.
33227         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33228         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33229         sys/io.h.
33230         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33231         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33232         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33233         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33234         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33235         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33236
33237         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33238         Define only if __x86_64__ is defined.
33239
33240 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33241
33242         [BZ #14048]
33243         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33244         Use int64_t for variable i.
33245         * math/libm-test.inc (fmod_test): Add more tests.
33246
33247         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33248         z computation is not scheduled after fetestexcept.
33249         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33250         Use math_force_eval instead of asm to ensure calculation scheduled
33251         before exception test.
33252         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33253         Ensure a1 + u.d computation is not scheduled after fetestexcept.
33254
33255 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
33256
33257         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33258         computation is not scheduled after fetestexcept.
33259
33260 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33261
33262         [BZ #14117]
33263         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33264         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33265
33266 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33267
33268         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33269         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33270
33271 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33272
33273         [BZ #14117]
33274         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33275         <bits/wordsize.h>.
33276         (__WCHAR_MIN): Support __WORDSIZE == 64.
33277         (__WCHAR_MAX): Likewise.
33278
33279         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33280         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33281
33282         [BZ #14183]
33283         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33284         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33285
33286         [BZ #14117]
33287         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33288         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33289
33290         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33291         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33292
33293         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33294         Defined to 1 if __x86_64__ isn't defined.
33295         (_STAT_VER_LINUX_OLD): New.
33296         (st_atime): Remove duplicate.
33297         (st_mtime): Likewise.
33298         (st_ctime): Likewise.
33299
33300 2012-05-31  David S. Miller  <davem@davemloft.net>
33301
33302         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33303         entries.
33304
33305 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
33306
33307         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33308         gen-libm-test.pl.
33309
33310         [BZ #14132]
33311         * elf/dl-reloc.c: Include <_itoa.h>.
33312         (_dl_reloc_bad_type): Remove use of INTUSE.
33313         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33314         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33315         * stdio-common/psiginfo.c (psiginfo): Likewise.
33316         * stdio-common/psignal.c (psignal): Likewise.
33317         * string/strsignal.c (strsignal): Likewise.
33318         * include/signal.h (_sys_siglist): Declare hidden proto.
33319         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
33320         INTVARDEF with libc_hidden_data_def.
33321         * stdio-common/itoa-udigits.c: Likewise.
33322         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33323         (_itoa_lower_digits_internal): Remove declaration.
33324         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33325         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33326         (_sys_sigabbrev_internal): Remove aliases.
33327         (_sys_siglist): Define hidden alias.
33328
33329 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
33330
33331         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33332         bits/sysctl.h.
33333
33334 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33335
33336         [BZ #14117]
33337         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33338         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33339
33340         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33341         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33342         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33343         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33344         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33345         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33346
33347         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33348         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33349         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33350
33351         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33352         with __addr.
33353         (insw): Likewise.
33354         (insl): Likewise.
33355         (outsb): Likewise.
33356         (outsw): Likewise.
33357         (outsl): Likewise.
33358
33359         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33360         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33361         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33362
33363         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33364         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33365         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33366         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33367         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33368         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33369
33370         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33371         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33372
33373         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33374         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33375
33376         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33377         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33378         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33379
33380         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33381         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33382         to ...
33383         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33384
33385         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33386         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33387         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33388
33389         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33390         for x86-64.
33391         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33392
33393 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
33394
33395         * math/math.h (M_El): Use two more decimal places.
33396         (M_LOG2El): Likewise.
33397         (M_LOG10El): Likewise.
33398         (M_LN2l): Likewise.
33399         (M_LN10l): Likewise.
33400         (M_PIl): Likewise.
33401         (M_PI_2l): Likewise.
33402         (M_PI_4l): Likewise.
33403         (M_1_PIl): Likewise.
33404         (M_2_PIl): Likewise.
33405         (M_2_SQRTPIl): Likewise.
33406         (M_SQRT2l): Likewise.
33407         (M_SQRT1_2l): Likewise.
33408
33409 2012-05-31  David S. Miller  <davem@davemloft.net>
33410
33411         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33412         values between float registers.
33413         * sysdeps/sparc/sparc64/memset.S: Likewise.
33414         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33415
33416 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
33417
33418         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33419         -D_FORTIFY_SOURCE=1.
33420         (CPPFLAGS-tst-longjmp_chk.c): Define.
33421         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33422         (CPPFLAGS-tst-longjmp_chk2.c): Define.
33423         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33424         CFLAGS-tst-wchar-h.c.
33425
33426 2012-05-31  Marek Polacek  <polacek@redhat.com>
33427
33428         [BZ #14132]
33429         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33430         __endmntent_internal): Remove declaration.
33431         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33432         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33433         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33434
33435 2012-05-30  David S. Miller  <davem@davemloft.net>
33436
33437         * sysdeps/sparc/sparc32/soft-fp/q_util.c
33438         (___Q_simulate_exceptions): Use real FP ops rather than writing
33439         into the %fsr.
33440         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33441         Likewise.
33442
33443 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33444
33445         [BZ #14117]
33446         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33447         * sysdeps/x86/bits/xtitypes.h: This.
33448
33449         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33450         * sysdeps/x86/bits/wordsize.h: This.
33451
33452         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33453         * sysdeps/x86/bits/huge_vall.h: This.
33454
33455         * sysdeps/i386/bits/select.h: Removed.
33456         * sysdeps/x86_64/bits/select.h: Renamed to ...
33457         * sysdeps/x86/bits/select.h: This.
33458
33459         * sysdeps/i386/bits/setjmp.h: Removed.
33460         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33461         * sysdeps/x86/bits/setjmp.h: This.
33462
33463         * sysdeps/i386/bits/mathdef.h: Removed.
33464         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33465         * sysdeps/x86/bits/mathdef.h: This.
33466
33467 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
33468
33469         [BZ #14132]
33470         * include/sys/socket.h (__connect_internal)
33471         (__libc_sa_len_internal): Remove declaration.
33472         (__connect, __libc_sa_len): Declare hidden_proto.
33473         (SA_LEN): Remove use of INTUSE.
33474         * socket/connect.c: Add libc_hidden_def.
33475         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33476         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33477         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33478         alias.
33479         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33480         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33481         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33482         of adding _internal alias.
33483
33484 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33485
33486         [BZ #14117]
33487         * sysdeps/i386/bits/link.h: Removed.
33488         * sysdeps/i386/bits/linkmap.h: Likewise.
33489         * sysdeps/x86_64/bits/link.h: Renamed to ...
33490         * sysdeps/x86/bits/link.h: This.
33491         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33492         * sysdeps/x86/bits/linkmap.h: This.
33493
33494         * sysdeps/i386/bits/endian.h: Removed.
33495         * sysdeps/x86_64/bits/endian.h: Renamed to ...
33496         * sysdeps/x86/bits/endian.h: This.
33497
33498         * sysdeps/i386/bits/byteswap.h: Removed.
33499         * sysdeps/i386/bits/byteswap-16.h: Likewise.
33500         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33501         * sysdeps/x86/bits/byteswap.h: This.
33502         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33503         * sysdeps/x86/bits/byteswap-16.h: This.
33504         * sysdeps/i386/Implies: Add x86.
33505         * sysdeps/x86_64/Implies: Likewise.
33506
33507 2012-05-30  David S. Miller  <davem@davemloft.net>
33508
33509         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33510         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33511         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33512         (FP_TRAPPING_EXCEPTIONS): Define.
33513         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33514         (FP_TRAPPING_EXCEPTIONS): Define.
33515         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33516         subnormals only when inexact has been signalled or underflow
33517         exceptions are enabled.
33518         (_FP_PACK_CANONICAL): Likewise.
33519
33520 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33521
33522         [BZ #14183]
33523         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33524         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33525
33526 2012-05-30  Richard Henderson  <rth@twiddle.net>
33527
33528         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33529         with #ifndef NOT_IN_libc.
33530
33531         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
33532         marked to avoid plt entry.
33533
33534 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33535
33536         [BZ #14112]
33537         * Makeconfig (default-abi): New macro.
33538         (abi-includes): Likewise.
33539         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
33540         $(abi-$(default-abi)-lib-soname) for soname if defined.
33541         ($(common-objpfx)gnu/lib-names.stmp): Generate from
33542         abi-variants.
33543         * Makefile (installed-stubs): Likewise.
33544         * include/stubs-biarch.h: Removed.
33545         * scripts/lib-names.awk: Only handle one library at a time.
33546         * scripts/soversions.awk: Remove WORDSIZE support.
33547         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33548         entries.
33549         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33550         Removed.
33551         (syscall-list-default-condition): Likewise.
33552         (syscall-list-default-condition): Likewise.
33553         (syscall-list-includes): Likewise.
33554         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33555         syscall-list-* with abi-*.  Handle undefined abi-variants.
33556         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33557         * sysdeps/unix/sysv/linux/i386/Implies: New file.
33558         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33559         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33560         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33561         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33562         Removed.
33563         (syscall-list-32-options): Likewise.
33564         (syscall-list-32-condition): Likewise.
33565         (syscall-list-64-options): Likewise.
33566         (syscall-list-64-condition): Likewise.
33567         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33568         macro.
33569         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33570         Renamed to ...
33571         (abi-*): This.
33572         (abi-64-ld-soname): New macro.
33573         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33574         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33575         Renamed to ...
33576         (abi-*): This.
33577         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33578         * sysdeps/x86_64/x32/shlib-versions: Likewise.
33579
33580 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
33581
33582         * sysdeps/unix/sysv/linux/kernel-features.h
33583         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33584         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33585         include <kernel-features.h>.
33586         [!__NR_ftruncate64]: Remove conditional code.
33587         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33588         [__NR_ftruncate64]: Make code unconditional.
33589         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33590         * sysdeps/unix/sysv/linux/truncate64.c: Do not
33591         include <kernel-features.h>.
33592         [!__NR_ftruncate64]: Remove conditional code.
33593         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33594         [__NR_ftruncate64]: Make code unconditional.
33595         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33597         include <kernel-features.h>.
33598         [!__NR_ftruncate64]: Remove conditional code.
33599         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33600         [__NR_ftruncate64]: Make code unconditional.
33601         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33603         include <kernel-features.h>.
33604         [!__NR_ftruncate64]: Remove conditional code.
33605         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33606         [__NR_ftruncate64]: Make code unconditional.
33607         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33608
33609         * configure.in (libc_cv_fpie): Weaken to a compile test using
33610         LIBC_TRY_CC_OPTION.
33611         * configure: Regenerated.
33612
33613 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33614
33615         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33616         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33617         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33618         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33619         Refreshed.
33620         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33621         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33622         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33623         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33624         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33625         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33626         Refreshed.
33627
33628 2012-05-27  David S. Miller  <davem@davemloft.net>
33629
33630         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33631         (___Q_zero): New.
33632         (__Q_simulate_exceptions): Return void.  Change to simulate
33633         exceptions by writing into the %fsr.
33634         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33635         (__Qp_handle_exceptions): Likewise.
33636         (numbers): Delete.
33637         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33638         __Qp_handle_exceptions.
33639         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33640         __Qp_handle_exceptions.
33641         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33642         as unused and give dummy FP_RND_NEAREST initializer.
33643         (FP_INHIBIT_RESULTS): Define.
33644         (___Q_simulate_exceptions): Update declaration.
33645         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33646         formatting.
33647         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33648         as unused and give dummy FP_RND_NEAREST initializer.
33649         (__Qp_handle_exceptions): Update declaration.
33650         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33651         formatting.
33652
33653 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
33654
33655         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33656         the temporary FPU control word.
33657         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33658         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33659         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33660         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33661         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33662         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33663         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33664         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33665         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33666         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33667         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33668
33669 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33670
33671         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33672         fields.
33673
33674 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
33675
33676         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33677         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33678         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33679         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33680         Likewise.
33681         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33682         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33683         Likewise.
33684
33685 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
33686
33687         * po/h.po: Update from translation team.
33688
33689 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
33690
33691         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33692
33693         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33694         handling of denormals.
33695         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33696         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33697         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33698         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33699         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33700         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33701         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33702         Likewise.
33703
33704 2012-05-26  Marek Polacek  <polacek@redhat.com>
33705
33706         [BZ #14152]
33707         * math/libm-test.inc (fma_test): Don't always expect underflow
33708         exception.
33709
33710 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33711
33712         [BZ #12416]
33713         * elf/tst-execstack.c: Include stackinfo.h.
33714         (do_test): Adjust test case to ensure that pthread_getattr_np
33715         behaviour remains the same after marking stack executable.
33716
33717 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
33718
33719         * sysdeps/unix/sysv/linux/kernel-features.h
33720         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33721         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33722         kernel-features.h.
33723         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33724         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33725         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33726         kernel-features.h.
33727         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33728         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33729
33730 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
33731
33732         * configure.in: Define the default includes to being none.
33733         * configure: Regenerated.
33734
33735 2012-05-25  Roland McGrath  <roland@hack.frob.com>
33736
33737         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33738         * sysdeps/x86_64/setjmp.S: Likewise.
33739         * sysdeps/i386/bsd-setjmp.S: Likewise.
33740         * sysdeps/i386/bsd-_setjmp.S: Likewise.
33741         * sysdeps/i386/setjmp.S: Likewise.
33742         * sysdeps/i386/__longjmp.S: Likewise.
33743         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33744         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33745
33746         * include/stap-probe.h: New file.
33747         * configure.in: Handle --enable-systemtap.
33748         * configure: Regenerated.
33749         * config.h.in (USE_STAP_PROBE): New #undef.
33750         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33751         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33752         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33753
33754 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
33755
33756         [BZ #13717]
33757         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33758         to 2.4.0 where earlier.
33759         * sysdeps/unix/sysv/linux/configure: Regenerated.
33760         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33761         <kernel-features.h>.
33762         [__ASSUME_32BITUIDS]: Make code unconditional.
33763         [!__ASSUME_32BITUIDS]: Remove conditional code.
33764         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33765         <kernel-features.h>.
33766         [__ASSUME_32BITUIDS]: Make code unconditional.
33767         [!__ASSUME_32BITUIDS]: Remove conditional code.
33768         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33769         [__ASSUME_32BITUIDS]: Make code unconditional.
33770         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33771         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33772         <kernel-features.h>.
33773         [__ASSUME_32BITUIDS]: Make code unconditional.
33774         [!__ASSUME_32BITUIDS]: Remove conditional code.
33775         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33776         <kernel-features.h>.
33777         [__ASSUME_32BITUIDS]: Make code unconditional.
33778         [!__ASSUME_32BITUIDS]: Remove conditional code.
33779         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33780         <kernel-features.h>.
33781         [__ASSUME_32BITUIDS]: Make code unconditional.
33782         [!__ASSUME_32BITUIDS]: Remove conditional code.
33783         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33784         <kernel-features.h>.
33785         [__ASSUME_32BITUIDS]: Make code unconditional.
33786         [!__ASSUME_32BITUIDS]: Remove conditional code.
33787         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33788         <kernel-features.h>.
33789         [__ASSUME_32BITUIDS]: Make code unconditional.
33790         [!__ASSUME_32BITUIDS]: Remove conditional code.
33791         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33792         <kernel-features.h>.
33793         [__ASSUME_32BITUIDS]: Make code unconditional.
33794         [!__ASSUME_32BITUIDS]: Remove conditional code.
33795         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33796         <kernel-features.h>.
33797         [__ASSUME_32BITUIDS]: Make code unconditional.
33798         [!__ASSUME_32BITUIDS]: Remove conditional code.
33799         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33800         <kernel-features.h>.
33801         [__ASSUME_32BITUIDS]: Make code unconditional.
33802         [!__ASSUME_32BITUIDS]: Remove conditional code.
33803         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33804         <kernel-features.h>.
33805         [__ASSUME_32BITUIDS]: Make code unconditional.
33806         [!__ASSUME_32BITUIDS]: Remove conditional code.
33807         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33808         <kernel-features.h>.
33809         [__ASSUME_32BITUIDS]: Make code unconditional.
33810         [!__ASSUME_32BITUIDS]: Remove conditional code.
33811         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33812         <kernel-features.h>.
33813         [__NR_setresgid] (__setresgid): Do not declare.
33814         [__ASSUME_32BITUIDS]: Make code unconditional.
33815         [!__ASSUME_32BITUIDS]: Remove conditional code.
33816         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33817         <kernel-features.h>.
33818         [__NR_setresuid] (__setresuid): Do not declare.
33819         [__ASSUME_32BITUIDS]: Make code unconditional.
33820         [!__ASSUME_32BITUIDS]: Remove conditional code.
33821         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
33822         <kernel-features.h>.
33823         [__ASSUME_32BITUIDS]: Make code unconditional.
33824         [!__ASSUME_32BITUIDS]: Remove conditional code.
33825         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33826         <kernel-features.h>.
33827         [__ASSUME_32BITUIDS]: Make code unconditional.
33828         [!__ASSUME_32BITUIDS]: Remove conditional code.
33829         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33830         <kernel-features.h>.
33831         [__ASSUME_32BITUIDS]: Make code unconditional.
33832         [!__ASSUME_32BITUIDS]: Remove conditional code.
33833         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33834         <kernel-features.h>.
33835         [__ASSUME_32BITUIDS]: Make code unconditional.
33836         [!__ASSUME_32BITUIDS]: Remove conditional code.
33837         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33838         <kernel-features.h>.
33839         [__ASSUME_32BITUIDS]: Make code unconditional.
33840         [!__ASSUME_32BITUIDS]: Remove conditional code.
33841         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33842         <kernel-features.h>.
33843         [__ASSUME_32BITUIDS]: Make code unconditional.
33844         [!__ASSUME_32BITUIDS]: Remove conditional code.
33845         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33846         <kernel-features.h>.
33847         [__ASSUME_32BITUIDS]: Make code unconditional.
33848         [!__ASSUME_32BITUIDS]: Remove conditional code.
33849         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33850         <kernel-features.h>.
33851         [__ASSUME_32BITUIDS]: Make code unconditional.
33852         [!__ASSUME_32BITUIDS]: Remove conditional code.
33853         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33854         <kernel-features.h>.
33855         [__ASSUME_32BITUIDS]: Make code unconditional.
33856         [!__ASSUME_32BITUIDS]: Remove conditional code.
33857         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33858         <kernel-features.h>.
33859         [__ASSUME_32BITUIDS]: Make code unconditional.
33860         [!__ASSUME_32BITUIDS]: Remove conditional code.
33861         * sysdeps/unix/sysv/linux/kernel-features.h
33862         (__ASSUME_SETRESUID_SYSCALL): Remove.
33863         (__ASSUME_SETRESGID_SYSCALL): Likewise.
33864         (__ASSUME_32BITUIDS): Likewise.
33865         (__ASSUME_LDT_WORKS): Likewise.
33866         (__ASSUME_O_DIRECTORY): Likewise.
33867         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33868         architecture but not kernel version.
33869         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33870         (__ASSUME_MMAP2_SYSCALL): Likewise.
33871         (__ASSUME_STAT64_SYSCALL): Likewise.
33872         (__ASSUME_IPC64): Likewise.
33873         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33874         <kernel-features.h>.
33875         [__ASSUME_32BITUIDS]: Make code unconditional.
33876         [!__ASSUME_32BITUIDS]: Remove conditional code.
33877         * sysdeps/unix/sysv/linux/opendir.c: Do not include
33878         <kernel-features.h>.
33879         [__ASSUME_O_DIRECTORY]: Make code unconditional.
33880         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33881         132096]: Remove conditional code.
33882         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33883         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33884         <kernel-features.h>.
33885         [__ASSUME_32BITUIDS]: Make code unconditional.
33886         [!__ASSUME_32BITUIDS]: Remove conditional code.
33887         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33888         <kernel-features.h>.
33889         [__ASSUME_32BITUIDS]: Make code unconditional.
33890         [!__ASSUME_32BITUIDS]: Remove conditional code.
33891         * sysdeps/unix/sysv/linux/setegid.c: Do not include
33892         <kernel-features.h>.
33893         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33894         unconditional.
33895         (__setresgid): Do not declare.
33896         [__ASSUME_32BITUIDS]: Make code unconditional.
33897         [!__ASSUME_32BITUIDS]: Remove conditional code.
33898         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33899         <kernel-features.h>.
33900         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33901         unconditional.
33902         (__setresuid): Do not declare.
33903         [__ASSUME_32BITUIDS]: Make code unconditional.
33904         [!__ASSUME_32BITUIDS]: Remove conditional code.
33905         * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
33910         <kernel-features.h>.
33911         [__ASSUME_32BITUIDS]: Make code unconditional.
33912         [!__ASSUME_32BITUIDS]: Remove conditional code.
33913
33914 2012-05-25  Richard Henderson  <rth@twiddle.net>
33915
33916         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33917         dl_hwcap to ifunc resolver.
33918         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33919         elf_ifunc_invoke.
33920         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33921         dl_hwcap to ifunc resolver.
33922         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33923
33924 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33925
33926         [BZ #14153]
33927         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33928         for |x| <= 2**-26, not 2**-57.
33929         * math/libm-test.inc (acos_test): Do not allow spurious underflow
33930         exception.
33931
33932 2012-05-24  Jeff Law  <law@redhat.com>
33933
33934         * stdio-common/Makefile (tests): Add bug25.
33935         * stdio-common/bug25.c: New test.
33936
33937 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
33938
33939         [BZ #13576]
33940         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33941         multiple of MALLOC_ALIGNMENT in size.
33942         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33943
33944 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33945
33946         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33947         Require >= 256.
33948         (FILENAME_MAX): Use macro-int-constant.
33949         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
33950         (_IOFBF): Use macro-int-constant.
33951         (_IOLBF): Likewise.
33952         (_IONBF): Likewise.
33953         (SEEK_CUR): Likewise.
33954         (SEEK_END): Likewise.
33955         (SEEK_SET): Likewise.
33956         (TMP_MAX): Likewise.
33957         (EOF): Use macro-int-constant.  Require < 0.
33958         (NULL): Use macro-constant.  Require == 0.
33959         (stdin): Require type to be FILE *.
33960         (stdout): Likewise.
33961         (stderr): Likewise.
33962         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33963         macro-int-constant.
33964         (EXIT_SUCCESS): Likewise.
33965         (NULL): Use macro-constant.  Require == 0.
33966         (RAND_MAX): Use macro-int-constant.
33967         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33968         [C99-based standards] (strtof): Require function.
33969         [C99-based standards] (strtold): Likewise.
33970         [C99-based standards] (strtoll): Likewise.
33971         [C99-based standards] (strtoull): Likewise.
33972         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33973         [ISO || ISO99 || ISO11] (limits.h): Likewise.
33974         [ISO || ISO99 || ISO11] (math.h): Likewise.
33975         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33976         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33977         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33978
33979 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
33980
33981         [BZ #14132]
33982         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33983         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33984         * intl/dgettext.c (DCGETTEXT): Likewise.
33985         * intl/gettext.c (DCGETTEXT): Likewise.
33986         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33987         * posix/regex_internal.h (gettext): Likewise.
33988         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33989         Remove declaration.
33990         * include/argz.h (__argz_count_internal)
33991         (__argz_stringify_internal): Remove declaration.
33992         (__argz_count, __argz_stringify): Declare hidden proto.
33993         * intl/dcgettext.c: Remove use of INTDEF.
33994         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33995         * string/argz-stringify.c: Likewise.
33996         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33997         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33998         Declare hidden proto.
33999         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34000         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34001         Declare hidden proto.
34002         * include/stdio.h (__asprintf_internal): Don't declare.
34003         (__asprintf): Don't define as macro.  Declare hidden proto.
34004         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34005         (__fsetlocking): Declare hidden proto.
34006         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34007         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34008         hidden proto.
34009         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34010         (_IO_setlinebuf): Remove use of INTUSE.
34011         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34012         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34013         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34014         Remove declaration.
34015         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34016         (_IO_do_flush): Remove use of INTUSE.
34017         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34018         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34019         (_IO_adjust_column, _IO_least_wmarker)
34020         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34021         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34022         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34023         (_IO_default_doallocate, _IO_wdefault_doallocate)
34024         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34025         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34026         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34027         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34028         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34029         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34030         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34031         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34032         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34033         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34034         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34035         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34036         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34037         proto.
34038         (_IO_flush_all_internal, _IO_adjust_column_internal)
34039         (_IO_default_uflow_internal, _IO_default_finish_internal)
34040         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34041         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34042         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34043         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34044         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34045         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34046         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34047         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34048         (_IO_file_close_internal, _IO_file_close_it_internal)
34049         (_IO_file_underflow_internal, _IO_file_overflow_internal)
34050         (_IO_file_init_internal, _IO_file_attach_internal)
34051         (_IO_file_fopen_internal, _IO_file_read_internal)
34052         (_IO_file_sync_internal, _IO_file_seek_internal)
34053         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34054         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34055         (_IO_str_underflow_internal, _IO_str_overflow_internal)
34056         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34057         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34058         (_IO_list_all_internal, _IO_link_in_internal)
34059         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34060         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34061         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34062         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34063         (_IO_do_write_internal, _IO_padn_internal)
34064         (_IO_getline_info_internal, _IO_getline_internal)
34065         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34066         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34067         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34068         (_IO_vfscanf_internal, _IO_vfprintf_internal)
34069         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34070         (_IO_init_internal, _IO_un_link_internal): Don't declare.
34071         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34072         with libc_hidden_ver, remove use of INTUSE.
34073         * libio/genops.c: Likewise.
34074         * libio/freopen.c: Likewise.
34075         * libio/freopen64.c: Likewise.
34076         * libio/iofclose.c: Likewise.
34077         * libio/iofdopen.c: Likewise.
34078         * libio/iofflush.c: Likewise.
34079         * libio/iofflush_u.c: Likewise.
34080         * libio/iofgets.c: Likewise.
34081         * libio/iofgets_u.c: Likewise.
34082         * libio/iofopen.c: Likewise.
34083         * libio/iofopncook.c: Likewise.
34084         * libio/iofread.c: Likewise.
34085         * libio/iofread_u.c: Likewise.
34086         * libio/ioftell.c: Likewise.
34087         * libio/iofwrite.c: Likewise.
34088         * libio/iogetline.c: Likewise.
34089         * libio/iogets.c: Likewise.
34090         * libio/iogetwline.c: Likewise.
34091         * libio/iopadn.c: Likewise.
34092         * libio/iopopen.c: Likewise.
34093         * libio/ioseekoff.c: Likewise.
34094         * libio/ioseekpos.c: Likewise.
34095         * libio/iosetbuffer.c: Likewise.
34096         * libio/iosetvbuf.c: Likewise.
34097         * libio/ioungetc.c: Likewise.
34098         * libio/ioungetwc.c: Likewise.
34099         * libio/iovdprintf.c: Likewise.
34100         * libio/iovsprintf.c: Likewise.
34101         * libio/iovsscanf.c: Likewise.
34102         * libio/memstream.c: Likewise.
34103         * libio/obprintf.c: Likewise.
34104         * libio/oldfileops.c: Likewise.
34105         * libio/oldiofclose.c: Likewise.
34106         * libio/oldiofdopen.c: Likewise.
34107         * libio/oldiofopen.c: Likewise.
34108         * libio/oldiopopen.c: Likewise.
34109         * libio/oldstdfiles.c: Likewise.
34110         * libio/putc.c: Likewise.
34111         * libio/setbuf.c: Likewise.
34112         * libio/setlinebuf.c: Likewise.
34113         * libio/stdfiles.c: Likewise.
34114         * libio/strops.c: Likewise.
34115         * libio/vasprintf.c: Likewise.
34116         * libio/vscanf.c: Likewise.
34117         * libio/vsnprintf.c: Likewise.
34118         * libio/vswprintf.c: Likewise.
34119         * libio/wfiledoalloc.c: Likewise.
34120         * libio/wfileops.c: Likewise.
34121         * libio/wgenops.c: Likewise.
34122         * libio/wmemstream.c: Likewise.
34123         * libio/wstrops.c: Likewise.
34124         * libio/__fpurge.c: Likewise.
34125         * libio/__fsetlocking.c: Likewise.
34126         * assert/assert.c: Likewise.
34127         * debug/fgets_chk.c: Likewise.
34128         * debug/fgets_u_chk.c: Likewise.
34129         * debug/fread_chk.c: Likewise.
34130         * debug/fread_u_chk.c: Likewise.
34131         * debug/gets_chk.c: Likewise.
34132         * debug/obprintf_chk.c: Likewise.
34133         * debug/vasprintf_chk.c: Likewise.
34134         * debug/vdprintf_chk.c: Likewise.
34135         * debug/vsnprintf_chk.c: Likewise.
34136         * debug/vsprintf_chk.c: Likewise.
34137         * malloc/mtrace.c: Likewise.
34138         * misc/error.c: Likewise.
34139         * misc/syslog.c: Likewise.
34140         * stdio-common/asprintf.c: Likewise.
34141         * stdio-common/fxprintf.c: Likewise.
34142         * stdio-common/getw.c: Likewise.
34143         * stdio-common/isoc99_fscanf.c: Likewise.
34144         * stdio-common/isoc99_scanf.c: Likewise.
34145         * stdio-common/isoc99_vfscanf.c: Likewise.
34146         * stdio-common/isoc99_vscanf.c: Likewise.
34147         * stdio-common/isoc99_vsscanf.c: Likewise.
34148         * stdio-common/printf-prs.c: Likewise.
34149         * stdio-common/printf_fp.c: Likewise.
34150         * stdio-common/printf_fphex.c: Likewise.
34151         * stdio-common/printf_size.c: Likewise.
34152         * stdio-common/putw.c: Likewise.
34153         * stdio-common/scanf.c: Likewise.
34154         * stdio-common/sprintf.c: Likewise.
34155         * stdio-common/tmpfile.c: Likewise.
34156         * stdio-common/vfprintf.c: Likewise.
34157         * stdio-common/vfscanf.c: Likewise.
34158         * stdlib/strfmon_l.c: Likewise.
34159         * sunrpc/openchild.c: Likewise.
34160         * sunrpc/xdr_stdio.c: Likewise.
34161         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34162         * sysdeps/mach/hurd/tmpfile.c: Likewise.
34163
34164 2012-05-24  Roland McGrath  <roland@hack.frob.com>
34165
34166         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34167
34168         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34169         in the third column, to generate for the shared library an IFUNC
34170         that uses _dl_vdso_vsym.
34171         * Makerules (COMPILE.c, compile-stdin.c): New variables.
34172         * Makeconfig (object-suffixes-noshared): New variable.
34173
34174         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34175         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34176         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34177         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34178
34179         [BZ #14132]
34180         * include/sys/time.h (__gettimeofday): Remove macro.
34181         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34182         * time/gettimeofday.c (__gettimeofday): Remove #undef.
34183         Remove INTDEF.
34184         (__gettimeofday): Add libc_hidden_def.
34185         (gettimeofday): Add libc_hidden_weak.
34186         * sysdeps/mach/gettimeofday.c: Likewise.
34187         * sysdeps/posix/gettimeofday.c: Likewise.
34188         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34189         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34190         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34191         (__gettimeofday_internal): Remove strong_alias.
34192         (__gettimeofday): Add libc_hidden_def.
34193         (gettimeofday): Add libc_hidden_weak.
34194         * sysdeps/unix/syscalls.list (gettimeofday):
34195         Remove __gettimeofday_internal alias.
34196
34197 2012-05-24  Daniel Jacobowitz  <drow@false.org>
34198             H.J. Lu  <hongjiu.lu@intel.com>
34199
34200         [BZ #12495]
34201         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34202         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34203         (largebin_index_32_big): New.
34204         (largebin_index): Use it for 16-byte alignment.
34205         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
34206         correction with front_misalign.
34207
34208 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34209
34210         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34211         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34212         Likewise.
34213         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34214         Likewise.
34215         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34216         Likewise.
34217         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34218         Likewise.
34219         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34220         Likewise.
34221         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34222         Likewise.
34223         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34224         Likewise.
34225         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34226         Likewise.
34227         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34228         Likewise.
34229         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34230         Likewise.
34231         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34232         Likewise.
34233         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34234         Likewise.
34235
34236         * scripts/data/c++-types-x32-linux-gnu.data: New file.
34237         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34238
34239 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34240
34241         [BZ #10846]
34242         [BZ #14036]
34243         * math/libm-test.inc (exp_test): Add test from bug 14036.
34244         (pow_test): Add test from bug 10846.
34245
34246         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34247         and other flags.
34248         (special_function): Do not include flags in test name.
34249         (parse_args): Likewise.
34250         * sysdeps/i386/fpu/libm-test-ulps: Update.
34251         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34252         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34253         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34255
34256         * math/gen-libm-test.pl (%beautify): Add entries for underflow
34257         exceptions.
34258         * math/libm-test.inc ("Philosophy"): Update comment about
34259         exception testing.
34260         (UNDERFLOW_EXCEPTION): New macro.
34261         (UNDERFLOW_EXCEPTION_OK): Likewise.
34262         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34263         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34264         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34265         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34266         (INVALID_EXCEPTION_OK): Update value.
34267         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34268         (OVERFLOW_EXCEPTION_OK): Likewise.
34269         (IGNORE_ZERO_INF_SIGN): Likewise.
34270         (test_exceptions): Handle underflow exceptions.
34271         (acos_test): Update for underflow exception expectations.
34272         (cexp_test): Likewise.
34273         (clog_test): Likewise.
34274         (clog10_test): Likewise.
34275         (csqrt_test): Likewise.
34276         (ctan_test): Likewise.
34277         (ctanh_test): Likewise.
34278         (exp_test): Likewise.
34279         (exp10_test): Likewise.
34280         (exp2_test): Likewise.
34281         (expm1_test): Likewise.
34282         (fma_test): Likewise.
34283         (j0_test): Likewise.
34284         (jn_test): Likewise.
34285         (nexttoward_test): Likewise.
34286         (pow_test): Likewise.
34287         (scalbn_test): Likewise.
34288         (scalbln_test): Likewise.
34289         (tan_test): Likewise.
34290         (y1_test): Likewise.
34291         * sysdeps/i386/fpu/libm-test-ulps: Update.
34292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34293
34294 2012-05-23  David S. Miller  <davem@davemloft.net>
34295
34296         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34297         (__libc_sigaction): Remove unused local variables.
34298
34299 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34300
34301         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34302
34303 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
34304
34305         mktime: avoid signed integer overflow
34306         * time/mktime.c (__mktime_internal): Do not mishandle the case
34307         where diff == INT_MIN.
34308
34309         mktime: simplify computation of average
34310         * time/mktime.c (ranged_convert): Use new time_t_avg function
34311         instead of rolling our own (probably-slower) code.
34312
34313         mktime: do not assume signed right shift propagates sign bit
34314         * time/mktime.c (isdst_differ): New static function.
34315         (__mktime_internal): No need to normalize tm_isdst now.
34316         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34317         tm_isdst values.
34318
34319         mktime: merge another wrapv change from gnulib
34320         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34321         from some compilers.
34322
34323         mktime: remove incorrect attempt at unusual arithmetics
34324         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34325         The code didn't really work on such machines anyway.
34326         (TYPE_MINIMUM): Assume two's complement.
34327         (twos_complement_arithmetic): Verify that long_int and time_t
34328         are two's complement (or unsigned, in the latter case).
34329
34330         mktime: check signed shifts on long_int and time_t, too
34331         * time/mktime.c (SHR): Check that shifts work as desired
34332         on the types long_int and time_t too, as SHR is used on
34333         such types.
34334
34335         mktime: do not assume 'long' is wide enough
34336         * time/mktime.c (verify): Move decl up.
34337         (long_int): New type.
34338         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34339         to remove assumption in the code that 'long' is wide enough to
34340         store year values.  This assumption is not true on x32 and on
34341         some non-glibc platforms.
34342
34343         mktime: merge wrapv change from gnulib
34344         * time/mktime.c (WRAPV): New macro.
34345         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34346         (guess_time_tm, __mktime_internal): Do not assume that signed
34347         integer overflow wraps around; modern compilers generate code
34348         where this assumption is no longer valid.
34349
34350 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34351
34352         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34353         Replace "jmp L(pseudo_end)" with "ret".
34354         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34355         Likewise.
34356
34357 2012-05-23  Andreas Jaeger  <aj@suse.de>
34358
34359         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34360         * sysdeps/unix/sysv/linux/poll.c: Remove file.
34361
34362 2012-05-23  Andreas Jaeger  <aj@suse.de>
34363             Maximilian Attems  <max@stro.at>
34364
34365         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34366         New macros.
34367
34368 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34369
34370         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34371         code so that pseudo_end is just ret and the stack pointer is
34372         correct also for static library in error case.
34373
34374 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
34375
34376         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34377         move to syscalls.list.
34378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34382
34383         * manual/install.texi (Running make install): Do not mention Linux
34384         kernel version for which pt_chown is not needed.
34385         (Linux): Do not mention problems with nscd with 2.0 kernels.
34386         * INSTALL: Regenerated.
34387
34388 2012-05-23  Andreas Jaeger  <aj@suse.de>
34389
34390         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34391         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34392         macro.
34393         * sysdeps/unix/sysv/linux/s390/bits/mman.h
34394         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34395         * sysdeps/unix/sysv/linux/sh/bits/mman.h
34396         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34397         * sysdeps/unix/sysv/linux/i386/bits/mman.h
34398         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34399         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34400         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34401         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34402         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34403         * sysdeps/unix/sysv/linux/bits/in.h
34404         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34405
34406 2012-05-22  Roland McGrath  <roland@hack.frob.com>
34407
34408         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34409         (PREPARE_VERSION): Just use assert instead, it will be elided
34410         under [NDEBUG] anyway.
34411
34412 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34413
34414         * sysdeps/unix/sysv/linux/Makefile: Include
34415         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34416         (sysdep_routines): Remove sysctl.
34417         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34418         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34419         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34420         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34421         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34422
34423 2012-05-22  Andreas Jaeger  <aj@suse.de>
34424
34425         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34426         that pseudo_end is just ret and the stack pointer is correct also
34427         for static library in error case.
34428
34429 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
34430
34431         [BZ #14122]
34432         * nss/nsswitch.c (defconfig_entries): New variable.
34433         (__nss_database_lookup): Don't leak defconfig entries.
34434         (nss_parse_service_list): Don't leak on error paths.
34435         (free_database_entries): New function.
34436         (free_defconfig): New function.
34437         (free_mem): Move common code to free_database_entries.
34438
34439 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34440
34441         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34442         Add arch_prctl.
34443         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34444
34445         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34446         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34447         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34448         New macro.
34449         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34450         (INTERNAL_SYSCALL_TYPES): Likewise.
34451         (LOAD_ARGS_TYPES_[1-6]): Likewise.
34452         (LOAD_REGS_TYPES_[1-6]): Likewise.
34453         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34454         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34455
34456 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34457
34458         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34459         copysignl for GLIBC_2_0.
34460         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34461         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34462         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34463         logbl for GLIBC_2_0.
34464         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34465         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34466
34467 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34468
34469         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34470         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34471
34472         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34473         Use "neg %eax".
34474
34475         * time/mktime.c: Update copyright years.
34476
34477 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
34478
34479         mktime: merge comment-quoting-style change from gnulib
34480         * time/mktime.c: Quote 'like this' in comments.
34481         The GNU coding standards suggest that we no longer quote `like this',
34482         as "`" and "'" are typically rendered asymmetrically nowadays.
34483         The typical gnulib style is to quote 'like this' when quoting
34484         code, and "like this" when quoting English.
34485
34486         * time/mktime.c (compile-command): Add "-I.".
34487
34488         mktime: merge mktime-internal.h change from gnulib
34489         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34490
34491         mktime: merge time_r change from gnulib
34492         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34493
34494         mktime: merge DEBUG change from gnulib
34495         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34496         case system <time.h> has a #define.
34497
34498         mktime: merge <sys/types.h> change from gnulib
34499         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34500         since <time.t> is now guaranteed to define time_t.
34501
34502         mktime: merge HAVE_CONFIG_H change from gnulib
34503         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34504
34505 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34506
34507         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34508         Use "neg %eax".
34509
34510         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34511         __rlim_t cast.
34512         (struct rusage): Use anonymous union to pad each field to
34513         __syscall_slong_t.
34514
34515 2012-05-21  David S. Miller  <davem@davemloft.net>
34516
34517         * Makefules (o-iterator): Remove .s cases.
34518         (compile-command.s): Delete.
34519         (COMPILE.s): Delete.
34520         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34521
34522 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
34523
34524         * configure.in (libc_cv_predef_stack_protector): Only consider
34525         "foobar" and "__stack_chk_fail" lines in libc_undefs.
34526         * configure: Regenerated.
34527
34528 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34529
34530         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34531         New macro.  Use R*LP on int and pointer.
34532         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34533         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34534         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34535         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34536
34537         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34538         [__WORDSIZE_TIME64_COMPAT32] instead of
34539         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34540         (struct utmp): Likewise.
34541         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34542         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34543         Renamed to ...
34544         (__WORDSIZE_TIME64_COMPAT32): This.
34545         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34546         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34547         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34548         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34549         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34550         (__WORDSIZE_TIME64_COMPAT32): New macro.
34551
34552 2012-05-21  Andreas Jaeger  <aj@suse.de>
34553
34554         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34555         only if [SHARED]. Add prototype for __wcschr_ia32.
34556
34557 2012-05-21  Roland McGrath  <roland@hack.frob.com>
34558
34559         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34560         of %rbp unmolested in the jmp_buf while mangling the low bits.
34561         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34562         unmolested high bits of %rbp while demangling the low bits.
34563         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34564
34565 2012-05-21  Andreas Jaeger  <aj@suse.de>
34566
34567         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34568         * sunrpc/svc_simple.c: Use it for registerrpc.
34569         * sunrpc/xcrypt.c: Use it for passwd2des.
34570
34571         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34572
34573 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34574
34575         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34576         Don't define if [__SYSCALL_WORDSIZE != 32].
34577         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34578         New macro.
34579
34580 2012-05-21  Bruno Haible  <bruno@clisp.org>
34581             Andreas Jaeger  <aj@suse.de>
34582
34583         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34584         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34585         inptr and inend for must_buffer_ch.
34586         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34587         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34588         * stdio-common/Makefile (tests): Remove bug15.
34589         (bug15-ENV): Remove macro.
34590         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34591         anymore.
34592
34593 2012-05-19  Andreas Jaeger  <aj@suse.de>
34594             Roland McGrath  <roland@hack.frob.com>
34595
34596         * manual/contrib.texi: Completely rewritten. It contains now an
34597         alphabetical list of contributors and their contributions.
34598
34599 2012-05-21  Richard Henderson  <rth@twiddle.net>
34600
34601         * misc/getauxval.c (__getauxval): Use unsigned long int.
34602         * misc/sys/auxv.h: Include <sys/cdefs.h>.
34603         (getauxval): Use unsigned long int.
34604
34605 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34606
34607         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34608
34609 2012-05-21  Roland McGrath  <roland@hack.frob.com>
34610
34611         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34612         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34613         __alignof__ (long double).
34614
34615 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34616
34617         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34618
34619 2012-05-20  Richard Henderson  <rth@twiddle.net>
34620
34621         * misc/getauxval.c: New file.
34622         * misc/sys/auxv.h: New file.
34623         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34624         (routines): Add getauxval.
34625         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34626         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34627         * elf/dl-sysdep.c (_dl_auxv): Remove.
34628         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34629         * elf/dl-support.c (_dl_auxv): New variable.
34630         (_dl_aux_init): Initialize it.
34631         * manual/startup.texi (Auxiliary Vector): New node.
34632         * sysdeps/generic/bits/hwcap.h: New file.
34633         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34634         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
34635         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34636         * sysdeps/sparc/sysdep.h: ... here.  Include it.
34637         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34638         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34640         Update.
34641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34642         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34643         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34644         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34645         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34646         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34647         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34648         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34649
34650 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34651
34652         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34653
34654 2012-05-19  David S. Miller  <davem@davemloft.net>
34655
34656         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34657
34658 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
34659
34660         [BZ #14123]
34661         * math/s_ccosh.c: Include <float.h>
34662         (__ccosh): Avoid internal overflow calculating sinh and cosh
34663         values before multiplying by sin and cos values.
34664         * math/s_ccoshf.c: Likewise.
34665         * math/s_ccoshl.c: Likewise.
34666         * math/s_csin.c: Likewise.
34667         * math/s_csinf.c: Likewise.
34668         * math/s_csinl.c: Likewise.
34669         * math/s_csinh.c: Likewise.
34670         * math/s_csinhf.c: Likewise.
34671         * math/s_csinhl.c: Likewise.
34672         * math/libm-test.inc (ccos_test): Add more tests.
34673         (ccosh_test): Likewise.
34674         (csin_test): Likewise.
34675         (csinh_test): Likewise.
34676         * sysdeps/i386/fpu/libm-test-ulps: Update.
34677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34678
34679 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
34680
34681         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34682         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34683
34684         * sysdeps/x86_64/x32/_itoa.h: Add comment.
34685
34686 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
34687
34688         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34689         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34690         * sysdeps/powerpc/soft-fp/Versions: Likewise.
34691         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34692         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34693         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34694         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34695         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34696         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34697         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34698         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34699         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34700         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34701         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34702         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34703         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34704         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34705         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34706         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34707         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34708         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34709         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34710         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34711         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34712         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34713         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34714         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34715         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34716         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34717         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34718         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34719
34720 2012-05-18  Andreas Jaeger  <aj@suse.de>
34721
34722         * csu/.gitignore: Delete.
34723
34724 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34725
34726         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34727         (timex): Use __syscall_slong_t.
34728
34729 2012-05-18  Andreas Jaeger  <aj@suse.de>
34730             Carlos O'Donell  <carlos_odonell@mentor.com>
34731
34732         * manual/install.texi (Configuring and compiling): Update
34733         description about files modified in the source directory.
34734         * INSTALL: Regenerated.
34735
34736 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34737
34738         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34739         value.  Use "or" to set return value to -1.
34740         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34741         negate return value.
34742
34743 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34744
34745         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34746         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
34747         failure if the compiler has Graphite support disabled.
34748         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34749         Likewise.
34750         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34751         (CFLAGS-memmove.c): Likewise.
34752         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34753         Likewise.
34754
34755 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34756
34757         * sysdeps/x86_64/x32/_itoa.h: New file.
34758
34759         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34760         getdents system call only if kernel and user dirents have the
34761         same d_ino and d_off.
34762
34763         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34764         LLONG_MAX != LONG_MAX.
34765         (_itoa_word): Use _ITOA_WORD_TYPE on value.
34766         (_fitoa_word): Likewise.
34767
34768         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34769         years.
34770         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34771         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34772         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34773
34774         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34775         include <bits/wordsize.h>.  Check __x86_64__ instead of
34776         __WORDSIZE.
34777         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34778         if __x86_64__ is defined.  Use anonymous union on fpstate.
34779
34780         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34781         anonymous union.
34782
34783 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
34784
34785         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34786         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34787         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34788         Refer to _rtld_local_ro instead of _rtld_global_ro.
34789         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34790         Likewise.
34791         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34792         Likewise.
34793         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34794         Likewise.
34795         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34796         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34797         of _rtld_global, and rtld_progname instead of _dl_argv[0].
34798
34799         * sysdeps/powerpc/powerpc32/dl-machine.c
34800         (__elf_machine_runtime_setup) [PROF]: Don't reference
34801         _dl_prof_resolve.
34802
34803 2012-05-18  Andreas Jaeger  <aj@suse.de>
34804
34805         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34806         function only available for GCCs before 3.4 since GCC 3.4
34807         introduced a builtin.
34808         (lrint): Likewise.
34809         (llrintf): Likewise.
34810         (llrint): Likewise.
34811         (fmaxf): Likewise.
34812         (fmax): Likewise.
34813         (fminf): Likewise.
34814         (fmin): Likewise.
34815         (rint): Likewise.
34816         (rintf): Likewise.
34817         (nearbyint): Likewise.
34818         (nearbyintf): Likewise.
34819         (ceil): Likewise.
34820         (ceilf): Likewise.
34821         (floor): Likewise.
34822         (floorf): Likewise.
34823
34824 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34825
34826         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34827         on both fields and cast pointer to __syscall_ulong_t.
34828
34829         * bits/types.h (__fsword_t): New type.
34830         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34831         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34832         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34833         (__FSWORD_T_TYPE): Likewise.
34834         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34835         (__FSWORD_T_TYPE): Likewise.
34836         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34837         (__FSWORD_T_TYPE): Likewise.
34838         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34839         (__FSWORD_T_TYPE): Likewise.
34840         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34841         __SWORD_TYPE with __fsword_t.
34842         (statfs64): Likewise.
34843
34844 2012-05-17  David S. Miller  <davem@davemloft.net>
34845
34846         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34847
34848 2012-05-17  Andreas Jaeger  <aj@suse.de>
34849
34850         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34851         warning.
34852
34853 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34854
34855         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34856
34857 2012-05-17  Andreas Jaeger  <aj@suse.de>
34858
34859         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34860         when it is used.
34861
34862 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
34863
34864         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34865
34866 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34867
34868         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34869         * sysdeps/x86_64/tst-mallocalign1.c: New file.
34870
34871 2012-05-17  Andreas Jaeger  <aj@suse.de>
34872             Carlos O'Donell  <carlos_odonell@mentor.com>
34873
34874         [BZ #14059]
34875         * sysdeps/x86_64/multiarch/init-arch.h
34876         (bit_YMM_Usable): Rename to...
34877         (bit_AVX_Usable): ... this.
34878         (bit_FMA4_Usable): New macro.
34879         (bit_XMM_state): New macro.
34880         (bit_YMM_state): New macro.
34881         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34882         [__ASSEMBLER__] (index_AVX_Usable): ... this.
34883         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34884         (CPUID_OSXSAVE): New macro.
34885         (CPUID_AVX): New macro.
34886         (CPUID_FMA4): New macro.
34887         (index_YMM_Usable): Rename to...
34888         (index_AVX_Usable): ... this.
34889         (HAS_AVX): Use HAS_ARCH_FEATURE.
34890         (HAS_FMA4): Likewise.
34891         (HAS_YMM_USABLE): Remove.
34892         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34893         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34894         are present.
34895         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34896         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34897         * sysdeps/x86_64/multiarch/Makefile: Likewise.
34898         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34899         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34900
34901 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
34902
34903         * math/libm-test.c: Support platforms without multiple rounding modes.
34904         * math/bug-nextafter.c: Support platforms without FP exceptions.
34905         * math/bug-nexttoward.c: Likewise.
34906         * math/test-fenv.c: Likewise.
34907         * math/test-misc.c: Likewise.
34908         * stdlib/bug-getcontext.c: Likewise.
34909
34910 2012-05-17  Andreas Jaeger  <aj@suse.de>
34911
34912         * manual/examples/search.c (critter_cmp): Change signature to
34913         avoid warnings.
34914         * manual/string.texi (Collation Functions): Likewise.
34915
34916 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34917
34918         * bits/types.h: Fold copyright years.
34919         * bits/typesizes.h: Likewise.
34920         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34921         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34922         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34923         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34924         * time/time.h: Likewise.
34925
34926 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
34927
34928         [BZ #208]
34929         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34930         in instead of returning them.  Return void.
34931         (__libc_mallinfo): Accumulate over all arenas.
34932         (__malloc_stats): Adjust for change in int_mallinfo interface.
34933
34934 2012-05-16  Roland McGrath  <roland@hack.frob.com>
34935
34936         [BZ #10375]
34937         * configure.in (NM): Add AC_CHECK_TOOL for it.
34938         (libc_extra_cflags): New substituted variable.
34939         Check for -fstack-protector being used implicitly.
34940         * configure: Regenerated.
34941         * config.make.in (config-extra-cflags): New variable,
34942         gets @libc_extra_cflags@.
34943         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34944
34945         [BZ #10375]
34946         * configure.in: Check for _FORTIFY_SOURCE being predefined.
34947         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34948         * configure: Regenerated.
34949         * config.make.in (CPPUNDEFS): New substituted variable.
34950         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34951         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34952         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34953
34954 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34955
34956         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34957         (mq_attr): Use __syscall_slong_t.
34958
34959 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34960
34961         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34962         Check __x86_64__ instead of __WORDSIZE.
34963         (_STAT_VER_LINUX): Likewise.
34964         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
34965         __syscall_ulong_t and __syscall_slong_t.
34966         (stat64): Likewise.
34967
34968 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34969
34970         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34971
34972 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34973
34974         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34975
34976 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34977
34978         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34979         __syscall_ulong_t.
34980
34981         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34982         include <bits/wordsize.h>.  Check __x86_64__ instead of
34983         __WORDSIZE.
34984         (greg_t): Use "__extension__ long long int" if __x86_64__ is
34985         defined.
34986         (mcontext_t): Replace "unsigned long" with "unsigned long long".
34987
34988         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34989         include <bits/wordsize.h>.  Check __x86_64__ instead of
34990         __WORDSIZE.
34991         (user_regs_struct): Use "__extension__ unsigned long long"
34992         instead of "unsigned long" if __x86_64__ is defined.
34993         (user): Likewise.  Pad after pointer field if __ILP32__ is
34994         defined.
34995
34996 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
34997
34998         * configure.in (makeinfo): Require version 4.5 or later.  Allow
34999         versions 5 to 9.
35000         * configure: Regenerated.
35001         * manual/install.texi (texinfo): Increase version requirement to
35002         4.5 or later.
35003         * INSTALL: Regenerated.
35004
35005         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35006
35007 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35008
35009         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35010
35011         * sysdeps/x86_64/x32/ffs.c: New file.
35012
35013         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35014         __syscall_ulong_t.
35015         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35016         defined.  Use __syscall_ulong_t.
35017         (shminfo): Use __syscall_ulong_t.
35018         (shm_info): Likewise.
35019
35020         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35021         __syscall_ulong_t.
35022
35023         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35024         <bits/wordsize.h>.
35025         (msgqnum_t): Use __syscall_ulong_t.
35026         (msglen_t): Likewise.
35027         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
35028         __syscall_ulong_t.
35029
35030         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35031         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35032
35033         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35034
35035         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35036         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35037
35038         * sysvipc/sys/msg.h (msgbuf): Replace long int with
35039         __syscall_slong_t.
35040
35041         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35042         include <bits/wordsize.h>.  Check __x86_64__ instead of
35043         __WORDSIZE.
35044
35045         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35046         "unsigned long long int" if __x86_64__ is defined.
35047         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35048
35049         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35050         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35051         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35052
35053         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35054         <stdint.h>.
35055         (GET_PC): Cast to uintptr_t first.
35056         (GET_FRAME): Likewise.
35057         (GET_STACK): Likewise.
35058
35059         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35060         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35061         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35062         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35063         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35064         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35065         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35066         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35067         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35068         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35069         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35070         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35071         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35072         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35073         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35074         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35075         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35076         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35077         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35078         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35079         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35080         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35081         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35082         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35083         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35084         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35085         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35086         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35087         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35088
35089 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
35090
35091         * Makerules (+depfiles): Also collect depfiles from .oS in
35092         $(extra-objs).
35093         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35094         .oS, $(libnldbl-routines)).
35095
35096         * Makerules (native-compile-mkdep-flags): Define.
35097         * sunrpc/Makefile (extra-objs): Add $(addprefix
35098         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35099         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35100         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
35101         calling $(make-target-directory).
35102
35103 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35104
35105         * bits/types.h (__snseconds_t): Removed.
35106         * time/time.h (struct timespec): Replace __snseconds_t with
35107         __syscall_slong_t.
35108         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35109         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35110         Likewise.
35111         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35112         (__SNSECONDS_T_TYPE): Likewise.
35113         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35114         (__SNSECONDS_T_TYPE): Likewise.
35115         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35116         (__SNSECONDS_T_TYPE): Likewise.
35117
35118 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35119
35120         * sysdeps/mach/hurd/bits/typesizes.h
35121         (__SYSCALL_SLONG_TYPE): New macro.
35122         (__SYSCALL_ULONG_TYPE): Likewise.
35123
35124 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35125
35126         * bits/types.h (__syscall_slong_t): New type.
35127         (__syscall_ulong_t): Likewise.
35128
35129         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35130         (__SYSCALL_ULONG_TYPE): Likewise.
35131         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35132         (__SYSCALL_SLONG_TYPE): Likewise.
35133         (__SYSCALL_ULONG_TYPE): Likewise.
35134         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35135         (__SYSCALL_SLONG_TYPE): Likewise.
35136         (__SYSCALL_ULONG_TYPE): Likewise.
35137         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35138         (__SYSCALL_SLONG_TYPE): Likewise.
35139         (__SYSCALL_ULONG_TYPE): Likewise.
35140
35141 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35142
35143         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35144         Add sigaltstack-offsets.sym.
35145         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35146         <sigaltstack-offsets.h>.
35147         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
35148         longjmp_msg pointer.
35149         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
35150         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35151         signal stack.
35152         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35153
35154 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35155
35156         * elf/stackguard-macros.h: Remove file.
35157         * sysdeps/generic/stackguard-macros.h: New file.
35158         * sysdeps/i386/stackguard-macros.h: Likewise.
35159         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35160         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35161         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35162         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35163         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35164         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35165         * sysdeps/x86_64/stackguard-macros.h: Likewise.
35166         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35167         <elf/stackguard-macros.h>.
35168
35169         [BZ #14109]
35170         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35171         __aligned__ in attribute.
35172         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35173         (gregset_t): Likewise.
35174
35175 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35176
35177         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35178         * sysdeps/x86_64/64/Implies-after: Here.  New file.
35179         * sysdeps/x86_64/x32/Implies-after: New file.
35180
35181 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35182
35183         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35184         and access return value for _dl_profile_fixup.  Use R10_LP to
35185         load frame size.
35186
35187 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35188
35189         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35190
35191 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35192
35193         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35194         * sysdeps/x86_64/x32/sysdep.h: New file.
35195
35196 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35197
35198         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35199         * sysdeps/x86_64/setjmp.S: Likewise.
35200
35201 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35202
35203         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35204         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35205         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35206         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35207         remove unused global constant.
35208
35209 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
35210
35211         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35212         include of <not-cancel.h>.
35213
35214 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35215
35216         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35217
35218 2012-05-15  Jeff Law  <law@redhat.com>
35219             Andreas Jaeger  <aj@suse.de>
35220
35221         [BZ #13594]
35222         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35223         out from...
35224         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35225         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35226         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35227         code changing __hst_map_handle.map.
35228
35229 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35230
35231         * configure.in (sysnames): Look for Implies-before and Implies-after
35232         files.
35233         * configure: Regenerated.
35234
35235 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35236
35237         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35238         8-byte data alignment with LP_SIZE alignment.
35239
35240 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35241
35242         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35243         into R10_LP.
35244
35245 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35246
35247         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35248
35249 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35250
35251         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35252         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35253         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35254         Likewise.
35255         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35256
35257 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35258
35259         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35260         (stackinfo_sub_sp): Likewise.
35261
35262 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35263
35264         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35265         RAX_LP.
35266
35267 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35268
35269         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35270         into R*_LP.
35271
35272 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35273
35274         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35275         sizes into R*_LP.
35276
35277 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35278
35279         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35280
35281 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35282
35283         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35284         into R11_LP and load __x86_64_shared_cache_size_half into
35285         R8_LP.
35286
35287 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35288
35289         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35290         R8_LP.
35291
35292 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35293
35294         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35295         logb for POWER7.
35296         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35297         logbf for POWER7.
35298         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35299         logbl for POWER7.
35300         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35301         powerpc32/power7/fpu/s_logb.c via #include.
35302         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35303         powerpc32/power7/fpu/s_logbf.c via #include.
35304         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35305         powerpc32/power7/fpu/s_logbl.c via #include.
35306
35307 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35308
35309         * README.libm: Remove file.
35310
35311 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35312
35313         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35314         count for x32.  Use R*_LP and omit operand-size suffix.
35315
35316 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35317
35318         * shlib-versions: Move x86_64-.*-linux.* entries to ...
35319         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
35320         * sysdeps/x86_64/x32/shlib-versions: New file.
35321
35322 2012-05-14  Roland McGrath  <roland@hack.frob.com>
35323
35324         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35325         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35326         Use _dl_fatal_printf instead.
35327
35328 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35329
35330         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35331         set if not set by the user.  Do not allow for being unset.
35332         * sysdeps/unix/sysv/linux/configure: Regenerated.
35333
35334 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35335
35336         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35337         the `q' suffix from lea and replace .quad with ASM_ADDR.
35338
35339 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35340
35341         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35342         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
35343         instead of $17.
35344         (PTR_DEMANGLE): Likewise.
35345
35346 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35347
35348         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35349         (LP_OP): Likewise.
35350         (ASM_ADDR): Likewise.
35351         (RAX_LP): Likewise.
35352         (RBP_LP): Likewise.
35353         (RBX_LP): Likewise.
35354         (RCX_LP): Likewise.
35355         (RDI_LP): Likewise.
35356         (RSI_LP): Likewise.
35357         (RSP_LP): Likewise.
35358         (R8_LP): Likewise.
35359         (R9_LP): Likewise.
35360         (R10_LP): Likewise.
35361         (R10_LP): Likewise.
35362         (R11_LP): Likewise.
35363         (R12_LP): Likewise.
35364         (R13_LP): Likewise.
35365         (R14_LP): Likewise.
35366         (R15_LP): Likewise.
35367
35368 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35369
35370         * sysdeps/x86_64/x32/dl-machine.h: New file.
35371
35372 2012-05-14  Andreas Jaeger  <aj@suse.de>
35373
35374         * manual/Makefile (subdir): Remove export of subdir.
35375         (all): Remove target.
35376         (.PHONY): Remove all from list.
35377         (mkinstalldirs): Remove.
35378         (.PHONY): Remove installdirs from list.
35379         ($(inst_infodir)/libc.info): Use make-target-directory.
35380         (installdirs): Remove.
35381         (subdir_%): Remove.
35382         (glibc-targets): Remove.
35383         (lib): Remove.
35384         (stubs): Remove.
35385         ($(objpfx)stubs ../po/manual.pot): Remove.
35386         ($(objpfx)stamp%): Remove.
35387         (make-target-directory): Remove.
35388         (subdir_install): Remove.
35389         (routines): Remove.
35390         (aux): Remove.
35391         (sources): Remove.
35392         (objects): Remove.
35393         (headers): Remove.
35394
35395         [BZ #13750]
35396         * manual/.gitignore: Remove, it's not needed anymore.
35397         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35398         all files in it.
35399         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35400         directory.
35401         (texis): Renamed to $(objpfx)texis.
35402         (texis-path): New, contains path to generated files.
35403         (chapters.%): Use texis-path for complete path, add extra argument
35404         libc-texinfo.sh.
35405         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35406         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35407         (summary,texi, stamp-summary): Use complete path of
35408         files. Generate files in build dir.
35409         (dir-add.texi): Build in build dir.
35410         (libm-err.texi,stamp-libm-err): Likewise.
35411         (version.texi, stamp-version): Likewise.
35412         (.%c.texi): Likewise.
35413         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35414         (mostlyclean): Remove target.
35415         (realclean): Remove target.
35416         (generated): Add new variable with contents from mostlyclean and
35417         realclean, remove entries duplicated in common-mostlyclean, add
35418         stamp-libm-err and stamp-version.
35419         (generated-dirs): Add libc directory.
35420         ($(inst_infodir)/libc.info): Install files from build dir.
35421
35422         * manual/install.texi (Configuring and compiling): Adjust since
35423         the info files are not part of the tar ball anymore.
35424
35425 2012-05-14  Andreas Jaeger  <aj@suse.de>
35426
35427         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35428         variable.
35429
35430 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35431
35432         [BZ #13717]
35433         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35434         to 2.2.0 where earlier.
35435         * sysdeps/unix/sysv/linux/configure: Regenerated.
35436         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35437         Remove conditional code.
35438         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35439         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35440         Remove conditional code.
35441         [!__NR_lchown]: Likewise.
35442         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35443         [__NR_lchown]: Likewise.
35444         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35445         comment referencing __ASSUME_LCHOWN_SYSCALL.
35446         * sysdeps/unix/sysv/linux/i386/sigaction.c
35447         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35448         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35449         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35450         Remove conditional code.
35451         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35452         (__protocol_available): Remove #if 0 code.
35453         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35454         conditional code.
35455         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35456         * sysdeps/unix/sysv/linux/kernel-features.h
35457         (__ASSUME_GETCWD_SYSCALL): Don't define.
35458         (__ASSUME_REALTIME_SIGNALS): Likewise.
35459         (__ASSUME_PREAD_SYSCALL): Likewise.
35460         (__ASSUME_PWRITE_SYSCALL): Likewise.
35461         (__ASSUME_POLL_SYSCALL): Likewise.
35462         (__ASSUME_LCHOWN_SYSCALL): Likewise.
35463         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35464         non-SPARC.
35465         (__ASSUME_SIOCGIFNAME): Don't define.
35466         (__ASSUME_MSG_NOSIGNAL): Likewise.
35467         (__ASSUME_SENDFILE): Define unconditionally.
35468         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35469         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35470         conditional code.
35471         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35472         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35473         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35474         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35475         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35476         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35477         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35479         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35480         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35482         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35483         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35485         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35486         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35488         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35489         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35491         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35492         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35494         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35495         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35497         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35498         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35500         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35501         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35502         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35503         Remove conditional code.
35504         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35505         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35506         Remove conditional code.
35507         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35508         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35509         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35510         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35511         Remove conditional code.
35512         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35513         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35514         Remove conditional code.
35515         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35516         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35517         Remove conditional code.
35518         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35519         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35520         Remove conditional code.
35521         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35522         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35523         Remove conditional code.
35524         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35525         * sysdeps/unix/sysv/linux/sh/pwrite64.c
35526         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35527         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35528         * sysdeps/unix/sysv/linux/sigaction.c
35529         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35530         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35531         * sysdeps/unix/sysv/linux/sigpending.c
35532         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35533         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35534         * sysdeps/unix/sysv/linux/sigprocmask.c
35535         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35536         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35537         * sysdeps/unix/sysv/linux/sigsuspend.c
35538         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35539         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35540         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35541         (__libc_missing_rt_sigs): Remove.
35542         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35543         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35544         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35545         Remove conditional code.
35546         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35547         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35548         return 1.
35549         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35550         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35551         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35552         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35553
35554 2012-05-14  Andreas Jaeger  <aj@suse.de>
35555
35556         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35557         it's not used in glibc.
35558         (__coshm1): Likewise.
35559         (__acosh1p): Likewise.
35560         (__sgn): Likewise.
35561
35562         * manual/string.texi (Copying and Concatenation): Add missing
35563         variable in concat example.
35564         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35565
35566 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35567
35568         [BZ #14103]
35569         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35570         __builtin_clzl with __builtin_clzll.
35571
35572 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35573
35574         [BZ #14104]
35575         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35576         libc_freeres_ptr.
35577
35578 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35579
35580         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35581         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35582         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35583         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35584
35585 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
35586
35587         * NEWS: Update ia64 info.
35588
35589 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
35590
35591         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35592         used as bcopy.
35593
35594 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
35595
35596         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35597         * sysdeps/unix/syscalls.list (dup3): Likewise.
35598         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35599         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35600
35601 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
35602
35603         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35604         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35605
35606 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
35607
35608         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35609         thread pointer.
35610         (TLS_IE): Use mov/add instead of movq/addq to load thread
35611         pointer.
35612         (TLS_GD_PREFIX): New.
35613         (TLS_GD): Use it.
35614
35615 2012-05-11  David S. Miller  <davem@davemloft.net>
35616
35617         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35618         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35619         (_FPU_SETCW): Likewise.
35620
35621 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35622
35623         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35624         is 32-byte aligned.
35625
35626 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
35627
35628         [BZ #11837]
35629         * iconvdata/gb18030.c: Update tables.
35630         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
35631         characters specially.
35632         (BODY for TO_LOOP): Add encoding of missing ranges.
35633
35634 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
35635
35636         [BZ #13673]
35637         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35638         * sysdeps/mach/hurd/dup3.c: Likewise.
35639         * sysdeps/mach/hurd/readlinkat.c: Likewise.
35640         * sysdeps/powerpc/memmove.c:: Likewise.
35641
35642 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35643
35644         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35645         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35646
35647 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35648
35649         * elf/elf.h (R_X86_64_RELATIVE64): New.
35650         (R_X86_64_NUM): Updated.
35651         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35652         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
35653         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35654         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35655         tst-quad1pie tst-quad2pie
35656         (modules-names): Add tst-quadmod1 tst-quadmod2.
35657         ($(objpfx)tst-quad1): New dependency.
35658         ($(objpfx)tst-quad2): Likewise.
35659         ($(objpfx)tst-quad1pie): Likewise.
35660         ($(objpfx)tst-quad2pie): Likewise.
35661         * sysdeps/x86_64/tst-quad1.c: New file.
35662         * sysdeps/x86_64/tst-quad1pie.c: New file.
35663         * sysdeps/x86_64/tst-quad2.c: Likewise.
35664         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35665         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35666         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35667         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35668         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35669
35670 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35671
35672         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35673         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35674         * streams/stropts.h (t_scalar_t): Define type.
35675
35676         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35677         (_PATH_PRESERVE): Set to "/var/lib".
35678         (_PATH_RWHODIR): Set to "/var/spool/rwho".
35679
35680         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35681         instead of int.
35682
35683         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35684         if __dir_mkfile succeeded.
35685
35686         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35687         checking for _hurd_dtablesize.  Unlock it right after having
35688         finished _hurd_dtable allocation.
35689
35690 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35691
35692         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35693         * sysdeps/mach/hurd/configure: Regenerated.
35694         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35695         special-casing to...
35696         * sysdeps/gnu/configure.in: ... this new file.
35697         * sysdeps/unix/sysv/linux/configure: Regenerated.
35698         * sysdeps/gnu/configure: New generated file.
35699
35700         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35701         for Linux: use nsec instead of usec, as well as:
35702         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35703         members of type struct timespec.
35704         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35705         New macros.
35706         (struct stat64): Likewise.
35707         (_STATBUF_ST_NSEC): New macro.
35708         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35709
35710         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35711         __strtoul_internal rather than strtoul.
35712
35713 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35714
35715         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35716         and reject them.
35717
35718 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35719
35720         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35721         which preserves existing values.
35722         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35723
35724 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35725
35726         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35727         TIMEOUT values.  Return EINVAL for NFDS values either negative or
35728         greater than FD_SETSIZE.
35729
35730 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35731
35732         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35733         allocated, call __vm_protect to finish enabling the existing space, and
35734         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35735         allocate the remainder.
35736
35737 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35738
35739         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35740         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
35741
35742 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35743
35744         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35745         sysdeps/mach/hurd/readlink.c.
35746
35747         * posix/tst-sysconf.c (posix_options): Only use
35748         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35749         _POSIX_SYNCHRONIZED_IO when they are defined
35750         * sysdeps/mach/hurd/bits/posix_opt.h:
35751         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35752         (_XOPEN_REALTIME): Undefine macro.
35753         (_XOPEN_REALTIME_THREADS): Undefine macro.
35754         (_XOPEN_SHM): Undefine macro.
35755         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35756         macro to -1.
35757         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35758         macro to -1.
35759         (_POSIX_ASYNC_IO): Undefine macro.
35760         (_POSIX_PRIORITIZED_IO): Undefine macro.
35761         (_POSIX_SPIN_LOCKS): Define macro to -1.
35762
35763         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35764         SA_NODEFER, SA_RESETHAND.
35765         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35766         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35767         F_DUPFD_CLOEXEC.
35768
35769 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35770
35771         * elf/Makefile (pldd-modules): Define unconditionally.
35772
35773 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35774
35775         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35776
35777 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35778
35779         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35780         Return ENOENT when name is empty.
35781         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35782
35783 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35784
35785         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35786
35787         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35788
35789 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35790
35791         Fix mlock in all cases except non-readable pages.
35792         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35793         instead of VM_PROT_ALL as parameter to __vm_wire function.
35794
35795         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35796         (__mkdir): When path is `/', just fail with EEXIST.
35797         * sysdeps/mach/hurd/mkdirat.c: Likewise.
35798
35799 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35800
35801         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35802         <sys/uio.h> (for writev).
35803         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35804         and <sys/param.h> (for MIN).
35805
35806 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35807
35808         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35809         REQUESTED_TIME.  Properly set the remaining time and return EINTR
35810         if interrupted.
35811
35812 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35813
35814         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35815         Depend on against $(link-rpcuserlibs).
35816
35817 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35818
35819         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35820         (__libc_stack_end): Do not use attribute_relro.
35821         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35822         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
35823         to libthread-provided value.
35824         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35825         attribute_relro.
35826
35827 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35828
35829         [BZ #3748]
35830         * bits/libc-lock.h (__libc_once_get): New macro.
35831         * sysdeps/mach/bits/libc-lock.h: Likewise.
35832         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35833         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35834         instead of using implementation details.
35835
35836         * libio/fileops.c: Unconditionally include <kernel-features.h>.
35837         * libio/freopen.c: Likewise.
35838         * libio/freopen64.c: Likewise.
35839         * misc/syslog.c: Likewise.
35840         * nscd/connections.c: Likewise.
35841         * nscd/netgroupcache.c: Likewise.
35842         * sysdeps/posix/getcwd.c: Likewise.
35843
35844 2012-05-10  Roland McGrath  <roland@hack.frob.com>
35845
35846         * math/w_ilogbf.c: Add #include <limits.h>.
35847
35848 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35849
35850         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
35851         path instead of returning without unlocking.
35852
35853         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35854         immediate-write ioctls.
35855         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35856
35857 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35858
35859         * sysdeps/mach/hurd/i386/init-first.c (init): Use
35860         __builtin_frame_address instead of making assumptions about the
35861         location of the return address relative to DATA.  Force early load of
35862         the return address.
35863         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35864         __builtin_frame_address.
35865
35866         dup3 for GNU Hurd.
35867         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35868         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
35869         implement dup3 and do some further code clean-ups.
35870         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35871         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35872
35873 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35874
35875         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35876
35877         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35878         HURD_CRITICAL_END around holding _hurd_dtable_lock.
35879         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35880         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35881         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35882         d->port.lock.
35883
35884         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35885         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
35886         when handler == SIG_ERR, not when handler != SIG_ERR.
35887
35888 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35889
35890         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35891         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35892         definitions.
35893
35894         accept4 for GNU Hurd.
35895         * include/sys/socket.h (__libc_accept4): New prototype.
35896         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
35897         to implement __libc_accept4.
35898         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35899         __libc_accept4.
35900         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35901
35902         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35903         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35904         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35905         signal-defines.sym.
35906
35907 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35908
35909         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35910
35911 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35912
35913         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35914         assertion on O_CLOEXEC flag.
35915         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35916         * hurd/intern-fd.c: Likewise.
35917         * hurd/port2fd.c: Likewise.
35918
35919 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35920
35921         [BZ #3906]
35922         * bits/in.h (IPV6_PKTINFO): Define new macro.
35923         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35924
35925 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35926
35927         [BZ #13954]
35928         [BZ #13955]
35929         [BZ #13956]
35930         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35931         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35932         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35933         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35934         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35935         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35936         * math/libm-test.inc (logb_test) : Additional logb tests.
35937
35938 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
35939             Andreas Jaeger  <aj@suse.de>
35940
35941         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35942         * configure: Regenerated.
35943         * config.h.in (LINK_OBSOLETE_RPC): New macro.
35944         * config.make.in (link-obsolete-rpc): New substituted variable.
35945         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35946         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35947         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35948         (shared-only-routines): Don't set it under [link-obsolete-rpc],
35949         so that libc.a contains the symbols.
35950         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35951         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35952         * sunrpc/auth_none.c: Likewise.
35953         * sunrpc/auth_unix.c: Likewise.
35954         * sunrpc/authdes_prot.c: Likewise.
35955         * sunrpc/authuxprot.c: Likewise.
35956         * sunrpc/clnt_gen.c: Likewise.
35957         * sunrpc/clnt_perr.c: Likewise.
35958         * sunrpc/clnt_raw.c: Likewise.
35959         * sunrpc/clnt_simp.c: Likewise.
35960         * sunrpc/clnt_tcp.c: Likewise.
35961         * sunrpc/clnt_udp.c: Likewise.
35962         * sunrpc/clnt_unix.c: Likewise.
35963         * sunrpc/des_crypt.c: Likewise.
35964         * sunrpc/des_soft.c: Likewise.
35965         * sunrpc/get_myaddr.c: Likewise.
35966         * sunrpc/key_call.c: Likewise.
35967         * sunrpc/key_prot.c: Likewise.
35968         * sunrpc/netname.c: Likewise.
35969         * sunrpc/pm_getmaps.c: Likewise.
35970         * sunrpc/pm_getport.c: Likewise.
35971         * sunrpc/pmap_clnt.c: Likewise.
35972         * sunrpc/pmap_prot.c: Likewise.
35973         * sunrpc/pmap_prot2.c: Likewise.
35974         * sunrpc/pmap_rmt.c: Likewise.
35975         * sunrpc/publickey.c: Likewise.
35976         * sunrpc/rpc_cmsg.c: Likewise.
35977         * sunrpc/rpc_common.c: Likewise.
35978         * sunrpc/rpc_dtable.c: Likewise.
35979         * sunrpc/rpc_prot.c: Likewise.
35980         * sunrpc/rpc_thread.c: Likewise.
35981         * sunrpc/rtime.c: Likewise.
35982         * sunrpc/svc.c: Likewise.
35983         * sunrpc/svc_auth.c: Likewise.
35984         * sunrpc/svc_raw.c: Likewise.
35985         * sunrpc/svc_run.c: Likewise.
35986         * sunrpc/svc_tcp.c: Likewise.
35987         * sunrpc/svc_udp.c: Likewise.
35988         * sunrpc/svc_unix.c: Likewise.
35989         * sunrpc/svcauth_des.c: Likewise.
35990         * sunrpc/xcrypt.c: Likewise.
35991         * sunrpc/xdr.c: Likewise.
35992         * sunrpc/xdr_array.c: Likewise.
35993         * sunrpc/xdr_float.c: Likewise.
35994         * sunrpc/xdr_intXX_t.c: Likewise.
35995         * sunrpc/xdr_mem.c: Likewise.
35996         * sunrpc/xdr_rec.c: Likewise.
35997         * sunrpc/xdr_ref.c: Likewise.
35998         * sunrpc/xdr_sizeof.c: Likewise.
35999         * sunrpc/xdr_stdio.c: Likewise.
36000
36001 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36002
36003         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36004         change.  Update copyright years.
36005
36006 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36007
36008         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36009
36010 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
36011             Joseph Myers  <joseph@codesourcery.com>
36012             Paul Pluzhnikov  <ppluzhnikov@google.com>
36013
36014         [BZ #14012]
36015         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36016         requiring rpcgen.
36017         [cross-compiling] (extra-libs): Likewise.
36018         [cross-compiling] (extra-libs-others): Likewise.
36019         [cross-compiling] (librpcsvc-routines): Likewise.
36020         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36021         [cross-compiling] (omit-deps): Likewise.
36022         (sunrpc-CPPFLAGS): New variable.
36023         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36024         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36025         (cross-rpcgen-objs): New variable.
36026         (extra-objs): Append $(cross-rpcgen-objs).
36027         ($(cross-rpcgen-objs)): New rule.
36028         ($(objpfx)cross-rpcgen): Likewise.
36029         (rpcgen-cmd): Define to use $(built-program-file).  Expand
36030         comment.
36031         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36032         ($(objpfx)x%.stmp): Likewise.
36033         * sunrpc/proto.h [IS_IN_build] (_): Define.
36034         [IS_IN_build] (_libc_intl_domainname): Likewise.
36035
36036 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36037
36038         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36039         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36040         and R_X86_64_TPOFF64.
36041
36042 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36043
36044         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36045         sysdeps/unix/sysv/syscalls.list.
36046         (stime): Likewise.
36047         (utime): Likewise.
36048         * sysdeps/unix/sysv/syscalls.list: Remove file.
36049
36050 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
36051
36052         [BZ #3440]
36053         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36054         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36055         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36056         (__LC_IDENTIFICATION): Make these macros useful in #if
36057         expressions, as required by C99.
36058
36059 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
36060
36061         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36062         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
36063         after this.
36064
36065 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
36066
36067         * stdlib/longlong.h: Updated from GCC.
36068
36069 2012-05-09  Andreas Jaeger  <aj@suse.de>
36070
36071         * nscd/nscd.c (run_modes): Make named enum, reorder so that
36072         default is first entry.
36073         (run_mode): Set type.
36074         (main): Remove informal message about syslog.
36075         (options): Fix typo.
36076
36077         [BZ #14053]
36078         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36079         to asm.
36080         (lrint): Likewise.
36081         (llrintf): Likewise.
36082         (llrint): Likewise.
36083         (rint): Likewise.
36084         (rintf): Likewise.
36085         (nearbyint): Likewise.
36086         (nearbyintf): Likewise.
36087
36088 2012-05-09  Andreas Jaeger  <aj@suse.de>
36089             Pedro Alves  <palves@redhat.com>
36090
36091         * nscd/nscd.c (run_mode): Use enum.
36092         (main): Cleanup coding style issue.
36093
36094 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
36095             Andreas Jaeger  <aj@suse.de>
36096
36097         * nscd/nscd.c (go_background): Replaced with...
36098         (run_mode): ... this.
36099         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36100         (options): Add -F --foreground.
36101         (main): Implement it.
36102         (parse_opt): Parse it.
36103
36104 2012-05-09  Andreas Jaeger  <aj@suse.de>
36105
36106         [BZ #14083]
36107         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36108         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36109         -Wconversion warning.
36110         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36111         Likewise.
36112
36113 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
36114
36115         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
36116         == 0.
36117         (LC_ALL): Use macro-int-constant.
36118         (LC_COLLATE): Likewise.
36119         (LC_CTYPE): Likewise.
36120         (LC_MESSAGES): Likewise.
36121         (LC_MONETARY): Likewise.
36122         (LC_NUMERIC): Likewise.
36123         (LC_TIME): Likewise.
36124         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36125         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36126         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36127         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36128         Specify type.
36129         [C99-based standards] (float_t): Expect type.
36130         [C99-based standards] (double_t): Expect type.
36131         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
36132         type.
36133         [C99-based standards] (HUGE_VALL): Likewise.
36134         [C99-based standards] (INFINITY): Likewise.
36135         [C99-based standards] (NAN): Likewise.
36136         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36137         [C99-based standards] (FP_NAN): Likewise.
36138         [C99-based standards] (FP_NORMAL): Likewise.
36139         [C99-based standards] (FP_SUBNORMAL): Likewise.
36140         [C99-based standards] (FP_ZERO): Likewise.
36141         [C99-based standards] (FP_FAST_FMA): Use
36142         optional-macro-int-constant.  Specify type.  Require == 1.
36143         [C99-based standards] (FP_FAST_FMAF): Likewise.
36144         [C99-based standards] (FP_FAST_FMAL): Likewise.
36145         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36146         [C99-based standards] (FP_ILOGBNAN): Likewise.
36147         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36148         Specify type.
36149         [C99-based standards] (MATH_ERREXCEPT): Likewise.
36150         [C99-based standards] (math_errhandling): Specify type.
36151         [ISO99 || ISO11] (signgam): Do not allow.
36152         [non-C99-based standards] (copysignf): Do not allow.
36153         [non-C99-based standards] (exp2f): Likewise.
36154         [non-C99-based standards] (log2f): Likewise.
36155         [non-C99-based standards] (modff): Allow.
36156         [non-C99-based standards] (erff): Do not allow.
36157         [non-C99-based standards] (erfcf): Likewise.
36158         [non-C99-based standards] (gammaf): Likewise.
36159         [non-C99-based standards] (hypotf): Likewise.
36160         [non-C99-based standards] (j0f): Likewise.
36161         [non-C99-based standards] (j1f): Likewise.
36162         [non-C99-based standards] (jnf): Likewise.
36163         [non-C99-based standards] (lgammaf): Likewise.
36164         [non-C99-based standards] (tgammaf): Likewise.
36165         [non-C99-based standards] (y0f): Likewise.
36166         [non-C99-based standards] (y1f): Likewise.
36167         [non-C99-based standards] (ynf): Likewise.
36168         [non-C99-based standards] (isnanf): Likewise.
36169         [non-C99-based standards] (acoshf): Likewise.
36170         [non-C99-based standards] (asinhf): Likewise.
36171         [non-C99-based standards] (atanhf): Likewise.
36172         [non-C99-based standards] (cbrtf): Likewise.
36173         [non-C99-based standards] (expm1f): Likewise.
36174         [non-C99-based standards] (ilogbf): Likewise.
36175         [non-C99-based standards] (log1pf): Likewise.
36176         [non-C99-based standards] (logbf): Likewise.
36177         [non-C99-based standards] (nextafterf): Likewise.
36178         [non-C99-based standards] (remainderf): Likewise.
36179         [non-C99-based standards] (rintf): Likewise.
36180         [non-C99-based standards] (scalbf): Likewise.
36181         [non-C99-based standards] (copysignl): Likewise.
36182         [non-C99-based standards] (exp2l): Likewise.
36183         [non-C99-based standards] (log2l): Likewise.
36184         [non-C99-based standards] (modfl): Allow.
36185         [non-C99-based standards] (erfl): Do not allow.
36186         [non-C99-based standards] (erfcl): Likewise.
36187         [non-C99-based standards] (gammal): Likewise.
36188         [non-C99-based standards] (hypotl): Likewise.
36189         [non-C99-based standards] (j0l): Likewise.
36190         [non-C99-based standards] (j1l): Likewise.
36191         [non-C99-based standards] (jnl): Likewise.
36192         [non-C99-based standards] (lgammal): Likewise.
36193         [non-C99-based standards] (tgammal): Likewise.
36194         [non-C99-based standards] (y0l): Likewise.
36195         [non-C99-based standards] (y1l): Likewise.
36196         [non-C99-based standards] (ynl): Likewise.
36197         [non-C99-based standards] (isnanl): Likewise.
36198         [non-C99-based standards] (acoshl): Likewise.
36199         [non-C99-based standards] (asinhl): Likewise.
36200         [non-C99-based standards] (atanhl): Likewise.
36201         [non-C99-based standards] (cbrtl): Likewise.
36202         [non-C99-based standards] (expm1l): Likewise.
36203         [non-C99-based standards] (ilogbl): Likewise.
36204         [non-C99-based standards] (log1pl): Likewise.
36205         [non-C99-based standards] (logbl): Likewise.
36206         [non-C99-based standards] (nextafterl): Likewise.
36207         [non-C99-based standards] (remainderl): Likewise.
36208         [non-C99-based standards] (rintl): Likewise.
36209         [non-C99-based standards] (scalbl): Likewise.
36210         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36211         [non-C99-based standards] (FP_*): Do not allow.
36212         [C99-based standards] (FP_*): Change to
36213         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36214         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36215         allow.
36216         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36217         (SIG_ERR): Likewise.
36218         [X/Open-based standards] (SIG_HOLD): Likewise.
36219         (SIG_IGN): Likewise.
36220         (SIGABRT): Use macro-int-constant.  Specify type.  Require
36221         positive value.
36222         (SIGFPE): Likewise.
36223         (SIGILL): Likewise.
36224         (SIGINT): Likewise.
36225         (SIGSEGV): Likewise.
36226         (SIGTER): Likewise.
36227         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36228         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36229         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36230         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36231         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36232         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36233         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36234         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36235         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36236         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36237         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36238         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36239         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36240         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36241         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36242         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36243         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36244         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36245         [X/Open-based standards] (SIGTRAP): Likewise.
36246         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36247         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36248         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36249         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36250         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36251         allow.
36252
36253 2012-05-08  Ian Wienand  <ianw@vmware.com>
36254
36255         [BZ #14080]
36256         * time/tzset.c (__tzset_parse_tz): Update default rules for
36257         daylight time changes in the Energy Policy Act of 2005.
36258
36259 2012-05-09  Andreas Jaeger  <aj@suse.de>
36260
36261         [BZ #13983]
36262         * elf/ldconfig.c (parse_conf): Change string to make clear that
36263         ldconfig only issued a warning if ld.so.conf does not exist.
36264
36265 2012-05-08  David S. Miller  <davem@davemloft.net>
36266
36267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36268         movxtod instead of popping the value on the stack.
36269
36270         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36271
36272 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
36273
36274         * config.h.in: Add HAVE_ARM_PCS_VFP.
36275
36276 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
36277
36278         [BZ #13979]
36279         * include/features.h: Warn if user requests __FORTIFY_SOURCE
36280         checking but the checks are disabled for any reason.
36281
36282 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
36283
36284         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36285         and ELF64_R_TYPE with ELFW(R_TYPE).
36286
36287 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
36288
36289         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36290         (ulimit): Likewise.
36291
36292         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36293         (settimeofday): Likewise.
36294
36295 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
36296
36297         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
36298         a struct th_u2 inside the union, and move tu_block/tu_code into
36299         a new th_u3 union of tu_block/tu_code inside of that.  Move
36300         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
36301         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
36302         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36303         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36304         (th_stuff): Change to th_u1.tu_stuff.
36305         (th_data): Define.
36306         (th_msg): Change to th_u1.th_u2.tu_data.
36307
36308 2012-05-07  David S. Miller  <davem@davemloft.net>
36309
36310         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36311
36312         [BZ #14074]
36313         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36314         (SETUP_PIC_REG): Use it.
36315         (SETUP_PIC_REG_LEAF): Use it.
36316
36317 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
36318
36319         [BZ #13885]
36320         [BZ #13923]
36321         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36322         USE_AS_EXPM1L.
36323         (EXPL_FINITE): Likewise.
36324         (FLDLOG): Likewise.
36325         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36326         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36327         e_expl.S.
36328         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36329         USE_AS_EXPM1L.
36330         (EXPL_FINITE): Likewise.
36331         (FLDLOG): Likewise.
36332         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36333         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36334         e_expl.S.
36335         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
36336         test of -max_value argument for long double.
36337         * sysdeps/i386/fpu/libm-test-ulps: Update.
36338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36339
36340 2012-05-06  David S. Miller  <davem@davemloft.net>
36341
36342         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36343         quad soft-float symbols whose references which are compiler
36344         generated.
36345         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36346
36347 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
36348
36349         [BZ #13884]
36350         [BZ #13914]
36351         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36352         USE_AS_EXP10L.
36353         (EXPL_FINITE): Likewise.
36354         (FLDLOG): Likewise.
36355         (c0): Likewise.
36356         (c1): Likewise.
36357         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36358         Adjust comments for base varying.
36359         (__expl_finite): Change alias to EXPL_FINITE.
36360         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36361         e_expl.S.
36362         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36363         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36364         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36365         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36366         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36367         USE_AS_EXP10L.
36368         (EXPL_FINITE): Likewise.
36369         (FLDLOG): Likewise.
36370         (c0): Likewise.
36371         (c1): Likewise.
36372         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36373         Adjust comments for base varying.
36374         (__expl_finite): Change alias to EXPL_FINITE.
36375         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
36376         tests for bugs.
36377         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36378
36379         [BZ #14064]
36380         * math/libm-test.inc (check_float_internal): Correct ulp
36381         calculation for subnormal expected results.
36382
36383 2012-05-06  Andreas Jaeger  <aj@suse.de>
36384
36385         * Makeconfig (+math-flags): New, set to -frounding-math.
36386         (+cflags): Add +math-flags so that all of glibc gets compiled with
36387         it.
36388
36389         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36390
36391 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
36392
36393         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36394         Disable one test.
36395
36396         [BZ #13787]
36397         [BZ #13922]
36398         [BZ #14036]
36399         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36400         (__ieee754_expl): Allow for and saturate large arguments.
36401         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36402         (u_threshold): Likewise.
36403         (__exp): Call __ieee754_exp before checking for overflow and
36404         underflow.
36405         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36406         (u_threshold): Likewise.
36407         (__expf): Call __ieee754_expf before checking for overflow and
36408         underflow.
36409         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36410         (u_threshold): Likewise.
36411         (__expl): Call __ieee754_expl before checking for overflow and
36412         underflow.
36413         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36414         (__ieee754_expl): Allow for and saturate large arguments.
36415         * math/libm-test.inc (exp_test): Add another test.  Do not allow
36416         missing overflow exception on overflow.
36417         (expm1_test): Do not allow missing overflow exception on overflow.
36418
36419         * sysdeps/i386/fpu/e_expl.c: Move to ...
36420         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
36421         rather than using inline asm.
36422         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36423         * sysdeps/x86_64/fpu/e_expl.S: Copy from
36424         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36425
36426         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36427         (nice): Likewise.
36428         (poll): Likewise.
36429         (signal): Likewise.
36430         (time): Likewise.
36431         (times): Likewise.
36432
36433 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36434
36435         * sysdeps/unix/syscalls.list (adjtime): Add entry from
36436         sysdeps/unix/common/syscalls.list.
36437         (fchmod): Likewise.
36438         (fchown): Likewise.
36439         (ftruncate): Likewise.
36440         (getrusage): Likewise.
36441         (gettimeofday): Likewise.
36442         (setpgid): Likewise.
36443         (setregid): Likewise.
36444         (setreuid): Likewise.
36445         (sigaction): Likewise.
36446         (truncate): Likewise.
36447         (vhangup): Likewise.
36448         * sysdeps/unix/common/syscalls.list: Remove file.
36449         * sysdeps/unix/bsd/Implies: Don't include unix/common.
36450         * sysdeps/unix/sysv/linux/Implies: Likewise.
36451
36452 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
36453
36454         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36455         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36456         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36457         Moved to ...
36458         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36459         Here.
36460         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36461         to ...
36462         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36463         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36464         to ...
36465         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36466         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36467         to ...
36468         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36469         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36470         to ...
36471         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36472         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36473         to ...
36474         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36475         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36476         to ...
36477         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36478         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36479         to ...
36480         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36481         Here.
36482         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36483         to ...
36484         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36485         Here.
36486         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36487         to ...
36488         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36489         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36490         Moved to ...
36491         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36492         Here.
36493         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36494         to ...
36495         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36496
36497 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36498
36499         * sysdeps/unix/common/bits/dirent.h: Remove file.
36500         * sysdeps/unix/common/bits/fcntl.h: Likewise.
36501
36502         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36503         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36504         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36505         * sysdeps/unix/bsd/isatty.c: Likewise.
36506         * sysdeps/unix/bsd/tcdrain.c: Likewise.
36507         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36508         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36509
36510 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36511
36512         [BZ #13563]
36513         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36514         long double comparison inaccuracies.
36515         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36516         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36517
36518 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
36519
36520         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36521         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36522
36523 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36524
36525         [BZ #14049]
36526         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36527         nonzero digits before rounding a hex value.
36528         * stdlib/tst-strtod.c (tests): Add another test.
36529
36530 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36531
36532         * sysdeps/s390/fpu/libm-test-ulps: Update.
36533
36534 2012-05-03  Andreas Jaeger  <aj@suse.de>
36535
36536         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36537         does not get optimized out.
36538         (malloc_opt_barrier): New.
36539
36540 2012-05-03  Andreas Jaeger  <aj@suse.de>
36541             Roland McGrath  <roland@hack.frob.com>
36542
36543         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36544         intermediate file deletion.
36545         (generated): Add .symlist files.
36546
36547 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
36548
36549         [BZ #13775]
36550         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36551         Redirect under this condition.
36552         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36553         [__USE_GNU] (__dprintf_chk): Not under this condition.
36554         [__USE_GNU] (__vdprintf_chk): Likewise.
36555         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36556         under this condition.
36557         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36558         [__USE_XOPEN2K8] (dprintf): Define under this condition.
36559         [__USE_XOPEN2K8] (vdprintf): Likewise.
36560         [__USE_GNU] (__dprintf_chk): Not under this condition.
36561         [__USE_GNU] (__vdprintf_chk): Likewise.
36562         [__USE_GNU] (dprintf): Likewise.
36563         [__USE_GNU] (vdprintf): Likewise.
36564
36565 2012-05-03  Roland McGrath  <roland@hack.frob.com>
36566
36567         * elf/Makefile (common-generated): Set this instead of generated for
36568         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
36569         $(all-built-dso)-derived lists.
36570
36571 2012-05-03  Andreas Jaeger  <aj@suse.de>
36572
36573         * sysdeps/i386/fpu/libm-test-ulps: Update.
36574
36575         * FAQ: Removed.
36576         * FAQ.in: Likewise.
36577         * scripts/gen-FAQ.pl: Likewise.
36578         * manual/install.texi (Installation): Point to online location of
36579         FAQ.
36580         * Makefile (files-for-dist): Remove FAQ.
36581         (FAQ): Remove.
36582
36583 2012-05-02  Allan McRae  <allan@archlinux.org>
36584
36585         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36586         (LDFLAGS-reldepmod5.so): Likewise.
36587         (LDFLAGS-reldep6mod1.so): Likewise.
36588         (LDFLAGS-reldep6mod4.so): Likewise.
36589         (LDFLAGS-reldep8mod3.so): Likewise.
36590         (LDFLAGS-unload4mod1.so): Likewise.
36591         (LDFLAGS-unload4mod2.so): Likewise.
36592         (LDFLAGS-tst-initorder): Likewise.
36593         (LDFLAGS-tst-initordera2.so): Likewise.
36594         (LDFLAGS-tst-initordera3.so): Likewise.
36595         (LDFLAGS-tst-initordera4.so): Likewise.
36596         (LDFLAGS-tst-initorderb2.so): Likewise.
36597         (LDFLAGS-noload): Likewise.
36598         (LDFLAGS-next): Likewise.
36599         (LDFLAGS-order2mod1.so): Likewise.
36600         (LDFLAGS-order2mod2.so): Likewise.
36601         (LDFLAGS-tst-initorder2): Likewise.
36602         (LDFLAGS-tst-initorder2a.so): Likewise.
36603         (LDFLAGS-tst-initorder2b.so): Likewise.
36604         (LDFLAGS-tst-initorder2c.so): Likewise.
36605         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36606
36607 2012-05-02  David S. Miller  <davem@davemloft.net>
36608
36609         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36610
36611 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
36612
36613         [BZ #14055]
36614         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36615
36616 2012-05-02  Andreas Jaeger  <aj@suse.de>
36617
36618         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36619         since we manipulate rounding mode.
36620         (CPPFLAGS-test-idouble.c): Likewise.
36621         (CPPFLAGS-test-ifloat.c): Likewise.
36622         (CFLAGS-test-ldouble.c): Likewise.
36623         (CFLAGS-test-double.c): Likewise.
36624         (CFLAGS-test-float.c): Likewise.
36625         (CFLAGS-test-misc.c): Likewise.
36626         (CFLAGS-test-test-fenv.c): Likewise.
36627
36628 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36629
36630         [BZ #2550]
36631         [BZ #2570]
36632         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36633         comparisons to determine direction to adjust input.
36634
36635 2012-05-01  Roland McGrath  <roland@hack.frob.com>
36636
36637         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36638         output to the target.
36639
36640         * scripts/localplt.awk: New file.
36641         * elf/Makefile ($(objpfx)check-localplt): Target removed.
36642         (check-localplt-CFLAGS): Variable removed.
36643         ($(all-built-dso:=.jmprel)): New static pattern rule.
36644         (generated): Add those targets.
36645         (localplt-built-dso): New variable.
36646         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36647
36648         * elf/check-localplt.c: File removed.
36649
36650         * scripts/check-execstack.awk: New file.
36651         * elf/Makefile ($(objpfx)check-execstack): Target removed.
36652         (check-execstack-CFLAGS): Variable removed.
36653         ($(objpfx)check-execstack.h): Target removed.
36654         ($(objpfx)execstack-default): New target.
36655         (generated): Add that instead of check-execstack.h.
36656         ($(all-built-dso:=.phdr)): New static pattern rule.
36657         (generated): Add those targets.
36658         * elf/check-execstack.c: File removed.
36659
36660         * scripts/check-textrel.awk: New file.
36661         * elf/Makefile ($(objpfx)check-textrel): Target removed.
36662         (check-textrel-CFLAGS): Variable removed.
36663         (all-built-dso): Use := to define.o
36664         ($(all-built-dso:=.dyn)): New static pattern rule.
36665         (generated): Add those targets.
36666         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36667         * config.make.in (READELF): New substituted variable.
36668         * elf/check-textrel.c: File removed.
36669
36670 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
36671
36672         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36673         allow.
36674         * conform/data/ctype.h-data [C99-based standards] (isblank):
36675         Expect function.
36676         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36677         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36678         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36679         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36680         Specify type.  Require positive value.
36681         (EILSEQ): Likewise.
36682         (ERANGE): Likewise.
36683         [ISO || POSIX] (EILSEQ): Do not expect.
36684         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36685         Specify type.  Require positive value.
36686         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36687         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36688         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36689         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36690         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36691         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36692         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36693         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36694         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36695         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36696         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36697         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36698         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36699         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36700         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36701         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36702         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36703         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36704         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36705         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36706         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36707         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36708         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36709         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36710         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36711         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36712         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36713         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36714         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36715         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36716         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36717         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36718         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36719         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36720         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36721         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36722         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36723         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36724         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36725         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36726         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36727         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36728         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36729         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36730         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36731         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36732         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36733         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36734         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36735         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36736         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36737         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36738         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36739         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36740         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36741         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36742         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36743         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36744         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36745         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36746         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36747         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36748         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36749         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36750         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36751         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36752         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36753         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36754         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36755         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36756         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36757         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36758         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36759         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36760         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36761         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36762         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36763         Require >= 2.
36764         (FLT_ROUNDS): Expect as macro, not constant.
36765         (FLT_MANT_DIG): Use macro-int-constant.
36766         (DBL_MANT_DIG): Likewise.
36767         (LDBL_MANT_DIG): Likewise.
36768         (FLT_DIG): Likewise.
36769         (DBL_DIG): Likewise.
36770         (LDBL_DIG): Likewise.
36771         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
36772         (DBL_MIN_EXP): Likewise.
36773         (LDBL_MIN_EXP): Likewise.
36774         (FLT_MAX_EXP): Use macro-int-constant.
36775         (DBL_MAX_EXP): Likewise.
36776         (LDBL_MAX_EXP): Likewise.
36777         (FLT_MAX_10_EXP): Likewise.
36778         (DBL_MAX_10_EXP): Likewise.
36779         (LDBL_MAX_10_EXP): Likewise.
36780         (FLT_MAX): Use macro-constant.
36781         (DBL_MAX): Likewise.
36782         (LDBL_MAX): Likewise.
36783         (FLT_EPSILON): Use macro-constant.  Give upper bound.
36784         (DBL_EPSILON): Likewise.
36785         (LDBL_EPSILON): Likewise.
36786         (FLT_MIN): Likewise.
36787         (DBL_MIN): Likewise.
36788         (LDBL_MIN): Likewise.
36789         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36790         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36791         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36792         [ISO11] (FLT_HAS_SUBNORM): Likewise.
36793         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36794         [ISO11] (DBL_DECIMAL_DIG): Likewise.
36795         [ISO11] (FLT_DECIMAL_DIG): Likewise.
36796         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36797         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36798         [ISO11] (FLT_TRUE_MIN): Likewise.
36799         [ISO11] (LDBL_TRUE_MIN): Likewise.
36800         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36801         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36802         (SCHAR_MIN): Use macro-int-constant.  Specify type.
36803         (SCHAR_MAX): Likewise.
36804         (UCHAR_MAX): Likewise.
36805         (CHAR_MIN): Likewise.
36806         (CHAR_MAX): Likewise.
36807         (MB_LEN_MAX): Use macro-int-constant.
36808         (SHRT_MIN): Use macro-int-constant.  Specify type.
36809         (SHRT_MAX): Likewise.
36810         (USHRT_MAX): Likewise.
36811         (INT_MAX): Likewise.
36812         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
36813         bound negative.
36814         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
36815         bound with "U".
36816         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
36817         bound with "L".
36818         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
36819         bound negative.  Suffix upper bound with "L".
36820         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
36821         bound with "UL".
36822         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36823         Specify type.
36824         [C99-based standards] (LLONG_MAX): Likewise.
36825         [C99-based standards] (ULLONG_MAX): Likewise.
36826         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
36827         == 0.
36828         [ISO11] (max_align_t): Require type.
36829         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36830
36831         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36832         from $CFLAGS, without defining away __attribute__ calls.
36833         (checknamespace): Use $CFLAGS_namespace.
36834
36835         * conform/conformtest.pl (@keywords): Only include C99 keywords
36836         for standards based on C99 or C11.
36837
36838         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36839         Disable tests.
36840         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36841         UNIX98]: Likewise.
36842
36843         * conform/conformtest.pl: Handle "macro-int-constant" and test for
36844         usability of symbols in #if.
36845
36846         * conform/conformtest.pl: If macro or constant types start
36847         "promoted:", expect the symbol to be of the following type
36848         promoted by the integer promotions.
36849
36850         * conform/conformtest.pl: Parse all "constant" and "macro" lines
36851         in one place.  Also handle "macro-constant".
36852
36853         * conform/conformtest.pl: Only accept expected macro values with
36854         "==".  Parse all "macro" lines in one place.
36855         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36856
36857         * conform/conformtest.pl: Handle braced types on "constant" lines
36858         instead of handling "typed-constant".
36859         * conform/data/signal.h-data: Use "constant" instead of
36860         "typed-constant".
36861
36862         * conform/conformtest.pl: Handle "optional-" at start of lines in
36863         one place rather than duplicating several cases.  Handle each
36864         format of "macro" line with initial "optional-".
36865
36866         * conform/conformtest.pl: Only accept expected constant or
36867         optional-constant values with "==".  Parse all "constant" lines in
36868         one place.  Parse all "optional-constant" lines in one place.
36869         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36870         * conform/data/fmtmsg.h-data: Likewise.
36871         * conform/data/netinet/in.h-data: Likewise.
36872         * conform/data/tar.h-data: Likewise.
36873         * conform/data/limits.h-data: Use "==" form on "constant" and
36874         "optional-constant" lines.
36875
36876         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36877         Use -std=c99 for XOPEN2K.
36878         (@knownproblems): Remove.
36879         (newtoken): Don't check %isknown.
36880
36881         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36882         Do not expect macro.
36883         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36884         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36885         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36886         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36887         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36888         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36889         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36890         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36891         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36892         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36893         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36894         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36895         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36896         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36897         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36898         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36899         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36900         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36901         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36902         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36903         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36904         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36905         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36906         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36907         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36908         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36909         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36910         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36911         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36912         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36913         [XPG3] (acosh): Likewise.
36914         [XPG3] (asinh): Likewise.
36915         [XPG3] (atanh): Likewise.
36916         [XPG3] (cbrt): Likewise.
36917         [XPG3] (expm1): Likewise.
36918         [XPG3] (ilogb): Likewise.
36919         [XPG3] (log1p): Likewise.
36920         [XPG3] (logb): Likewise.
36921         [XPG3] (nextafter): Likewise.
36922         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36923         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36924         [XPG3] (remainder): Likewise.
36925         [XPG3] (rint): Likewise.
36926         [XPG3 || XPG4 || UNIX98] (round): Likewise.
36927         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36928         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36929         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36930         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36931         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36932         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36933         [UNIX98 || XOPEN2K] (scalb): Expect.
36934         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36935         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36936         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36937         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36938         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36939         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36940         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36941         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36942         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36943         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36944         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36945         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36946         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36947         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36948         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36949         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36950         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36951         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36952         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36953         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36954         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36955         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36956         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36957         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36958         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36959         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36960         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36961         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36962         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36963         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36964         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36965         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36966         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36967         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36968         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36969         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36970         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36971         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36972         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36973         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36974         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36975         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36976         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36977         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36978         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36979         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36980         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36981         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36982         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36983         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36984         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36985         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36986         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36987         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36988         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36989         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36990         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36991         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36992         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36993         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36994         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36995         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36996         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36997         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36998         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36999         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37000         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37001         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37002         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37003         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37004         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37005         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37006         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37007         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37008         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37009         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37010         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37011         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37012         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37013         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37014         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37015         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37016         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37017         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37018         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37019         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37020         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37021         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37022         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37023         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37024         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37025         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37026         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37027         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37028         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37029         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37030         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37031         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37032         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37033         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37034         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37035         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37036         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37037         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37038         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37039         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37040         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37041         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37042         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37043         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37044         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37045         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37046         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37047         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37048         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37049         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37050         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37051         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37052         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37053         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37054         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37055         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37056         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37057         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37058         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37059         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37060         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37061         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37062         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37063         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37064         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37065         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37066         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37067         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37068         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37069         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37070         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37071
37072         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37073         _XOPEN_SOURCE_EXTENDED for XPG4.
37074
37075         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37076
37077         * Makeconfig (localtime): Remove variable.
37078         (inst_localtime-file): Likewise.
37079
37080 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37081
37082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37083         Update.
37084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37085         Update.
37086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37087         Update.
37088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37089         Update.
37090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37091         Update.
37092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37093         Update.
37094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37095         Update.
37096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37097         Update.
37098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37099         Update.
37100
37101 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37102
37103         [BZ #2550]
37104         [BZ #2570]
37105         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37106         comparisons to determine direction to adjust input.
37107         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37108         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37109         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37110         Likewise.
37111         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37112         Likewise.
37113         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37114         Likewise.
37115         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37116         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37117         Likewise.
37118         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37119         Likewise.
37120         * math/libm-test.inc (nexttoward_test): Add more tests.
37121
37122 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37123
37124         [BZ #14040]
37125         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37126         in version GLIBC_2.1, not GLIBC_2.0.
37127         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37128         Likewise.
37129
37130 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
37131
37132         [BZ #13942]
37133         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37134         (1 - x) * (1 + x).
37135         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37136         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37137         * math/libm-test.inc (acos_test): Add more tests.
37138         (asin_test): Likewise.
37139         * sysdeps/i386/fpu/libm-test-ulps: Update.
37140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37141
37142         [BZ #14034]
37143         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37144         of square root.
37145         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37146         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37147         * math/libm-test.inc (acos_test_tonearest): New function.
37148         (acos_test_towardzero): Likewise.
37149         (acos_test_downward): Likewise.
37150         (acos_test_upward): Likewise.
37151         (asin_test_tonearest): Likewise.
37152         (asin_test_towardzero): Likewise.
37153         (asin_test_downward): Likewise.
37154         (asin_test_upward): Likewise.
37155         (main): Call the new functions.
37156         * sysdeps/i386/fpu/libm-test-ulps: Update.
37157         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37158
37159         [BZ #13884]
37160         [BZ #13924]
37161         * math/e_exp10.c: Include <float.h>.
37162         (__ieee754_exp10): Handle underflow here rather than multiplying
37163         large negative argument by M_LN10.
37164         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37165         of __ieee754_expf.
37166         * math/e_exp10l.c: Include <float.h>.
37167         (__ieee754_exp10l): Handle underflow here rather than multiplying
37168         large negative argument by M_LN10l.
37169         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
37170         spurious overflow exception on underflow.
37171
37172 2012-04-29  Marek Polacek  <polacek@redhat.com>
37173
37174         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37175         (__fortify_function): New macro.
37176         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37177         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37178         __extern_always_inline.
37179         * libio/bits/stdio2.h: Likewise.
37180         * libio/bits/stdio.h: Likewise.
37181         * string/string.h: Likewise.
37182         * string/bits/string3.h: Likewise.
37183         * include/stdio.h: Likewise.
37184         * stdlib/bits/stdlib.h: Likewise.
37185         * stdlib/stdlib.h: Likewise.
37186         * rt/bits/mqueue2.h: Likewise.
37187         * rt/mqueue.h: Likewise.
37188         * posix/bits/unistd.h: Likewise.
37189         * posix/unistd.h: Likewise.
37190         * io/bits/poll2.h: Likewise.
37191         * io/bits/fcntl2.h: Likewise.
37192         * io/fcntl.h: Likewise.
37193         * io/sys/poll.h: Likewise.
37194         * misc/bits/syslog.h: Likewise.
37195         * misc/bits/syslog-ldbl.h: Likewise.
37196         * misc/sys/syslog.h: Likewise.
37197         * socket/bits/socket2.h: Likewise.
37198         * socket/sys/socket.h: Likewise.
37199         * debug/tst-chk1.c: Likewise.
37200         * wcsmbs/bits/wchar2.h: Likewise.
37201         * wcsmbs/bits/wchar-ldbl.h: Likewise.
37202         * wcsmbs/wchar.h: Likewise.
37203
37204 2012-04-29  Andreas Jaeger  <aj@suse.de>
37205
37206         * Makerules (tests): Remove enable-check-abi protection.
37207         (check-abi-warn): Remove.
37208         (check-abi-%): Remove check-abi-warn usage.
37209
37210         * configure.in: Remove check-abi configure option.
37211         * configure: Regenerated.
37212         * config.make.in (enable-check-abi): Remove.
37213
37214 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
37215
37216         [BZ #14033]
37217         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37218         double functions to double *_finite functions.
37219
37220         [BZ #13941]
37221         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37222         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37223         LDBL_MIN_EXP.
37224         * stdio-common/Makefile (tests): Add tst-sprintf3.
37225         * stdio-common/tst-sprintf3.c: New file.
37226
37227         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37228         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37229
37230 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37231
37232         * conform/conformtest.pl: Remove duplicate typed-constant
37233         handling.
37234
37235 2012-04-28  David S. Miller  <davem@davemloft.net>
37236
37237         * Makerules (%.abilist): Add vpath on sysdep_dirs.
37238         (check-abi-%): Remove AWK script prerequisite and explicit
37239         abilist directory.
37240         (check-abi): Rewrite to just diff the symlist with the abilist.
37241         (config-tls, config-abi-config): Delete, no longer used.
37242         (update-abi-%): Remove AWK script and explicit abilist directory.
37243         (update-abi): Rewrite to simply compare and conditionally copy the
37244         symlist and the sysdep abilist file.  Remove update-abi-config
37245         checks.
37246         * abilist/ld.abilist: Remove.
37247         * abilist/libBrokenLocale.abilist: Remove.
37248         * abilist/libanl.abilist: Remove.
37249         * abilist/libcrypt.abilist: Remove.
37250         * abilist/libdl.abilist: Remove.
37251         * abilist/librt.abilist: Remove.
37252         * abilist/libthread_db.abilist: Remove.
37253         * abilist/libutil.abilist: Remove.
37254         * scripts/extract-abilist.awk: Remove.
37255         * scripts/merge-abilist.awk: Remove.
37256         * sysdeps/generic/libcidn.abilist: New file.
37257         * sysdeps/generic/libnss_compat.abilist: New file.
37258         * sysdeps/generic/libnss_db.abilist: New file.
37259         * sysdeps/generic/libnss_dns.abilist: New file.
37260         * sysdeps/generic/libnss_files.abilist: New file.
37261         * sysdeps/generic/libnss_hesiod.abilist: New file.
37262         * sysdeps/generic/libnss_nis.abilist: New file.
37263         * sysdeps/generic/libnss_nisplus.abilist: New file.
37264         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37265         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37266         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37267         file.
37268         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37269         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37270         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37271         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37272         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37273         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37274         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37275         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37276         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37277         file.
37278         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37279         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37280         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37281         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37282         file.
37283         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37284         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37285         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37286         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37287         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37288         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37289         file.
37290         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37291         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37292         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37293         file.
37294         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37295         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37296         New file.
37297         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37298         New file.
37299         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37300         New file.
37301         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37302         New file.
37303         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37304         New file.
37305         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37306         New file.
37307         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37308         New file.
37309         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37310         New file.
37311         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37312         New file.
37313         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37314         New file.
37315         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37316         New file.
37317         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37318         New file.
37319         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37320         New file.
37321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37322         file.
37323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37324         New file.
37325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37326         New file.
37327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37328         file.
37329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37330         New file.
37331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37332         New file.
37333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37334         file.
37335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37336         New file.
37337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37338         New file.
37339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37340         New file.
37341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37342         New file.
37343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37344         New file.
37345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37346         New file.
37347         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37348         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37349         file.
37350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37351         New file.
37352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37353         file.
37354         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37355         file.
37356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37357         file.
37358         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37359         file.
37360         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37361         file.
37362         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37363         New file.
37364         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37365         file.
37366         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37367         file.
37368         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37369         New file.
37370         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37371         file.
37372         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37374         file.
37375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37376         New file.
37377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37378         file.
37379         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37380         file.
37381         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37382         file.
37383         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37384         file.
37385         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37386         file.
37387         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37388         New file.
37389         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37390         file.
37391         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37392         file.
37393         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37394         New file.
37395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37396         file.
37397         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37398         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37399         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37400         file.
37401         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37402         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37403         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37404         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37405         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37406         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37407         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37408         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37409         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37410         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37411         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37412         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37413         file.
37414         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37415         New file.
37416         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37417         file.
37418         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37419         file.
37420         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37421         file.
37422         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37423         file.
37424         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37425         file.
37426         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37427         New file.
37428         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37429         New file.
37430         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37431         file.
37432         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37433         New file.
37434         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37435         file.
37436         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37437         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37438         file.
37439         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37440         New file.
37441         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37442         file.
37443         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37444         file.
37445         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37446         file.
37447         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37448         file.
37449         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37450         file.
37451         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37452         New file.
37453         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37454         New file.
37455         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37456         file.
37457         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37458         New file.
37459         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37460         file.
37461
37462 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37463
37464         * conform/conformtest.pl: Fix typo in handling typed-constant from
37465         allow-header.
37466
37467 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
37468
37469         * README: Cut down references to pre-2.6 Linux kernels and
37470         Linuxthreads.  Update lists of configurations in libc and ports
37471         and sort alphabetically.  Say "or newer" with Linux kernel version
37472         requirements.
37473
37474         * config.h.in [IS_IN_build]: Allow compiling without optimization.
37475
37476 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37477
37478         [BZ #887]
37479         * math/libm-test.inc (logb_test_downward): New test to expose
37480         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37481         rounding mode.
37482
37483 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
37484
37485         [BZ #14027]
37486         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37487         to be done.
37488         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37489         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37490
37491 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
37492
37493         * sysdeps/unix/i386/brk.S: Remove file.
37494         * sysdeps/unix/i386/dl-brk.S: Likewise.
37495         * sysdeps/unix/i386/pipe.S: Likewise.
37496         * sysdeps/unix/i386/sigreturn.S: Likewise.
37497         * sysdeps/unix/i386/syscall.S: Likewise.
37498         * sysdeps/unix/i386/vfork.S: Likewise.
37499         * sysdeps/unix/i386/wait.S: Likewise.
37500
37501         * sysdeps/unix/common/tcsendbrk.c: Move to ...
37502         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37503
37504         * configure.in (arm*-none*): Do not allow without
37505         --enable-hacker-mode.
37506         (netbsd*): Remove case setting base_os.
37507         (386bsd*): Likewise.
37508         (freebsd*): Likewise.
37509         (bsdi*): Likewise.
37510         (osf*): Likewise.
37511         (sunos*): Likewise.
37512         (ultrix*): Likewise.
37513         (newsos*): Likewise.
37514         (dynix*): Likewise.
37515         (*bsd*): Likewise.
37516         (sysv*): Likewise.
37517         (isc*): Likewise.
37518         (esix*): Likewise.
37519         (sco*): Likewise.
37520         (minix*): Likewise.
37521         (irix4*): Likewise.
37522         (irix6*): Likewise.
37523         (solaris[2-9]*): Likewise.
37524         (none): Likewise.
37525         * configure: Regenerated.
37526
37527 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37528
37529         [BZ #11521]
37530         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37531         overflow or cancellation in calculating denominator.
37532         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37533         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37534         down expression to avoid unexpected rounding in newer GCCs.
37535         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37536
37537 2012-04-26  David S. Miller  <davem@davemloft.net>
37538
37539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37540         long-double compat symbols.
37541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37546         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37547         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37548         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37549         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37550         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37551         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37554
37555 2012-04-25  David S. Miller  <davem@davemloft.net>
37556
37557         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37558         HWCAP_* values only after the memory barriers have been defined.
37559         (atomic_full_barrier): Define.
37560         (atomic_read_barrier): Define.
37561         (atomic_write_barrier): Define.
37562
37563 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37564
37565         * shlib-versions: Add libgcc_s version information.
37566         * sysdeps/generic/libgcc_s.h: Remove.
37567         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37568         libgcc_s.h.
37569         * sysdeps/gnu/unwind-resume.c: Likewise.
37570         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37571
37572 2012-04-25  David S. Miller  <davem@davemloft.net>
37573
37574         * sysdeps/unix/sparc/brk.S: Delete.
37575         * sysdeps/unix/sparc/dl-brk.S: Delete.
37576         * sysdeps/unix/sparc/pipe.S: Delete.
37577         * sysdeps/unix/sparc/sysdep.S: Delete.
37578         * sysdeps/unix/sparc/sysdep.h: Delete.
37579         * sysdeps/unix/sparc/vfork.S: Delete.
37580         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37581         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37582         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37583         (ret_ERRVAL, r0, r1, MOVE): Define.
37584         (JUMPTARGET): Remove.
37585         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37586         sysdeps/unix/sparc/sysdep.h
37587         (ENTRY, END): Remove.
37588         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37589
37590 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
37591
37592         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37593         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37594         -DIS_IN_build.
37595
37596         * timezone/README: Update upstream location and email address for
37597         tzcode and tzdata.
37598         * timezone/zdump.c: Update from tzcode 2012b.
37599         * timezone/zic.c: Likewise.
37600
37601         * configure.in (libc_cv_as_needed): Remove test.
37602         * configure: Regenerated.
37603         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37604         conditional definition.
37605         [$(have-as-needed) != yes] (no-as-needed): Likewise.
37606         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37607         * config.make.in (have-as-needed): Remove variable.
37608
37609 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37610             Paul Pluzhnikov  <ppluzhnikov@google.com>
37611
37612         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37613         strings correctly.
37614
37615 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
37616
37617         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37618         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37619         * sysdeps/sh/strlen.S: Likewise.
37620
37621 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37622
37623         * sysdeps/unix/fork.S: Remove file.
37624         * sysdeps/unix/i386/fork.S: Likewise.
37625         * sysdeps/unix/sparc/fork.S: Likewise.
37626
37627         * sysdeps/unix/system.c: Remove file.
37628         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37629
37630         * sysdeps/unix/getegid.S: Remove file.
37631         * sysdeps/unix/geteuid.S: Likewise.
37632
37633 2012-04-24  Roland McGrath  <roland@hack.frob.com>
37634
37635         * scripts/check-localplt.awk: New file.
37636         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37637         of diff.
37638         * scripts/data/localplt-generic.data: Add a comment.
37639
37640         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37641         NODE when __dir_mkfile failed.
37642         * sysdeps/mach/hurd/symlinkat.c: Likewise.
37643         Reported by Ludovic Courtès <ludo@gnu.org>.
37644
37645 2012-04-24  Andreas Jaeger  <aj@suse.de>
37646
37647         * Makerules (common-clean): Also remove gen-as-const-headers
37648         files.
37649
37650 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37651
37652         * Makerules (native-compile): Do not change working directory for
37653         build.  Use $(OUTPUT_OPTION) in command.
37654         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37655
37656 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37657
37658         [BZ #13886]
37659         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37660         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37661         * math/libm-test.inc (floor_test): Add more tests.
37662         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37663
37664 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37665
37666         * sysdeps/unix/getdents.c: Remove file.
37667         * sysdeps/unix/sysv/getdents.c: Likewise.
37668         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37669
37670         * sysdeps/unix/syscalls.list (madvise): Add syscall from
37671         sysdeps/unix/mman/syscalls.list.
37672         (mmap): Likewise.
37673         (mprotect): Likewise.
37674         (msync): Likewise.
37675         (munmap): Likewise.
37676         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37677         * sysdeps/unix/mman/syscalls.list: Remove.
37678         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37679
37680         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37681         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37682         * configure: Regenerated.
37683         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37684         $(libgcc_s_suffix).
37685         * config.make.in (libgcc_s_suffix): Remove variable.
37686
37687 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
37688
37689         * sysdeps/unix/sysv/gethostname.c: Move to ...
37690         * sysdeps/posix/gethostname.c: ... here.
37691
37692         * sysdeps/unix/execve.S: Remove file.
37693
37694         * sysdeps/unix/_exit.S: Remove file.
37695
37696 2012-04-23  Andreas Jaeger  <aj@suse.de>
37697
37698         [BZ #13739]
37699         * manual/Makefile: Remove make dist support, there's no
37700         need for a stand-alone documentation tar ball.
37701         (TEXI2DVI): Define always, it's not in Makeconfig.
37702         (dist): Removed.
37703         (tar-it): Removed.
37704         (edition): Removed.
37705         (glibc-doc-$(edition).tar): Removed
37706         (%.Z): Removed.
37707         (%.gz): Removed.
37708         (%.uu): Removed.
37709         (ETAGS): Remove, it's in Makeconfig.
37710         (move-if-change): Remove, it's in Makeconfig.
37711
37712 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
37713
37714         [BZ #13970]
37715         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37716         (strtod, strtof, strtold, strtol, strtoul, strtoq)
37717         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37718         (strtod_l, strtof_l, strtold_l): Remove __wur.
37719         It is not necessarily an error to ignore strtol's return value.
37720         One can reliably look at the stored endptr to decide whether
37721         the number had valid syntax.
37722
37723 2012-04-21  Andreas Jaeger  <aj@suse.de>
37724
37725         [BZ #13739]
37726         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37727
37728 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
37729
37730         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37731         * sysdeps/unix/sysv/Versions: Remove file.
37732
37733 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
37734
37735         [BZ #13927]
37736         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37737
37738 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
37739
37740         [BZ #7064]
37741         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37742         version from __vm86.
37743
37744 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
37745
37746         * sysdeps/unix/common/lxstat.c: Remove file.
37747         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37748
37749         * sysdeps/unix/sysv/Makefile: Remove file.
37750
37751         * sysdeps/unix/sysv/direct.h: Remove file.
37752
37753         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37754         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37755         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37756         * sysdeps/unix/sysv/bits/signum.h: Likewise.
37757         * sysdeps/unix/sysv/bits/stat.h: Likewise.
37758         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37759         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37760
37761         * sysdeps/unix/sysv/setrlimit.c: Remove file.
37762
37763         * sysdeps/unix/xmknod.c: Remove file.
37764         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37765
37766         * sysdeps/unix/sysv/settimeofday.c: Remove file.
37767
37768         * sysdeps/unix/sysv/i386/time.S: Remove file.
37769
37770         * sysdeps/unix/fxstat.c: Remove file.
37771         * sysdeps/unix/xstat.c: Likewise.
37772         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37773
37774         * sysdeps/unix/sysv/sigaction.c: Remove file.
37775
37776         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37777         (sysdep_headers): Remove variable.
37778         [termio.h not in sysdep_headers] (generated): Likewise.
37779         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37780         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37781         * sysdeps/unix/sysv/tcdrain.c: Likewise.
37782         * sysdeps/unix/sysv/tcflow.c: Likewise.
37783         * sysdeps/unix/sysv/tcflush.c: Likewise.
37784         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37785         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37786         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37787         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37788         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37789
37790         * sysdeps/unix/siglist.c: Remove file.
37791
37792         * sysdeps/unix/getppid.S: Remove file.
37793
37794         * sysdeps/unix/mkdir.c: Remove file.
37795         * sysdeps/unix/rmdir.c: Likewise.
37796
37797 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
37798
37799         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37800         ERR_MAX value.
37801         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37802         errlist-compat value.
37803
37804 2012-04-18  David S. Miller  <davem@davemloft.net>
37805
37806         * sysdeps/generic/memcopy.h (reg_char): Delete.
37807         * debug/strcat_chk.c: Use char, not reg_char.
37808         * debug/strcpy_chk.c: Likewise.
37809         * debug/strncat_chk.c: Likewise.
37810         * debug/strncpy_chk.c: Likewise.
37811         * string/memchr.c: Likewise.
37812         * string/memrchr.c: Likewise.
37813         * string/rawmemchr.c: Likewise.
37814         * string/strcat.c: Likewise.
37815         * string/strchr.c: Likewise.
37816         * string/strchrnul.c: Likewise.
37817         * string/strcmp.c: Likewise.
37818         * string/strcpy.c: Likewise.
37819         * string/strncat.c: Likewise.
37820         * string/strncmp.c: Likewise.
37821         * string/strncpy.c: Likewise.
37822
37823 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
37824
37825         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37826         __builtin_memcopy is called when src and dest ranges are known to not
37827         overlap.
37828
37829 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
37830
37831         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37832         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37833         fwd_align_merge macro call.
37834         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37835         bwd_align_merge macro call.
37836         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37837
37838 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
37839
37840         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37841         bwd_align_merge macros.
37842         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37843         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37844         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37845
37846 2012-04-18  David S. Miller  <davem@davemloft.net>
37847
37848         * sysdeps/sparc/sparc64/memcopy.h: Delete.
37849
37850 2012-04-18  Andreas Jaeger  <aj@suse.de>
37851
37852         [BZ# 6794]
37853         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37854         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37855         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37856
37857         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37858         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37859         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37860
37861         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37862         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37863         Adjust for changed ldbl-128 files.
37864
37865         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37866         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37867         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37868
37869 2012-04-17  David S. Miller  <davem@davemloft.net>
37870
37871         * sysdeps/sparc/sparc32/memcopy.h: Delete.
37872
37873 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
37874
37875         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37876         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37877         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37878         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37879         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37880         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37881
37882 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37883
37884         [BZ #6794]
37885         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37886         * math/libm-test.inc: Add ilogb errno and exception tests.
37887         * math/w_ilogb.c: New file: ilogb wrapper.
37888         * math/w_ilogbf.c: New file: ilogbf wrapper.
37889         * math/w_ilogbl.c: New file: ilogbl wrapper.
37890         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37891         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37892         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37893         exception being thrown with 0.0 as argument.
37894         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37895         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37896         exception being thrown with 0.0 as argument.
37897         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37898         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37899         exception being thrown with 0.0 as argument.
37900         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37901         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37902         exception being thrown with 0.0 as argument.
37903         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37904         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37905         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37906         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37907         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37908         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37909         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37910         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37911         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37912
37913 2012-04-17  Petr Baudis  <pasky@ucw.cz>
37914
37915         * include/sys/uio.h: Change __vector to __iovec to avoid clash
37916         with altivec.
37917
37918 2012-04-16  Marek Polacek  <polacek@redhat.com>
37919
37920         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37921
37922 2012-04-16  Marek Polacek  <polacek@redhat.com>
37923
37924         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37925         operands of fdivp instruction.
37926
37927 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
37928
37929         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37930         * elf/tst-auditmod3b.c: Likewise.
37931         * elf/tst-auditmod4b.c: Likewise.
37932         * elf/tst-auditmod5b.c: Likewise.
37933         * elf/tst-auditmod6b.c: Likewise.
37934         * elf/tst-auditmod6c.c: Likewise.
37935         * elf/tst-auditmod7b.c: Likewise.
37936         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37937         * sysdeps/x86_64/preconfigure.in: Likewise.
37938         * sysdeps/x86_64/preconfigure: Regenerated.
37939
37940 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
37941
37942         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37943         __ILP32__.
37944
37945 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
37946
37947         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37948         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37949
37950 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
37951
37952         [BZ #13973]
37953         * locale/iso-639.def: Fix gl language name. Spotted by
37954         Yaron Shahrabani.
37955
37956 2012-04-12  Roland McGrath  <roland@hack.frob.com>
37957
37958         [BZ #2074]
37959         * libio/libio.h (__io_write_fn): Update comment.
37960
37961 2012-04-12  Petr Baudis  <pasky@ucw.cz>
37962
37963         [BZ #2074]
37964         * stdio.texi (Hook Functions): The user provided writer function
37965         is not allowed to return -1.
37966
37967 2012-04-11  David S. Miller  <davem@davemloft.net>
37968
37969         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37970
37971 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
37972
37973         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37974         Add a leading slash to rtkaio.
37975
37976 2012-04-11  Jim Meyering  <meyering@redhat.com>
37977
37978         [BZ #11959]
37979         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37980         It is not necessarily an error to ignore fwrite's return
37981         value.  One can reliably use ferror to test for errors after
37982         the fact.
37983
37984 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
37985
37986         * bits/types.h (__snseconds_t): New type.
37987         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37988
37989         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37990         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37991         (__SNSECONDS_T_TYPE): Likewise.
37992         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37993         (__SNSECONDS_T_TYPE): Likewise.
37994         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37995         (__SNSECONDS_T_TYPE): Likewise.
37996
37997 2012-04-10  Andreas Jaeger  <aj@suse.de>
37998
37999         [BZ #2636]
38000         * manual/time.texi (Processor Time): Return type of times is
38001         elapsed real time since an arbitrary point in the past.
38002         (CPU Time): Move CLK_TCK from here...
38003         (Processor Time): ...to here.  Correct description.
38004         * manual/conf.texi (Constants for Sysconf): Correct description of
38005         _SC_CLK_TCK.
38006
38007 2012-04-10  David S. Miller  <davem@davemloft.net>
38008
38009         [BZ #13967]
38010         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38011         where the is a gap between DT_REL(A) and DT_JMPREL.
38012
38013 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38014
38015         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38016         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38017         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38018
38019 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38020
38021         * elf/dl-support.c (_dl_inhibit_cache): New variable.
38022         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38023         (dl_main): Handle --inhibit-cache.
38024         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38025         _dl_inhibit_cache.
38026         * elf/dl-load.c (_dl_map_object): Use it.
38027         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38028
38029 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38030
38031         [BZ #13872]
38032         * sysdeps/i386/fpu/e_powl.S (p78): New object.
38033         (__ieee754_powl): Saturate large exponents rather than testing for
38034         overflow of y*log2(x).
38035         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38036         * math/libm-test.inc (pow_test): Do not permit spurious overflow
38037         exceptions.
38038
38039         [BZ #11521]
38040         * math/s_ctan.c: Include <float.h>.
38041         (__ctan): Avoid internal overflow or cancellation in calculating
38042         denominator.
38043         * math/s_ctanf.c: Likewise.
38044         * math/s_ctanl.c: Likewise.
38045         * math/s_ctanh.c: Likewise.
38046         * math/s_ctanhf.c: Likewise.
38047         * math/s_ctanhl.c: Likewise.
38048         * math/libm-test.inc (ctan_test): Add more tests.
38049         (ctanh_test): Likewise.
38050         * sysdeps/i386/fpu/libm-test-ulps: Update.
38051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38052
38053 2012-04-09  Andreas Jaeger  <aj@suse.de>
38054
38055         [BZ #6894]
38056         * manual/filesys.texi (Directory Entries): Mention that d_namlen
38057         is an optional BSD extension.
38058
38059         [BZ #10254]
38060         * manual/stdio.texi (Opening Streams): Document additional fopen
38061         parameters.
38062
38063 2012-04-09  Roland McGrath  <roland@hack.frob.com>
38064
38065         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38066         %eax without telling the compiler.
38067
38068 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
38069
38070         [BZ # 13963]
38071         * manual/install.texi: Use sourceware.org.
38072
38073 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38074
38075         [BZ #13873]
38076         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38077         (__ieee754_pow): Generate overflow and underflow using huge*huge
38078         and tiny*tiny rather than just returning constant infinity or zero
38079         for large exponents.
38080         * math/libm-test.inc (pow_test): Require overflow exceptions for
38081         applicable cases of large exponents.
38082
38083         [BZ #706]
38084         * sysdeps/i386/fpu/e_pow.S (p10): New object.
38085         (__ieee754_pow): Use iterative multiplication algorithm only for
38086         integer exponents with absolute value below 1024.  Check for odd
38087         integer exponents when using algorithm for real exponents.
38088         * math/libm-test.inc (pow_test): Add more tests.
38089         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38090
38091 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
38092
38093         [BZ #13705]
38094         * math/libm-test.inc (exp_test): Do not allow overflow exception
38095         on underflow test.
38096
38097 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
38098
38099         [BZ #13705]
38100         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38101         instead of __kernel_standard_f.
38102
38103 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
38104
38105         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38106         * sysdeps/x86_64/memset_chk.S: Likewise.
38107
38108 2012-04-08  Andreas Jaeger  <aj@suse.de>
38109
38110         [BZ #10153]
38111         * manual/startup.texi (Environment Access): Describe return value
38112         for putenv and setenv.
38113
38114         [BZ #6895]
38115         * manual/filesys.texi (Directory Entries): Add description for
38116         DT_LNK.
38117
38118         [BZ #6890]
38119         * manual/filesys.texi (Directory Entries): Clarify that it's file
38120         system not operating system in the description of DT_UNKNOWN.
38121
38122         [BZ #6578]
38123         * manual/syslog.texi (closelog): Fix reference, it's openlog.
38124
38125 2012-04-08  Stephen Compall  <s11@member.fsf.org>
38126
38127         [BZ #6649]
38128         * manual/llio.texi (Opening and Closing Files): Add cross
38129         reference to explain mode argument.
38130
38131 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
38132
38133         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38134         * sysdeps/x86_64/memset_chk.S: Likewise.
38135
38136 2012-04-07  David S. Miller  <davem@davemloft.net>
38137
38138         * elf/elf.h (R_SPARC_WDISP10): Define.
38139         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38140         R_SPARC_SIZE32.
38141         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38142         R_SPARC_SIZE64 and R_SPARC_H34.
38143
38144 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
38145
38146         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38147         conditions and remove no longer applicable assertion.
38148
38149 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38150
38151         * bits/byteswap.h: Include <features.h>.
38152         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38153         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38154
38155 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38156
38157         * bits/byteswap.h (__bswap_16): Removed.
38158         Include <bits/byteswap-16.h> to get __bswap_16.
38159         * sysdeps/i386/bits/byteswap.h: Likewise.
38160         * sysdeps/s390/bits/byteswap.h: Likewise.
38161         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38162         * bits/byteswap-16.h: New file.
38163         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38164         * sysdeps/s390/bits/byteswap-16.h: Likewise.
38165         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38166         * string/Makefile (headers): Add bits/byteswap-16.h.
38167
38168 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
38169
38170         [BZ #13895]
38171         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38172         extra indirection.
38173         * nss/Makefile (tests-static, tests): Add tst-nss-static.
38174         * nss/tst-nss-static.c: New.
38175
38176 2012-04-06  Robert Millan  <rmh@gnu.org>
38177
38178         [BZ #6486]
38179         * manual/llio.texi (File Position Primitive): lseek
38180         refers to WHENCE when it really means OFFSET.
38181
38182 2012-04-06  Andreas Jaeger  <aj@suse.de>
38183
38184         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38185         strncmp declarations.
38186
38187         * abilist/libc.abilist: Add __poll and __ppoll.
38188
38189 2012-04-05  David S. Miller  <davem@davemloft.net>
38190
38191         * scripts/check-local-headers.sh: Accept a host triplet in the
38192         path matched by the exclude regexp.
38193
38194         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38195         definition.
38196         * sysdeps/powerpc/powerpc32/dl-machine.h
38197         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38198         * sysdeps/s390/s390-32/dl-machine.h
38199         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38200         * sysdeps/sparc/sparc32/dl-machine.h
38201         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38202         * sysdeps/sparc/sparc64/dl-machine.h
38203         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38204
38205         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38206         lazy binding.
38207         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38208         undefined symbol errors.
38209
38210         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38211         DT_NEEDED entries.
38212
38213 2012-04-05  Michael Matz  <matz@suse.de>
38214
38215         [BZ #13592]
38216         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38217
38218 2012-04-05  Andreas Jaeger  <aj@suse.de>
38219
38220         [BZ #13908]
38221         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38222         comment.
38223
38224 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38225
38226         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38227         which ROUND is no valid rounding mode.
38228
38229 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38230
38231         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38232         read again.
38233         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38234
38235 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38236
38237         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38238         an exception using FPU order intentionally.
38239
38240 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38241
38242         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38243         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38244         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38245         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38246
38247 2012-04-05  Simon Josefsson  <simon@josefsson.org>
38248
38249         [BZ #12340]
38250         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38251         EINVAL when BUFLEN is too smal.
38252
38253 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
38254
38255         [BZ #13553]
38256         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38257         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38258
38259 2012-04-03  Andreas Jaeger  <aj@suse.de>
38260
38261         [BZ #13938]
38262         * manual/setjmp.texi (System V contexts): Fix sentence.
38263
38264         [BZ #13926]
38265         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38266         New macro for this case.
38267         [!__GNUC__] (__bswap_64): New inline function for this case.
38268         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38269         * bits/byteswap.h: Likewise.
38270         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38271         ull, guard with __GLIBC_HAVE_LONG_LONG.
38272
38273         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38274         __GLIBC_HAVE_LONG_LONG.
38275
38276         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38277         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38278
38279 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38280
38281         [BZ #13691]
38282         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38283         inptr and inend, rather than using last_ch.
38284
38285 2012-04-02  David S. Miller  <davem@davemloft.net>
38286
38287         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38288         * stdio-common/printf-parse.h (read_int): Change return type to
38289         'int', return -1 on INT_MAX overflow.
38290         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38291         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
38292         overflows INT_MAX.  Check for overflow of in-format-string precision
38293         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
38294         SIZE_MAX not INT_MAX for integer overflow test.
38295         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38296         skip the construct in the format string but do not record anything.
38297         * stdio-common/bug22.c: Adjust to test both width/prevision
38298         INT_MAX overflow as well as total length INT_MAX overflow.  Check
38299         explicitly for proper errno values.
38300
38301 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
38302
38303         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38304         CHAR_MAX.
38305         * string/test-strcmp.c [! WIDE]: Likewise.
38306         * time/tst-mktime2.c: Likewise for INT_MAX.
38307         * string/test-string.h: #include <sys/param.h> for MIN.
38308
38309         * csu/init-first.c (__libc_init_first): Call __ctype_init.
38310         * sysdeps/i386/init-first.c (init): Likewise.
38311         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38312         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38313         * sysdeps/sh/init-first.c (init): Likewise.
38314
38315 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
38316
38317         * po/ru.po: Update from translation team.
38318         * po/vi.po: Likewise.
38319
38320 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38321
38322         * resolv/nss_dns/dns-host.c: Merge copyright years.
38323
38324 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38325
38326         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38327         Optimize memcpy with prefetch if
38328         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
38329         src, dst pointers have unequal 16 byte alignments.
38330
38331 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38332
38333         [BZ #13928]
38334         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38335         from a CNAME entry and return the minimum ttl for the query.
38336         (gaih_getanswer_slice): Likewise.
38337
38338 2012-03-30  Jeff Law  <law@redhat.com>
38339
38340         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38341         due to long keys.
38342         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38343         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38344
38345         * resolv/nss_dns/dns-host.c: Update copyright year.
38346
38347 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
38348
38349         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38350         requests to save a system call.  Fix check that all bytes are sent.
38351
38352         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38353         comments for sendmmsg.
38354
38355 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38356
38357         [BZ #13691]
38358         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38359         with only 1 character between 0x0041 and 0x01b0.
38360         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38361         * wcsmbs/tst-mbsnrtowcs.c: New file.
38362
38363 2012-03-29  David S. Miller  <davem@davemloft.net>
38364
38365         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38366         small copies by hand.
38367
38368 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38369
38370         [BZ #13761]
38371         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38372         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38373         group memberships.
38374
38375 2012-03-28  David S. Miller  <davem@davemloft.net>
38376
38377         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38378         that branches into memcpy.
38379         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38380         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38381         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38382         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38383         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38384         bits.
38385         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38386         implementation too.
38387         * sysdeps/sparc/mempcpy.S: New file.
38388
38389         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38390         the IFUNC routine in the libc case.
38391         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38392
38393         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38394         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38395         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38396         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38397         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38398         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38399         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38400         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38401
38402         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38403         loop to 256 bytes instead of 64 bytes and fix test signedness.
38404
38405         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38406         * sysdeps/sparc/sparc32/Makefile: rather than here...
38407         * sysdeps/sparc/sparc64/Makefile: and here.
38408
38409 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
38410
38411         * malloc/mallocbug.c: Avoid warnings about unused variables.
38412
38413 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38414
38415         [BZ #13760]
38416         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38417         in the right place. Discard and retry query if response is
38418         larger than input buffer size.
38419
38420 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
38421
38422         [BZ #369]
38423         [BZ #2678]
38424         [BZ #3866]
38425         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38426         x for large integer exponent.
38427         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38428         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
38429         sign of result as needed afterwards.
38430         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38431         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38432         result for underflowing pow the same as for overflow.
38433         (__kernel_standard_l): Handle powl overflow and underflow here
38434         rather than calling __kernel_standard.
38435         * math/libm-test.inc (pow_test): Add more tests.
38436
38437         [BZ #3868]
38438         [BZ #13879]
38439         [BZ #13910]
38440         [BZ #13911]
38441         [BZ #13912]
38442         [BZ #13913]
38443         [BZ #13915]
38444         [BZ #13916]
38445         [BZ #13917]
38446         [BZ #13918]
38447         [BZ #13919]
38448         [BZ #13920]
38449         [BZ #13921]
38450         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38451         * sysdeps/ieee754/k_standard.c: Include <float.h>.
38452         (__kernel_standard_l): New function.
38453         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38454         __kernel_standard.
38455         * math/w_acosl.c (__acosl): Likewise.
38456         * math/w_asinl.c (__asinl): Likewise.
38457         * math/w_atan2l.c (__atan2l): Likewise.
38458         * math/w_atanhl.c (__atanhl): Likewise.
38459         * math/w_coshl.c (__coshl): Likewise.
38460         * math/w_exp10l.c (__exp10l): Likewise.
38461         * math/w_exp2l.c (__exp2l): Likewise.
38462         * math/w_fmodl.c (__fmodl): Likewise.
38463         * math/w_hypotl.c (__hypotl): Likewise.
38464         * math/w_j0l.c (__j0l, __y0l): Likewise.
38465         * math/w_j1l.c (__j1l, __y1l): Likewise.
38466         * math/w_jnl.c (__jnl, __ynl): Likewise.
38467         * math/w_lgammal.c (__lgammal): Likewise.
38468         * math/w_log10l.c (__log10l): Likewise.
38469         * math/w_log2l.c (__log2l): Likewise.
38470         * math/w_logl.c (__logl): Likewise.
38471         * math/w_powl.c (__powl): Likewise.
38472         * math/w_remainderl.c (__remainderl): Likewise.
38473         * math/w_scalbl.c (sysv_scalbl): Likewise.
38474         * math/w_sinhl.c (__sinhl): Likewise.
38475         * math/w_sqrtl.c (__sqrtl): Likewise.
38476         * math/w_tgammal.c (__tgammal): Likewise.
38477         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38478         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38479         * math/libm-test.inc (acos_test): Add more tests.
38480         (acosh_test): Likewise.
38481         (asin_test): Likewise.
38482         (atanh_test): Likewise.
38483         (exp_test): Likewise.
38484         (exp10_test): Likewise.
38485         (exp2_test): Likewise.
38486         (expm1_test): Likewise.
38487         (lgamma_test): Likewise.
38488         (log_test): Likewise.
38489         (log10_test): Likewise.
38490         (log1p_test): Likewise.
38491         (log2_test): Likewise.
38492         (pow_test): Do not allow some spurious overflow exceptions.
38493         (sqrt_test): Add more tests.
38494         (tgamma_test): Likewise.
38495         (y0_test): Likewise.
38496         (y1_test): Likewise.
38497         (yn_test): Likewise.
38498
38499 2012-03-27  Anton Blanchard  <anton@samba.org>
38500
38501         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38502         MAP_HUGETLB.
38503         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38504         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38505         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38506
38507 2012-03-27  David S. Miller  <davem@davemloft.net>
38508
38509         * conform/Makefile: Run run-conformtest.sh using $(BASH).
38510
38511         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38512         have-as-vis3 check.
38513
38514 2012-03-27  Andreas Jaeger  <aj@suse.de>
38515
38516         * sysdeps/x86_64/elf/configure.in: Moved to ...
38517         * sysdeps/x86_64/configure.in: ... here.
38518         * sysdeps/x86_64/elf/start.S: Moved to ...
38519         * sysdeps/x86_64/start.S: ... here.
38520         * sysdeps/x86_64/elf/configure: Delete.
38521
38522         * sysdeps/x86_64/configure.in: Merge contents from
38523         sysdeps/i386/configure.in (without i686 check).
38524
38525         * sysdeps/i386/elf/Versions: Merge into ...
38526         * sysdeps/i386/Versions: ... this.
38527         * sysdeps/i386/elf/Versions: Delete file.
38528         * sysdeps/i386/elf/start.S: Moved to ...
38529         * sysdeps/i386/start.S: ...here.
38530         * sysdeps/i386/elf/configure.in: Merge into...
38531         * sysdeps/i386/configure.in: ...here.
38532         * sysdeps/i386/elf/configure.in: Delete file.
38533         * sysdeps/i386/elf/configure: Delete file.
38534
38535         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38536         * debug/backtracesyms.c: ... here.
38537         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38538         * debug/backtracesymsfd.c: ... here.
38539         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38540         * sysdeps/generic/ifunc-sel.h: ... here.
38541
38542         * sysdeps/unix/i386/start.c: Delete file.
38543         * sysdeps/unix/sparc/start.c: Delete file.
38544         * sysdeps/unix/start.c: Delete file.
38545
38546         * sysdeps/sh/elf/configure.in: Moved to ...
38547         * sysdeps/sh/configure.in: ... here.
38548         * sysdeps/sh/elf/start.S: Moved to ...
38549         * sysdeps/sh/start.S: ... here.
38550         * sysdeps/sh/elf/configure: Delete file.
38551
38552         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38553         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38554         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38555         * sysdeps/powerpc/powerpc64/entry.h: ... here.
38556         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38557         * sysdeps/powerpc/powerpc64/start.S: here.
38558         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38559         * sysdeps/powerpc/powerpc64/Makefile: ... this.
38560         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38561         * sysdeps/powerpc/powerpc64/configure.in: ... this.
38562         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38563
38564         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38565         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38566         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38567         * sysdeps/powerpc/powerpc32/start.S: ... here.
38568         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38569         * sysdeps/powerpc/powerpc32/configure.in: ... this.
38570         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38571
38572         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38573         * sysdeps/powerpc/ifunc-sel.h: ... here.
38574         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38575         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38576
38577         * sysdeps/sparc/elf/configure.in: Moved to ...
38578         * sysdeps/sparc/configure.in: ... here.
38579         * sysdeps/sparc/elf/configure: Delete file.
38580         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38581         * sysdeps/sparc/sparc32/start.S: ... here.
38582         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38583         * sysdeps/sparc/sparc64/start.S: ... here.
38584         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38585         * sysdeps/sparc/sparc32/Makefile: ... this.
38586         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38587         * sysdeps/sparc/sparc64/Makefile: ... this.
38588
38589         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38590         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38591         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38592         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38593         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38594         * sysdeps/s390/s390-32/setjmp.S: ... here.
38595         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38596         * sysdeps/s390/s390-32/configure.in: ... here.
38597         * sysdeps/s390/s390-32/elf/configure: Delete file.
38598         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38599         * sysdeps/s390/s390-32/start.S: ... here.
38600
38601         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38602         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38603         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38604         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38605         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38606         * sysdeps/s390/s390-64/setjmp.S: ... here.
38607         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38608         * sysdeps/s390/s390-64/configure.in: ... here
38609         * sysdeps/s390/s390-64/elf/configure: Delete file.
38610         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38611         * sysdeps/s390/s390-64/start.S: ... here.
38612         * sysdeps/s390/s390-64/elf/configure: Delete.
38613
38614         * configure.in: Remove support for elf directories in sysdeps.
38615
38616         * configure: Regenerated.
38617         * sysdeps/i386/configure: Regenerated.
38618         * sysdeps/powerpc/powerpc32/configure: Regenerated.
38619         * sysdeps/powerpc/powerpc64/configure: Regenerated.
38620         * sysdeps/s390/s390-32/configure: Regenerated.
38621         * sysdeps/s390/s390-64/configure: Regenerated.
38622         * sysdeps/sh/configure: Regenerated.
38623         * sysdeps/sparc/configure: Regenerated.
38624         * sysdeps/x86_64/configure: Regenerated.
38625
38626 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
38627
38628         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38629
38630         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38631         denormal result into account.
38632
38633 2012-03-25  Roland McGrath  <roland@hack.frob.com>
38634
38635         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38636         Reported by Allan McRae <allan@archlinux.org>.
38637
38638 2012-03-23  Jeff Law  <law@redhat.com>
38639
38640         * nss/getnssent.c (__nss_getent): Fix typo.
38641
38642 2012-03-23  David S. Miller  <davem@davemloft.net>
38643
38644         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38645
38646 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
38647
38648         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38649         to pad to uint64_t for each field.
38650         (dl_tls_index): Replace unsigned long with uint64_t.
38651
38652 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
38653         Paul Pluzhnikov  <ppluzhnikov@google.com>
38654
38655         [BZ #6528]
38656         * grp/Makefile (otherlibs): Don't set it.
38657         * inet/Makefile (otherlibs): Likewise.
38658         * login/Makefile (otherlibs): Likewise.
38659         * nscd/Makefile (otherlibs): Likewise.
38660         * posix/Makefile (otherlibs): Likewise.
38661         * pwd/Makefile (otherlibs): Likewise.
38662         * rt/Makefile (otherlibs): Likewise.
38663         * sunrpc/Makefile (otherlibs): Likewise.
38664         * nss/Makefile (otherlibs): Likewise.
38665         Add libnss_files to routines and static-only-routines.
38666         ($(objpfx)getent): Remove rule.
38667         * resolv/Makefile: Add libnss_dns and libresolv to routines and
38668         static-only-routines.
38669
38670 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
38671
38672         [BZ #13892]
38673         * math/s_cexp.c: Include <float.h>.
38674         (__cexp): Handle exp result overflowing not necessarily
38675         overflowing both real and imaginary parts of result.
38676         * math/s_cexpf.c: Likewise.
38677         * math/s_cexpl.c: Likewise.
38678         * math/libm-test.inc (cexp_test): Add more tests.
38679         * sysdeps/i386/fpu/libm-test-ulps: Update.
38680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38681
38682 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38683
38684         * include/link.h (ELFW): New macro.
38685         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38686         Replace ELF64_R_TYPE with ELFW(R_TYPE).
38687
38688 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38689
38690         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38691         with uint64_t.
38692
38693 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38694
38695         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38696         declaration.
38697         (struct La_x32_retval): Likewise.
38698
38699 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38700
38701         * sysdeps/x86_64/preconfigure.in: New file.
38702         * sysdeps/x86_64/preconfigure: New generated file.
38703
38704 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
38705
38706         [BZ #13824]
38707         * math/e_exp2l.c: Include <float.h>.
38708         (__ieee754_exp2l): Handle overflow and underflow cases
38709         separately.  Only pass fractional part of argument to
38710         __ieee754_expl.
38711         * math/libm-test.inc (exp2_test): Add more tests.
38712
38713         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38714         negating x to take absolute value.
38715         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38716         Likewise.
38717         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38718         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38719         Likewise.
38720         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38721         computing low part if x was negated.
38722         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38723
38724 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38725
38726         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38727         la_x32_gnu_pltexit.
38728         (pltexit): Cast int_retval to ptrdiff_t.
38729         * elf/tst-auditmod3b.c: Likewise.
38730         * elf/tst-auditmod4b.c: Likewise.
38731         * elf/tst-auditmod5b.c: Likewise.
38732         * elf/tst-auditmod6b.c: Likewise.
38733         * elf/tst-auditmod6c.c: Likewise.
38734         * elf/tst-auditmod7b.c: Likewise.
38735
38736         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38737         and x32_gnu_pltexit.
38738
38739         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38740         __ELF_NATIVE_CLASS.
38741         (La_x32_regs): New macro.
38742         (La_x32_retval): Likewise.
38743         (la_x32_gnu_pltenter): New function prototype.
38744         (la_x32_gnu_pltexit): Likewise.
38745
38746 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
38747
38748         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38749         exponent.
38750
38751         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38752
38753         * configure.in (libc_cv_cc_nofma): Check for option to disable
38754         generation of FMA instructions.
38755         * configure: Regenerate.
38756         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38757         * sysdeps/ieee754/dbl-64/Makefile: New file.
38758         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38759         Remove brandred-fma4.
38760         (CFLAGS-brandred-fma4.c): Remove.
38761         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38762         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38763         define.
38764         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38765         define.
38766
38767 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38768
38769         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38770         LLONG_MAX != LONG_MAX.
38771         (_itoa_word): Use _ITOA_WORD_TYPE on value.
38772         (_fitoa_word): Likewise.
38773         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38774         LLONG_MAX != LONG_MAX.
38775         * stdio-common/_itowa.h: Include <_itoa.h>.
38776         (_itowa_word): Use _ITOA_WORD_TYPE on value.
38777         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
38778         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
38779         only if not defined.
38780         (_ITOA_WORD_TYPE): Likewise.
38781         (_itoa_word): Use _ITOA_WORD_TYPE on value.
38782         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38783
38784 2012-03-21  David S. Miller  <davem@davemloft.net>
38785
38786         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38787
38788 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38789
38790         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38791         of x86_64 when setting libc_cv_slibdir, libdir and
38792         libc_cv_localedir.
38793         * sysdeps/unix/sysv/linux/configure: Regenerated.
38794
38795 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38796
38797         * manual/lang.texi (Old Varargs): Remove section.
38798         (How Variadic): Update menu.
38799         (va_start): Do not mention varargs.h.
38800
38801 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
38802             Joseph Myers  <joseph@codesourcery.com>
38803
38804         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38805         link test.
38806         * configure: Regenerated.
38807
38808 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
38809
38810         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38811         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38812         conformtest.pl
38813
38814 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38815
38816         * NOTES: Remove.
38817         * Makefile (files-for-dist): Remove NOTES.
38818         (NOTES): Remove rule.
38819         * README: Don't refer to NOTES.
38820         * manual/creature.texi: Don't include macros.texi.
38821         * manual/intro.texi (creature.texi): Remove comment referring to
38822         NOTES.
38823
38824         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38825         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38826         * configure: Regenerated.
38827         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38828         LIBC_TRY_CC_OPTION.
38829         (libc_cv_as_i686): Likewise.
38830         (libc_cv_cc_avx): Likewise.
38831         (libc_cv_cc_sse2avx): Likewise.
38832         (libc_cv_cc_fma4): Likewise.
38833         (libc_cv_cc_novzeroupper): Likewise.
38834         * sysdeps/i386/configure: Regenerated.
38835
38836         [BZ #13883]
38837         * sysdeps/i386/fpu/s_cexp.S: Remove.
38838         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38839         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38840         * math/libm-test.inc (cexp_test): Add more tests.
38841         * sysdeps/i386/fpu/libm-test-ulps: Update.
38842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38843
38844 2012-03-21  Allan McRae  <allan@archlinux.org>
38845
38846         * timezone/Makefile: Do not install iso3166.tab and zone.tab
38847
38848 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38849
38850         [BZ #13871]
38851         * math/w_exp2.c: Do not include <float.h>.
38852         (o_threshold, u_threshold): Remove.
38853         (__exp2): Calculate result before checking finiteness and calling
38854         __kernel_standard.
38855         * math/w_exp2f.c: Likewise.
38856         * math/w_exp2l.c: Likewise.
38857         * math/libm-test.inc (exp2_test): Require overflow exception for
38858         1e6 input.
38859
38860         [BZ #3866]
38861         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38862         range of signed 64-bit integers before using fistpll.  Remove
38863         checks for whether integers fit in mantissa bits.
38864         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38865         the range of signed 32-bit integers before using fistpl.  Remove
38866         checks for whether integers fit in mantissa bits.
38867         * sysdeps/i386/fpu/e_powl.S (p64): New object.
38868         (__ieee754_powl): Test for y outside the range of signed 64-bit
38869         integers before using fistpll.  Reduce 64-bit values to 63-bit
38870         ones as needed.
38871         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38872         divide-by-zero is raised for zero to large negative powers.
38873         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38874         (__ieee754_powl): Test for y outside the range of signed 64-bit
38875         integers before using fistpll.  Reduce 64-bit values to 63-bit
38876         ones as needed.
38877         * math/libm-test.inc (pow_test): Add more tests.
38878
38879 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38880
38881         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38882         <stdio-common/_itoa.h>.
38883         * debug/segfault.c: Likewise.
38884         * elf/dl-cache.c: Likewise.
38885         * elf/dl-minimal.c: Likewise.
38886         * elf/dl-misc.c: Likewise.
38887         * elf/dl-sysdep.c: Likewise.
38888         * elf/dl-version.c: Likewise.
38889         * elf/rtld.c: Likewise.
38890         * hurd/hurdsock.c: Likewise.
38891         * hurd/lookup-retry.c: Likewise.
38892         * malloc/malloc.c: Likewise.
38893         * malloc/mtrace.c: Likewise.
38894         * nscd/nscd_getgr_r.c: Likewise.
38895         * nscd/nscd_getpw_r.c: Likewise.
38896         * nscd/nscd_getserv_r.c: Likewise.
38897         * posix/getopt_init.c: Likewise.
38898         * posix/wordexp.c: Likewise.
38899         * stdio-common/_itoa.c: Likewise.
38900         * stdio-common/printf_fphex.c: Likewise.
38901         * stdio-common/vfprintf.c: Likewise.
38902         * string/_strerror.c: Likewise.
38903         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38904         * sysdeps/i386/i686/hp-timing.h: Likewise.
38905         * sysdeps/mach/_strerror.c: Likewise.
38906         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38907         * sysdeps/mach/hurd/sethostid.c: Likewise.
38908         * sysdeps/mach/hurd/xmknodat.c: Likewise.
38909         * sysdeps/mach/xpg-strerror.c: Likewise.
38910         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38911         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38912         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38913         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38914         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38915         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38916         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38917         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38918         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38919         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38920         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38921         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38922         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38923         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38924         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38925         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38926         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38927         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38928         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38929         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38930         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38931
38932         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38933
38934         * stdio-common/_itoa.h: Moved to ...
38935         * sysdeps/generic/_itoa.h: Here.
38936
38937         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38938
38939         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38940         instead of "_itoa.h" and "_itowa.h".
38941         * stdio-common/vfprintf.: Likewise.
38942
38943 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38944
38945         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38946         <bits/wordsize.h>.
38947         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38948         (__signbit): Likwise.
38949         (llrintf): Likwise.
38950         (llrint): Likwise.
38951
38952 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38953
38954         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38955         __WORDSIZE != 64.
38956
38957 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
38958
38959         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38960         OVERFLOW_EXCEPTION_OK.
38961         * math/libm-test.inc ("Philosophy"): Update comment about
38962         exception testing.
38963         (OVERFLOW_EXCEPTION): Define.
38964         (OVERFLOW_EXCEPTION_OK): Likewise.
38965         (INVALID_EXCEPTION_OK): Renumber.
38966         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38967         (IGNORE_ZERO_INF_SIGN): Likewise.
38968         (test_exceptions): Handle FE_OVERFLOW.
38969         (exp10_test): Expect overflow exceptions.
38970         (exp2_test): Likewise.
38971         (expm1_test): Likewise.
38972         (nextafter_test): Likewise.
38973         (pow_test): Likewise.
38974         (scalbn_test): Likewise.
38975         (scalbln_test): Likewise.
38976
38977 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38978
38979         * sysdeps/x86_64/bits/atomic.h
38980         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38981         64bit integer.
38982         (atomic_exchange_acq): Likewise.
38983         (__arch_exchange_and_add_body): Likewise.
38984         (__arch_add_body): Likewise.
38985         (atomic_add_negative): Likewise.
38986         (atomic_add_zero): Likewise.
38987
38988 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38989
38990         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38991         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38992
38993 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38994
38995         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38996         Check __x86_64__ instead of __WORDSIZE.
38997
38998 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38999
39000         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39001
39002 2012-03-19  David S. Miller  <davem@davemloft.net>
39003
39004         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39005
39006         * sysdeps/sparc/fpu/fenv_private.h: New file.
39007         * sysdeps/sparc/fpu/math_private.h: Use it.
39008         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39009         Remove.
39010         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39011         (libc_feholdexcept_setroundl): Remove.
39012         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39013         Remove.
39014         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39015         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39016
39017 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39018
39019         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39020         int64_t instead of long int.
39021         (INSERT_WORDS64): Likwise.
39022
39023 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39024
39025         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39026         _Unwind_GetCFA return to _Unwind_Ptr first.
39027
39028 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
39029
39030         [BZ #13629]
39031         * math/s_clog.c: Include <float.h>.
39032         (__clog): Scale large or subnormal inputs.
39033         * math/s_clogf.c: Likewise.
39034         * math/s_clogl.c: Likewise.
39035         * math/s_clog10.c: Include <float.h>.
39036         (M_LOG10_2): Define.
39037         (__clog10): Scale large or subnormal inputs.
39038         * math/s_clog10f.c: Likewise.
39039         * math/s_clog10l.c: Likewise.
39040         * math/libm-test.inc (clog_test): Add more tests.
39041         (clog10_test): Likewise.
39042         * sysdeps/i386/fpu/libm-test-ulps: Update.
39043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39044
39045         [BZ #11451]
39046         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39047         x and y.
39048         * math/libm-test.inc (atan2_test): Add another test.
39049
39050         * Makerules (common-objdir-compile): Remove.
39051         * sysdeps/unix/Makefile (config-generated): Do not add
39052         $(unix-generated) to variable.
39053         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39054         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39055         Remove rule.
39056         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39057         Likewise.
39058         [generic bits/local_lim.h] (before-compile): Do not append to
39059         variable.
39060         [generic bits/local_lim.h] (common-generated): Likewise.
39061         [generic sys/param.h] (before-compile): Do not append to variable.
39062         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39063         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39064         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39065         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39066         include.
39067         [generic sys/param.h] (sys/param.h-includes): Remove variable.
39068         [generic sys/param.h] (sys/param.h-includes): Remove rule.
39069         [generic sys/param.h] ($(addprefix
39070         $(common-objpfx),$(sys/param.h-includes))): Likewise.
39071         [generic sys/param.h] (common-generated): Do not append to
39072         variable.
39073         [generic sys/param.h] (sysdep_headers): Likewise.
39074         [generic bits/errno.h] (before-compile): Do not append to
39075         variable.
39076         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39077         rule.
39078         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39079         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39080         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39081         [generic bits/errno.h] (common-generated): Do not append to
39082         variable.
39083         [generic bits/ioctls.h] (before-compile): Do not append to
39084         variable.
39085         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39086         rule.
39087         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39088         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39089         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39090         rule.
39091         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39092         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39093         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39094         [generic bits/ioctls.h] (common-generated): Do not append to
39095         variable.
39096         [generic sys/syscall.h] (syscall.h): Remove variable.
39097         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39098         rule.
39099         [generic sys/syscall.h] (before-compile): Do not append to
39100         variable.
39101         [generic sys/syscall.h] (common-generated): Likewise.
39102         * sysdeps/unix/errnos-tmpl.c: Remove file.
39103         * sysdeps/unix/errnos.awk: Likewise.
39104         * sysdeps/unix/ioctls-tmpl.c: Likewise.
39105         * sysdeps/unix/ioctls.awk: Likewise.
39106         * sysdeps/unix/mk-local_lim.c: Likewise.
39107         * sysdeps/unix/snarf-ioctls: Likewise.
39108
39109 2012-03-19  Richard Henderson  <rth@twiddle.net>
39110
39111         * sysdeps/i386/fpu/fenv_private.h: New file.
39112         * sysdeps/i386/fpu/math_private.h: Use it.
39113         (math_opt_barrier, math_force_eval): Remove.
39114         (libc_feholdexcept_setround_53bit): Remove.
39115         (libc_feupdateenv_53bit): Remove.
39116         * sysdeps/x86_64/fpu/math_private.h: Likewise.
39117         (math_opt_barrier, math_force_eval): Remove.
39118         (libc_feholdexcept): Remove.
39119         (libc_feholdexcept_setround): Remove.
39120         (libc_fetestexcept, libc_fesetenv): Remove.
39121         (libc_feupdateenv_test): Remove.
39122         (libc_feupdateenv, libc_feholdsetround): Remove.
39123         (libc_feresetround): Remove.
39124
39125         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39126         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39127
39128         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39129         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39130         (libc_feupdateenv_testl): New.
39131         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39132         (libc_feupdateenv_testf): New.
39133         (libc_feupdateenv): Use libc_feupdateenv_test.
39134         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39135         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39136
39137         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39138         (libc_feholdsetroundf, libc_feholdsetroundl): New.
39139         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39140         (libc_feresetround_noex): New.
39141         (libc_feresetround_noexf): New.
39142         (libc_feresetround_noexl): New.
39143         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39144         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39145         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39146         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39147         SET_RESTORE_ROUND.
39148         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39149         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39150         (__cos): Likewise.
39151         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39152         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39153         SET_RESTORE_ROUND_NOEX.
39154         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39155         SET_RESTORE_ROUND_NOEXF.
39156         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39157         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39158         (libc_feholdsetroundf): New.
39159         (libc_feresetround, libc_feresetroundf): New.
39160
39161         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39162         (libc_feholdexcept_setround_53bit): Convert from macro to function.
39163         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
39164
39165         * sysdeps/generic/math_private.h: Include <fenv.h>.
39166         (default_libc_feholdexcept): New.
39167         (default_libc_feholdexcept_setround): New.
39168         (default_libc_fesetenv, default_libc_feupdateenv): New.
39169         (libc_feholdexcept): Only define if undefined.
39170         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39171         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39172         (libc_feholdexcept_setroundl): Likewise.
39173         (libc_feholdexcept_setround_53bit): Likewise.
39174         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39175         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39176         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39177         (libc_feupdateenv_53bit): Likewise.
39178         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39179         (libc_feholdexcept): Convert from macro to inline function.
39180         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39181         (libc_fesetenv, libc_feupdateenv): Likewise.
39182
39183         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39184         not previously defined.
39185         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39186         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39187         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39188         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39189         * sysdeps/ieee754/flt-32/math_private.h: New file.
39190         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39191         math_private.h below SET_FLOAT_WORD.
39192         (__isnan, __isinf_ns, __finite): Remove.
39193         (__isnanf, __isinf_nsf, __finitef): Remove.
39194
39195 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
39196
39197         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39198
39199 2012-03-17  David S. Miller  <davem@davemloft.net>
39200
39201         [BZ #6471]
39202         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39203         for 2.16.
39204
39205 2012-03-16  David S. Miller  <davem@davemloft.net>
39206
39207         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39208         warnings.
39209
39210         [BZ #6471]
39211         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39212         properly.
39213         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39214         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39215         sysdep_routines when subdir is sysvipc.
39216         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39217         __getshmlba helper.
39218
39219         * sysdeps/sparc/fpu/libm-test/ulps: Update.
39220
39221 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39222
39223         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39224         [__LP64__].
39225
39226 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39227
39228         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39229         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39230         (__lround): Renamed to ...
39231         (__llround): This.  Replace long int with long long int.
39232         Define lround functions as aliases of llround functions.
39233         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39234
39235 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39236
39237         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39238         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
39239         adresses to uintptr_t.  Replace "long int" and "unsigned long
39240         int" with "greg_t" on va_arg.
39241
39242 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39243
39244         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39245         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39246
39247         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39248         Move e_machine check before EI_CLASS check.  Handle x32
39249         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39250         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39251         SKIP_EM_IA_64 and include
39252         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39253
39254         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39255         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39256         (add_system_dir): New macro.
39257
39258         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39259         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39260
39261 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39262
39263         [BZ #2551]
39264         [BZ #2552]
39265         [BZ #2553]
39266         [BZ #2554]
39267         [BZ #2562]
39268         [BZ #2563]
39269         [BZ #2565]
39270         [BZ #2566]
39271         [BZ #2576]
39272         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39273         (y0): Likewise.
39274         * math/w_j0f.c (j0f): Likewise.
39275         (y0f): Likewise.
39276         * math/w_j0l.c (__j0l): Likewise.
39277         (__y0l): Likewise.
39278         * math/w_j1.c (j1): Likewise.
39279         (y1): Likewise.
39280         * math/w_j1f.c (j1f): Likewise.
39281         (y1f): Likewise.
39282         * math/w_j1l.c (__j1l): Likewise.
39283         (__y1l): Likewise.
39284         * math/w_jn.c (jn): Likewise.
39285         (yn): Likewise.
39286         * math/w_jnf.c (jnf): Likewise.
39287         (ynf): Likewise.
39288         * math/w_jnl.c (__jnl): Likewise.
39289         (__ynl): Likewise.
39290         * math/libm-test.inc (j0_test): Add more tests.
39291         (j1_test): Likewise.
39292         (jn_test): Likewise.  Add trailing semicolon to existing test.
39293         (y0_test): Likewise.
39294         (y1_test): Likewise.
39295         * sysdeps/i386/fpu/libm-test-ulps: Update.
39296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39297
39298         [BZ #13851]
39299         [BZ #13854]
39300         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39301         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39302         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39303         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39304         (__tanl): Set errno for infinite argument.
39305         * sysdeps/i386/fpu/mptan.c: Remove.
39306         * sysdeps/i386/fpu/s_tan.S: Likewise.
39307         * sysdeps/i386/fpu/s_tanl.S: Likewise.
39308         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39309         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39310         * math/libm-test.inc (tan_test): Add more tests and enable more
39311         tests for double and long double.
39312         * sysdeps/i386/fpu/libm-test-ulps: Update.
39313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39314
39315 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
39316
39317         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39318         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39319
39320 2012-03-16  Roland McGrath  <roland@hack.frob.com>
39321
39322         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39323         * configure.in: Use it for both main tree and add-ons.
39324         * configure: Regenerated.
39325
39326 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39327
39328         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39329
39330 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39331
39332         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39333         in comment.
39334
39335         [BZ #13851]
39336         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39337         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39338         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39339         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39340         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39341         infinite argument.
39342         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39343         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39344         != 0 for prec == 2.
39345         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39346         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39347         * sysdeps/i386/fpu/s_cosl.S: Likewise.
39348         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39349         * sysdeps/i386/fpu/s_sinl.S: Likewise.
39350         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39351         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39352         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39353         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39354         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39355         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39356         * math/libm-test.inc (cos_test): Add more tests and enable more
39357         tests for long double.
39358         (sin_test): Likewise.
39359         (sincos_test): Likewise.
39360         * sysdeps/i386/fpu/libm-test-ulps: Update.
39361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39362
39363 2012-03-16  David S. Miller  <davem@davemloft.net>
39364
39365         * sysdeps/sparc/fpu/math_private.h: New file.
39366
39367 2012-03-15  David S. Miller  <davem@davemloft.net>
39368
39369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39370         file.
39371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39373         file.
39374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39375         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39376         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39377         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39378         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39379         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39380         sysdep routines.
39381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39382
39383         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39384         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39385
39386         * sysdeps/sparc/sparc-ifunc.h: New file.
39387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39388         sparc-ifunc.h
39389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39391         Likewise.
39392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39393         Likewise.
39394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39398         Likewise.
39399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39404         Likewise.
39405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39406         Likewise.
39407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39411         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39412         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39413         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39414         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39415         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39416         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39417         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39418         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39419         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39420         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39421         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39422         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39423         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39424         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39425         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39426         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39427         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39428         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39429         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39430         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39431
39432 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
39433
39434         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39435         scaling.
39436         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39437
39438 2012-03-15  Andreas Jaeger  <aj@suse.de>
39439
39440         [BZ #13852]
39441         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39442         ieee754/flt-32 implementation for sin, cos and sincos.
39443         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39444         * sysdeps/i386/fpu/s_cosf.S: Likewise.
39445         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39446         * sysdeps/i386/fpu/s_sinf.S: Likewise.
39447         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39448         ieee754/flt-32 implementation for tan.
39449
39450         * math/libm-test.inc (cos_test): Enable some large input tests for
39451         float as well
39452         (sin_test): Likewise.
39453         (sincos_test): Likewise.
39454         (tan_test): Add tests for large input.
39455
39456         * sysdeps/i386/fpu/libm-test-ulps: Update.
39457
39458 2012-03-15  Andreas Jaeger  <aj@suse.de>
39459
39460         [BZ #13658]
39461         * math/libm-test.inc (cos_test): Add more test cases.
39462         (sin_test): Likewise.
39463         (sincos_test): Likewise.
39464
39465 2012-03-15  Andreas Jaeger  <aj@suse.de>
39466
39467         [BZ #13837]
39468         * math/libm-test.inc (cos_test): Add a test case for large input
39469         value.
39470         (sin_test): Likewise.
39471         (sincos_test): Likewise.
39472
39473 2012-03-15  Andreas Jaeger  <aj@suse.de>
39474             Joseph Myers  <joseph@codesourcery.com>
39475
39476         [BZ #13658]
39477         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39478         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39479         * sysdeps/i386/fpu/branred.c: Likewise.
39480         * sysdeps/i386/fpu/dosincos.c: Likewise.
39481         * sysdeps/i386/fpu/mpa.c: Likewise.
39482         * sysdeps/i386/fpu/s_cos.S: Likewise.
39483         * sysdeps/i386/fpu/s_sin.S: Likewise.
39484         * sysdeps/i386/fpu/s_sincos.S: Likewise.
39485         * sysdeps/i386/fpu/sincos32.c: Likewise.
39486
39487         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39488         Define.
39489         (libc_feupdateenv_53bit): Define.
39490         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39491         Define.
39492         (libc_feupdateenv_53bit): Define.
39493
39494         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39495         53 bit (without extend i386 double precision).
39496
39497         * math/libm-test.inc (sincos_test): Add tests for large input.
39498         (sin): Likewise.
39499         (cos): Likewise.
39500
39501         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39502
39503 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
39504
39505         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39506
39507 2012-03-15  David S. Miller  <davem@davemloft.net>
39508
39509         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39510         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39511         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39512         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39513         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39514         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39516         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39517         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39518         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39519         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39520         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39521         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39522         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39523         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39525         file.
39526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39528         file.
39529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39531         file.
39532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39534         file.
39535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39536         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39537         fmin/fmax sysdep routines.
39538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39539
39540 2012-03-14  David S. Miller  <davem@davemloft.net>
39541
39542         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39543         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39544         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39545         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39546         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39547         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39548         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39549         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39550         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39551         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39552         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39553         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39554         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39555         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39556         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39557         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39558         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39559         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39560         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39561         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39562         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39563         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39564         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39565         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39566         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39567         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39568         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39569         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39570         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39571         routines.
39572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39573         file.
39574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39576         file.
39577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39579         file.
39580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39582         file.
39583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39585         file.
39586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39588         file.
39589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39590         file.
39591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39592         file.
39593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39594         file.
39595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39596         New file.
39597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39598         file.
39599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39600         file.
39601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39603         file.
39604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39606         file.
39607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39609         file.
39610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39612         VIS3 routines.
39613
39614         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39615         New file.
39616
39617         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39618
39619         * sysdeps/sparc/configure.in: New file.
39620         * sysdeps/sparc/configure: Generate.
39621         * configure.in (libc_cv_sparc_as_vis3): Substitute.
39622         * configure: Regenerate.
39623         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39624         * config.make.in (have-as-vis3): New.
39625         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39626         available use -Av9d instead of -Av9a.
39627         * sysdeps/sparc/sparc64/Makefile: Likewise.
39628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39630         New file.
39631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39632         file.
39633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39634         New file.
39635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39636         file.
39637         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39638         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39639         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39640         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39641         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39642
39643         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39644         fzeros/fnegs to load 0x80000000 into a float register instead of
39645         using the stack.
39646         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39647
39648 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
39649
39650         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39651         bits/syscall.h.
39652         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39653         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39654         ($(inst_includedir)/bits/syscall.h): Remove rule.
39655         ($(objpfx)bits/syscall.d): Include instead of
39656         $(objpfx)syscall-list.d.
39657         (generated): Change syscall-list.h and syscall-list.d to
39658         bits/syscall.h and bits/syscall.d.
39659
39660 2012-03-14  Roland McGrath  <roland@hack.frob.com>
39661
39662         [BZ #13846]
39663         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39664
39665 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
39666
39667         [BZ #13841]
39668         * math/s_csqrt.c: Include <float.h>.
39669         (__csqrt): Scale large or subnormal inputs.
39670         * math/s_csqrtf.c: Likewise.
39671         * math/s_csqrtl.c: Likewise.
39672         * math/libm-test.inc (csqrt_test): Add more tests.
39673         * sysdeps/i386/fpu/libm-test-ulps: Update.
39674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39675
39676         [BZ #13840]
39677         * math/libm-test.inc (hypot_test): Add more tests.
39678
39679 2012-03-13  David S. Miller  <davem@davemloft.net>
39680
39681         [BZ #13840]
39682         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39683         double-precision for the calculation instead of scaling.
39684
39685 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
39686
39687         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39688         manipulate bits before adding and subtracting TWO52[sx].
39689         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39690         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39691         Likewise.
39692         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39693
39694 2012-03-13  David S. Miller  <davem@davemloft.net>
39695
39696         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39697         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39698         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39699         rtld-global-offsets.h
39700         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39701
39702         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39703         large parameters.
39704
39705         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39706
39707         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39708         'err' in the ifdef scope in which it is actually used.
39709
39710         * nss/nss_db/db-init.c: Include string.h
39711
39712 2012-03-12  David S. Miller  <davem@davemloft.net>
39713
39714         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39715         masking out of the most significant byte of random value used.
39716         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39717         Fix coding style in previous change.
39718
39719         * sysdeps/unix/sysv/linux/kernel-features.h
39720         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39721         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39722         expression.
39723         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39724         later.
39725
39726 2012-03-11  David S. Miller  <davem@davemloft.net>
39727
39728         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39729         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39730         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39731         for 'resultvar' otherwise things get truncated on 64-bit.
39732
39733         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39734         Fix masking out of the most significant byte of random value used.
39735
39736         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39737
39738 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
39739
39740         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39741
39742 2012-03-09  David S. Miller  <davem@davemloft.net>
39743
39744         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39745         variables with appropriate CPP guards.
39746         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39747         from the frame pointer, not the stack pointer.  Correct layout
39748         comments.  Fix test on resulting framesize and the management of
39749         the outregs buffer for pltexit.  Preserve floating point return
39750         values across _dl_call_pltexit call.
39751         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39752         framesize and the management of the outregs buffer for pltexit.
39753         Preserve floating point return values across _dl_call_pltexit
39754         call.
39755         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39756         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39757         (la_sparc64_gnu_pltexit): New functions.
39758         (print_exit): Fix format string for return register value.
39759
39760 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
39761
39762         * sunrpc/Makefile (others): Add rpcgen.
39763         ($(objpfx)rpcgen): Remove special build rule and dependency on
39764         libc.
39765         * sunrpc/rpcgen.c: New file.
39766
39767 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
39768
39769         [BZ #13673]
39770         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39771         * stdio-common/bug-vfprintf-nargs.c: Likewise.
39772         * sysdeps/i386/crti.S: Likewise.
39773         * sysdeps/i386/crtn.S: Likewise.
39774         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39775         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39776         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39777         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39778         * sysdeps/sh/crti.S: Likewise.
39779         * sysdeps/sh/crtn.S: Likewise.
39780         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39781
39782         [BZ #13673]
39783         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39784         with URL.
39785         * locale/programs/locfile-kw.gperf: Likewise.
39786         * locale/programs/charmap-kw.h: Regenerated.
39787         * locale/programs/locfile-kw.h: Likewise.
39788
39789         [BZ #13673]
39790         * intl/plural.y: Replace FSF snail mail address with URL.
39791         * intl/plural.c: Regenerated.
39792
39793 2012-03-09  Richard Henderson  <rth@twiddle.net>
39794
39795         * include/math_private.h: Remove file.
39796         * math/math_private.h: Move file ...
39797         * sysdeps/generic/math_private.h: ... here.
39798
39799         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39800         * sysdeps/powerpc/fpu/math_private.h: Likewise.
39801         * sysdeps/x86_64/fpu/math_private.h: Likewise.
39802
39803         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
39804         and <math_private.h>.
39805         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39806         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39807         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39808         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39809         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39810         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39811         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39812         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39813         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39814         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39815         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39816         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39817         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39818         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39819         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39820         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39821         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39822         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39823         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39824         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39825         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39826         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39827         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39828         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39829         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39830         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39831         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39832         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39833         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39834         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39835         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39836         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39837         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39838         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39839         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39840         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39841         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39842         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39843         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39844         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39845         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39846         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39847         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39848         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39849         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39850         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39851         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39852         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39853         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39854         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39855         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39856         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39857         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39858         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39859         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39860         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39861         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39862         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39863         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39864         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39865         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39866         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39867         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39868         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39869         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39870         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39871         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39872         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39873         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39874         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39875         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39876         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39877         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39878         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39879         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39880         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39881         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39882         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39883         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39884         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39885         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39886         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39887         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39888         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39889         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39890         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39891         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39892         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39893         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39894         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39895         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39896         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39897         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39898         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39899         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39900         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39901         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39902         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39903         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39904         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39905         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39906         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39907         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39908         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39909         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39910         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39911         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39912         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39913         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39914         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39915         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39916         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39917         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39918         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39919         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39920         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39921         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39922         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39923         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39924         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39925         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39926         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39927         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39928         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39929         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39930         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39931         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39932         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39933         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39934         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39935         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39936         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39937         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39938         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39939         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39940         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39941         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39942         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39943         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39944         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39945         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39946         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39947         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39948         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39949         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39950         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39951         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39952         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39953         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39954         * sysdeps/ieee754/k_standard.c: Likewise.
39955         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39956         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39957         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39958         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39959         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39960         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39961         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39962         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39963         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39964         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39965         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39966         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39967         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39968         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39969         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39970         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39971         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39972         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39973         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39974         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39975         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39976         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39977         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39978         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39979         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39980         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39981         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39982         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39983         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39984         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39985         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39986         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39987         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39988         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39989         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39990         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39991         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39992         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39993         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39994         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39995         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39996         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39997         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39998         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39999         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40000         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40001         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40002         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40003         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40004         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40005         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40006         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40007         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40008         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40009         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40010         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40011         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40012         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40013         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40014         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40015         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40016         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40017         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40018         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40019         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40020         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40021         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40022         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40023         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40024         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40025         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40026         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40027         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40028         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40029         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40030         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40031         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40032         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40033         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40034         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40035         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40036         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40037         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40038         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40039         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40040         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40041         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40042         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40043         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40044         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40045         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40046         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40047         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40048         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40049         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40050         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40051         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40052         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40053         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40054         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40055         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40056         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40057         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40058         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40059         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40060         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40061         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40062         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40063         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40064         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40065         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40066         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40067         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40068         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40069         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40070         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40071         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40072         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40073         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40074         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40075         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40076         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40077         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40078         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40079         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40080         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40081         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40082         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40083         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40084         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40085         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40086         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40087         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40088         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40089         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40090         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40091         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40092         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40093         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40094         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40095         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40096         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40097         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40098         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40099         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40100         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40101         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40102         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40103         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40104         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40105         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40106         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40107         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40108         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40109         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40110         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40111         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40112         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40113         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40114         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40115         * sysdeps/ieee754/s_lib_version.c: Likewise.
40116         * sysdeps/ieee754/s_matherr.c: Likewise.
40117         * sysdeps/ieee754/s_signgam.c: Likewise.
40118         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40119         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40120         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40121         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40122         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40123         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40124         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40125         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40126         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40127         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40128         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40129         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40130         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40131         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40132         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40133         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40134         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40135         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40136         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40137         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40138         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40139
40140 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40141
40142         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40143         * sunrpc/rpc_main.c: Likewise.
40144         * sunrpc/rpc_svcout.c: Likewise.
40145
40146 2012-03-09  David S. Miller  <davem@davemloft.net>
40147
40148         * include/math_private.h: New file.
40149
40150 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40151
40152         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40153         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40154         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40155         from <bits/socket_type.h>.
40156         (enum __socket_type): Don't define here.
40157         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40158         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40159         bits/socket_type.h.
40160
40161         [BZ #13566]
40162         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40163         checking __USE_GNU.
40164
40165         * Makerules ($(inst_includedir)/%.h): New rule.
40166         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40167         (install-others): Remove variable setting.
40168         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40169
40170 2012-03-08  Richard Henderson  <rth@twiddle.net>
40171
40172         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40173         from macro to inline function; merge with the
40174         !__LIBC_INTERNAL_MATH_INLINES version.
40175         (__ieee754_sqrtf): Likewise.
40176
40177         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40178         to inline function.
40179         (__rintf, __floor, __floorf): Likewise.
40180
40181         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40182         macro to inline function.
40183         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40184
40185         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40186         not <math/math_private.h>.
40187
40188 2012-03-08  David S. Miller  <davem@davemloft.net>
40189
40190         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40191         copyright year.
40192         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40193
40194 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
40195
40196         * resolv/gai_misc.c (handle_requests): Fix struct timespec
40197         normalization.
40198         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40199         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40200
40201 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
40202
40203         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
40204         be defined individually, they must be defined as a block.  Define
40205         S for printing a string instead of hidint the different by using a
40206         macro for adding the 'l'.
40207         * stdio-common/tst-fphex-wide.c: Adjust.
40208
40209 2012-03-07  Marek Polacek  <polacek@redhat.com>
40210
40211         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40212
40213 2012-03-08  Marek Polacek  <polacek@redhat.com>
40214
40215         [BZ #13806]
40216         * stdio-common/Makefile (tests): Add tst-fphex-wide.
40217         * stdio-common/tst-fphex.c: Define a few macros to make the
40218         test reusable.  Use them.
40219         * stdio-common/tst-fphex-wide.c: New file.
40220
40221 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
40222
40223         [BZ #6911]
40224         * manual/macros.texi (gnusystems): New macro.
40225         (nongnusystems): Likewise.
40226         (gnulinuxhurdsystems): Likewise.
40227         (gnuhurdsystems): Likewise..
40228         (gnulinuxsystems): Likewise.
40229         * manual/charset.texi: Use new macros or @theglibc{} to refer to
40230         variants of the GNU system, not "GNU system".
40231         * manual/conf.texi: Likewise.
40232         * manual/errno.texi: Likewise.  Update example of errno macro
40233         expansion.
40234         * manual/filesys.texi: Likewise.
40235         (getumask): Document as specific to GNU/Hurd.
40236         * manual/install.texi: Likewise.  Reword some references to
40237         GNU/Linux.
40238         * manual/intro.texi: Likewise.
40239         * manual/io.texi: Likewise.
40240         (File Name Portability): Detail which constraints are inapplicable
40241         to all GNU systems and which are only inapplicable to GNU/Hurd.
40242         * manual/job.texi: Likewise.
40243         * manual/llio.texi: Likewise.
40244         (O_NOCTTY): Document as present on GNU/Linux.
40245         * manual/maint.texi: Likewise.
40246         * manual/memory.texi: Likewise.
40247         * manual/pattern.texi: Likewise.
40248         * manual/pipe.texi: Likewise.
40249         * manual/process.texi: Likewise.
40250         * manual/resource.texi: Likewise.
40251         (RUSAGE_CHILDREN): Remove statement about specifying a particular
40252         child on GNU/Hurd.
40253         * manual/setjmp.texi: Likewise.
40254         * manual/signal.texi: Likewise.
40255         * manual/startup.texi: Likewise.
40256         * manual/stdio.texi: Likewise.
40257         * manual/terminal.texi: Likewise.
40258         (ONLCR): Document as POSIX.
40259         (OXTABS): Document availability on GNU/Linux as XTABS.
40260         (ONOEOT): Document availability separately from other bits.
40261         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40262         * manual/time.texi: Likewise.
40263         * manual/users.texi: Likewise.
40264         * INSTALL: Regenerated.
40265         * sysdeps/gnu/errlist.c: Regenerated.
40266
40267         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40268         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40269         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
40270         puts.
40271         * configure: Regenerated.
40272
40273 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
40274
40275         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40276         default includes instead of AC_HEADER_CHECK.
40277         * sysdeps/i386/configure: Regenerated.
40278
40279         [BZ #10716]
40280         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40281         * math/s_cacoshf.c (__cacoshf): Likewise.
40282         * math/s_cacoshl.c (__cacoshl): Likewise.
40283         * math/s_casinh.c (__casinh): Set signs of result from argument.
40284         * math/s_casinhf.c (__casinhf): Likewise.
40285         * math/s_casinhl.c (__casinhl): Likewise.
40286         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40287         (casinh_test): Add more tests.
40288         * sysdeps/i386/fpu/libm-test-ulps: Update.
40289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40290
40291 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
40292
40293         * po/zh_TW.po: Update from translation team.
40294
40295         * login/Makefile (distribute): Remove variable.
40296         * catgets/Makefile: Likewise.
40297         * mach/Makefile: Likewise.
40298         * malloc/Makefile: Likewise.
40299         * misc/Makefile: Likewise.
40300         * iconv/Makefile: Likewise.
40301         * nscd/Makefile: Likewise.
40302         * hurd/Makefile: Likewise.
40303         * manual/Makefile: Likewise.
40304         * locale/Makefile: Likewise.
40305         * intl/Makefile: Likewise.
40306         * conform/Makefile: Likewise.
40307         * nss/Makefile: Likewise.
40308         * time/Makefile: Likewise.
40309         * soft-fp/Makefile: Likewise.
40310         * dirent/Makefile: Likewise.
40311         * gmon/Makefile: Likewise.
40312         * po/Makefile: Likewise.
40313         * rt/Makefile: Likewise.
40314         * socket/Makefile: Likewise.
40315         * math/Makefile: Likewise.
40316         * signal/Makefile: Likewise.
40317         * debug/Makefile: Likewise.
40318         * elf/Makefile: Likewise.
40319         * timezone/Makefile: Likewise.
40320         * stdlib/Makefile: Likewise.
40321         * iconvdata/Makefile: Likewise.
40322         * sunrpc/Makefile: Likewise.
40323         * io/Makefile: Likewise.
40324         * argp/Makefile: Likewise.
40325         * inet/Makefile: Likewise.
40326         * hesiod/Makefile: Likewise.
40327         * grp/Makefile: Likewise.
40328         * csu/Makefile: Likewise.
40329         * wctype/Makefile: Likewise.
40330         * crypt/Makefile: Likewise.
40331         * libio/Makefile: Likewise.
40332         * string/Makefile: Likewise.
40333         * nis/Makefile: Likewise.
40334         * resolv/Makefile: Likewise.
40335         * stdio-common/Makefile: Likewise.
40336         * wcsmbs/Makefile: Likewise.
40337         * dlfcn/Makefile: Likewise.
40338         * posix/Makefile: Likewise.
40339
40340         [BZ #6959]
40341         * timezone/Makefile: Don't install timezone files, just the programs
40342         and scripts.
40343
40344 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
40345
40346         * nss/databases.def: Add missing gshadow entry.
40347
40348         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
40349
40350 2012-03-06  Marek Polacek  <polacek@redhat.com>
40351
40352         [BZ #13726]
40353         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40354         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40355         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40356         * stdio-common/tst-long-dbl-fphex.c: New file.
40357
40358 2012-03-06  David S. Miller  <davem@davemloft.net>
40359
40360         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40361         (set_obp_int): New function.
40362         (get_obp_int): New function.
40363         (__get_clockfreq_via_dev_openprom): Likewise.
40364         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40365         Avoid unused variable warnings on 'val' and use builtin_expect.
40366         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40367         __builtin_expect.
40368         (INLINE_CLONE_SYSCALL): Likewise.
40369
40370 2012-03-05  David S. Miller  <davem@davemloft.net>
40371
40372         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40373
40374 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
40375
40376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40377
40378         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40379         only for |x| >= 40.
40380         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40381
40382 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
40383
40384         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40385         Replace gettimeofday with __vdso_gettimeofday.
40386
40387         * sysdeps/unix/sysv/linux/x86_64/init-first.c
40388         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40389         __vdso_clock_gettime and __vdso_getcpu.
40390
40391         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40392         time with __vdso_time.
40393
40394 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
40395
40396         * manual/lang.texi (size_t): Note types to which size_t may be
40397         equivalent with the GNU C Library, but do not describe when
40398         differences between them are significant.
40399
40400 2012-03-05  Andreas Jaeger  <aj@suse.de>
40401
40402         * sysdeps/i386/fpu/libm-test-ulps: Update.
40403
40404 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
40405
40406         [BZ #3976]
40407         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40408         (__ieee754_pow): Save and restore rounding mode and use
40409         round-to-nearest for main computations.
40410         * math/libm-test.inc (pow_test_tonearest): New function.
40411         (pow_test_towardzero): Likewise.
40412         (pow_test_downward): Likewise.
40413         (pow_test_upward): Likewise.
40414         (main): Call the new functions.
40415         * sysdeps/i386/fpu/libm-test-ulps: Update.
40416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40417
40418         [BZ #3976]
40419         * math/libm-test.inc (cosh_test_tonearest): New function.
40420         (cosh_test_towardzero): Likewise.
40421         (cosh_test_downward): Likewise.
40422         (cosh_test_upward): Likewise.
40423         (sinh_test_tonearest): Likewise.
40424         (sinh_test_towardzero): Likewise.
40425         (sinh_test_downward): Likewise.
40426         (sinh_test_upward): Likewise.
40427         (main): Call the new functions.
40428         * sysdeps/i386/fpu/libm-test-ulps: Update.
40429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40430
40431 2012-03-05  Tom de Vries  <tom@codesourcery.com>
40432
40433         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40434         default stack guard is set in last bytes.
40435         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40436
40437 2012-03-05  Kees Cook  <keescook@chromium.org>
40438
40439         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40440
40441         [BZ #13656]
40442         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40443         possibly allocate from heap instead of stack.
40444         * stdio-common/bug-vfprintf-nargs.c: New file.
40445         * stdio-common/Makefile (tests): Add nargs overflow test.
40446
40447 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
40448
40449         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40450
40451 2012-03-03  Marek Polacek  <polacek@redhat.com>
40452
40453         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40454         * math/math_private.h: Likewise.
40455         * stdlib/tst-strtod.c: Likewise.
40456         * sysdeps/i386/i486/bits/atomic.h: Likewise.
40457         * sysdeps/x86_64/bits/atomic.h: Likewise.
40458
40459 2012-03-02  David S. Miller  <davem@davemloft.net>
40460
40461         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40462         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40463         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40464         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40465         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40466         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40467         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40468         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40469
40470 2012-03-02  Roland McGrath  <roland@hack.frob.com>
40471
40472         [BZ #13792]
40473         * manual/examples/README: New file, says the example source files
40474         can be used under GPL>=2.
40475         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40476         line containing just "*/".
40477         * manual/examples/add.c: Add copyright header (GPL>=2).
40478         * manual/examples/argp-ex1.c: Likewise.
40479         * manual/examples/argp-ex2.c: Likewise.
40480         * manual/examples/argp-ex3.c: Likewise.
40481         * manual/examples/argp-ex4.c: Likewise.
40482         * manual/examples/atexit.c: Likewise.
40483         * manual/examples/db.c: Likewise.
40484         * manual/examples/dir.c: Likewise.
40485         * manual/examples/dir2.c: Likewise.
40486         * manual/examples/execinfo.c: Likewise.
40487         * manual/examples/filecli.c: Likewise.
40488         * manual/examples/filesrv.c: Likewise.
40489         * manual/examples/fmtmsgexpl.c: Likewise.
40490         * manual/examples/genpass.c: Likewise.
40491         * manual/examples/inetcli.c: Likewise.
40492         * manual/examples/inetsrv.c: Likewise.
40493         * manual/examples/isockad.c: Likewise.
40494         * manual/examples/longopt.c: Likewise.
40495         * manual/examples/memopen.c: Likewise.
40496         * manual/examples/memstrm.c: Likewise.
40497         * manual/examples/mkfsock.c: Likewise.
40498         * manual/examples/mkisock.c: Likewise.
40499         * manual/examples/mygetpass.c: Likewise.
40500         * manual/examples/pipe.c: Likewise.
40501         * manual/examples/popen.c: Likewise.
40502         * manual/examples/rprintf.c: Likewise.
40503         * manual/examples/search.c: Likewise.
40504         * manual/examples/select.c: Likewise.
40505         * manual/examples/setjmp.c: Likewise.
40506         * manual/examples/sigh1.c: Likewise.
40507         * manual/examples/sigusr.c: Likewise.
40508         * manual/examples/stpcpy.c: Likewise.
40509         * manual/examples/strdupa.c: Likewise.
40510         * manual/examples/strftim.c: Likewise.
40511         * manual/examples/strncat.c: Likewise.
40512         * manual/examples/subopt.c: Likewise.
40513         * manual/examples/swapcontext.c: Likewise.
40514         * manual/examples/termios.c: Likewise.
40515         * manual/examples/testopt.c: Likewise.
40516         * manual/examples/testpass.c: Likewise.
40517         * manual/examples/timeval_subtract.c: Likewise.
40518
40519         [BZ #13792]
40520         * manual/time.texi (Elapsed Time): Move timeval_subtract example
40521         function to ...
40522         * manual/timeval_subtract.c.texi: ... here, new file.
40523
40524 2012-03-02  David S. Miller  <davem@davemloft.net>
40525
40526         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40527
40528 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
40529
40530         [BZ #3976]
40531         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40532         (__sin): Save and restore rounding mode and use round-to-nearest
40533         for all computations.
40534         (__cos): Save and restore rounding mode and use round-to-nearest
40535         for all computations.
40536         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40537         <fenv.h>.
40538         (tan): Save and restore rounding mode and use round-to-nearest for
40539         all computations.
40540         * math/libm-test.inc (cos_test_tonearest): New function.
40541         (cos_test_towardzero): Likewise.
40542         (cos_test_downward): Likewise.
40543         (cos_test_upward): Likewise.
40544         (sin_test_tonearest): Likewise.
40545         (sin_test_towardzero): Likewise.
40546         (sin_test_downward): Likewise.
40547         (sin_test_upward): Likewise.
40548         (tan_test_tonearest): Likewise.
40549         (tan_test_towardzero): Likewise.
40550         (tan_test_downward): Likewise.
40551         (tan_test_upward): Likewise.
40552         (main): Call the new functions.
40553         * sysdeps/i386/fpu/libm-test-ulps: Update.
40554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40555
40556         [BZ #10135]
40557         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40558         small n, then large n, before computing and testing k+n.
40559         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40560         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40561         Likewise.
40562         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40563         Likewise.
40564         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40565         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40566         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40567         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40568         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40569         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40570         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40571         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40572         * math/libm-test.inc (scalbn_test): Add more tests.
40573         (scalbln_test): Likewise.
40574
40575         * manual/filesys.texi (mode_t): Describe constraints on size and
40576         signedness, not exact equivalence to a particular type.
40577         (ino_t): Likewise.
40578         (ino64_t): Likewise.
40579         (dev_t): Likewise.
40580         (nlink_t): Likewise.
40581         (blkcnt_t): Likewise.
40582         (blkcnt64_t): Likewise.
40583         * manual/llio.texi (off_t): Likewise.
40584
40585         [BZ #3976]
40586         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40587         (__ieee754_exp): Save and restore rounding mode and use
40588         round-to-nearest for all computations.
40589         * math/libm-test.inc (exp_test_tonearest): New function.
40590         (exp_test_towardzero): Likewise.
40591         (exp_test_downward): Likewise.
40592         (exp_test_upward): Likewise.
40593         (main): Call the new functions.
40594         * sysdeps/i386/fpu/libm-test-ulps: Update.
40595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40596
40597 2012-03-01  Chris Demetriou  <cgd@google.com>
40598
40599         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40600         have predictable order.
40601
40602 2012-03-01  David S. Miller  <davem@davemloft.net>
40603
40604         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40605
40606         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40607         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40608         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40609         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40610
40611         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40612         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40613         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40614         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40615         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40616         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40617         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40618         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40619         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40620
40621         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40622
40623         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40624         * sysdeps/sparc/fpu/libm-test-ulps: to here.
40625         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40626
40627         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40628         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40629         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40630         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40631         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40632         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40633         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40634         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40635         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40636         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40637         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40638         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40639         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40640         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40641         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40642         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40643         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40644         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40645         * sysdeps/sparc/elf/configure: Regenerated.
40646
40647 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
40648
40649         * configure.in (AS, LD): Require binutils 2.20 or later.
40650         * configure: Regenerated.
40651         * manual/install.texi (Tools for Compilation): Give binutils 2.20
40652         as required minimum version.
40653         * INSTALL: Regenerated.
40654
40655         [BZ #2541]
40656         [BZ #4108]
40657         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40658         before squaring exponent.
40659         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40660         bottom long double and 27 bits of top long double before squaring
40661         exponent.
40662         * math/libm-test.inc (erfc_test): Add more tests.
40663         * sysdeps/i386/fpu/libm-test-ulps: Update.
40664         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40666
40667 2012-03-01  Kai Tietz  <ktietz@redhat.com>
40668
40669         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40670         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40671         containing bit-fields.
40672         * soft-fp/extended.h (_FP_UNION_E): Likewise.
40673         * soft-fp/single.h (_FP_UNION_S): Likewise.
40674         * soft-fp/double.h (_FP_UNION_D): Likewise.
40675
40676 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
40677
40678         [BZ #13786]
40679         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40680         not include ../strcmp.S.
40681         [USE_AS_STRNCASECMP_L]: Likewise.
40682         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40683         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40684         * sysdeps/i386/i686/multiarch/strncase_l-c.c
40685         (__strncasecmp_l_ia32): Define as alias to
40686         __strncasecmp_l_nonascii.
40687
40688         [BZ #5794]
40689         * math/libm-test.inc (expm1_test): Add test for bug 5794.
40690         * sysdeps/i386/fpu/libm-test-ulps: Update.
40691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40692
40693         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40695
40696 2012-02-29  Jeff Law  <law@redhat.com>
40697
40698         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40699         out of bounds read.
40700
40701 2012-02-29  Marek Polacek  <polacek@redhat.com>
40702
40703         [BZ #13706]
40704         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40705         * elf/Makefile: Add rules to run tst-unused-dep.out.
40706
40707 2012-02-28  David S. Miller  <davem@davemloft.net>
40708
40709         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40710         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40711         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40712         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40713         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40714         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40715
40716 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
40717
40718         * math/libm-test.inc (llround_test): Move one test from
40719         lround_test.  Use TEST_f_L in moved test.
40720         (lround_test): Move misplaced test to llround_test.  Add testcase
40721         from bug 2561.
40722
40723 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
40724
40725         * sysdeps/x86_64/fpu/e_expf.S: New file.
40726         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40727
40728 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
40729
40730         [BZ #13637]
40731         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40732         of remain_len that may cause incomplete multi-byte character and
40733         false match.
40734         * posix/bug-regex33.c: New file.
40735         * posix/Makefile (tests): Add bug-regex33.
40736
40737 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
40738
40739         * manual/macros.texi: New file.
40740         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40741         * manual/libc.texinfo: Include macros.texi.
40742         * manual/creatute.texi: Likewise.
40743         * manual/install.texi: Likewise.
40744         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40745         @glibcadj{} in references to the GNU C Library.
40746         * manual/charset.texi: Likewise.
40747         * manual/conf.texi: Likewise.
40748         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
40749         when not using those macros.
40750         * manual/creature.texi: Likewise.
40751         * manual/crypt.texi: Likewise.
40752         * manual/errno.texi: Likewise.
40753         * manual/filesys.texi: Likewise.
40754         * manual/header.texi: Likewise.
40755         * manual/install.texi: Likewise.
40756         * manual/intro.texi: Likewise.
40757         * manual/io.texi: Likewise.
40758         * manual/job.texi: Likewise.
40759         * manual/lang.texi: Likewise.
40760         * manual/libc.texiinfo: Likewise.
40761         * manual/llio.texi: Likewise.
40762         * manual/locale.texi: Likewise.
40763         * manual/maint.texi: Likewise.
40764         * manual/math.texi: Likewise.
40765         * manual/memory.texi: Likewise.
40766         * manual/message.texi: Likewise.
40767         * manual/nss.texi: Likewise.
40768         * manual/pattern.texi: Likewise.
40769         * manual/process.texi: Likewise.
40770         * manual/resource.texi: Likewise.
40771         * manual/search.texi: Likewise.
40772         * manual/setjmp.texi: Likewise.
40773         * manual/signal.texi: Likewise.
40774         * manual/socket.texi: Likewise.
40775         * manual/startup.texi: Likewise.
40776         * manual/stdio.texi: Likewise.
40777         * manual/string.texi: Likewise.
40778         * manual/sysinfo.texi: Likewise.
40779         * manual/syslog.texi: Likewise.
40780         * manual/terminal.texi: Likewise.
40781         * manual/time.texi: Likewise.
40782         * manual/users.texi: Likewise.
40783         * INSTALL: Regenerated.
40784         * NOTES: Regenerated.
40785         * sysdeps/gnu/errlist.c: Regenerated.
40786
40787 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
40788
40789         * include/dirent.h: Include <dirstream.h> before
40790         <dirent/dirent.h>.
40791
40792 2012-02-28  David S. Miller  <davem@davemloft.net>
40793
40794         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40795         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40796         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40797         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40798
40799 2012-02-27  David S. Miller  <davem@davemloft.net>
40800
40801         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40802         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40803         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40804         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40805
40806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40807         frame pointer instead of stack pointer relative arg slot.
40808         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40809         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40810         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40811
40812 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
40813
40814         [BZ #3992]
40815         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40816
40817 2012-02-27  David S. Miller  <davem@davemloft.net>
40818
40819         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40820         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40821         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40822         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40823         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40824         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40825         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40826         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40827
40828 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
40829
40830         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40831         later.  Allow versions 5-9.
40832         * configure: Regenerated.
40833         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40834         required minimum version and 4.6 as recommended version.  Do not
40835         mention bugs in GCC 2.7 and 2.8.
40836         * INSTALL: Regenerated.
40837
40838 2012-02-27  David S. Miller  <davem@davemloft.net>
40839
40840         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40841         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40842         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40843         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40844         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40845         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40846         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40847         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40848
40849         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40850         manipulate bits before adding and subtracting TWO112[sx].
40851         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40852
40853 2012-02-27  Roland McGrath  <roland@hack.frob.com>
40854
40855         [BZ #13775]
40856         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40857         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40858         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40859         being in POSIX, because they are in 1003.1-2008.
40860
40861         * rt/tst-aio.c: Include <fcntl.h>.
40862         * rt/tst-aio7.c: Likewise.
40863         * rt/tst-aio64.c: Likewise.
40864
40865         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40866
40867 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
40868
40869         * manual/install.texi (--with-headers): Describe headers as
40870         interface headers, not private headers.
40871         (Specific advice for GNU/Linux systems): Describe use of headers
40872         from "make headers_install", not private headers from older
40873         kernels.
40874         * INSTALL: Regenerated.
40875         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40876         Change to 2.6.19.
40877         * sysdeps/unix/sysv/linux/configure: Regenerated.
40878
40879         * manual/llio.texi (fclean): Remove documentation.
40880
40881         * manual/Makefile (libc-texi-generated): New variable.  Include
40882         version.texi.
40883         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40884         $(libc-texi-generated), not duplicated list of files.
40885         (version.texi, stamp-version): New rules.
40886         (realclean): Remove $(libc-texi-generated), not individual files
40887         from that list.  Do not remove dir-add.texinfo.
40888         * manual/libc.texinfo: Comment out uses of edition numbers and
40889         references to printed manual.  Remove last-updated dates.
40890         (EDITION): Comment out.
40891         (ISBN): Likewise.
40892         (VERSION, UPDATED): Remove.
40893         (version.texi): Include.
40894
40895 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
40896
40897         * sysdeps/posix/spawni.c: Include <signal.h>.
40898         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40899         * sysdeps/pthread/aio_fsync.c: Likewise.
40900
40901 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
40902
40903         * conform/Makefile (tests): Run only when not cross-compiling and
40904         when fast-check is not defined.
40905
40906         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40907         * conform/data/limits.h-data: Fixes for POSIX2008.
40908         * conform/run-conformtest.sh: Run all tests.
40909         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40910         headers.
40911         * include/bits/dlfcn.h: Likewise.
40912         * include/langinfo.h: Likewise.
40913         * include/monetary.h: Likewise.
40914         * include/sys/poll.h: Likewise.
40915
40916         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40917         for __USE_GNU.
40918         * posix/spawn.h: Define __need_sigset_t.
40919         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40920         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40921         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
40922         to get sigevent_t only.
40923         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40924         only for __USE_GNU.
40925         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40926         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40927         process_vm_writev only for __USE_GNU.
40928         * termios/termios.h: Declare tcgetsid also for POSIX2008.
40929
40930         * conform/Makefile: For now ignore errors from run-conformtest.
40931         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
40932         POSIX to avoid namespace pollution.  Don't prepend headers.
40933         * conform/data/aio.h-data: Fixes for POSIX testing.
40934         * conform/data/fcntl.h-data: Likewise.
40935         * conform/data/glob.h-data: Likewise.
40936         * conform/data/grp.h-data: Likewise.
40937         * conform/data/pthread.h-data: Likewise.
40938         * conform/data/pwd.h-data: Likewise.
40939         * conform/data/signal.h-data: Likewise.
40940         * conform/data/spawn.h-data: Likewise.
40941         * conform/data/stdio.h-data: Likewise.
40942         * conform/data/stdlib.h-data: Likewise.
40943         * conform/data/stropts.h-data: Likewise.
40944         * conform/data/sys/mman.h-data: Likewise.
40945         * conform/data/sys/stat.h-data: Likewise.
40946         * conform/data/sys/types.h-data: Likewise.
40947         * conform/data/sys/wait.h-data: Likewise.
40948         * conform/data/time.h-data: Likewise.
40949         * conform/data/unistd.h-data: Likewise.
40950         * conform/data/utime.h-data: Likewise.
40951
40952         * io/sys/stat.h: fchmod was always in POSIX.
40953         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40954         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40955         * rt/aio.h: Define __need_timespec before including <time.h>.
40956         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40957         struct.  Add forward declaration of pthread_attr_t and use it in
40958         sigevent.
40959         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40960         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40961         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40962         always remove CLK_TCK definition.
40963
40964 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
40965
40966         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40967
40968 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
40969
40970         * conform/run-conformtest.sh: New file.
40971         * conform/Makefile: Run run-conformtest for tests.
40972         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
40973         support.
40974
40975         * conform/data/uchar.h-data: New file.
40976         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40977         * conform/data/arpa/inet.h-data: Likewise.
40978         * conform/data/assert.h-data: Likewise.
40979         * conform/data/complex.h-data: Likewise.
40980         * conform/data/cpio.h-data: Likewise.
40981         * conform/data/ctype.h-data: Likewise.
40982         * conform/data/dirent.h-data: Likewise.
40983         * conform/data/dlfcn.h-data: Likewise.
40984         * conform/data/errno.h-data: Likewise.
40985         * conform/data/fcntl.h-data: Likewise.
40986         * conform/data/float.h-data: Likewise.
40987         * conform/data/fmtmsg.h-data: Likewise.
40988         * conform/data/fnmatch.h-data: Likewise.
40989         * conform/data/ftw.h-data: Likewise.
40990         * conform/data/glob.h-data: Likewise.
40991         * conform/data/grp.h-data: Likewise.
40992         * conform/data/iconv.h-data: Likewise.
40993         * conform/data/inttypes.h-data: Likewise.
40994         * conform/data/langinfo.h-data: Likewise.
40995         * conform/data/libgen.h-data: Likewise.
40996         * conform/data/limits.h-data: Likewise.
40997         * conform/data/locale.h-data: Likewise.
40998         * conform/data/math.h-data: Likewise.
40999         * conform/data/monetary.h-data: Likewise.
41000         * conform/data/mqueue.h-data: Likewise.
41001         * conform/data/ndbm.h-data: Likewise.
41002         * conform/data/net/if.h-data: Likewise.
41003         * conform/data/netdb.h-data: Likewise.
41004         * conform/data/netinet/in.h-data: Likewise.
41005         * conform/data/nl_types.h-data: Likewise.
41006         * conform/data/poll.h-data: Likewise.
41007         * conform/data/pthread.h-data: Likewise.
41008         * conform/data/pwd.h-data: Likewise.
41009         * conform/data/regex.h-data: Likewise.
41010         * conform/data/sched.h-data: Likewise.
41011         * conform/data/search.h-data: Likewise.
41012         * conform/data/semaphore.h-data: Likewise.
41013         * conform/data/setjmp.h-data: Likewise.
41014         * conform/data/signal.h-data: Likewise.
41015         * conform/data/spawn.h-data: Likewise.
41016         * conform/data/stdarg.h-data: Likewise.
41017         * conform/data/stdio.h-data: Likewise.
41018         * conform/data/stdlib.h-data: Likewise.
41019         * conform/data/string.h-data: Likewise.
41020         * conform/data/strings.h-data: Likewise.
41021         * conform/data/stropts.h-data: Likewise.
41022         * conform/data/sys/ipc.h-data: Likewise.
41023         * conform/data/sys/mman.h-data: Likewise.
41024         * conform/data/sys/msg.h-data: Likewise.
41025         * conform/data/sys/resource.h-data: Likewise.
41026         * conform/data/sys/select.h-data: Likewise.
41027         * conform/data/sys/sem.h-data: Likewise.
41028         * conform/data/sys/shm.h-data: Likewise.
41029         * conform/data/sys/socket.h-data: Likewise.
41030         * conform/data/sys/stat.h-data: Likewise.
41031         * conform/data/sys/statvfs.h-data: Likewise.
41032         * conform/data/sys/time.h-data: Likewise.
41033         * conform/data/sys/timeb.h-data: Likewise.
41034         * conform/data/sys/times.h-data: Likewise.
41035         * conform/data/sys/types.h-data: Likewise.
41036         * conform/data/sys/uio.h-data: Likewise.
41037         * conform/data/sys/un.h-data: Likewise.
41038         * conform/data/sys/utsname.h-data: Likewise.
41039         * conform/data/sys/wait.h-data: Likewise.
41040         * conform/data/syslog.h-data: Likewise.
41041         * conform/data/tar.h-data: Likewise.
41042         * conform/data/termios.h-data: Likewise.
41043         * conform/data/utime.h-data: Likewise.
41044         * conform/data/utmpx.h-data: Likewise.
41045         * conform/data/varargs.h-data: Likewise.
41046         * conform/data/wchar.h-data: Likewise.
41047         * conform/data/wctype.h-data: Likewise.
41048         * conform/data/wordexp.h-data: Likewise.
41049
41050         * include/stropts.h: New file.
41051         * include/uchar.h: New file.
41052         * include/aio.h: Changes to allow conformtest.pl to use the headers.
41053         * include/assert.h: Likewise.
41054         * include/ctype.h: Likewise.
41055         * include/dirent.h: Likewise.
41056         * include/dlfcn.h: Likewise.
41057         * include/fcntl.h: Likewise.
41058         * include/fnmatch.h: Likewise.
41059         * include/glob.h: Likewise.
41060         * include/grp.h: Likewise.
41061         * include/libio.h: Likewise.
41062         * include/locale.h: Likewise.
41063         * include/math.h: Likewise.
41064         * include/net/if.h: Likewise.
41065         * include/netdb.h: Likewise.
41066         * include/netinet/in.h: Likewise.
41067         * include/pthread.h: Likewise.
41068         * include/pwd.h: Likewise.
41069         * include/regex.h: Likewise.
41070         * include/sched.h: Likewise.
41071         * include/search.h: Likewise.
41072         * include/setjmp.h: Likewise.
41073         * include/signal.h: Likewise.
41074         * include/stdio.h: Likewise.
41075         * include/stdlib.h: Likewise.
41076         * include/string.h: Likewise.
41077         * include/sys/cdefs.h: Likewise.
41078         * include/sys/mman.h: Likewise.
41079         * include/sys/msg.h: Likewise.
41080         * include/sys/resource.h: Likewise.
41081         * include/sys/select.h: Likewise.
41082         * include/sys/socket.h: Likewise.
41083         * include/sys/stat.h: Likewise.
41084         * include/sys/statvfs.h: Likewise.
41085         * include/sys/time.h: Likewise.
41086         * include/sys/times.h: Likewise.
41087         * include/sys/uio.h: Likewise.
41088         * include/sys/utsname.h: Likewise.
41089         * include/sys/wait.h: Likewise.
41090         * include/termios.h: Likewise.
41091         * include/time.h: Likewise.
41092         * include/ulimit.h: Likewise.
41093         * include/unistd.h: Likewise.
41094         * include/utime.h: Likewise.
41095         * include/wchar.h: Likewise.
41096         * include/wctype.h: Likewise.
41097         * include/wordexp.h: Likewise.
41098
41099         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41100
41101         * time/time.h: TIME_UTC must be a macro.
41102         Make timespec_get available for ISO C11 only as well.
41103
41104 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
41105
41106         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41107         Reported by Peng Haitao <penght@cn.fujitsu.com>.
41108
41109 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41110
41111         * configure.in: Use -o not -a in test for unsupported multi-arch.
41112
41113 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41114
41115         * manual/texinfo.tex: Update to version 2012-01-19.16.
41116
41117 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41118
41119         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41120
41121 2012-02-24  Roland McGrath  <roland@hack.frob.com>
41122
41123         [BZ #13738]
41124         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41125         * manual/fdl-1.3.texi: New file.
41126         * manual/fdl-1.1.texi: File removed.
41127
41128         [BZ #13738]
41129         * manual/libc.texinfo (FDL_VERSION): New @set.
41130         Use it for mention of FDL in cover text.
41131         (Documentation License): Use it in @include file name.
41132
41133 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41134             Roland McGrath  <roland@hack.frob.com>
41135
41136         [BZ #5461]
41137         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41138         (not LONG_LONG_MAX and LONG_LONG_MIN.
41139         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41140         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
41141         name.
41142         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41143
41144 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41145
41146         [BZ #2547]
41147         [BZ #11365]
41148         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41149         manipulate bits before adding and subtracting TWO23[sx].
41150         * math/libm-test.inc (nearbyint_test): Add more tests.
41151
41152 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41153
41154         [BZ #2548]
41155         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41156         bits before adding and subtracting TWO23[sx].
41157         * math/libm-test.inc (rint_test): Add more tests.
41158         (rint_test_tonearest): Likewise.
41159         (rint_test_towardzero): Likewise.
41160         (rint_test_downward): Likewise.
41161         (rint_test_upward: Likewise.
41162
41163 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41164
41165         [BZ #10110]
41166         * include/stdc-predef.h: New file.  Extracted from features.h.
41167         * include/features.h: Include stdc-predef.h.
41168         * Makefile (headers): Add stdc-predef.h.
41169         * CONFORMANCE (Compiler limitations): Update.
41170
41171 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41172
41173         * manual/libc.texinfo (VERSION, UPDATED): Revert.
41174
41175 2012-02-21  David S. Miller  <davem@davemloft.net>
41176
41177         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41178         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41179
41180 2012-02-20  David S. Miller  <davem@davemloft.net>
41181
41182         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41183         using a normal save/restore sequence, rather than allocating a
41184         dummy stack frame just to store a frame pointer and restore.
41185         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41186
41187 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41188
41189         * manual/install.texi: Fix stray word in line-wrapped comment.
41190
41191 2012-02-20  David S. Miller  <davem@davemloft.net>
41192
41193         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41194         both binutils and gcc support GOTDATA.
41195
41196         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41197         "rd %pc" in the PIC register setup sequences.
41198
41199         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41200         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41201         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41202         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41203         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41204         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41205         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41206         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41207         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41208         (SYSCALL_ERROR_HANDLER): Likewise.
41209         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41210         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41211         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41212         (SYSCALL_ERROR_HANDLER): Likewise.
41213
41214         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41215         (HAVE_GCC_GOTDATA): New.
41216         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41217         relocation support in both binutils and gcc.
41218         * sysdeps/sparc/elf/configure: Regenerate.
41219
41220         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41221         * sysdeps/sparc/sparc32/elf/configure: Delete.
41222         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41223         * sysdeps/sparc/sparc64/elf/configure: Delete.
41224         * sysdeps/sparc/elf/configure.in: New file.
41225         * sysdeps/sparc/elf/configure: Generate.
41226
41227         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41228         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41229         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41230         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41231         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41232
41233 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41234
41235         * manual/install.texi: Do not mention specific glibc version
41236         numbers.
41237         * manual/libc.texinfo (VERSION, UPDATED): Update.
41238         (@copying): Use @copyright{} and range of years.
41239
41240 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41241
41242         [BZ #13695]
41243         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41244         [crti.S not in sysdirs] (generated): Do not append.
41245         [crti.S not in sysdirs] (omit-deps): Likewise.
41246         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41247         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41248         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41249         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41250         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41251         Likewise.
41252         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41253         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41254         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41255         * csu/defs.awk: Remove file.
41256         * sysdeps/generic/initfini.c: Likewise.
41257         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41258         variable.
41259         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41260         Likewise.
41261
41262 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41263
41264         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41265         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41266         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41267         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41268         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41269         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41270         <bits/epoll.h>.
41271         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41272         (__EPOLL_PACKED): Define to empty if not defined by
41273         <bits/epoll.h>.
41274         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41275         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41276         bits/epoll.h.
41277
41278 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41279
41280         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41281         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41282         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41283         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41284         <bits/timerfd.h>.
41285         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41286         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41287         bits/timerfd.h.
41288
41289 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41290
41291         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41292         in C locale.
41293         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41294         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41295         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41297
41298 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
41299
41300         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41301         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41302
41303 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
41304
41305         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41306         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41307         defined.
41308         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41309         Likewise.
41310         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41311         entry for 2.16.
41312
41313 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
41314
41315         * math/w_acos.c: Use non-signaling floating-point comparisons.
41316         * math/w_acosf.c: Likewise.
41317         * math/w_acosh.c: Likewise.
41318         * math/w_acoshf.c: Likewise.
41319         * math/w_acoshl.c: Likewise.
41320         * math/w_acosl.c: Likewise.
41321         * math/w_asin.c: Likewise.
41322         * math/w_asinf.c: Likewise.
41323         * math/w_asinl.c: Likewise.
41324         * math/w_atanh.c: Likewise.
41325         * math/w_atanhf.c: Likewise.
41326         * math/w_atanhl.c: Likewise.
41327         * math/w_exp2.c: Likewise.
41328         * math/w_exp2f.c: Likewise.
41329         * math/w_exp2l.c: Likewise.
41330         * math/w_j0.c: Likewise.
41331         * math/w_j0f.c: Likewise.
41332         * math/w_j0l.c: Likewise.
41333         * math/w_j1.c: Likewise.
41334         * math/w_j1f.c: Likewise.
41335         * math/w_j1l.c: Likewise.
41336         * math/w_jn.c: Likewise.
41337         * math/w_jnf.c: Likewise.
41338         * math/w_log.c: Likewise.
41339         * math/w_log10.c: Likewise.
41340         * math/w_log10f.c: Likewise.
41341         * math/w_log10l.c: Likewise.
41342         * math/w_log2.c: Likewise.
41343         * math/w_log2f.c: Likewise.
41344         * math/w_log2l.c: Likewise.
41345         * math/w_logf.c: Likewise.
41346         * math/w_logl.c: Likewise.
41347         * math/w_sqrt.c: Likewise.
41348         * math/w_sqrtf.c: Likewise.
41349         * math/w_sqrtl.c: Likewise.
41350         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41351         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41352         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41353         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41354         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41355
41356 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41357
41358         [BZ #9739]
41359         * manual/string.texi (strnlen): Use correct parameter name in
41360         equivalent expression.
41361
41362 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41363
41364         [BZ #11174]
41365         * manual/users.texi (seteuid): Consistently use neweuid for
41366         argument name.
41367
41368 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41369
41370         [BZ #13704]
41371         * manual/nss.texi (Services in the NSS configuration): Correct
41372         list of services in example configuration file.
41373
41374 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
41375
41376         [BZ #11322]
41377         * manual/arith.texi: Remove statements about negative zero
41378         behaving identically to zero.
41379
41380 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41381
41382         [BZ #5993]
41383         * manual/install.texi: Do not document upgrading from libc5.
41384
41385 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41386
41387         [BZ #4596]
41388         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41389
41390 2012-02-18  David S. Miller  <davem@davemloft.net>
41391
41392         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41393         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41394         %o7 across the call.
41395         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41396         instead.
41397         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41398         SETUP_PIC_REG_LEAF.
41399         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41400         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41401         * sysdeps/sparc/crtn.S: Likewise.
41402
41403 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
41404
41405         * aout/Makefile: Remove.
41406
41407 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
41408
41409         [BZ #13058]
41410         * manual/examples/argp-ex1.c (main): Format definition in GNU
41411         style.
41412         * manual/examples/argp-ex2.c (main): Likewise.
41413         * manual/examples/argp-ex3.c (main): Likewise.
41414         * manual/examples/argp-ex4.c (main): Likewise.
41415         * manual/examples/longopt.c (main): Use new-style prototype
41416         definition.
41417         * manual/examples/strncat.c (main): Specify return type and use
41418         (void) for arguments.
41419         * manual/examples/subopt.c (main): Use char **argv argument.
41420
41421 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41422
41423         [BZ #5077]
41424         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41425         rounding modes.
41426
41427 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
41428
41429         [BZ #6907]
41430         * manual/string.texi (strchr): Change when strchrnul is
41431         recommended.
41432
41433 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
41434
41435         [BZ #174]
41436         * manual/locale.texi (setlocale): Document LOCPATH.
41437
41438 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41439
41440         [BZ #10210]
41441         * manual/process.texi (execle): Move @dots{} before last argument.
41442
41443 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
41444
41445         [BZ #12047]
41446         * manual/charset.texi (Generic Charset Conversion): Fix typo
41447         (LC_TYPE -> LC_CTYPE).
41448
41449 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
41450
41451         [BZ #5805]
41452         * manual/arith.texi (scalbn): Use @var{} on parameter names.
41453         (scalbnf): Likewise.
41454         (scalbnl): Likewise.
41455         (scalbln): Likewise.
41456         (scalblnf): Likewise.
41457         (scalblnl): Likewise.
41458         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41459         (vwarnx): Likewise.
41460         (verr): Likewise.
41461         (verrx): Likewise.
41462         * manual/filesys.texi (telldir): Use braces around return type.
41463         * manual/llio.texi (mmap): Add space after comma.
41464         (mmap64): Likewise.
41465         * manual/math.texi (jn): Use @var{} on parameter names.
41466         (jnf): Likewise.
41467         (jnl): Likewise.
41468         (yn): Likewise.
41469         (ynf): Likewise.
41470         (ynl): Likewise.
41471         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41472         line.
41473         * manual/resource.texi (ulimit): Use @dots{} instead of literal
41474         "...".
41475         (sched_get_priority_min): Remove semicolon on @deftypefun line.
41476         (sched_get_priority_max): Likewise.
41477         * manual/signal.texi (sigvec): Add space after comma.
41478         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41479         names.
41480         (if_indextoname): Likewise.
41481         (if_freenameindex): Likewise.
41482         (sendto): Use ',' instead of '.' in prototype.
41483         * manual/startup.texi (syscall): Use @dots{} instead of literal
41484         "...".
41485         * manual/stdio.texi (__fpending): Separate initial words of
41486         paragraph from @deftypefun line.
41487         * manual/syslog.texi (syslog): Use @dots{} instead of literal
41488         "...".
41489         (vsyslog): Use @var{} on parameter names.
41490         * manual/terminal.texi (stty): Use @var{} on parameter names.
41491         * manual/users.texi (getutmp): Use @var{} on parameter names.
41492         (getutmpx): Likewise.
41493
41494 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41495
41496         [BZ #6884]
41497         * manual/stdio.texi (fopen): Fix typos in description of
41498         ",ccs=STRING".
41499
41500 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
41501
41502         [BZ #4026]
41503         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41504         get clock_id definition.
41505
41506 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
41507
41508         [BZ #4822]
41509         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41510         (madvise): Cast every argument to void on its own.
41511
41512 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41513
41514         [BZ #9902]
41515         * manual/startup.texi (Exit Status): Fix typo.
41516
41517 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41518
41519         [BZ #10140]
41520         * manual/examples/argp-ex1.c: Include <stdlib.h>.
41521         * manual/examples/argp-ex2.c: Likewise.
41522         * manual/examples/argp-ex3.c: Likewise.
41523
41524 2012-02-16  Richard Henderson  <rth@redhat.com>
41525
41526         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41527         * sysdeps/s390/s390-32/initfini.c: Remove.
41528         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41529         * sysdeps/s390/s390-64/initfini.c: Remove.
41530
41531 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41532
41533         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41534         compiler output for sysdeps/generic/initfini.c.
41535         * sysdeps/sh/elf/initfini.c: Remove file.
41536
41537 2012-02-16  David S. Miller  <davem@davemloft.net>
41538
41539         [BZ #11494]
41540         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41541
41542         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41543         * sysdeps/sparc/crti.S: New file.
41544         * sysdeps/sparc/crtn.S: New file.
41545         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41546         * sysdeps/sparc/sparc64/Makefile: Likewise.
41547
41548 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
41549
41550         [BZ #3335]
41551         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41552
41553 2012-02-15  Roland McGrath  <roland@hack.frob.com>
41554
41555         [BZ #4822]
41556         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41557
41558         * mach/devstream.c (cookie_io_functions_t): Macro removed.
41559         (write, read, close): Likewise.
41560         Patch by Aurelien Jarno <aurelien@aurel32.net>.
41561
41562 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
41563
41564         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41565         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41566         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41567         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41568         <bits/signalfd.h>.
41569         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41570         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41571         bits/signalfd.h.
41572
41573 2012-02-14  Marek Polacek  <polacek@redhat.com>
41574
41575         * sysdeps/x86_64/crti.S: New file.
41576         * sysdeps/x86_64/crtn.S: New file.
41577         * sysdeps/x86_64/elf/initfini.c: Remove file.
41578
41579 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
41580
41581         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41582         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41583         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41584         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41585         <bits/inotify.h>.
41586         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41587         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41588         bits/inotify.h.
41589
41590 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
41591
41592         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41593         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41594         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41595         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41596         <bits/eventfd.h>.
41597         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41598         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41599         bits/eventfd.h.
41600
41601 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
41602
41603         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41604         __feraiseexcept instead of feraiseexcept.
41605
41606         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41607         nanosleep invocations.
41608         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41609         strings, and add error checking for a nanosleep invocations.
41610
41611 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
41612
41613         Replace FSF snail mail address with URLs, as per GNU coding standards.
41614         Most of the snail mail addresses were wrong anyway, and omitting
41615         them makes the source code easier to maintain.  Almost all of the
41616         changes are to license notices and to locale LC_IDENTIFICATION
41617         addresses, except for this one:
41618         * manual/libc.texinfo: In "Published by", give the FSF's URL,
41619         not its snail mail address.
41620
41621 2012-02-09  Richard Henderson  <rth@twiddle.net>
41622
41623         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41624         of kernel-features.h.
41625
41626         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41627
41628 2012-02-08  Marek Polacek  <polacek@redhat.com>
41629
41630         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41631         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41632         * sysdeps/gnu/_G_config.h: Likewise.
41633         * sysdeps/generic/_G_config.h: Likewise.
41634
41635 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
41636
41637         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41638         tests.
41639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41640
41641         * sysdeps/powerpc/powerpc32/crti.S: New file.
41642         * sysdeps/powerpc/powerpc32/crtn.S: New file.
41643         * sysdeps/powerpc/powerpc64/crti.S: New file.
41644         * sysdeps/powerpc/powerpc64/crtn.S: New file.
41645
41646         * Makeconfig (have-initfini): Don't set.
41647         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41648         * configure.in (nopic_initfini): Don't substitute.
41649         * config.h.in (HAVE_INITFINI): Don't #undef.
41650         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41651         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41652
41653 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
41654
41655         Support crti.S and crtn.S provided directly by architectures.
41656         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41657         [crti.S in sysdirs] (omit-deps): Likewise.
41658         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41659         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41660         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41661         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41662         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41663         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41664         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41665         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41666         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41667         compiler output for sysdeps/generic/initfini.c.
41668         * sysdeps/i386/elf/Makefile: Remove file.
41669         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41670
41671 2012-02-07  Marek Polacek  <polacek@redhat.com>
41672
41673         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41674         * sysdeps/gnu/_G_config.h: Likewise.
41675         * sysdeps/mach/hurd/_G_config.h: Likewise.
41676
41677 2012-02-07  Marek Polacek  <polacek@redhat.com>
41678
41679         * math/Makefile (tests): Add tst-CMPLX2.
41680         * math/tst-CMPLX2.c: New file.
41681
41682 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
41683
41684         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41685
41686         * math/libm-test.inc (jn_test): Add missing L suffix.
41687
41688 2012-02-06  Marek Polacek  <polacek@redhat.com>
41689
41690         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41691         * sysdeps/i386/fpu/e_powf.S: Likewise.
41692         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41693         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41694         * sysdeps/i386/fpu/e_acosh.S: Likewise.
41695         * sysdeps/i386/fpu/e_pow.S: Likewise.
41696         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41697         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41698         * sysdeps/i386/fpu/s_expm1.S: Likewise.
41699         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41700         * sysdeps/i386/fpu/e_log2.S: Likewise.
41701         * sysdeps/i386/fpu/e_log2l.S: Likewise.
41702         * sysdeps/i386/fpu/e_scalb.S: Likewise.
41703         * sysdeps/i386/fpu/e_powl.S: Likewise.
41704         * sysdeps/i386/fpu/s_log1p.S: Likewise.
41705         * sysdeps/i386/fpu/e_log10f.S: Likewise.
41706         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41707         * sysdeps/i386/fpu/e_logl.S: Likewise.
41708         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41709         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41710         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41711         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41712         * sysdeps/i386/fpu/e_log2f.S: Likewise.
41713         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41714         * sysdeps/i386/fpu/e_log.S: Likewise.
41715         * sysdeps/i386/fpu/s_cexp.S: Likewise.
41716         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41717         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41718         * sysdeps/i386/fpu/e_logf.S: Likewise.
41719         * sysdeps/i386/fpu/e_log10l.S: Likewise.
41720         * sysdeps/i386/fpu/e_atanh.S: Likewise.
41721         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41722         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41723         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41724         * sysdeps/i386/fpu/e_log10.S: Likewise.
41725         * sysdeps/i386/fpu/s_frexp.S: Likewise.
41726         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41727         * sysdeps/i386/fpu/s_asinh.S: Likewise.
41728         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41729         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41730         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41731         * sysdeps/i386/asm-syntax.h: Likewise.
41732         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41733         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41734         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41735         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41736         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41737         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41738         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41739         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41740         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41741         * sysdeps/powerpc/sysdep.h: Likewise.
41742         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41743         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41744
41745 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
41746
41747         [BZ #411]
41748         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41749
41750 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
41751
41752         * sysdeps/i386/sysdep.h: Include <features.h>.
41753         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41754         version.
41755
41756 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
41757
41758         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41759         Define.
41760         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41761         LOAD_PIC_REG_STR.
41762
41763 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41764
41765         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41766         (SETUP_PIC_REG): Use GET_PC_THUNK.
41767         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41768         macro.
41769
41770 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41771
41772         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41773         for non-PIC compilation.
41774         (SETUP_PIC_REG): Add .p2align directive.
41775         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41776         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41777         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41778         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41779         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41780         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41781         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41782         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41783         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41784         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41785         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41786         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41787         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41788         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41789         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41790         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41791         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41792         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41793         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41794         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41795         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41796         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41797         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41798         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41799         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41800         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41801         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41802         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41803         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41804         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41805         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41806         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41807         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41808         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41809         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41810         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41811         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41812         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41813         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41814         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41815         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41816
41817 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41818
41819         * math/tst-CMPLX.c: Include <stdio.h>.
41820
41821 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
41822
41823         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41824         float.
41825         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41826         * sysdeps/sparc/bits/mathdef.h: Likewise.
41827
41828 2012-01-31  Marek Polacek  <polacek@redhat.com>
41829
41830         * libio/libio.h: Don't define _PARAMS.
41831         * locale/programs/config.h: Don't define PARAMS.
41832         * stdlib/strtol_l.c: Likewise.
41833         (__strtol_l): Remove PARAMS from the prototype.
41834
41835 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
41836
41837         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
41838         names.  Just use the correct names.  Remove unnecessary wrapper
41839         functions.
41840         * malloc/arena.c: Likewise.
41841         * malloc/hooks.c: Likewise.
41842
41843         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41844         ARENA_TEST says not to.  Simplify test for creation of a new arena.
41845         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41846
41847 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
41848
41849         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41850         into tail calls.
41851         (update_get_addr): New function.
41852         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41853         GET_ADDR_MODULE parameter.
41854
41855 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
41856
41857         * crypt/cert.c: Remove __STDC__ conditionals.
41858         * crypt/crypt-entry.c: Likewise.
41859         * crypt/crypt_util.c: Likewise.
41860         * libio/filedoalloc.c: Likewise.
41861         * libio/fileops.c: Likewise.
41862         * libio/genops.c: Likewise.
41863         * libio/iofclose.c: Likewise.
41864         * libio/iofdopen.c: Likewise.
41865         * libio/iofopen.c: Likewise.
41866         * libio/iofopen64.c: Likewise.
41867         * libio/iogetdelim.c: Likewise.
41868         * libio/iopopen.c: Likewise.
41869         * libio/obprintf.c: Likewise.
41870         * libio/oldfileops.c: Likewise.
41871         * libio/oldiofclose.c: Likewise.
41872         * libio/oldiofdopen.c: Likewise.
41873         * libio/oldiofopen.c: Likewise.
41874         * libio/oldiopopen.c: Likewise.
41875         * libio/wfiledoalloc.c: Likewise.
41876         * libio/wgenops.c: Likewise.
41877         * locale/programs/xmalloc.c: Likewise.
41878         * misc/syslog.c: Likewise.
41879         * stdio-common/xbug.c: Likewise.
41880         * string/memchr.c: Likewise.
41881         * string/memcmp.c: Likewise.
41882         * string/memrchr.c: Likewise.
41883         * string/rawmemchr.c: Likewise.
41884         * sysdeps/posix/getcwd.c: Likewise.
41885         * time/strftime_l.c: Likewise.
41886
41887 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
41888
41889         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41890         * config.make.in (config-cflags-sse2avx): Define.
41891         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41892         Fix typo.
41893
41894 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
41895
41896         * scripts/config.guess: Update from upstream config git repository.
41897         * scripts/config.sub: Likewise.
41898
41899 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
41900
41901         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41902         (EM_NUM): Update.
41903         (R_TILEPRO_*, R_TILEGX_*): New macros.
41904
41905         * scripts/firstversions.awk: Fix bug in version range handling.
41906
41907         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41908
41909         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41910
41911         * include/sys/epoll.h: New file.
41912         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41913         libc_hidden_def.
41914
41915 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
41916
41917         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41918         Avoid unnecessary __WORDSIZE == 64 test.
41919         (fmaxf): Use VEX format if possible.
41920         (fmax): Likewise.
41921         (fminf): Likewise.
41922         (fmin): Likewise.
41923
41924         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41925         * math/math_private.h: Remove libc_fegetround* and
41926         libc_fesetround*.
41927         * sysdeps/i386/configure.in: Check for -msse2avx.
41928         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41929         also if SSE2AVX is defined.
41930         Remove libc_fegetround* and libc_fesetround*.
41931         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41932         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
41933         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41934         of HAS_YMM_USABLE.
41935         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41936         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41937         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41938         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41939         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41940
41941         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41942
41943 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41944
41945         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41946         size is not set.
41947         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41948
41949 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
41950
41951         [BZ #13618]
41952         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41953         relocation.
41954         * Makeconfig (libm): Define.
41955         * elf/Makefile: Add rules to build and run tst-relsort1.
41956         * elf/tst-relsort1.c: New file.
41957         * elf/tst-relsort1mod1.c: New file.
41958         * elf/tst-relsort1mod2.c: New file.
41959
41960 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
41961
41962         * math/s_ldexp.c: Remove __STDC__ conditionals.
41963         * math/s_ldexpf.c: Likewise.
41964         * math/s_ldexpl.c: Likewise.
41965         * math/s_nextafter.c: Likewise.
41966         * math/s_nexttowardf.c: Likewise.
41967         * math/s_significand.c: Likewise.
41968         * math/s_significandf.c: Likewise.
41969         * math/s_significandl.c: Likewise.
41970         * math/w_jnl.c: Likewise.
41971         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41972         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41973         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41974         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41975         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41976         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41977         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41978         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41979         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41980         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41981         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41982         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41983         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41984         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41985         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41986         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41987         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41988         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41989         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41990         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41991         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41992         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41993         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41994         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41995         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41996         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41997         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41998         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41999         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42000         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42001         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42002         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42003         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42004         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42005         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42006         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42007         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42008         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42009         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42010         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42011         * sysdeps/ieee754/k_standard.c: Likewise.
42012         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42013         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42014         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42015         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42016         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42017         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42018         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42019         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42020         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42021         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42022         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42023         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42024         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42025         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42026         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42027         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42028         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42029         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42030         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42031         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42032         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42033         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42034         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42035         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42036         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42037         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42038         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42039         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42040         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42041         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42042         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42043         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42044         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42045         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42046         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42047         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42048         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42049         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42050         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42051         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42052         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42053         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42054         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42055         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42056         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42057         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42058         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42059         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42060         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42061         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42062         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42063         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42064         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42065         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42066         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42067         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42068         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42069         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42070         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42071         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42072         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42073         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42074         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42075         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42076         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42077         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42078         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42079         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42080         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42081         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42082         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42083         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42084         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42085         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42086         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42087         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42088         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42089         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42090         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42091         * sysdeps/ieee754/s_matherr.c: Likewise.
42092         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42093         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42094         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42095         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42096
42097 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42098
42099         * crypt/md5.h: Remove __STDC__ conditionals.
42100         * libio/libioP.h: Likewise.
42101         * locale/programs/config.h: Likewise.
42102         * sysdeps/generic/sysdep.h: Likewise.
42103         * sysdeps/i386/asm-syntax.h: Likewise.
42104         * sysdeps/s390/asm-syntax.h: Likewise.
42105         * sysdeps/unix/sysdep.h: Likewise.
42106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42108
42109 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42110
42111         * libio/libio.h: Remove __STDC__ conditionals.
42112         * malloc/obstack.h: Likewise.
42113         * math/complex.h: Likewise.
42114         * math/math.h: Likewise.
42115         * sysdeps/generic/_G_config.h: Likewise.
42116         * sysdeps/gnu/_G_config.h: Likewise.
42117         * sysdeps/mach/hurd/_G_config.h: Likewise.
42118         * sysdeps/powerpc/bits/mathdef.h: Likewise.
42119         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42120         * sysdeps/sparc/bits/mathdef.h: Likewise.
42121
42122 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
42123
42124         [BZ #13583]
42125         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42126         Clean up HAS_* macros.
42127         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42128         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42129         possible.
42130         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42131         HAS_AVX.
42132         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42133         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42134         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42135         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42136         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42137
42138 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
42139
42140         * elf/tst-unique3.cc (gets): Remove declaration.
42141         * elf/tst-unique3lib.cc (gets): Likewise.
42142         * elf/tst-unique3lib2.cc (gets): Likewise.
42143         * elf/tst-unique4.cc (gets): Likewise.
42144
42145 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
42146
42147         * include/stdio.h: Add C++ protection.  Add gets declarations and
42148         definitions.
42149         * debug/tst-chk1.c: Don't declare gets here.
42150         * stdio-common/tst-gets.c: Likewise.
42151
42152 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42153
42154         * posix/glob: Remove directory.
42155
42156 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42157
42158         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42159
42160 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
42161
42162         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42163         of the non-standard EPFNOSUPPORT.
42164
42165 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42166
42167         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42168         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42169         ANYWHERE set to 1 only on KERN_NO_SPACE error.
42170
42171 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
42172
42173         * wcsmbs/uchar.h: Test __STDC_VERSION__.
42174
42175 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
42176
42177         * nscd/aicache.c (addhstaiX): Do not cache negative results of
42178         transient errors.
42179         * nscd/grpcache.c (cache_addgr): Likewise.
42180         * nscd/hstcache.c (cache_addhst): Likewise.
42181         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42182         * nscd/pwdcache.c (cache_addpw): Likewise.
42183         * nscd/servicescache.c (cache_addserv): Likewise.
42184
42185 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
42186
42187         * malloc/malloc.c: Various cleanups.
42188         * malloc/hooks.c: Likewise.
42189
42190         * stdlib/Makefile (tests): Add bug-fmtmsg1.
42191         * stdlib/bug-fmtmsg1.c: New file.
42192
42193         * stdlib/fmtmsg.c (init): Add missing unlock.
42194         Patch by Peng Haitao <penght@cn.fujitsu.com>.
42195
42196 2012-01-12  Marek Polacek  <polacek@redhat.com>
42197
42198         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42199         and _GNU_SOURCE.
42200
42201 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
42202
42203         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42204         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42205         macro to ensure uniqueness of label name.
42206         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42207         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42208
42209 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
42210
42211         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42212
42213         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42214         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42215         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42216         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42217
42218 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
42219
42220         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42221
42222         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42223         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42224         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42225
42226         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42227
42228         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42229         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42230         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42231         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42232
42233         * math/bits/math-finite.h: Add ldexp support.
42234
42235 2012-01-10  Marek Polacek  <polacek@redhat.com>
42236
42237         * locale/programs/localedef.h (show_archive_content): Add noreturn
42238         attribute.
42239
42240 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
42241
42242         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42243
42244 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42245
42246         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42247
42248         * io/Makefile (headers): Add bits/poll2.h.
42249
42250 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
42251
42252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42253         typo #include statement.
42254
42255 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42256
42257         * include/sys/cdefs.h: Define __attribute_alloc_size.
42258         * catgets/gencat.c: Add alloc_size attribute and apply consistently
42259         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42260         * elf/pldd.c: Likewise.
42261         * iconv/iconv_charmap.c: Likewise.
42262         * iconv/iconvconfig.c: Likewise.
42263         * iconv/strtab.c: Likewise.
42264         * locale/programs/locale.c: Likewise.
42265         * locale/programs/localedef.h: Likewise.
42266         * locale/programs/simple-hash.c: Likewise.
42267         * nscd/nscd.h: Likewise.
42268         * nss/makedb.c: Likewise.
42269         * sysdeps/generic/ldconfig.h: Likewise.
42270         * locale/programs/localedef.c: Remove xmalloc prototype.
42271         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42272
42273 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42274
42275         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42276         appropriate.
42277
42278 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42279
42280         * math/Makefile (tests): Add tst-CMPLX.
42281         * math/tst-CMPLX.c: New file.
42282
42283         * math/complex.h (CMPLXL): Fix typo.
42284
42285         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42286         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42287         GLIBC_2.16.
42288         * debug/tst-chk1.c: Add poll and ppoll tests.
42289         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42290         * include/sys/poll.h: Add hidden proto for ppoll.
42291         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42292         * sysdeps/mach/hurd/ppoll.c: Likewise.
42293         * io/ppoll.c: Likewise.
42294         * debug/poll_chk.c: New file.
42295         * debug/ppoll_chk.c: New file.
42296         * include/bits/poll2.h: New file.
42297         * io/bits/poll2.h: New file.
42298
42299         [BZ #1350]
42300         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42301
42302         * configure.in: static is always set to yes.  Remove.
42303         * config.make.in: Don't set build-static.
42304         * Makeconfig: Remove use of build-static.
42305         * dlfcn/Makefile: Likewise.
42306         * elf/Makefile: Likewise.
42307         * math/Makefile: Likewise.
42308         * misc/Makefile: Likewise.
42309         * nptl/Makefile: Likewise.
42310         * sysdeps/mach/hurd/Makefile: Likewise.
42311
42312         * configure.in: PWD_P is not used anymore.
42313         * config.make.in: Remove PWD_P entry.
42314
42315         * configure.in: Remove last remnants of RANLIB.
42316         No need to check for signed size_t anymore.
42317         Don't set libc_commonpagesize and libc_relro_required here for Alpha
42318         and IA-64.
42319         Remove __builtin_expect test because we require at least gcc 3.4.
42320         * aclocal.m4: Likewise.
42321
42322         * wcsmbs/mbrtoc16.c: Implement using towc function.
42323         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42324         * wcsmbs/wcsmbsload.c: Likewise.
42325         * iconv/gconv_simple.c: Likewise.
42326         * iconv/gconv_int.h: Likewise.
42327         * iconv/gconv_builtin.h: Likewise.
42328         * iconv/iconv_prog.c: Remove CHAR16 handling.
42329
42330         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42331
42332         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42333
42334         * configure.in: Remove --with-elf and --enable-bounded options.
42335         Dont set base_machine for ia64.  More non-ELF conditions removed.
42336         Remove testing and setting of leading underscore information.
42337         * config.make.in (build-bounded): Set to no.
42338         * config.h.in: Remove NO_UNDERSCORES entry.
42339         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
42340         them.
42341         * csu/start.c: Remove !NO_UNDERSCORE code.
42342         * locale/localeinfo.h: Likewise.
42343         * sysdeps/generic/machine-gmon.h: Likewise.
42344         * sysdeps/generic/sysdep.h: Likewise.
42345         * sysdeps/i386/sysdep.h: Likewise.
42346         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42347         * sysdeps/mach/sysdep.h: Likewise.
42348         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42349         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42350         * sysdeps/sh/sysdep.h: Likewise.
42351         * sysdeps/sparc/sparc32/alloca.S: Likewise.
42352         * sysdeps/unix/i386/sysdep.S: Likewise.
42353         * sysdeps/unix/sparc/start.c: Likewise.
42354         * sysdeps/unix/sparc/sysdep.S: Likewise.
42355         * sysdeps/unix/sparc/sysdep.h: Likewise.
42356         * sysdeps/unix/start.c: Likewise.
42357         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42358         * sysdeps/x86_64/sysdep.h: Likewise.
42359
42360 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
42361
42362         [BZ #13553]
42363         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42364         for non-gcc.
42365         * argp/argp-fmtstream.h: Use const instead __const.
42366         * argp/argp.h: Likewise.
42367         * assert/assert.h: Likewise.
42368         * bits/fenv.h: Likewise.
42369         * bits/sched.h: Likewise.
42370         * bits/sigset.h: Likewise.
42371         * bits/sigthread.h: Likewise.
42372         * catgets/nl_types.h: Likewise.
42373         * conform/data/pthread.h-data: Likewise.
42374         * crypt/crypt-private.h: Likewise.
42375         * crypt/crypt.h: Likewise.
42376         * crypt/crypt_util.c: Likewise.
42377         * ctype/ctype.h: Likewise.
42378         * debug/execinfo.h: Likewise.
42379         * debug/mbsnrtowcs_chk.c: Likewise.
42380         * debug/mbsrtowcs_chk.c: Likewise.
42381         * debug/wcsnrtombs_chk.c: Likewise.
42382         * debug/wcsrtombs_chk.c: Likewise.
42383         * debug/wcstombs_chk.c: Likewise.
42384         * dirent/dirent.h: Likewise.
42385         * dlfcn/dlfcn.h: Likewise.
42386         * elf/neededtest4.c: Likewise.
42387         * grp/grp.h: Likewise.
42388         * gshadow/gshadow.h: Likewise.
42389         * iconv/gconv.h: Likewise.
42390         * iconv/gconv_int.h: Likewise.
42391         * iconv/gconv_simple.c: Likewise.
42392         * iconv/iconv.h: Likewise.
42393         * iconv/loop.c: Likewise.
42394         * iconv/skeleton.c: Likewise.
42395         * include/aio.h: Likewise.
42396         * include/aliases.h: Likewise.
42397         * include/argz.h: Likewise.
42398         * include/arpa/inet.h: Likewise.
42399         * include/assert.h: Likewise.
42400         * include/dirent.h: Likewise.
42401         * include/dlfcn.h: Likewise.
42402         * include/execinfo.h: Likewise.
42403         * include/fcntl.h: Likewise.
42404         * include/fenv.h: Likewise.
42405         * include/glob.h: Likewise.
42406         * include/grp.h: Likewise.
42407         * include/libintl.h: Likewise.
42408         * include/mntent.h: Likewise.
42409         * include/netdb.h: Likewise.
42410         * include/pwd.h: Likewise.
42411         * include/rpc/netdb.h: Likewise.
42412         * include/sched.h: Likewise.
42413         * include/search.h: Likewise.
42414         * include/shadow.h: Likewise.
42415         * include/signal.h: Likewise.
42416         * include/stdio.h: Likewise.
42417         * include/stdlib.h: Likewise.
42418         * include/string.h: Likewise.
42419         * include/sys/socket.h: Likewise.
42420         * include/sys/stat.h: Likewise.
42421         * include/sys/statfs.h: Likewise.
42422         * include/sys/statvfs.h: Likewise.
42423         * include/sys/syslog.h: Likewise.
42424         * include/sys/time.h: Likewise.
42425         * include/sys/uio.h: Likewise.
42426         * include/time.h: Likewise.
42427         * include/unistd.h: Likewise.
42428         * include/utmp.h: Likewise.
42429         * include/wchar.h: Likewise.
42430         * include/wctype.h: Likewise.
42431         * inet/aliases.h: Likewise.
42432         * inet/arpa/inet.h: Likewise.
42433         * inet/netinet/ether.h: Likewise.
42434         * inet/netinet/in.h: Likewise.
42435         * intl/libintl.h: Likewise.
42436         * io/bits/fcntl2.h: Likewise.
42437         * io/fcntl.h: Likewise.
42438         * io/ftw.h: Likewise.
42439         * io/sys/poll.h: Likewise.
42440         * io/sys/stat.h: Likewise.
42441         * io/sys/statfs.h: Likewise.
42442         * io/sys/statvfs.h: Likewise.
42443         * io/utime.h: Likewise.
42444         * libio/bits/stdio.h: Likewise.
42445         * libio/bits/stdio2.h: Likewise.
42446         * libio/libio.h: Likewise.
42447         * libio/libioP.h: Likewise.
42448         * libio/stdio.h: Likewise.
42449         * locale/lc-ctype.c: Likewise.
42450         * locale/locale.h: Likewise.
42451         * login/utmp.h: Likewise.
42452         * malloc/arena.c: Likewise.
42453         * malloc/malloc.c: Likewise.
42454         * malloc/malloc.h: Likewise.
42455         * malloc/mcheck.c: Likewise.
42456         * malloc/mtrace.c: Likewise.
42457         * math/bits/mathcalls.h: Likewise.
42458         * math/fenv.h: Likewise.
42459         * math/math_private.h: Likewise.
42460         * misc/bits/error.h: Likewise.
42461         * misc/bits/syslog.h: Likewise.
42462         * misc/err.h: Likewise.
42463         * misc/error.h: Likewise.
42464         * misc/fstab.h: Likewise.
42465         * misc/mntent.h: Likewise.
42466         * misc/regexp.h: Likewise.
42467         * misc/search.h: Likewise.
42468         * misc/sgtty.h: Likewise.
42469         * misc/sys/mman.h: Likewise.
42470         * misc/sys/syslog.h: Likewise.
42471         * misc/sys/uio.h: Likewise.
42472         * misc/sys/xattr.h: Likewise.
42473         * misc/ttyent.h: Likewise.
42474         * nis/rpcsvc/ypclnt.h: Likewise.
42475         * nss/nss.h: Likewise.
42476         * posix/bits/unistd.h: Likewise.
42477         * posix/fnmatch.h: Likewise.
42478         * posix/glob.h: Likewise.
42479         * posix/sched.h: Likewise.
42480         * posix/spawn.h: Likewise.
42481         * posix/sys/wait.h: Likewise.
42482         * posix/unistd.h: Likewise.
42483         * posix/wordexp.h: Likewise.
42484         * pwd/pwd.h: Likewise.
42485         * resolv/netdb.h: Likewise.
42486         * resource/sys/resource.h: Likewise.
42487         * rt/aio.h: Likewise.
42488         * rt/bits/mqueue2.h: Likewise.
42489         * rt/mqueue.h: Likewise.
42490         * shadow/shadow.h: Likewise.
42491         * signal/signal.h: Likewise.
42492         * socket/send.c: Likewise.
42493         * socket/sendto.c: Likewise.
42494         * socket/sys/socket.h: Likewise.
42495         * stdio-common/printf.h: Likewise.
42496         * stdlib/bits/stdlib.h: Likewise.
42497         * stdlib/fmtmsg.h: Likewise.
42498         * stdlib/monetary.h: Likewise.
42499         * stdlib/stdlib.h: Likewise.
42500         * stdlib/ucontext.h: Likewise.
42501         * streams/stropts.h: Likewise.
42502         * string/argz.h: Likewise.
42503         * string/bits/string2.h: Likewise.
42504         * string/string.h: Likewise.
42505         * string/strings.h: Likewise.
42506         * sunrpc/rpc/auth.h: Likewise.
42507         * sunrpc/rpc/auth_des.h: Likewise.
42508         * sunrpc/rpc/clnt.h: Likewise.
42509         * sunrpc/rpc/netdb.h: Likewise.
42510         * sunrpc/rpc/pmap_clnt.h: Likewise.
42511         * sunrpc/rpc/xdr.h: Likewise.
42512         * sysdeps/generic/inttypes.h: Likewise.
42513         * sysdeps/generic/net/if.h: Likewise.
42514         * sysdeps/generic/sys/swap.h: Likewise.
42515         * sysdeps/gnu/net/if.h: Likewise.
42516         * sysdeps/gnu/utmpx.h: Likewise.
42517         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42518         * sysdeps/i386/i486/bits/string.h: Likewise.
42519         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42520         * sysdeps/s390/bits/string.h: Likewise.
42521         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42522         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42523         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42524         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42525         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42526         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42527         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42528         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42529         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42530         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42531         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42532         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42533         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42534         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42535         * sysdeps/unix/sysv/linux/readv.c: Likewise.
42536         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42537         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42538         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42539         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42540         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42541         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42542         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42543         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42544         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42545         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42546         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42547         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42548         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42549         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42550         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42551         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42552         * sysvipc/sys/ipc.h: Likewise.
42553         * sysvipc/sys/msg.h: Likewise.
42554         * sysvipc/sys/sem.h: Likewise.
42555         * sysvipc/sys/shm.h: Likewise.
42556         * termios/termios.h: Likewise.
42557         * time/sys/time.h: Likewise.
42558         * time/time.h: Likewise.
42559         * wcsmbs/bits/wchar2.h: Likewise.
42560         * wcsmbs/uchar.h: Likewise.
42561         * wcsmbs/wchar.h: Likewise.
42562         * wctype/wctype.h: Likewise.
42563
42564         [BZ #13551]
42565         * Makeconfig: Remove all but ELF support including AIX support.
42566         * Makerules: Likewise.
42567         * config.h.in: Likewise.
42568         * config.make.in: Likewise.
42569         * configure: Likewise.
42570         * configure.in: Likewise.
42571         * csu/Makefile: Likewise.
42572         * csu/version.c: Likewise.
42573         * debug/Makefile: Likewise.
42574         * dlfcn/Makefile: Likewise.
42575         * elf/Makefile: Likewise.
42576         * extra-lib.mk: Likewise.
42577         * iconv/Makefile: Likewise.
42578         * include/libc-symbols.h: Likewise.
42579         * include/shlib-compat.h: Likewise.
42580         * resolv/Makefile: Likewise.
42581         * resolv/res_libc.c: Likewise.
42582         * rt/Makefile: Likewise.
42583         * sysdeps/i386/asm-syntax.h: Likewise.
42584         * sysdeps/i386/sysdep.h: Likewise.
42585         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42586         * sysdeps/mach/sysdep.h: Likewise.
42587         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42588         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42589         * sysdeps/s390/asm-syntax.h: Likewise.
42590         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42591         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42592         * sysdeps/sh/sysdep.h: Likewise.
42593         * sysdeps/unix/sparc/sysdep.h: Likewise.
42594         * sysdeps/wordsize-32/divdi3.c: Likewise.
42595         * sysdeps/x86_64/sysdep.h: Likewise.
42596
42597         * argp/Versions: Remove _argp_unlock_xxx.
42598
42599         [BZ #13559]
42600         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
42601         * abilist/libBrokenLocale.abilist: Likewise.
42602         * abilist/libanl.abilist: Likewise.
42603         * abilist/libc.abilist: Likewise.
42604         * abilist/libcrypt.abilist: Likewise.
42605         * abilist/libdl.abilist: Likewise.
42606         * abilist/libm.abilist: Likewise.
42607         * abilist/libnsl.abilist: Likewise.
42608         * abilist/libpthread.abilist: Likewise.
42609         * abilist/libresolv.abilist: Likewise.
42610         * abilist/librt.abilist: Likewise.
42611         * abilist/libthread_db.abilist: Likewise.
42612         * abilist/libutil.abilist: Likewise.
42613         * abilist/libnss_db.abilist: New file.
42614
42615         * scripts/abilist.awk: Add support for indirect functions.
42616
42617         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42618
42619         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42620
42621         * shlib-versions: Remove entries for ports architectures.
42622
42623         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
42624         files in ports.
42625         * elf/stackguard-macros.h: Remove support for IA-64.
42626         * elf/tst-auditmod1.c: Likewise.
42627         * sysdeps/generic/ldsodefs.h: Likewise.
42628
42629         * sysdeps/unix/sysv/linux/configure.in: Ports should define
42630         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42631         configure files.
42632
42633         [BZ #13552]
42634         * configure.in: Remove --enable-omitfp support.
42635         * FAQ.in: Adjust.
42636         * config.make.in: Likewise.
42637         * Makeconfig: Likewise.
42638         * manual/install.texi: Likewise.
42639
42640         In case anyone cares, the IA-64 architecture could move to ports.
42641         * sysdeps/ia64/*: Removed.
42642         * sysdeps/unix/sysv/linux/ia64/*: Removed.
42643         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42644
42645         [BZ #13555]
42646         * configure.in: Remove entries for unsupported architectures.
42647
42648         [BZ #13533]
42649         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42650         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
42651         routines.
42652         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42653         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42654         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
42655         fall back to using wcrtomb.
42656         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42657         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
42658         renaming.
42659         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42660         * wcsmbs/tst-c16c32-1.c: New file.
42661
42662         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42663         local variable.
42664
42665         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42666
42667         * elf/tst-unique3.cc: Add explicit declaration of gets.
42668         * elf/tst-unique3lib.cc: Likewise.
42669         * elf/tst-unique3lib2.cc: Likewise.
42670         * elf/tst-unique4.cc: Likewise.
42671
42672         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42673
42674 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
42675
42676         [BZ #13566]
42677         * assert/assert.h (static_assert): Don't define for C++.
42678         * libio/stdio.h (gets): Do declare for C++ <= C++11.
42679         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42680
42681 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
42682
42683         * iconv/loop.c (single loop): Fix assertion in storing of
42684         remaining bytes.
42685
42686         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42687
42688 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
42689
42690         * posix/getconf.c: Update copyright year.
42691         * nss/getent.c: Likewise.
42692         * nss/makedb.c: Likewise.
42693         * iconv/iconvconfig.c: Likewise.
42694         * iconv/iconv_prog.c: Likewise.
42695         * elf/ldconfig.c: Likewise.
42696         * elf/pldd.c: Likewise.
42697         * elf/sotruss.ksh: Likewise.
42698         * catgets/gencat.c: Likewise.
42699         * csu/version.c: Likewise.
42700         * elf/ldd.bash.in: Likewise.
42701         * elf/sprof.c (print_version): Likewise.
42702         * locale/programs/locale.c: Likewise.
42703         * locale/programs/localedef.c: Likewise.
42704         * login/programs/pt_chown.c: Likewise.
42705         * nscd/nscd.c (print_version): Likewise.
42706         * debug/xtrace.sh: Likewise.
42707         * malloc/memusage.sh: Likewise.
42708         * malloc/mtrace.pl: Likewise.
42709         * debug/catchsegv.sh: Likewise.
42710
42711 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
42712
42713         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42714         pure attribute.
42715
42716 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
42717
42718         [BZ #13533]
42719         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42720         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42721         transformations.
42722         * iconv/gconv_int.h: Likewise.
42723         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42724         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42725         from libc for GLIBC_2.16.
42726         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42727         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42728         * wcsmbs/uchar.h: Really define mbstate_t.
42729         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42730         * wcsmbs/c16rtomb.c: New file.
42731         * wcsmbs/mbrtoc16.c: New file.
42732         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42733         for C/POSIX locale.
42734         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42735         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42736
42737         * wcsmbs/wchar.h: Add missing __restrict.
42738
42739 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
42740
42741         [BZ #13532]
42742         * time/Makefile (routines): Add timespec_get.
42743         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42744         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
42745         timespec for ISO C11.
42746         * time/timespec_get.c: New file.
42747         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42748         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42749
42750         [BZ #13531]
42751         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42752         * stdlib/stdlib.h: Declare aligned_alloc.
42753         * Versions.def: Add GLIBC_2.16 for libc.
42754         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42755
42756         [BZ 13527]
42757         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42758         ISO C11.
42759
42760         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
42761         code.
42762
42763         [BZ #13528]
42764         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42765
42766         [BZ #13529]
42767         * assert/assert.h (static_assert): Define.
42768
42769         * version.h: Update for 2.16 development version.
42770
42771         [BZ #13526]
42772         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42773         _ISOC11_SOURCE.
42774
42775         * version.h (RELEASE): Bump for 2.15 release.
42776         * include/features.h (__GLIBC_MINOR__): Bump to 15.
42777
42778         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42779         Patch by Marek Polacek <mpolacek@redhat.com>.
42780
42781         * bits/byteswap.h: Protect long long constants with __extension__.
42782         * sysdeps/i386/bits/byteswap.h: Likewise.
42783         * sysdeps/ia64/bits/byteswap.h: Likewise.
42784         * sysdeps/s390/bits/byteswap.h: Likewise.
42785         * sysdeps/x86_64/bits/byteswap.h: Likewise.
42786
42787 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42788
42789         [BZ #13540]
42790         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42791         destination buffer.
42792         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42793
42794 2011-12-23  Marek Polacek  <polacek@redhat.com>
42795
42796         * elf/dl-addr.c (determine_info): Add inline keyword.
42797         * elf/tst-auditmod4b.c (check_avx): Likewise.
42798         * elf/tst-auditmod6b.c (check_avx): Likewise.
42799         * elf/tst-auditmod6c.c (check_avx): Likewise.
42800         * elf/tst-auditmod7b.c (check_avx): Likewise.
42801
42802 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
42803
42804         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42805         !__SSE_MATH__.
42806
42807 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42808
42809         [BZ #13540]
42810         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42811         processing for last bytes.
42812
42813 2011-08-06  Bruno Haible  <bruno@clisp.org>
42814
42815         [BZ #13061]
42816         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42817         U+0385, not to U+1FEE.
42818
42819         [BZ #13062]
42820         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42821         entry for U+00A5 U+0301.
42822
42823 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
42824
42825         [BZ #13166]
42826         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42827         buffer for the output is too small.
42828
42829         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42830         optimization.
42831
42832         [BZ #13185]
42833         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42834         SSE flags if possible.
42835
42836 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42837
42838         [BZ #13540]
42839         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42840         processing for last bytes.
42841
42842 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
42843
42844         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42845         (syscall-list-default-options, syscall-list-default-condition)
42846         (syscall-list-includes): Define.
42847         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42848         list of ABIs and options and #if conditions for each ABI.  Do not
42849         handle common syscalls between ABIs specially.
42850         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42851         Remove.
42852         (syscall-list-variants, syscall-list-32bit-options)
42853         (syscall-list-32bit-condition, syscall-list-64bit-options)
42854         (syscall-list-64bit-condition): Define.
42855         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42856         (syscall-list-variants, syscall-list-32bit-options)
42857         (syscall-list-32bit-condition, syscall-list-64bit-options)
42858         (syscall-list-64bit-condition): Define.
42859         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42860         Remove.
42861         (syscall-list-variants, syscall-list-32bit-options)
42862         (syscall-list-32bit-condition, syscall-list-64bit-options)
42863         (syscall-list-64bit-condition): Define.
42864         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42865         Remove.
42866         (syscall-list-variants, syscall-list-32bit-options)
42867         (syscall-list-32bit-condition, syscall-list-64bit-options)
42868         (syscall-list-64bit-condition): Define.
42869
42870 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
42871
42872         * locale/iso-639.def: Add brx entry.
42873
42874         [BZ #13328]
42875         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42876         Proposed by Mariusz_Cukr <marcukr@op.pl>.
42877
42878         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42879         __feraiseexcept_renamed.
42880
42881 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
42882
42883         [BZ #13538]
42884         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42885         EPOLLET with unsigned values.
42886         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42887         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42888
42889         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42890         to large cancellation.
42891         * math/s_cacoshf.c: Likewise.
42892         * math/s_cacoshl.c: Likewise.
42893
42894 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
42895
42896         [BZ #13305]
42897         [BZ #12786]
42898         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42899         * math/s_cacoshf.c: Likewise.
42900         * math/s_cacoshl.c: Likewise.
42901
42902 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
42903
42904         [BZ #13439]
42905         * iconv/gconv.h: Define __GCONV_SWAP.
42906         * iconvdata/unicode.c: The swap bit must be stored in __flags.
42907         * iconvdata/utf-16.c: Likewise.
42908         * iconvdata/utf-32.c: Likewise.
42909
42910 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
42911
42912         [BZ #13524]
42913         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42914         numerator after shifting it by one limb.
42915
42916 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
42917
42918         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42919         under [__USE_EXTERN_INLINES].
42920
42921 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
42922
42923         [BZ #13446]
42924         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42925
42926 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42927
42928         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42929         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42930         optimized code.
42931         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42932         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42933         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42934         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42935         for strncasecmp/strncasecmp_l compilation.
42936         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42937         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42938
42939 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
42940
42941         [BZ #13484]
42942         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42943         of __asm__.
42944
42945 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
42946
42947         [BZ #13506]
42948         * time/tzfile.c (__tzfile_read): Check values from file header.
42949
42950 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
42951
42952         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42953         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42954         * powerpc/powerpc32/dl-start.S: Likewise.
42955         * powerpc/powerpc32/elf/start.S: Likewise.
42956         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42957         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42958         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42959         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42960         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42961         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42962         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42963         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42964         * powerpc/powerpc32/fpu/s_round.S: Likewise.
42965         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42966         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42967         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42968         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42969         * powerpc/powerpc32/memset.S: Likewise.
42970         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42971         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42972         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42973         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42974         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42975         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42976         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42977         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42978         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42979         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42980         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42981         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42982         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42983
42984 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42985
42986         * math/libm-test.inc: Added more nearbyint tests.
42987         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42988         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42989         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42990         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42991
42992 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
42993
42994         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42995         FD_CLOEXEC.
42996
42997 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42998
42999         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43000         Add wcscpy-ssse3 wcscpy-c.
43001         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43002         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43003         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43004         * sysdeps/x86_64/wcschr.S: New file.
43005         * sysdeps/x86_64/wcsrchr.S: New file.
43006         * string/test-strcmp.c: Remove checking of wcscmp function for
43007         wrong alignments.
43008         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43009         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43010         wcsrchr-sse2 wcsrchr-c.
43011         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43012         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43013         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43014         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43015         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43016         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43017         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43018         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43019         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43020         * wcsmbc/wcschr.c (WCSCHR): New macro.
43021
43022 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43023
43024         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43025         * wcsmbs/test-wcsrchr.c: New file.
43026         * string/test-strrchr.c: Add wcsrchr support.
43027         (WIDE): New macro.
43028         * wcsmbs/test-wcscpy.c: New file.
43029         * string/test-strcpy.c: Add wcscpy support.
43030         (WIDE): New macro.
43031
43032 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
43033
43034         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43035         the inner loop.
43036
43037 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
43038
43039         [BZ #13472]
43040         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43041
43042 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
43043
43044         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43045         Minor optimizations.
43046
43047         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43048         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43049         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43050
43051 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
43052
43053         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43054         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43055         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43056         for gcc to avoid warnings.
43057         * inet/Makefile (tests): Add tst-checks.
43058         * inet/tst-checks.c: New file.
43059
43060         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43061         warning.
43062
43063         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43064         __wmemcmp_sse2.
43065
43066         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43067         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43068
43069         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43070
43071 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
43072
43073         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43074         problem.
43075
43076         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43077
43078 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
43079
43080         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43081         conditional on GCC version.
43082         (__arch_compare_and_exchange_val_8_acq)
43083         (__arch_compare_and_exchange_val_16_acq)
43084         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43085         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43086         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43087
43088 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
43089
43090         * sysdeps/sh/backtrace.c: New file.
43091
43092 2011-12-02  Andreas Schwab  <schwab@redhat.com>
43093
43094         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
43095         parenthesis.
43096
43097 2011-12-01  Andreas Schwab  <schwab@redhat.com>
43098
43099         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43100         falling back to utime.
43101
43102 2011-11-30  Andreas Schwab  <schwab@redhat.com>
43103
43104         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43105         expectations for float.
43106
43107 2011-11-29  Andreas Schwab  <schwab@redhat.com>
43108
43109         * locale/weight.h (findidx): Add parameter len.
43110         * locale/weightwc.h (findidx): Likewise.
43111         * posix/fnmatch_loop.c (FCT): Adjust caller.
43112         * posix/regcomp.c (build_equiv_class): Likewise.
43113         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43114         * posix/regexec.c (check_node_accept_bytes): Likewise.
43115         * string/strcoll_l.c (STRCOLL): Likewise.
43116         * string/strxfrm_l.c (STRXFRM): Likewise.
43117
43118 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
43119
43120         * Makefile.in: Remove CVSOPT handling.
43121         * configure.in: Remove use of AC_REVISION.
43122         * iconvdata/Makefile (distribute): No need to filter out CVS.
43123         * scripts/list-sources.sh: Remove CVS, subversion and monotone
43124         handling.
43125
43126 2011-11-16  Andreas Schwab  <schwab@redhat.com>
43127
43128         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43129         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43130         [USE_AS_STRNCASECMP_L]: Likewise.
43131         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43132         NO_TLS_DIRECT_SEG_REFS.
43133         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43134         Fix argument offsets for non-PIC.
43135         [USE_AS_STRNCASECMP_L]: Likewise.
43136         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43137         NO_TLS_DIRECT_SEG_REFS.
43138
43139 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43140
43141         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43142         O_CLOEXEC.
43143         * locale/loadlocale.c (_nl_load_locale): Likewise.
43144
43145 2011-11-15  Andreas Schwab  <schwab@redhat.com>
43146
43147         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43148         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43149         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43150         (SYSCALL_GETTIME): Set errno on error.
43151
43152         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43153         count references to noai6ai_cached.
43154
43155 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43156
43157         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43158
43159         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43160         FD_CLOEXEC for /proc/self/maps.
43161
43162         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43163         FD_CLOEXEC for /proc/meminfo.
43164
43165         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43166         gai.conf.
43167
43168         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
43169         FD_CLOEXEC for given file.
43170
43171         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43172
43173         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43174         FD_CLOEXEC for /etc/hosts.
43175         (_gethtent): Likewise.
43176
43177         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43178
43179         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43180         cancellation and set FD_CLOEXEC for /etc/netgroup.
43181
43182         * nss/nss_files/files-key.c (search): Don't allow cancellation when
43183         reading /etc/publickey.
43184
43185         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43186         allow cancellation when reading /etc/group.
43187
43188         * nss/nss_files/files-alias.c (internal_setent): Don't allow
43189         cancellation.
43190         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
43191
43192         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43193         when using data file.
43194
43195         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43196
43197         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43198         (write_nis_obj): Use "c" and "e" in fopen.
43199
43200         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43201
43202         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43203
43204         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43205
43206         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43207
43208         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43209         locale.alias.
43210
43211         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43212
43213         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43214
43215         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43216
43217         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43218         file parsing and set FD_CLOEXEC.
43219
43220 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43221
43222         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43223
43224 2011-11-14  Andreas Schwab  <schwab@redhat.com>
43225
43226         * malloc/arena.c (arena_get2): Don't call reused_arena when
43227         _int_new_arena failed.
43228
43229 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43230
43231         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43232         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43233         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43234         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43235         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43236         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43237         to compile strcasecmp and strncasecmp.
43238         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43239         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43240
43241         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43242
43243 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
43244
43245         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43246         locale-defines.sym to gen-as-const-headers.
43247         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43248         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43249         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43250         to compile strcasecmp and strncasecmp.
43251         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43252         strcasecmp_l and strncasecmp_l.
43253         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43254         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43255         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43256         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43257         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43258         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43259         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43260         * sysdeps/i386/i686/multiarch/strncase.S: New file.
43261         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43262         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43263         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43264
43265 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
43266
43267         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43268         result of SYSDEP_GETTIME_CPU to retval.
43269         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43270         parameter list to macro.  Remove trailing semicolon.  Adjust users.
43271
43272         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43273         variable.
43274
43275         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43276         mantissa words.
43277         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43278
43279         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43280         from unused variable.
43281
43282         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43283         DWARF definitions.
43284         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43285         for assembling.
43286
43287         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43288         over namespaces.
43289
43290         * sunrpc/rpc_prot.c (rejected): Fix case value.
43291
43292         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43293         unsigned long long int to avoid warnings in shift.
43294
43295         * posix/regex_internal.c (re_string_reconstruct): Actually use result
43296         of use of trans.
43297         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43298         variable tmp.
43299
43300         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43301         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43302         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43303
43304         * nis/nis_table.c (nis_list): Use variable of correct type for
43305         result of __follow_path call.
43306
43307 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43308
43309         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43310         of math functions ceil, trunc, floor, round, and sqrt, when
43311         avaliable on the platform.
43312         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43313         name clash.
43314         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43315         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43316         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43317
43318 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
43319
43320         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43321         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43322
43323 2011-11-11  Roland McGrath  <roland@hack.frob.com>
43324
43325         * include/unistd.h: Fix __readlink return type.
43326         Reported by Chris Metcalf <cmetcalf@tilera.com>.
43327
43328 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
43329
43330         * stdlib/ucontext.h: Undo last change for makecontext.
43331
43332 2011-11-11  Andreas Schwab  <schwab@redhat.com>
43333
43334         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43335
43336         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43337         * setjmp/setjmp.h: Mark functions as non-leaf.
43338         * setjmp/bits/setjmp2.h: Likewise.
43339         * stdlib/ucontext.h: Likewise.
43340
43341 2011-11-10  Andreas Schwab  <schwab@redhat.com>
43342
43343         * malloc/arena.c (_int_new_arena): Don't increment narenas.
43344         (reused_arena): Don't check arena limit.
43345         (arena_get2): Atomically check arena limit.
43346
43347 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
43348
43349         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43350         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43351
43352         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43353         instructions.
43354
43355 2011-11-07  Andreas Schwab  <schwab@redhat.com>
43356
43357         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43358         handler when locking.
43359
43360         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43361         Fix size of allocated buffer.
43362
43363 2011-11-04  Andreas Schwab  <schwab@redhat.com>
43364
43365         [BZ #10103]
43366         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43367         declarations for long double functions.
43368         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43369
43370         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43371
43372 2011-11-03  Andreas Schwab  <schwab@redhat.com>
43373
43374         * nscd/nscd.c (main): Don't start AVC thread until credentials are
43375         installed.
43376
43377         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43378         is disabled.
43379
43380 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43381
43382         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43383
43384 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43385
43386         * include/alloca.h (stackinfo_alloca_round): Define.
43387         (extend_alloca): Use it.
43388         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43389         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43390         here.
43391
43392         * scripts/check-local-headers.sh: Ignore libaudit.h.
43393
43394         * nscd/Makefile (extra-objs): Make recursively expanded.
43395
43396 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
43397
43398         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43399         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43400
43401         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43402         * posix/tst-rfc3484-2.c: Likewise.
43403         * posix/tst-rfc3484-3.c: Likewise.
43404
43405         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43406         process_vm_writev.
43407         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43408         process_vm_writev.
43409         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43410         process_vm_writev from libc using GLIBC_2.15 version.
43411
43412         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43413
43414 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
43415
43416         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43417         stack usage.
43418
43419 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
43420
43421         [BZ #13367]
43422         * nss/getent.c (initgroups_keys): Show error message in case no group
43423         names are given.
43424
43425         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43426         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43427         __bump_nl_timestamp.
43428         * nscd/connections (nscd_init): When host database is served open
43429         netlink socket and request notification about configuration changes.
43430         (main_loop_poll): Track netlink file descriptor and bump timestamp
43431         in case data becomes available.
43432         (main_loop_epoll): Likewise.
43433         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43434         (database_pers_head): Add extra_data fileds.
43435         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43436         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43437         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43438         Adjust caller.
43439         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43440         in6ai data, call __free_in6ai.
43441         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43442         Add -DHAVE_NETLINK.
43443         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
43444         interface information.  Reuse previous data if netlink timestamp
43445         is not changed.
43446         (__bump_nl_timestamp): New function.
43447         (__free_in6ai): New function.
43448
43449 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
43450
43451         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43452         close_not_cancel_no_status here.
43453         (__check_pf): Reorganize code a bit to not call close twice if OOM.
43454
43455 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
43456
43457         [BZ #13276]
43458         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43459         return value.
43460
43461         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43462         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43463         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43464
43465 2011-07-03  Andreas Jaeger  <aj@suse.de>
43466
43467         [BZ #10709]
43468         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43469         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43470         * math/libm-test.inc (sin_test): Add test case.
43471
43472 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
43473
43474         [BZ #13337]
43475         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43476         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43477
43478         * elf/chroot_canon.c (chroot_canon): Cleanups.
43479
43480         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43481
43482         [BZ #13335]
43483         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43484         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43485
43486         * string/test-strchr.c: Make usable for strchrnul testing.
43487         * string/test-strchrnul.c: New file.
43488         * string/Makefile (strop-tests): Add strchrnul.
43489
43490         * po/it.po: Update from translation team.
43491         * po/es.po: Likewise.
43492
43493 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
43494
43495         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43496         the three constants needed as parameters.  Drop the others.
43497         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43498         __m128i_strloadu_tolower.
43499         Create and initialize variable zero and use it in all the places
43500         where _mm_setzero_si128 was used.
43501
43502         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43503         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43504         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43505         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43506         anymore.
43507         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43508         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43509         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43510         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43511         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43512         __mpranred, __mptan.
43513         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43514         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43515         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43516         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43517         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43518         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43519         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43520         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43521         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43522
43523 2011-10-28  Andreas Schwab  <schwab@redhat.com>
43524
43525         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43526         redefine if SHARED.
43527         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43528
43529         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43530         wide char related routines to wcsmbs subdir.
43531
43532 2011-10-27  Andreas Schwab  <schwab@redhat.com>
43533
43534         [BZ #13344]
43535         * misc/sys/cdefs.h (__THROWNL): Define.
43536         * posix/unistd.h: Use __THREADNL instead of __THREAD
43537         for memory synchronization functions.
43538
43539 2011-10-26  Roland McGrath  <roland@hack.frob.com>
43540
43541         [BZ #13349]
43542         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43543         doesn't exist.
43544         * manual/stdio.texi (Obstack Streams): Node removed.
43545
43546 2011-10-26  Andreas Schwab  <schwab@redhat.com>
43547
43548         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43549         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43550         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43551
43552         * math/math_private.h (math_force_eval): Allow non-addressable
43553         arguments.
43554         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43555
43556 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43557
43558         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43559         file is not needed.
43560
43561         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43562         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43563         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43564         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43565         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43566         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43567         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43568         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43569         Add AVX variants.
43570         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43571         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43572         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43573         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43574         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43575         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43576         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43577         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43578         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43579         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43580         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43581         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43582         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43583         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43584         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43585         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43586         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43587         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43588         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43589
43590         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43591         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
43592
43593         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43594         place.  Use VEX encoding when compiling for AVX.
43595
43596 2011-10-25  Andreas Schwab  <schwab@redhat.com>
43597
43598         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43599         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43600
43601         * string/test-strchr.c (do_test): Don't generate NUL bytes.
43602
43603 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43604
43605         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43606         useless if() expression.
43607         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43608         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43609         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43610         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43611         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43612         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43613         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43614         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43615         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43616         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43617         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43618         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43619         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43620         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43621         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43622         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43623         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43624         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43625         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43626
43627         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43628
43629 2011-10-25  Andreas Schwab  <schwab@redhat.com>
43630
43631         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43632         condition.
43633         * elf/dl-fini.c (_dl_sort_fini): Likewise.
43634
43635 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43636
43637         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43638         .text section.  Avoid duplicate constants.
43639         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43640         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43641         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43642         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43643         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43644         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43645         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43646         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43647         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43648         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43649         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43650         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43651         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43652         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43653         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43654         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43655         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43656         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43657         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43658         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43659         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43660         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43661         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43662         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43663         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43664         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43665         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43666         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43667         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43668         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43669         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43670         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43671         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43672         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43673         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43674         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43675         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43676         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43677         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43678         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43679         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43680         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43681         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43682         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43683         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43684
43685 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
43686
43687         * sysdeps/x86_64/dla.h: Move to ...
43688         * sysdeps/x86_64/fpu/dla.h: ...here.
43689         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43690         situations.  Use __builtin_fma only for gcc 4.6 and up.
43691
43692         * config.make.in: Add have-mfma4 entry.
43693         * configure.in: Substitute libc_cv_cc_fma4.
43694         * math/Makefile (dbl-only-routines): Add sincostab.
43695         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43696         Use __sincostab not sincos.
43697         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43698         name is a macro.
43699         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43700         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43701         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43702         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
43703         using __copysign.
43704         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
43705         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
43706         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43707         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43708         and __inv.
43709         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43710         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43711         __copysign.
43712         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
43713         define aliases when function name is a macro.
43714         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43715         sysdeps/ieee754/dbl-64/sincos.tbl.
43716         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43717         fma4-enabled routines.
43718         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43719         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43720         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43721         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43722         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43723         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43724         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43725         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43726         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43727         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43728         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43729         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43730         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43731         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43732         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43733         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43734         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43735         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43736         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43737         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43738         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43739         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43740         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43741         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43742         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43743         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43744         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43745         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43746         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43747         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43748
43749         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43750         rename.
43751         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43752         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43753         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43754         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43755         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43756         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43757         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43758         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43759
43760 2011-10-24  Andreas Schwab  <schwab@redhat.com>
43761
43762         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43763
43764 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43765
43766         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43767
43768         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43769         prediction.
43770         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43771
43772         * string/strnlen.c: Don't define STRNLEN, reverse logic.
43773         Remove unused variable magic_bits.
43774         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43775
43776         * string/strnlen.c: Define and use STRNLEN macro.
43777         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43778         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43779         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43780         * wcsmbs/wcslen.c: Define and use WCSLEN.
43781         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43782         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43783         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43784         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43785         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43786         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43787         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43788
43789 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43790
43791         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43792         strnlen-sse2-no-bsf.
43793         Rename strlen-no-bsf to strlen-sse2-no-bsf.
43794         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43795         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43796         Add strnlen support.
43797         (USE_AS_STRNLEN): New macro.
43798         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43799         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43800         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43801         * sysdeps/x86_64/wcslen.S: New file.
43802
43803 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
43804
43805         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43806         XMM-moves are used for copying on small sizes.
43807
43808 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43809
43810         * wcsmbs/Makefile (strop-tests): Add wcschr.
43811         * wcsmbs/test-wcschr.c: New file.
43812         * string/test-strchr.c: Update.
43813         Add wcschr support.
43814         (WIDE): New macro.
43815
43816 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43817
43818         * wcsmbs/Makefile (strop-tests): Add wcslen.
43819         * wcsmbs/test-wcslen.c: New file.
43820         * string/test-strlen.c: Update.
43821         Add wcslen support.
43822         (WIDE): New macro.
43823
43824 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43825
43826         * po/it.po: Update from translation team.
43827
43828 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43829
43830         * sysdeps/x86_64/wcscmp.S: Update.
43831         Fix wrong comparison semantics.
43832         wcscmp shall use signed comparison not unsigned.
43833         Don't use substraction to avoid overflow bug.
43834         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43835         * wcsmbc/wcscmp.c: Likewise.
43836         * string/test-strcmp.c: Likewise.
43837         Add new tests to check cases with negative values.
43838
43839 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43840
43841         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43842         * sysdeps/x86_64/dla.h: ...here.  New file.
43843         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43844         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43845         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43846         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43847         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43848         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43849         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43850         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43851         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43852
43853 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
43854
43855         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43856         __ynl_finite aliases.
43857
43858 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
43859
43860         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43861
43862         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43863         define DLA_FMA.
43864         [DLA_FMA] (EMULV): Use DLA_FMA.
43865         [DLA_FMA] (MUL12): Use EMULV.
43866         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43867         that are not needed.
43868         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43869         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43870         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43871         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43872         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43873         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43874         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43875
43876 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
43877
43878         * math/s_nan.c: Undef __nan.
43879         * math/s_nanf.c: Undef __nanf.
43880         * math/s_nanl.c: Undef __nanl.
43881         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43882         "math_private.h".
43883
43884 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
43885
43886         * math/s_catan.c: Add branch predictions.
43887         * math/s_catanf.c: Likewise.
43888         * math/s_catanh.c: Likewise.
43889         * math/s_catanhf.c: Likewise.
43890         * math/s_catanhl.c: Likewise.
43891         * math/s_catanl.c: Likewise.
43892         * math/s_cexp.c: Likewise.
43893         * math/s_cexpf.c: Likewise.
43894         * math/s_cexpl.c: Likewise.
43895         * math/s_clog.c: Likewise.
43896         * math/s_clog10.c: Likewise.
43897         * math/s_clog10f.c: Likewise.
43898         * math/s_clog10l.c: Likewise.
43899         * math/s_clogf.c: Likewise.
43900         * math/s_clogl.c: Likewise.
43901         * math/s_csqrt.c: Likewise.
43902         * math/s_csqrtf.c: Likewise.
43903         * math/s_csqrtl.c: Likewise.
43904         * math/s_ctanf.c: Likewise.
43905         * math/s_ctanh.c: Likewise.
43906         * math/s_ctanhf.c: Likewise.
43907         * math/s_ctanhl.c: Likewise.
43908         * math/s_ctanl.c: Likewise.
43909
43910         * math/math_private.h: Define __nan, __nanf, __nanl.
43911         * math/s_cacosh.c: Include <math_private.h>.
43912         * math/s_cacoshl.c: Likewise.
43913         * math/s_casinh.c: Likewise.
43914         * math/s_casinhf.c: Likewise.
43915         * math/s_casinhl.c: Likewise.
43916         * math/s_ccos.c: Rely entire on ccosh.
43917         * math/s_ccosf.c: Rely entire on ccoshf.
43918         * math/s_ccosl.c: Rely entirely on ccoshl.
43919         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
43920         Remove tests for FE_INVALID.
43921         * math/s_ccoshf.c: Likewise.
43922         * math/s_ccoshl.c: Likewise.
43923         * math/s_csin.c: Likewise.
43924         * math/s_csinf.c: Likewise.
43925         * math/s_csinh.c Likewise.
43926         * math/s_csinhf.c: Likewise.
43927         * math/s_csinhl.c: Likewise.
43928         * math/s_csinl.c: Likewise.
43929         * math/s_ctan.c: Likewise.
43930         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43931         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43932         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43933
43934 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
43935
43936         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43937         compilation problems.
43938
43939         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43940         __builtin_expect.
43941
43942 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
43943
43944         * sysdeps/i386/configure.in: Test for -mfma4 option.
43945         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43946         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43947         COMMON_CPUID_INDEX_80000001.
43948         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43949         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43950         use it if FMA3 is not supported.
43951         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43952
43953         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43954         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43955
43956 2011-10-20  Andreas Schwab  <schwab@redhat.com>
43957
43958         [BZ #12892]
43959         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43960         it would create a cycle with a link time dependency.
43961
43962 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
43963
43964         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43965         instruction.
43966         * string/Makefile (strop-tests): Add rawmemchr.
43967         * string/test-rawmemchr.c: New file.
43968
43969         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43970         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
43971         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
43972         when compiling str{,n}casecmp and when AVX is available.  Hook up
43973         new optimized code in initializers.
43974
43975 2011-10-19  Andreas Schwab  <schwab@redhat.com>
43976
43977         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43978         __feraiseexcept instead of feraiseexcept.
43979
43980 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
43981
43982         * math/math_private.h: Define defaults for libc_fetestexcept and
43983         libc_feupdateenv.
43984         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43985         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43986         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43987         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43988         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43989         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43990         libc_fetestexcept and libc_feupdateenv.
43991
43992         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43993         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43994         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43995         * sysdeps/x86_64/fpu/math_private.h: Define special version of
43996         libc_feholdexcept_setround.
43997
43998         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43999         Add s_nearbyint-c and s_nearbyintf-c.
44000         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44001         nearbyintf inlines.
44002         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44003         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44004         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44005         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44006
44007         * math/math_private.h: Define defaults for libc_fegetround,
44008         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44009         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44010         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44011         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44012         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44013         standard functions.
44014         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44015         Remove comments and hacks for old compiler versions.
44016         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44017         libc_fegetround, libc_fesetround, libc_feholdexcept, and
44018         libc_feholdexceptl.
44019
44020 2011-10-18  Andreas Schwab  <schwab@redhat.com>
44021
44022         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44023         (__feraiseexcept_renamed): Add __NTH.
44024         (feraiseexcept): Add __NTH.  Rename local variables to fix
44025         namespace violations.
44026
44027 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
44028
44029         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44030
44031         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44032
44033         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44034         recently added interfaces.
44035         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44036
44037         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44038         about macro parameter expansion.
44039
44040         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44041         __NO_MATH_INLINES is defined.  Cleanups.
44042
44043         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44044         and __floorf is target has SSE4.1.
44045         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44046         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44047         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44048         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44049
44050         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44051         name.
44052         (floorf): Likewise.
44053
44054         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44055
44056 2011-10-17  Andreas Schwab  <schwab@redhat.com>
44057
44058         * misc/sys/cdefs.h: Fix last change.
44059
44060         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44061         database lookup.
44062
44063 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
44064
44065         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44066
44067         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44068         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44069         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44070         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44071         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44072         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44073         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44074         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44075         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44076         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44077         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44078         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44079         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44080         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44081         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44082         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44083         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44084         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44085         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44086         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44087         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44088         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44089
44090         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44091         ceil, ceilf, floor, floorf.
44092
44093         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44094         Perform IRELATIVE relocations last.
44095
44096         * elf/do-rel.h: Add another parameter nrelative, replacing the
44097         local variable with the same name.  Change name of the function
44098         to end in Rel or Rela (uppercase).
44099         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44100         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
44101         elf_dynamic_do_##reloc function.
44102
44103 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44104
44105         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44106         is sufficient, at least on modern CPUs.
44107
44108         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44109
44110         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44111         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44112
44113         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44114         __expl_finite.
44115         * math/bits/math-finite.h: Add entries for exp.
44116         * math/e_expl.c: Add __*_finite alias.
44117         * sysdeps/i386/fpu/e_exp.S: Likewise.
44118         * sysdeps/i386/fpu/e_expf.S: Likewise.
44119         * sysdeps/i386/fpu/e_expl.c: Likewise.
44120         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44121         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44122         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44123         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44124         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44125         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44126         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44127
44128         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44129         is sufficient, at least on modern CPUs.
44130
44131         * ctype/ctype-info.c (__ctype_init): Define.
44132         * include/ctype.h (__ctype_init): Declare.
44133         (__ctype_b_loc): The variable is always initialized.
44134         (__ctype_toupper_loc): Likewise.
44135         (__ctype_tolower_loc): Likewise.
44136         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44137         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44138
44139 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
44140
44141         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44142
44143         * configure.in: Also look in $cxxmachine/include for C++ system
44144         headers.
44145
44146 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44147
44148         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44149         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44150         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44151         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
44152         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44153         (USE_AS_WMEMCMP): New macro.
44154         Fixing indents.
44155         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44156         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44157         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44158         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44159         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44160         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44161         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44162         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44163         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44164         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44165         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44166         (USE_AS_WMEMCMP): New macro.
44167         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44168         * sysdeps/string/test-memcmp.c: Update.
44169         Fix simple_wmemcmp.
44170         Add new tests.
44171         * wcsmbs/wmemcmp.c: Update.
44172         (WMEMCMP): New macro.
44173         Fix overflow bug.
44174
44175 2011-10-12  Andreas Jaeger  <aj@suse.de>
44176
44177         [BZ #13268]
44178         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44179
44180 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44181
44182         * libio/iofwide.c (do_length): Avoid warning.
44183
44184         * ctype/ctype.h (__isctype_f): Add missing __THROW.
44185
44186 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
44187
44188         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44189
44190         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44191         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44192         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44193         * sysdeps/i386/i686/fpu/e_log.S: New file.
44194         * sysdeps/i386/i686/fpu/e_logf.S: New file.
44195         * sysdeps/i386/i686/fpu/e_logl.S: New file.
44196
44197         * ctype/ctype.h: Add support for inlined isXXX functions when
44198         compiling C++ code.
44199
44200 2011-10-14  Andreas Schwab  <schwab@redhat.com>
44201
44202         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44203
44204         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44205
44206 2011-10-13  Roland McGrath  <roland@hack.frob.com>
44207
44208         [BZ #13291]
44209         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44210
44211 2011-10-13  Andreas Schwab  <schwab@redhat.com>
44212
44213         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44214         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44215         feraiseexcept.
44216
44217         * sysdeps/x86_64/memrchr.S: Check for zero size.
44218
44219         * string/stratcliff.c: Add memrchr tests.
44220
44221 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44222
44223         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44224         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44225         rawmemchr-sse2 rawmemchr-sse2-bsf.
44226         * sysdeps/i386/i686/multiarch/memchr.S: New file.
44227         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44228         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44229         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44230         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44231         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44232         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44233         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44234         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44235         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44236         * string/memrchr.c (MEMRCHR): New macro.
44237
44238 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
44239
44240         Add integration with gcc's -ffinite-math-only and optimize wrapper
44241         functions in libm.
44242         * Versions.def: Define GLIBC_2.15 version for libm.
44243         * math/Makefile (headers): Add bits/math-finite.h.
44244         * math/bits/math-finite.h: New file.
44245         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44246         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44247         * math/e_acoshl.c: Add __*_finite alias.
44248         * math/e_acosl.c: Likewise.
44249         * math/e_asinl.c: Likewise.
44250         * math/e_atan2l.c: Likewise.
44251         * math/e_atanhl.c: Likewise.
44252         * math/e_coshl.c: Likewise.
44253         * math/e_exp10.c: Likewise.
44254         * math/e_exp10f.c: Likewise.
44255         * math/e_exp10l.c: Likewise.
44256         * math/e_exp2l.c: Likewise.
44257         * math/e_fmodl.c: Likewise.
44258         * math/e_gammal_r.c: Likewise.
44259         * math/e_hypotl.c: Likewise.
44260         * math/e_j0l.c: Likewise.
44261         * math/e_j1l.c: Likewise.
44262         * math/e_jnl.c: Likewise.
44263         * math/e_lgammal_r.c: Likewise.
44264         * math/e_log10l.c: Likewise.
44265         * math/e_log2l.c: Likewise.
44266         * math/e_logl.c: Likewise.
44267         * math/e_powl.c: Likewise.
44268         * math/e_sinhl.c: Likewise.
44269         * math/e_sqrtl.c: Likewise.
44270         * math/e_scalb.c: Completely rewritten and optimized.
44271         * math/e_scalbf.c: Likewise.
44272         * math/e_scalbl.c: Likewise.
44273         * math/w_acos.c: Likewise.
44274         * math/w_acosf.c: Likewise.
44275         * math/w_acosl.c: Likewise.
44276         * math/w_acosh.c: Likewise.
44277         * math/w_acoshf.c: Likewise.
44278         * math/w_acoshl.c: Likewise.
44279         * math/w_asin.c: Likewise.
44280         * math/w_asinf.c: Likewise.
44281         * math/w_asinl.c: Likewise.
44282         * math/w_atan2.c: Likewise.
44283         * math/w_atan2f.c: Likewise.
44284         * math/w_atan2l.c: Likewise.
44285         * math/w_atanh.c: Likewise.
44286         * math/w_atanhf.c: Likewise.
44287         * math/w_atanhl.c: Likewise.
44288         * math/w_exp10.c: Likewise.
44289         * math/w_exp10f.c: Likewise.
44290         * math/w_exp10l.c: Likewise.
44291         * math/w_fmod.c: Likewise.
44292         * math/w_fmodf.c: Likewise.
44293         * math/w_fmodl.c: Likewise.
44294         * math/w_j0.c: Likewise.
44295         * math/w_j0f.c: Likewise.
44296         * math/w_j0l.c: Likewise.
44297         * math/w_j1.c: Likewise.
44298         * math/w_j1f.c: Likewise.
44299         * math/w_j1l.c: Likewise.
44300         * math/w_jn.c: Likewise.
44301         * math/w_jnf.c: Likewise.
44302         * math/w_log.c: Likewise.
44303         * math/w_logf.c: Likewise.
44304         * math/w_logl.c: Likewise.
44305         * math/w_log10.c: Likewise.
44306         * math/w_log10f.c: Likewise.
44307         * math/w_log10l.c: Likewise.
44308         * math/w_log2.c: Likewise.
44309         * math/w_log2f.c: Likewise.
44310         * math/w_log2l.c: Likewise.
44311         * math/w_pow.c: Likewise.
44312         * math/w_powf.c: Likewise.
44313         * math/w_powl.c: Likewise.
44314         * math/w_remainder.c: Likewise.
44315         * math/w_remainderf.c: Likewise.
44316         * math/w_remainderl.c: Likewise.
44317         * math/w_scalb.c: Likewise.
44318         * math/w_scalbf.c: Likewise.
44319         * math/w_scalbl.c: Likewise.
44320         * math/w_sqrt.c: Likewise.
44321         * math/w_sqrtf.c: Likewise.
44322         * math/w_sqrtl.c: Likewise.
44323         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44324         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
44325         used.
44326         * math/math_private.h: Declare __kernel_standard_f.
44327         * math/w_cosh.c: Remove cruft and optimize a bit.
44328         * math/w_coshf.c: Likewise.
44329         * math/w_coshl.c: Likewise.
44330         * math/w_exp2.c: Likewise.
44331         * math/w_exp2f.c: Likewise.
44332         * math/w_exp2l.c: Likewise.
44333         * math/w_hypot.c: Likewise.
44334         * math/w_hypotf.c: Likewise.
44335         * math/w_hypotl.c: Likewise.
44336         * math/w_lgamma.c: Likewise.
44337         * math/w_lgamma_r.c: Likewise.
44338         * math/w_lgammaf.c: Likewise.
44339         * math/w_lgammaf_r.c: Likewise.
44340         * math/w_lgammal.c: Likewise.
44341         * math/w_lgammal_r.c: Likewise.
44342         * math/w_sinh.c: Likewise.
44343         * math/w_sinhf.c: Likewise.
44344         * math/w_sinhl.c: Likewise.
44345         * math/w_tgamma.c: Likewise.
44346         * math/w_tgammaf.c: Likewise.
44347         * math/w_tgammal.c: Likewise.
44348         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44349         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44350         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44351         Minor optimizations.  Pretty printing.  Remove cruft.
44352         * sysdeps/i386/fpu/e_acosf.S: Likewise.
44353         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44354         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44355         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44356         * sysdeps/i386/fpu/e_acosl.c: Likewise.
44357         * sysdeps/i386/fpu/e_asin.S: Likewise.
44358         * sysdeps/i386/fpu/e_asinf.S: Likewise.
44359         * sysdeps/i386/fpu/e_atan2.S: Likewise.
44360         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44361         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44362         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44363         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44364         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44365         * sysdeps/i386/fpu/e_exp10.S: Likewise.
44366         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44367         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44368         * sysdeps/i386/fpu/e_exp2.S: Likewise.
44369         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44370         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44371         * sysdeps/i386/fpu/e_fmod.S: Likewise.
44372         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44373         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44374         * sysdeps/i386/fpu/e_hypot.S: Likewise.
44375         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44376         * sysdeps/i386/fpu/e_log.S: Likewise.
44377         * sysdeps/i386/fpu/e_log10.S: Likewise.
44378         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44379         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44380         * sysdeps/i386/fpu/e_log2.S: Likewise.
44381         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44382         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44383         * sysdeps/i386/fpu/e_logf.S: Likewise.
44384         * sysdeps/i386/fpu/e_logl.S: Likewise.
44385         * sysdeps/i386/fpu/e_pow.S: Likewise.
44386         * sysdeps/i386/fpu/e_powf.S: Likewise.
44387         * sysdeps/i386/fpu/e_powl.S: Likewise.
44388         * sysdeps/i386/fpu/e_remainder.S: Likewise.
44389         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44390         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44391         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44392         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44393         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44394         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44395         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44396         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44397         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44398         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44399         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44400         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44401         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44402         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44403         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44404         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44405         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44406         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44407         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44408         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44409         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44410         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44411         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44412         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44413         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44414         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44415         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44416         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44417         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44418         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44419         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44420         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44421         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44422         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44423         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44424         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44425         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44426         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44427         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44428         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44429         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44430         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44431         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44432         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44433         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44434         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44435         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44436         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44437         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44438         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44439         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44440         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44441         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44442         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44443         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44444         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44445         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44446         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44447         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44448         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44449         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44450         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44451         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44452         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44453         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44454         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44455         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44456         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44457         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44458         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44459         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44460         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44461         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44462         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44463         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44464         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44465         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44466         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44467         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44468         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44469         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44470         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44471         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44472         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44473         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44474         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44475         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44476         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44477         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44478         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44479         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44480         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44481         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44482         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44483         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44484         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44485         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44486         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44487         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44488         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44489         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44490         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44491         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44492         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44493         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44494         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44495         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44496         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44497         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44498         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44499         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44500         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44501         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44502         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44503         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44504         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44505         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44506         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44507         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
44508         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44509         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44510         (__isnanf): Likewise.
44511         (__isinf_ns): Likewise.
44512         (__isinf_nsf): Likewise.
44513         (__finite): Likewise.
44514         (__finitef): Likewise.
44515         (__ieee754_sqrt): Define as macro.
44516         (__ieee754_sqrtf): Define as macro.
44517         (__ieee754_sqrtl): Define as macro.
44518         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44519         inlined copy.
44520         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44521         __FINITE_MATH_ONLY__ consistent.
44522         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44523
44524 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
44525
44526         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44527         of rawmemchr.
44528
44529         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44530
44531 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
44532
44533         * po/ja.po: Update from translation team.
44534
44535 2011-10-08  Roland McGrath  <roland@hack.frob.com>
44536
44537         * locale/programs/locarchive.c (prepare_address_space): New function.
44538         (create_archive, enlarge_archive, open_archive): Use it.
44539
44540         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44541         inside [SHARED], where it is used.
44542
44543         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44544
44545         * nss/getent.c (netgroup_keys): Remove unused variable.
44546         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44547
44548 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
44549
44550         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44551         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44552         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44553         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44554         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44555         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44556         * math/Makefile (libm-calls): Add s_isinf_ns.
44557         * math/divtc3.c: Use __isinf_nsl instead of isinf.
44558         * math/multc3.c: Likewise.
44559         * math/s_casin.c: Likewise.
44560         * math/s_casinf.c: Likewise.
44561         * math/s_casinl.c: Likewise.
44562         * math/s_ccos.c: Likewise.
44563         * math/s_ccosf.c: Likewise.
44564         * math/s_ccosl.c: Likewise.
44565         * math/s_ctan.c: Likewise.
44566         * math/s_ctanf.c: Likewise.
44567         * math/s_ctanh.c: Likewise.
44568         * math/s_ctanhf.c: Likewise.
44569         * math/s_ctanhl.c: Likewise.
44570         * math/s_ctanl.c: Likewise.
44571         * math/w_fmod.c: Likewise.
44572         * math/w_fmodf.c: Likewise.
44573         * math/w_fmodl.c: Likewise.
44574         * math/w_remainder.c: Likewise.
44575         * math/w_remainderf.c: Likewise.
44576         * math/w_remainderl.c: Likewise.
44577         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44578         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44579         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44580         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44581         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44582         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44583         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44584         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44585
44586         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44587         of the number.
44588         * stdio-common/printf_fphex.c: Likewise.
44589         * stdio-common/printf_size.c: Likewise.
44590
44591         * math/e_exp10.c: Include math_private.h using <...> not "...".
44592         * math/e_exp10f.c: Likewise.
44593         * math/e_exp10l.c: Likewise.
44594         * math/e_exp2l.c: Likewise.
44595         * math/e_j0l.c: Likewise.
44596         * math/e_j1l.c: Likewise.
44597         * math/e_jnl.c: Likewise.
44598         * math/e_lgammal_r.c: Likewise.
44599         * math/e_rem_pio2l.c: Likewise.
44600         * math/e_scalb.c: Likewise.
44601         * math/e_scalbf.c: Likewise.
44602         * math/e_scalbl.c: Likewise.
44603         * math/k_cosl.c: Likewise.
44604         * math/k_sinl.c: Likewise.
44605         * math/k_tanl.c: Likewise.
44606         * math/s_cacoshf.c: Likewise.
44607         * math/s_catan.c: Likewise.
44608         * math/s_catanf.c: Likewise.
44609         * math/s_catanh.c: Likewise.
44610         * math/s_catanhf.c: Likewise.
44611         * math/s_catanhl.c: Likewise.
44612         * math/s_catanl.c: Likewise.
44613         * math/s_ccosh.c: Likewise.
44614         * math/s_ccoshf.c: Likewise.
44615         * math/s_ccoshl.c: Likewise.
44616         * math/s_cexp.c: Likewise.
44617         * math/s_cexpf.c: Likewise.
44618         * math/s_cexpl.c: Likewise.
44619         * math/s_clog.c: Likewise.
44620         * math/s_clog10.c: Likewise.
44621         * math/s_clog10f.c: Likewise.
44622         * math/s_clog10l.c: Likewise.
44623         * math/s_clogf.c: Likewise.
44624         * math/s_clogl.c: Likewise.
44625         * math/s_csin.c: Likewise.
44626         * math/s_csinf.c: Likewise.
44627         * math/s_csinh.c: Likewise.
44628         * math/s_csinhf.c: Likewise.
44629         * math/s_csinhl.c: Likewise.
44630         * math/s_csinl.c: Likewise.
44631         * math/s_csqrt.c: Likewise.
44632         * math/s_csqrtf.c: Likewise.
44633         * math/s_csqrtl.c: Likewise.
44634         * math/s_ctan.c: Likewise.
44635         * math/s_ctanf.c: Likewise.
44636         * math/s_ctanh.c: Likewise.
44637         * math/s_ctanhf.c: Likewise.
44638         * math/s_ctanhl.c: Likewise.
44639         * math/s_ctanl.c: Likewise.
44640         * math/s_ldexp.c: Likewise.
44641         * math/s_ldexpf.c: Likewise.
44642         * math/s_ldexpl.c: Likewise.
44643         * math/s_significand.c: Likewise.
44644         * math/s_significandf.c: Likewise.
44645         * math/s_significandl.c: Likewise.
44646         * math/w_acos.c: Likewise.
44647         * math/w_acosf.c: Likewise.
44648         * math/w_acosh.c: Likewise.
44649         * math/w_acoshf.c: Likewise.
44650         * math/w_acoshl.c: Likewise.
44651         * math/w_acosl.c: Likewise.
44652         * math/w_asin.c: Likewise.
44653         * math/w_asinf.c: Likewise.
44654         * math/w_asinl.c: Likewise.
44655         * math/w_atan2.c: Likewise.
44656         * math/w_atan2f.c: Likewise.
44657         * math/w_atan2l.c: Likewise.
44658         * math/w_atanh.c: Likewise.
44659         * math/w_atanhf.c: Likewise.
44660         * math/w_atanhl.c: Likewise.
44661         * math/w_cosh.c: Likewise.
44662         * math/w_coshf.c: Likewise.
44663         * math/w_coshl.c: Likewise.
44664         * math/w_dremf.c: Likewise.
44665         * math/w_exp10.c: Likewise.
44666         * math/w_exp10f.c: Likewise.
44667         * math/w_exp10l.c: Likewise.
44668         * math/w_exp2.c: Likewise.
44669         * math/w_exp2f.c: Likewise.
44670         * math/w_fmod.c: Likewise.
44671         * math/w_fmodf.c: Likewise.
44672         * math/w_fmodl.c: Likewise.
44673         * math/w_hypot.c: Likewise.
44674         * math/w_hypotf.c: Likewise.
44675         * math/w_hypotl.c: Likewise.
44676         * math/w_j0.c: Likewise.
44677         * math/w_j0f.c: Likewise.
44678         * math/w_j0l.c: Likewise.
44679         * math/w_j1.c: Likewise.
44680         * math/w_j1f.c: Likewise.
44681         * math/w_j1l.c: Likewise.
44682         * math/w_jn.c: Likewise.
44683         * math/w_jnf.c: Likewise.
44684         * math/w_jnl.c: Likewise.
44685         * math/w_lgamma.c: Likewise.
44686         * math/w_lgamma_r.c: Likewise.
44687         * math/w_lgammaf.c: Likewise.
44688         * math/w_lgammaf_r.c: Likewise.
44689         * math/w_lgammal.c: Likewise.
44690         * math/w_lgammal_r.c: Likewise.
44691         * math/w_log.c: Likewise.
44692         * math/w_log10.c: Likewise.
44693         * math/w_log10f.c: Likewise.
44694         * math/w_log10l.c: Likewise.
44695         * math/w_log2.c: Likewise.
44696         * math/w_log2f.c: Likewise.
44697         * math/w_log2l.c: Likewise.
44698         * math/w_logf.c: Likewise.
44699         * math/w_logl.c: Likewise.
44700         * math/w_pow.c: Likewise.
44701         * math/w_powf.c: Likewise.
44702         * math/w_powl.c: Likewise.
44703         * math/w_remainder.c: Likewise.
44704         * math/w_remainderf.c: Likewise.
44705         * math/w_remainderl.c: Likewise.
44706         * math/w_scalb.c: Likewise.
44707         * math/w_scalbf.c: Likewise.
44708         * math/w_scalbl.c: Likewise.
44709         * math/w_sinh.c: Likewise.
44710         * math/w_sinhf.c: Likewise.
44711         * math/w_sinhl.c: Likewise.
44712         * math/w_sqrt.c: Likewise.
44713         * math/w_sqrtf.c: Likewise.
44714         * math/w_sqrtl.c: Likewise.
44715         * math/w_tgamma.c: Likewise.
44716         * math/w_tgammaf.c: Likewise.
44717         * math/w_tgammal.c: Likewise.
44718
44719         * po/ja.po: Update from translation team.
44720
44721 2011-09-29  Andreas Jaeger  <aj@suse.de>
44722
44723         [BZ #13179]
44724         * sunrpc/netname.c (netname2host): Fix logic.
44725
44726         [BZ #6779]
44727         [BZ #6783]
44728         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44729         correctly.
44730         * math/w_remainder.c (__remainder): Likewise.
44731         * math/w_remainderf.c (__remainderf): Likewise.
44732         * math/libm-test.inc (remainder_test): Add test cases.
44733
44734 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44735
44736         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
44737         sdiv_qrnnd.
44738
44739 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
44740
44741         * string/test-memcmp.c: Avoid unncessary #defines.
44742         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44743
44744 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44745
44746         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44747         Use new sse2 version for core i3 - i7 as it's faster
44748         than sse42 version.
44749         (bit_Prefer_PMINUB_for_stringop): New.
44750         * sysdeps/x86_64/rawmemchr.S: Update.
44751         Replace with faster SSE2 version.
44752         * sysdeps/x86_64/memrchr.S: New file.
44753         * sysdeps/x86_64/memchr.S: Update.
44754         Replace with faster SSE2 version.
44755
44756 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
44757
44758         * elf/dl-load.c (lose): Add cast to avoid warning.
44759
44760 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
44761
44762         * po/ca.po: Update from translation team.
44763
44764         * inet/getnetgrent_r.c: Hook up nscd.
44765         * nscd/Makefile (routines): Add nscd_netgroup.
44766         (nscd-modules): Add netgroupcache.
44767         (CFLAGS-netgroupcache.c): Define.
44768         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44769         (cache_search): Add const to second parameter.
44770         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44771         INNETGR.
44772         (dbs): Add netgrdb entry.
44773         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44774         (verify_persistent_db): Handle netgrdb.
44775         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44776         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44777         GETFDNETGR.
44778         (netgroup_response_header): Define.
44779         (innetgroup_response_header): Define.
44780         (datahead): Add netgroup_response_header and innetgroup_response_header
44781         elements.
44782         * nscd/nscd.conf: Add entries for netgroup cache.
44783         * nscd/nscd.h (dbtype): Add netgrdb.
44784         (_PATH_NSCD_NETGROUP_DB): Define.
44785         (netgroup_iov_disabled): Declare.
44786         (xmalloc, xcalloc, xrealloc): Move declarations here.
44787         (cache_search): Adjust prototype.
44788         Add netgroup-related prototypes.
44789         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44790         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44791         (__nscd_innetgr): Declare.
44792         * nscd/selinux.c (perms): Use access_vector_t as element type and
44793         add netgroup-related initializers.
44794         * nscd/netgroupcache.c: New file.
44795         * nscd/nscd_netgroup.c: New file.
44796         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44797         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44798         For four parameters use innetgr.
44799         * nss/nss_files/files-init.c: Add definition and callback for netgr.
44800         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44801         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44802         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44803
44804         * nscd/connections.c (register_traced_file): Don't register file
44805         for disabled databases.
44806
44807 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
44808
44809         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44810
44811         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44812         from tree and freeing node.
44813
44814 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
44815
44816         * nss/nsswitch.c (__nss_database_lookup): Handle
44817         nss_parse_service_list out of memory case.
44818
44819 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
44820
44821         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44822         out of memory case.
44823
44824 2011-10-04  Andreas Schwab  <schwab@redhat.com>
44825
44826         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44827         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44828         pass it down.
44829         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44830         elf_machine_rela, elf_machine_lazy_rel.
44831         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44832         (ELF_DYNAMIC_DO_REL): Likewise.
44833         (ELF_DYNAMIC_DO_RELA): Likewise.
44834         (ELF_DYNAMIC_RELOCATE): Likewise.
44835         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44836         to ELF_DYNAMIC_DO_REL.
44837         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44838         (dl_main): In trace mode always set __RTLD_NOIFUNC.
44839         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44840         elf_machine_rela.
44841         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44842         skip_ifunc, don't call ifunc function if non-zero.
44843         (elf_machine_rela): Likewise.
44844         (elf_machine_lazy_rel): Likewise.
44845         (elf_machine_lazy_rela): Likewise.
44846         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44847         (elf_machine_lazy_rel): Likewise.
44848         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44849         Likewise.
44850         (elf_machine_lazy_rel): Likewise.
44851         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44852         Likewise.
44853         (elf_machine_lazy_rel): Likewise.
44854         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44855         (elf_machine_lazy_rel): Likewise.
44856         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44857         (elf_machine_lazy_rel): Likewise.
44858         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44859         (elf_machine_lazy_rel): Likewise.
44860         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44861         (elf_machine_lazy_rel): Likewise.
44862         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44863         (elf_machine_lazy_rel): Likewise.
44864         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44865         (elf_machine_lazy_rel): Likewise.
44866
44867 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
44868
44869         * nss/nss_files/files-init.c (_nss_files_init): Use static
44870         initialization for all the *_traced_file variables.
44871
44872 2011-09-28  Andreas Schwab  <schwab@redhat.com>
44873
44874         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44875
44876 2011-09-27  Roland McGrath  <roland@hack.frob.com>
44877
44878         [BZ #13226]
44879         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44880
44881 2011-09-27  Andreas Schwab  <schwab@redhat.com>
44882
44883         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44884         Reread the line before reparsing it.
44885
44886 2011-09-26  Andreas Schwab  <schwab@redhat.com>
44887
44888         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44889
44890 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
44891             Maxim Kuvyrkov  <maxim@codesourcery.com>
44892             Joseph Myers  <joseph@codesourcery.com>
44893
44894         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44895         if needed for __stack_chk_guard.
44896
44897 2011-09-19  Roland McGrath  <roland@hack.frob.com>
44898
44899         * sysdeps/posix/spawni.c (script_execute): Always define it.
44900         It will be optimized away if unused.
44901         (maybe_script_execute): New function.
44902         (__spawni): Call it.
44903
44904         * Makerules: Don't include tls.make.
44905         (config-tls): Always set to thread.
44906         * tls.make.c: File removed.
44907
44908 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
44909
44910         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44911         * config.make.in (CPPFLAGS-config): New substituted variable.
44912
44913 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
44914
44915         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44916
44917         [BZ #13192]
44918         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44919         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44920
44921 2011-09-15  Roland McGrath  <roland@hack.frob.com>
44922
44923         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44924         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44925         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44926         (CALL_FAIL): Likewise.
44927         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44928         (CALL_FAIL): Macro removed.
44929         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44930
44931 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
44932
44933         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44934         for __FINITE_MATH_ONLY__ == 1.
44935
44936 2011-09-15  Andreas Schwab  <schwab@redhat.com>
44937
44938         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44939         __ieee754_sqrt instead of sqrt.
44940         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44941         __ieee754_sqrtf instead of sqrtf.
44942         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44943         __floorf instead of floorf.
44944         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44945         __floorf, __truncf instead of floorf, truncf.
44946
44947 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
44948
44949         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44950
44951         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44952         __extern_always_inline.
44953         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44954         32-bit.
44955
44956 2011-09-14  Andreas Schwab  <schwab@redhat.com>
44957
44958         * elf/rtld.c (dl_main): Also relocate in dependency order when
44959         doing symbol dependency testing.
44960
44961 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
44962
44963         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44964         Always define `refsym'.
44965
44966 2011-09-13  Andreas Schwab  <schwab@redhat.com>
44967
44968         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44969         (__FD_ELT): Renamed from __FDELT.
44970         * misc/bits/select2.h (__FD_ELT): Likewise.
44971         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44972         __FD_MASK instead of __FDELT, __FDMASK.
44973         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44974         Likewise.
44975         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44976         Likewise.
44977
44978         * elf/Makefile (gen-ldd): Fix pattern.
44979
44980         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44981         (init_tls): Likewise.
44982
44983 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
44984
44985         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44986
44987 2011-09-12  Andreas Schwab  <schwab@redhat.com>
44988
44989         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44990         `struct cmsghdr *' instead of `void *'.
44991         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44992         Likewise.
44993
44994 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
44995
44996         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44997         if non-absolute.
44998         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44999         ldd_rewrite_script.
45000
45001 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
45002
45003         * configure.in: Remove --with-tls option.
45004         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45005         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45006         out in case it is missing.
45007         * sysdeps/ia64/elf/configure.in: Likewise.
45008         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45009         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45010         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45011         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45012         * sysdeps/sh/elf/configure.in: Likewise.
45013         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45014         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45015         * sysdeps/x86_64/elf/configure.in: Likewise.
45016         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45017         * sysdeps/mach/hurd/tls.h: Likewise.
45018
45019         [BZ #13067]
45020         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45021
45022         [BZ #13090]
45023         * configure.in: Fix use of AC_INIT.
45024
45025         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45026
45027 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
45028
45029         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45030         __set_errno.
45031         * malloc/hooks.c: Likewise.
45032
45033         [BZ #11929]
45034         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
45035         variables statically.
45036         (narenas): Initialize.
45037         (list_lock): Initialize.
45038         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
45039         initializtion of main_arena and list_lock.  Small cleanups.
45040         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45041         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
45042         Add initializers to main_arena and mp_.
45043         (malloc_state): Remove pagesize member.  Change all users to use
45044         GLRO(dl_pagesize).
45045
45046         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45047         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
45048         is always initialized.
45049
45050         * malloc/malloc.c: Removed unused configurations and dead code.
45051         * malloc/arena.c: Likewise.
45052         * malloc/hooks.c: Likewise.
45053         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45054
45055         * include/tls.h: Removed.  USE___THREAD must always be defined.
45056         * bits/libc-tsd.h: Don't handle !USE___THREAD.
45057         * elf/dl-libc.c: Likewise.
45058         * elf/dl-tsd.c: Likewise.
45059         * include/errno.h: Likewise.
45060         * include/netdb.h: Likewise.
45061         * include/resolv.h: Likewise.
45062         * inet/herrno-loc.c: Likewise.
45063         * inet/herrno.c: Likewise.
45064         * malloc/arena.c: Likewise.
45065         * malloc/hooks.c: Likewise.
45066         * malloc/malloc.c: Likewise.
45067         * resolv/res-state.c: Likewise.
45068         * resolv/res_libc.c: Likewise.
45069         * sysdeps/i386/dl-machine.h: Likewise.
45070         * sysdeps/ia64/dl-machine.h: Likewise.
45071         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45072         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45073         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45074         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45075         * sysdeps/sh/dl-machine.h: Likewise.
45076         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45077         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45078         * sysdeps/unix/i386/sysdep.S: Likewise.
45079         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45080         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45081         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45082         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45083         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45084         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45085         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45086         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45087         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45088         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45089         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45090         * sysdeps/x86_64/dl-machine.h: Likewise.
45091         * tls.make.c: Likewise.
45092
45093         * configure.in: Remove --with-__thread option.  Make tests for
45094         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45095         tls_model attribute fail if no support is available.  Remove
45096         USE_IN_LIBIO.
45097         * Makeconfig: Adjust for dropped configure option.  All features are
45098         now mandatory.
45099         * Makerules: Likewise.
45100         * Versions.def: Likewise.
45101         * argp/argp-fmtstream.c: Likewise.
45102         * argp/argp-fmtstream.h: Likewise.
45103         * argp/argp-help.c: Likewise.
45104         * assert/assert.c: Likewise.
45105         * config.h.in: Likewise.
45106         * config.make.in: Likewise.
45107         * configure: Likewise.
45108         * configure.in: Likewise.
45109         * csu/Versions: Likewise.
45110         * csu/init.c: Likewise.
45111         * elf/tst-audit2.c: Likewise.
45112         * elf/tst-tls10.c: Likewise.
45113         * elf/tst-tls10.h: Likewise.
45114         * elf/tst-tls11.c: Likewise.
45115         * elf/tst-tls12.c: Likewise.
45116         * elf/tst-tls14.c: Likewise.
45117         * elf/tst-tlsmod11.c: Likewise.
45118         * elf/tst-tlsmod12.c: Likewise.
45119         * elf/tst-tlsmod13.c: Likewise.
45120         * elf/tst-tlsmod13a.c: Likewise.
45121         * elf/tst-tlsmod14a.c: Likewise.
45122         * elf/tst-tlsmod15b.c: Likewise.
45123         * elf/tst-tlsmod16a.c: Likewise.
45124         * elf/tst-tlsmod16b.c: Likewise.
45125         * elf/tst-tlsmod7.c: Likewise.
45126         * elf/tst-tlsmod8.c: Likewise.
45127         * elf/tst-tlsmod9.c: Likewise.
45128         * gmon/gmon.c: Likewise.
45129         * grp/fgetgrent_r.c: Likewise.
45130         * grp/putgrent.c: Likewise.
45131         * hurd/fopenport.c: Likewise.
45132         * include/libc-symbols.h: Likewise.
45133         * include/tls.h: Likewise.
45134         * intl/gettextP.h: Likewise.
45135         * intl/loadinfo.h: Likewise.
45136         * locale/global-locale.c: Likewise.
45137         * locale/localeinfo.h: Likewise.
45138         * mach/devstream.c: Likewise.
45139         * malloc/arena.c: Likewise.
45140         * malloc/set-freeres.c: Likewise.
45141         * misc/err.c: Likewise.
45142         * misc/getttyent.c: Likewise.
45143         * misc/mntent_r.c: Likewise.
45144         * posix/getopt.c: Likewise.
45145         * posix/wordexp.c: Likewise.
45146         * pwd/fgetpwent_r.c: Likewise.
45147         * resolv/Versions: Likewise.
45148         * resolv/res_hconf.c: Likewise.
45149         * shadow/fgetspent_r.c: Likewise.
45150         * shadow/putspent.c: Likewise.
45151         * stdio-common/printf_fphex.c: Likewise.
45152         * stdio-common/tmpfile.c: Likewise.
45153         * stdlib/abort.c: Likewise.
45154         * stdlib/fmtmsg.c: Likewise.
45155         * sunrpc/auth_unix.c: Likewise.
45156         * sunrpc/clnt_perr.c: Likewise.
45157         * sunrpc/clnt_tcp.c: Likewise.
45158         * sunrpc/clnt_udp.c: Likewise.
45159         * sunrpc/clnt_unix.c: Likewise.
45160         * sunrpc/openchild.c: Likewise.
45161         * sunrpc/svc_simple.c: Likewise.
45162         * sunrpc/svc_tcp.c: Likewise.
45163         * sunrpc/svc_udp.c: Likewise.
45164         * sunrpc/svc_unix.c: Likewise.
45165         * sunrpc/xdr.c: Likewise.
45166         * sunrpc/xdr_array.c: Likewise.
45167         * sunrpc/xdr_rec.c: Likewise.
45168         * sunrpc/xdr_ref.c: Likewise.
45169         * sunrpc/xdr_stdio.c: Likewise.
45170
45171 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45172
45173         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45174
45175 2011-07-03  Andreas Jaeger  <aj@suse.de>
45176
45177         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45178         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45179         regenerate with gen-libm-tests.pl.
45180
45181 2010-05-12  Petr Baudis  <pasky@suse.cz>
45182
45183         [BZ #11589]
45184         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45185         around j0() zero points by switching to j1().
45186         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45187         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45188         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45189         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45190
45191 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45192
45193         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45194         instead of 0.
45195         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45196         instead of 0.
45197         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45198         Patch in part by Pavel Roskin <proski@gnu.org>.
45199
45200         [BZ #13138]
45201         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45202         realloc.
45203         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
45204         Free memory block if necessary.
45205
45206         [BZ #12847]
45207         * libio/genops.c (INTDEF): For string streams the _lock pointer can
45208         be NULL.  Don't lock in this case.
45209
45210 2011-09-09  Roland McGrath  <roland@hack.frob.com>
45211
45212         * elf/elf.h (ELFOSABI_GNU): New macro.
45213         (ELFOSABI_LINUX): Define to that.
45214
45215 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
45216
45217         * string/strncat.c (strncat): Undef the symbol in case it has been
45218         defined in bits/string.h.
45219
45220 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45221
45222         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45223
45224         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45225         link map.
45226
45227 2011-08-17  Andreas Jaeger  <aj@suse.de>
45228
45229         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45230
45231 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45232             Ian Lance Taylor  <iant@google.com>
45233
45234         * math/libm-test.inc (lround_test): New testcase.
45235         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45236
45237 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
45238
45239         * Makefile: Remove support for automatic cvs check-ins.
45240         * Makerules: Likewise.
45241         * config.make.in: Likewise.
45242         * configure.in: Likewise.
45243         * intl/Makefile: Likewise.
45244         * locale/Makefile: Likewise.
45245         * po/Makefile: Likewise.
45246         * posix/Makefile: Likewise.
45247         * sysdeps/gnu/Makefile: Likewise.
45248         * sysdeps/mach/hurd/Makefile: Likewise.
45249         * sysdeps/sparc/sparc32/Makefile: Likewise.
45250
45251         [BZ #13118]
45252         * posix/Makefile (bug-regex32-ENV): Define.
45253         Patch by John Stanley <jpsinthemix@verizon.net>.
45254
45255         * misc/Makefile (headers): Add bits/select2.h.
45256         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45257         * misc/bits/select2.h: New file.
45258         * include/bits/select2.h: New file.
45259         * debug/Makefile (routines): Add fdelt_chk.
45260         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45261         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45262         FD_ISSET.
45263         * debug/fdelt_chk.c: New file.
45264
45265         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
45266         * wcsmbs/test-wmemcmp.c: Likewise.
45267         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45268         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45269
45270 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45271
45272         * string/Makefile (strop-tests): Add memcmp.
45273         * string/test-wmemcmp.c: New file.
45274         * string/test-memcmp.c: Add wmemcmp support.
45275
45276 2011-09-08  Roland McGrath  <roland@hack.frob.com>
45277
45278         [BZ #13153]
45279         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45280         2011-07-19 change.
45281
45282         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45283         garbage value in a __mach_port_mod_refs call in the cases of the
45284         task-self and thread-self ports.
45285
45286 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45287
45288         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45289
45290 2011-09-08  Andreas Schwab  <schwab@redhat.com>
45291
45292         * elf/dl-load.c (lose): Check for non-null L.
45293
45294 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45295
45296         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45297
45298         * elf/dl-libc.c (dlerror_run): Pass back error code from
45299         dl_catch_error.
45300
45301         [BZ #13123]
45302         * elf/dl-load.c (lose): Free l_origin if it is valid.
45303
45304         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45305         names.
45306         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45307         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45308         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45309         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45310         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45311         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45312
45313 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45314
45315         * sysdeps/powerpc/fpu/e_hypot.c: New file.
45316         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45317         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45318         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45319         * sysdeps/powerpc/fpu/k_cosf.c: New file.
45320         * sysdeps/powerpc/fpu/k_sinf.c: New file.
45321         * sysdeps/powerpc/fpu/s_cosf.c: New file.
45322         * sysdeps/powerpc/fpu/s_sinf.c: New file.
45323         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45324         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45325
45326 2011-08-15  Alan Modra  <amodra@gmail.com>
45327
45328         [BZ #13092]
45329         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45330         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45331         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
45332         ppc_mcount to static-only-routines.
45333         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45334         __mcount_internal.
45335         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45336         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
45337
45338 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
45339
45340         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45341         for finite and infinity parameters.
45342
45343 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
45344
45345         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45346         and add nop instructions for throughput optimization.
45347         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45348
45349 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
45350
45351         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45352         aligned copy for power7 with vector-scalar instructions.
45353         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45354
45355 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
45356
45357         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45358         AVX check.
45359
45360 2011-09-07  Andreas Schwab  <schwab@redhat.com>
45361
45362         [BZ #13144]
45363         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45364         last change.
45365
45366 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45367
45368         * sysdeps/unix/sysv/linux/x86_64/init-first.c
45369         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45370         syscall wrapper around clock_gettime in __vdso_clock_gettime.
45371         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45372         clock_gettime.
45373
45374 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45375
45376         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45377         Forgot to demangle the pointer.
45378
45379         * sysdeps/i386/sysdep.h: Define atom_text_section.
45380         * sysdeps/x86_64/sysdep.h: Likewise.
45381         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45382         section with atom_text_section.
45383         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45384         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45385         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45386         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45387         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45388
45389         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45390         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45391         already be defined.  Change to take two parameters and don't assign
45392         result to variable.  Adjust all users.
45393         Define INTERNAL_GETTIME if not already defined.
45394         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45395         call.
45396         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45397         HAVE_CLOCK_GETTIME_VSYSCALL.
45398         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45399
45400         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45401         gettimeofday vsyscall, just use time.
45402
45403 2011-09-06  Andreas Schwab  <schwab@redhat.com>
45404
45405         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45406         <errno.h>.
45407
45408 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45409
45410         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45411         syscall on x86-64.
45412         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45413         syscall.
45414         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45415         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45416         syscall if possible.
45417
45418 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45419
45420         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45421         e_ident.  Don't pass to find_mapsXX.
45422         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45423
45424 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45425
45426         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45427         strchr-sse2-no-bsf strrchr-sse2-no-bsf
45428         * sysdeps/x86_64/multiarch/strchr.S: Update.
45429         Check bit_slow_BSF bit.
45430         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45431         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45432         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45433
45434 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45435
45436         [BZ #13134]
45437         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45438         before glibc 2.15.
45439         (tryshell): Define.
45440         (__spawni): Change last parameter to be flag.  Test
45441         SPAWN_XFLAGS_USE_PATH flag to use path or not.
45442         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45443         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45444         * posix/spawni.c: Likewise.
45445         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45446         * posix/spawnp.c: Likewise.  Change normal version to use
45447         SPAWN_XFLAGS_USE_PATH.
45448         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45449         SPAWN_XFLAGS_TRY_SHELL.
45450
45451         [BZ #13150]
45452         * posix/glob.h: Remove gcc 1.x support.
45453
45454         [BZ #13068]
45455         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45456
45457 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45458
45459         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45460         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45461         strrchr-sse2-bsf
45462         * sysdeps/i386/i686/multiarch/strchr.S: New file.
45463         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45464         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45465         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45466         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45467         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45468
45469 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45470
45471         * sysdeps/x86_64/wcscmp.S: New file.
45472
45473         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45474         wcscmp-c wcscmp-sse2
45475         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45476         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45477         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45478         * wcsmbs/wcscmp.c: Allow renaming.
45479
45480 2011-09-05  David S. Miller  <davem@davemloft.net>
45481
45482         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45483         stack slot, rather than the struct return pointer slot.
45484         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45485         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45486         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45487         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45488
45489 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45490
45491         * po/ja.po: Update from translation team.
45492
45493         [BZ #13144]
45494         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45495         kernel in 64-bit binaries.
45496
45497 2011-09-01  David S. Miller  <davem@davemloft.net>
45498
45499         * elf/elf.h (HWCAP_SPARC_*): Move to..
45500         * sysdeps/sparc/sysdep.h: this new file and add new values.
45501         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45502         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45503         _DL_HWCAP_COUNT to 24.
45504         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45505         entries.
45506         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45507         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45508         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45509         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45510         instead of magic constants.
45511         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45512
45513 2011-08-31  David S. Miller  <davem@davemloft.net>
45514
45515         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45516         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45517         Reimplement to do errno handling inline.
45518         (SYSCALL_ERROR_HANDLER): New macro.
45519         (__SYSCALL_STRING): Do not do errno handling in asm.
45520         (__CLONE_SYSCALL_STRING): Delete.
45521         (__INTERNAL_SYSCALL_STRING): Delete.
45522         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45523         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45524         (PSEUDO): Reimplement to do errno handling inline.
45525         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45526         (SYSCALL_ERROR_HANDLER): New macro.
45527         (__SYSCALL_STRING): Do not do errno handling in asm.
45528         (__CLONE_SYSCALL_STRING): Delete.
45529         (__INTERNAL_SYSCALL_STRING): Delete.
45530         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45531         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45532         i386.
45533         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45534         (inline_syscall*): Add 'err' argument.
45535         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45536         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45537         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45538         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45539
45540         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45541         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45542
45543 2011-08-30  Andreas Schwab  <schwab@redhat.com>
45544
45545         * elf/rtld.c (dl_main): Relocate objects in dependency order.
45546
45547 2011-08-29  Jiri Olsa <jolsa@redhat.com>
45548
45549         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45550         directive.
45551
45552 2011-08-24  David S. Miller  <davem@davemloft.net>
45553
45554         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45555
45556 2011-08-24  Andreas Schwab  <schwab@redhat.com>
45557
45558         * elf/Makefile: Add rules to build and run unload8 test.
45559         * elf/unload8.c: New file.
45560         * elf/unload8mod1.c: New file.
45561         * elf/unload8mod1x.c: New file.
45562         * elf/unload8mod2.c: New file.
45563         * elf/unload8mod3.c: New file.
45564
45565         * elf/dl-close.c (_dl_close_worker): Reset private search list if
45566         it wasn't used.
45567
45568 2011-08-23  David S. Miller  <davem@davemloft.net>
45569
45570         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45571         subtract stack bias.
45572         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45573         %sp not %fp in calculations.
45574         (_JMPBUF_UNWINDS_ADJ): Likewise.
45575
45576         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45577         (aio_suspend): Call it to force an exception region around the
45578         AIO_MISC_WAIT() invocation.
45579
45580 2011-08-23  Andreas Schwab  <schwab@redhat.com>
45581
45582         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45583         backslash.
45584
45585 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
45586
45587         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45588         protection macro.
45589         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45590         and <dl-machine.h>.
45591         (Elf64_FuncDesc): Remove.
45592
45593 2011-08-22  David S. Miller  <davem@davemloft.net>
45594
45595         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45596         sigaltstack check, add missing cfi directives.
45597         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45598         missing cfi directives, and sigaltstack handling.
45599
45600 2011-08-16  Andreas Schwab  <schwab@redhat.com>
45601
45602         [BZ #11724]
45603         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45604         object is seen twice.
45605         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45606
45607         * elf/Makefile (distribute): Add tst-initorder2.c.
45608         (tests): Add tst-initorder2.
45609         (modules-names): Add tst-initorder2a tst-initorder2b
45610         tst-initorder2c tst-initorder2d.  Add rules to build them.
45611         ($(objpfx)tst-initorder2.out): New rule.
45612         * elf/tst-initorder2.c: New file.
45613         * elf/tst-initorder2.exp: New file.
45614
45615 2011-08-22  Andreas Schwab  <schwab@redhat.com>
45616
45617         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45618
45619         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45620         dependencies back to end of function.
45621
45622         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45623         $(elfobjdir)/ld.so.
45624
45625 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
45626
45627         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45628         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45629         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45630         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45631         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45632         of __vdso_gettimeofday.
45633         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45634         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
45635         attribute_hidden.
45636         (_libc_vdso_platform_setup): Remove initialization of
45637         __vdso_gettimeofday and __vdso_time.
45638
45639 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
45640
45641         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45642         and fgetc_unlocked.
45643         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45644         getc_unlocked.
45645
45646         * elf/dl-open.c (add_to_global): Report additions to the global scope
45647         for LD_DEBUG=scopes.
45648         (dl_open_worker): Also print scope of newly loaded dependencies.
45649         (_dl_show_scope): Indicate if there is no scope.
45650
45651         [BZ #13114]
45652         * stdio-common/Makefile (tests): Add bug24.
45653         * stdio-common/bug24.c: New file.
45654
45655 2011-08-19  Andreas Jaeger  <aj@suse.de>
45656
45657         [BZ #13114]
45658         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45659         non-existant file when using close-on-exec mode.
45660
45661 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
45662
45663         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45664         the very first instruction.
45665
45666         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45667         the CFI state in the end.
45668         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45669         inclusion of dl-trampoline.h.
45670         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45671
45672 2011-08-19  Andreas Schwab  <schwab@redhat.com>
45673
45674         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45675         expectations for long double.
45676
45677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45678         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45679
45680 2011-08-14  David S. Miller  <davem@davemloft.net>
45681
45682         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45683         artificual limit depends upon the system page size.
45684
45685 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
45686
45687         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45688         * resolv/Makefile: Define CFLAGS-libresolv.
45689
45690 2011-08-17  Andreas Schwab  <schwab@redhat.com>
45691
45692         * nss/makedb.c (compute_tables): Make variables used in nested
45693         function static.
45694
45695 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
45696
45697         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45698         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45699         if buffer was too small.
45700
45701         * elf/pldd.c (main): Attach to all threads in the process.
45702         Rewrite /proc handling to use *at functions.
45703
45704 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
45705
45706         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45707         specifies first scope to show.
45708         (dl_open_worker): Update callers.  Move printing scope of new
45709         object to before the relocation.
45710         * elf/rtld.c (dl_main): Update _dl_show_scope call.
45711         * sysdeps/generic/ldsodefs.h: Update declaration.
45712
45713         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45714         string for the scope number.
45715
45716 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
45717
45718         * nscd/servicescache.c (cache_addserv): Make sure written is always
45719         initialized.
45720
45721 2011-08-14  Roland McGrath  <roland@hack.frob.com>
45722
45723         * sysdeps/i386/i486/bits/atomic.h
45724         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45725         statement expression, so as to suppress "set but not used" warning.
45726         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45727
45728         * string/strncat.c (STRNCAT): Use prototype definition.
45729
45730         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45731         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45732         -Iprograms here.
45733         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45734         (localedef-modules): Add localedef.
45735         (locale-modules): Add locale.
45736
45737         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45738         * elf/rtld.c (dl_main): Invert order of assignment in last change,
45739         to avoid a warning.
45740
45741 2011-08-14  David S. Miller  <davem@davemloft.net>
45742
45743         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45744         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45745
45746 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
45747
45748         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
45749         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45750         * elf/rtld.c (dl_main): Set l_name of vDSO.
45751         Call _dl_show_scope when DL_DEBUG_SCOPES.
45752         (process_dl_debug): Recognize scopes flag and also set it for all.
45753         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45754         Declare _dl_show_scope.
45755
45756         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45757         (do_dlopen): Pass caller_dlopen to dl_open.
45758         (__libc_dlopen_mode): Initialize caller_dlopen.
45759
45760         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45761         of libc.  Make tolower call locale-independent.  Optimize a bit by
45762         using isdigit instead of isalnum.
45763         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45764
45765 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
45766
45767         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45768         was a dependency or dynamically loaded.
45769
45770 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
45771
45772         * intl/l10nflist.c: Allow architecture-specific pop function.
45773         * sysdeps/x86_64/l10nflist.c: New file.
45774
45775         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45776         classification.
45777
45778 2011-08-10  Andreas Schwab  <schwab@redhat.com>
45779
45780         * include/dirent.h: Add libc_hidden_proto for scandirat and
45781         scandirat64.  Don't declare __scandirat64.
45782         * dirent/scandirat.c: Add libc_hidden_def.
45783         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45784         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45785
45786 2011-08-10  David S. Miller  <davem@davemloft.net>
45787
45788         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45789         enum.
45790         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45791         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45792         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45793
45794 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
45795
45796         * Versions.def [libc]: Add GLIBC_2.15.
45797         * dirent/Makefile (routines): Add scandirat and scandirat64.
45798         * dirent/Versions [libc]: Export scandirat and scandirat64 for
45799         GLIBC_2.15.
45800         * dirent/dirent.h: Declare scandirat and scandirat64.
45801         * dirent/scandirat.c: New file.
45802         * dirent/scandirat64.c: New file.
45803         * sysdeps/wordsize-64/scandirat.c: New file.
45804         * sysdeps/wordsize-64/scandirat64.c: New file.
45805         * dirent/opendir.c: Define opendirat.
45806         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
45807         using scandirat.
45808         * dirent/scandir64.c: Adjust for scandir.c change.
45809         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
45810         __scandirat64, and __scandir_cancel_handler.
45811         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
45812         additional parameter and use openat instead of open (outside of ld.so).
45813         Add new __opendir as wrapper around __opendirat.
45814         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45815         here without requiring old scandirat implementation.
45816
45817 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
45818
45819         * dirent/scandir.c (cancel_handler): Renamed to
45820         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
45821         defined.  Adjust users.
45822         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45823         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45824
45825 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
45826
45827         * string/test-string.h (IMPL): Use __STRING to expand name and then
45828         stringify it.
45829
45830         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
45831         of cleanups.
45832
45833 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45834
45835         * string/Makefile: Update.
45836         (strop-tests): Append strncat.
45837         * string/test-wcscmp.c: New file.
45838         New comprehensive test for wcscmp.
45839         * string/test-strcmp.c: Update.
45840         (WIDE): New define.
45841
45842 2011-07-22  Andreas Schwab  <schwab@redhat.com>
45843
45844         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45845         line.
45846
45847 2011-07-26  Andreas Schwab  <schwab@redhat.com>
45848
45849         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45850         encoding to ACE if AI_IDN.
45851
45852 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
45853
45854         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45855         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45856
45857 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45858
45859         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45860         Fix overflow bug in strncat.
45861         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45862
45863         * string/test-strncat.c: Update.
45864         Add new tests for checking overflow bugs.
45865
45866 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45867
45868         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45869         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45870         * sysdeps/i386/i686/multiarch/strcat.S: New file.
45871         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45872         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45873         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45874         * sysdeps/i386/i686/multiarch/strncat.S: New file.
45875         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45876         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45877
45878         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45879         (USE_AS_STRCAT): Define.
45880         Add strcat and strncat support.
45881         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45882
45883 2011-07-25  Andreas Schwab  <schwab@redhat.com>
45884
45885         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45886         __n bigger than INT_MAX+1.
45887         (__strncmp_g): Likewise.
45888
45889 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
45890
45891         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45892         * libio/stido.h: Likewise.
45893
45894         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45895         (AF_NFC): Define.
45896         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45897         (AF_NFC): Define.
45898
45899         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45900         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45901         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45902         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45903         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45904
45905         [BZ #13021]
45906         * scripts/test-installation.pl: Don't expect libnss_test1 to be
45907         installed.
45908
45909         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45910         typo.
45911         (_dl_x86_64_save_sse): Likewise.
45912
45913 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
45914
45915         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45916         OSXSAVE.
45917         (_dl_x86_64_save_sse): Likewise.
45918
45919         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45920
45921         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45922
45923 2011-07-21  Andreas Schwab  <schwab@redhat.com>
45924
45925         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45926         change.
45927         (_dl_x86_64_save_sse): Use correct AVX check.
45928
45929 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45930
45931         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45932         bug in strncpy/strncat.
45933         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45934
45935 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
45936
45937         * string/tester.c (test_strcat): Add tests for different alignments
45938         of source and destination.
45939         (test_strncat): Likewise.
45940
45941 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
45942
45943         [BZ #12852]
45944         * posix/glob.c (glob): Check passed in values before using them in
45945         expressions to avoid some overflows.
45946         (glob_in_dir): Likewise.
45947
45948         [BZ #13007]
45949         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45950         check for AVX enablement so that we don't crash with old kernels and
45951         new hardware.
45952         * elf/tst-audit4.c: Add same checks here.
45953         * elf/tst-audit6.c: Likewise.
45954
45955         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45956
45957 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
45958
45959         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45960
45961 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
45962
45963         * po/cs.po: Update from translation team.
45964         * po/bg.po: Likewise.
45965
45966 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
45967
45968         * misc/sys/cdefs.h: Add support for const attribute.
45969         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45970         to gnu_dev_{major,minor,makedev} functions.
45971
45972 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
45973
45974         * intl/dcigettext.c (get_output_charset): Add missing bracket.
45975
45976 2011-07-20  Andreas Schwab  <schwab@redhat.com>
45977
45978         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45979         strlen results.
45980
45981 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45982
45983         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45984         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45985         register in order to avoid conflicts with the soft frame pointer
45986         being held in r11 when necessary.
45987         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45988         (INTERNAL_VSYSCALL_NCS): Likewise.
45989
45990 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
45991
45992         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45993         * elf/dl-fini.c (_dl_fini): Adjust caller.
45994         * elf/dl-close.c (_dl_close_worker): Likewise.
45995         * sysdeps/generic/ldsodefs.h: Adjust declaration.
45996
45997 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
45998
45999         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46000         "aux_cache->nlibs < 0".
46001
46002         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46003         in the reload-count case.
46004
46005 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46006
46007         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46008         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46009         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46010         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46011         * sysdeps/x86_64/multiarch/strcat.S: New file.
46012         * sysdeps/x86_64/multiarch/strncat.S: New file.
46013         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46014         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46015         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46016         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46017         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46018         (USE_AS_STRCAT): Define.
46019         Add strcat and strncat support.
46020         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46021         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46022         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46023         * string/strncat.c: Update.
46024         (USE_AS_STRNCAT): Define.
46025         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46026         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46027         and i7.
46028         * sysdeps/x86_64/multiarch/init-arch.h
46029         (bit_Prefer_PMINUB_for_stringop): New.
46030         (index_Prefer_PMINUB_for_stringop): Likewise.
46031         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46032         bit_Prefer_PMINUB_for_stringop.
46033
46034 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46035
46036         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46037         buffer64.
46038         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46039         of casting of buffer.
46040         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46041         buffer32 and buffer64.
46042         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46043         writes instead of casting of buffer.
46044         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46045         buffer32.
46046         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46047         casting of buffer.
46048
46049 2011-07-19  Andreas Schwab  <schwab@redhat.com>
46050
46051         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46052
46053 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46054
46055         * nscd/nscd.c (termination_handler): Don't do anything for a database
46056         if it has not yet been initialized.
46057
46058 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46059
46060         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46061
46062 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46063
46064         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46065
46066 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46067
46068         * po/nl.po: Update from translation team.
46069         * po/sv.po: Likewise.
46070
46071 2011-07-16  Roland McGrath  <roland@hack.frob.com>
46072
46073         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46074         now disallowed by GCC.
46075
46076         * configure.in (use-default-link): Default to yes if a test -shared
46077         link meets our qualifications.
46078         * configure: Regenerated.
46079
46080         * config.make.in (output-format): New variable.
46081         * configure.in: Check for ld --print-output-format support.
46082         * configure: Regenerated.
46083         * Makerules ($(common-objpfx)format.lds)
46084         [$(output-format) != unknown]: Just use $(output-format),
46085         instead of the linker-script munging.
46086
46087 2011-07-14  Roland McGrath  <roland@hack.frob.com>
46088
46089         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46090         of $(common-objpfx)shlib.lds.
46091         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46092
46093         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46094         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46095
46096         * configure.in (-z relro check): Adjust test code to add a large
46097         writable data section after it.
46098         * configure: Regenerated.
46099
46100 2011-07-11  Roland McGrath  <roland@hack.frob.com>
46101
46102         * configure.in (-z relro check): Fix test code to make the variable
46103         truly const.
46104         * configure: Regenerated.
46105
46106 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
46107
46108         * nscd/nscd.h (struct traced_file): Define.
46109         (struct database_dyn): Remove inotify_descr, reset_res, and filename
46110         elements.  Add traced_files.
46111         (inotify_fd): Declare.
46112         (register_traced_file): Declare.
46113         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46114         (inotify_fd): Export.
46115         (resolv_conf_descr): Remove.
46116         (nscd_init): Move inotify descriptor creation to main.
46117         Don't register files for notification here.
46118         (register_traced_file): New function.
46119         (invalidate_cache): Don't use reset_res to determine whether to call
46120         res_init, go through the list of registered files.
46121         (main_loop_poll): The inotify descriptors are now stored in the
46122         structures for the traced files.
46123         (main_loop_epoll): Likewise
46124         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
46125         to __nss_disable_nscd.
46126         * nscd/cache.c (prune_cache): There is no single inotify descriptor
46127         for a database anymore.  Check the records for all the registered
46128         files instead.
46129         * nss/Makefile (libnss_files-routines): Add files-init.
46130         (libnss_db-routines): Add db-init.
46131         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46132         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46133         * nss/nss_db/db-init.c: New file.
46134         * nss/nss_files/files-init.c: New file.
46135         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
46136         __nss_lookup_function.
46137         (__nss_lookup_function): Call nss_load_library.
46138         (nss_load_all_libraries): New function.
46139         (__nss_disable_nscd): Take parameter with callback function for files
46140         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
46141         used for the cached services.
46142         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46143         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46144         options for features to all the files in nscd.
46145
46146         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46147
46148 2011-07-10  Roland McGrath  <roland@hack.frob.com>
46149
46150         * csu/elf-init.c (__libc_csu_init): Comment typo.
46151
46152 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
46153
46154         * po/pl.po: Update from translation team.
46155         * po/ja.po: Likewise.
46156         * po/ru.po: Likewise.
46157         * po/ko.po: Likewise.
46158         * po/fr.po: Likewise.
46159
46160 2011-07-09  Roland McGrath  <roland@hack.frob.com>
46161
46162         * configure.in (.ctors/.dtors header and trailer check):
46163         Use an empirical test on a built program.
46164         * configure: Regenerated.
46165
46166         * configure.in (-z relro check): Use an empirical test on a built DSO.
46167         Detect, but do not require, on ia64.
46168         * configure: Regenerated.
46169
46170         * configure.in (READELF): Find it with AC_CHECK_TOOL.
46171         Update tests that use readelf to use $READELF instead.
46172         * configure: Regenerated.
46173
46174 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
46175
46176         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46177         if the result is not used.
46178
46179 2011-07-05  Andreas Jaeger  <aj@suse.de>
46180
46181         [BZ#9696]
46182         * stdlib/tst-strtod.c: Add testcase.
46183
46184 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
46185
46186         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46187         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46188         The latter has a higher limit.  Take additional parameter to pass to
46189         the new function.
46190         (__pathconf): Pass file to __statfs_link_max.
46191         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46192         __statfs_link_max.
46193         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46194         __statfs_link_max.
46195
46196         [BZ #12868]
46197         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46198         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46199         Handle Lustre.
46200         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46201         (__statfs_filesize_max): Likewise.
46202         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46203
46204 2011-07-05  Andreas Jaeger  <aj@suse.de>
46205
46206         * resolv/res_comp.c (dn_skipname): Remove unused variable.
46207
46208 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
46209
46210         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46211         `status' variable.
46212         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46213         Likewise.
46214
46215 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
46216
46217         * Makefile (strop-tests): Add strncat.
46218         * string/test-strncat.c: New file.
46219
46220 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
46221
46222         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46223
46224 2011-06-21  Andreas Jaeger  <aj@suse.de>
46225
46226         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46227         Copy rule from iconvdata/Makefile.
46228
46229 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46230
46231         [BZ #12922]
46232         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46233         but no long options are defined, just return 'W'.
46234
46235 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
46236
46237         [BZ #9696]
46238         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46239
46240 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46241
46242         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46243         netgroups to read.
46244         (innetgr): Likewise.
46245
46246 2011-07-05  Roland McGrath  <roland@hack.frob.com>
46247
46248         * config.make.in (install_root): Default to $(DESTDIR).
46249
46250 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
46251
46252         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46253
46254 2011-07-02  Roland McGrath  <roland@hack.frob.com>
46255
46256         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46257
46258         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46259         containing directory rather than embedding absolute directory names.
46260
46261         * scripts/check-local-headers.sh: Rewritten using awk.
46262         Match by word, not by line.  Print error messages for matches.
46263         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46264
46265         * Makerules [shlib-lds-flags empty]:
46266         ($(common-objpfx)libc_pic.opts): New target.
46267         ($(common-objpfx)libc_pic.os.clean): New target.
46268         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46269
46270         * config.make.in (OBJCOPY): New variable.
46271         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46272         * configure: Regenerated.
46273
46274         * config.make.in (use-default-link): New variable.
46275         * configure.in (use_default_link): Grok --with-default-link to set it.
46276         * configure: Regenerated.
46277         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46278         (shlib-lds, shlib-lds-flags): Define to empty.
46279
46280         * Makerules (shlib-lds): New variable.
46281         (shlib-lds-flags): New variable.
46282         (build-shlib, build-moduile, build-module-asneeded): Use it.
46283         ($(common-objpfx)libc.so): Use $(shlib-lds).
46284         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46285         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46286
46287         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46288         DT_FLAGS/DT_FLAGS_1 with zero flags.
46289
46290         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46291         linker script munging.
46292
46293 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
46294
46295         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46296         as 128-bit value.
46297         * crypt/sha512.c (sha512_process_block): Perform total addition using
46298         128-bit if possible.
46299         (__sha512_finish_ctx): Likewise.
46300         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46301         as 64-bit value.
46302         * crypt/sha256.c (SWAP64): Define.
46303         (sha256_process_block): Perform total addition using 64-bit if
46304         possible.
46305         (__sha256_finish_ctx): Likewise.
46306
46307 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
46308
46309         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
46310         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46311         * nscd/hstcache.c (cache_addhst): Likewise.
46312         * nscd/grpcache.c (cache_addgr): Likewise.
46313         * nscd/aicache.c (addhstaiX): Likewise
46314         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46315
46316 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
46317
46318         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46319         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46320         * nscd/hstcache.c (cache_addhst): Likewise.
46321         * nscd/grpcache.c (cache_addgr): Likewise.
46322         * nscd/aicache.c (addhstaiX): Likewise
46323
46324 2011-07-01  Andreas Schwab  <schwab@redhat.com>
46325
46326         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46327         domain only when needed.
46328
46329 2011-06-30  Andreas Schwab  <schwab@redhat.com>
46330
46331         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46332         is always restored.
46333
46334 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
46335
46336         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46337         are re-adding the entry.
46338         * nscd/servicescache.c (cache_addserv): Likewise.
46339
46340 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
46341
46342         * sysdeps/generic/dl-irel.h: fix protection against multiple
46343         inclusions.
46344         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46345
46346 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
46347
46348         [BZ #12935]
46349         * malloc/memusage.sh: Fix quoting in message.
46350         * debug/xtrace.sh: Likewise.
46351
46352         * configure.in: Remove support for --experimental-malloc option, make
46353         it the default.
46354         * config.make.in: Likewise.
46355         * malloc/Makefile: Likewise.
46356
46357 2011-06-27  Andreas Schwab  <schwab@redhat.com>
46358
46359         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46360         two-byte characters.
46361
46362 2011-06-27  Roland McGrath  <roland@hack.frob.com>
46363
46364         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46365         AC_CACHE_CHECK invocation.
46366         * configure: Regenerated.
46367
46368         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46369
46370 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
46371
46372         [BZ #12350]
46373         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
46374         bit from old_res_options.
46375
46376         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46377
46378         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46379         value type for setfct.
46380
46381 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
46382
46383         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46384         __gettimeofday instead of gettimeofday.
46385
46386 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
46387
46388         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46389
46390 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
46391
46392         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46393
46394         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46395         info.
46396
46397 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
46398
46399         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46400         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46401         strcpy-sse2-unaligned strncpy-sse2-unaligned
46402         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46403         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46404         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46405         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46406         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46407         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46408         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46409         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46410         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46411         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46412         (STRCPY): Support SSE2 and SSSE3 versions.
46413
46414 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
46415
46416         [BZ #12874]
46417         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46418         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46419         kernels which artificially limit size of requests.
46420
46421 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
46422
46423         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46424         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46425         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46426         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46427         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46428         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46429         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46430         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46431         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46432         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46433         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46434         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46435         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46436         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46437         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46438         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46439         Enable unaligned load optimization for Intel Core i3, i5 and i7
46440         processors.
46441         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46442         Define.
46443         (index_Fast_Unaligned_Load): Define.
46444         (HAS_FAST_UNALIGNED_LOAD): Define.
46445
46446 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
46447
46448         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46449
46450 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
46451
46452         [BZ #12907]
46453         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46454         until it is clear that the information is realy needed.
46455         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46456
46457 2011-06-22  Andreas Schwab  <schwab@redhat.com>
46458
46459         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46460
46461 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
46462
46463         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46464         /sys/devices/system/cpu/online if it is usable.
46465
46466         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46467         reading the information from the /proc filesystem to once a second.
46468
46469 2011-06-21  Andreas Jaeger  <aj@suse.de>
46470
46471         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46472         NULL after inclusion of kernel headers.
46473
46474 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
46475
46476         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46477         calls to internal_setent.
46478
46479         [BZ #12885]
46480         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46481         addresses using gethostbyname4_r ignore IPv4 addresses.
46482
46483         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46484         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
46485
46486         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46487
46488 2011-06-20  David S. Miller  <davem@davemloft.net>
46489
46490         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46491         inclusions.
46492         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46493
46494         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46495         (elf_irel): Use it.
46496         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46497         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46498         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46499         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46500         * sysdeps/x86_64/dl-irel.h: Likewise.
46501
46502         * elf/dl-runtime.c: Use elf_ifunc_invoke.
46503         * elf/dl-sym.c: Likewise.
46504
46505 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
46506
46507         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
46508         need to dereference resplen2.
46509
46510 2011-06-14  Andreas Schwab  <schwab@redhat.com>
46511
46512         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46513
46514 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
46515
46516         * Makeconfig: Define vardbdir and inst_vardbdir.
46517         * nss/Makefile: Add rules to install db-Makefile.
46518
46519         * nss/nss_db/db-XXX.c: Cleanup.
46520
46521         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46522         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46523         GLIBC_PRIVATE.
46524         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46525         * nss/makedb.c: Implement -g option to specify that value strings
46526         are generated and should not be added to table iterated over for
46527         get*ent calls.
46528         * nss/nss_db/db-initgroups.c: New file.
46529
46530         * nss/getent.c: Add support for initgroups lookups through getgrouplist
46531         interface.
46532
46533         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46534         (internal_getgrouplist): Adjust to name change.
46535         Update use_initgroups_entry if this is not the first call.
46536         * nss/databases.def: Add initgroups entry.
46537
46538         * nss/makedb.c (compute_tables): Check result of multiple hash table
46539         sizes to minimize maximum chain length.
46540
46541 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
46542
46543         * Versions.def: Add entry for libnss_db.
46544         * shlib-versions: Likewise.
46545         * nss/Makefile: Add rules to build libnss_db.
46546         * nss/Versions: Add libnss_db information.  Organize libnss_files
46547         entries better.
46548         * nss/db-Makefile: Add gshadow support.  Change rules for the new
46549         makedb progra.  Some minor improvements to generate smaller files.
46550         * nss/nss_db/nss_db.h: Move NSS database header data structures to
46551         here from...
46552         * nss/makedb.c: ...here.
46553         Improve database format to be smaller and require less memory at
46554         runtime.
46555         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
46556         db anymore.
46557         * nss/nss_db/db-netgrp.c: Likewise.
46558         * nss/nss_db/db-open.c: Likewise.
46559         * nss/nss_files/flies-XXX.x: Adjust comments.
46560         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46561         * nss/nss_files/files-grp.c: Likewise.
46562         * nss/nss_files/files-hosts.c: Likewise.
46563         * nss/nss_files/files-network.c: Likewise.
46564         * nss/nss_files/files-proto.c: Likewise.
46565         * nss/nss_files/files-pwd.c: Likewise.
46566         * nss/nss_files/files-rpc.c: Likewise.
46567         * nss/nss_files/files-service.c: Likewise.
46568         * nss/nss_files/files-sgrp.c: Likewise.
46569         * nss/nss_files/files-spwd.c: Likewise.
46570         * nss/nss_db/db-alias.c: Removed.
46571         * nss/nss_db/dummy-db.h: Removed.
46572
46573 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
46574
46575         * nss/makedb.c: Rewritten to not use database library.
46576         * nss/Makefile: Update to build new makedb program.
46577
46578 2011-06-14  Andreas Jaeger  <aj@suse.de>
46579
46580         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46581         memset declaration.
46582
46583 2011-06-10  Andreas Schwab  <schwab@redhat.com>
46584
46585         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46586         tmpbuf.
46587
46588 2011-06-10  Roland McGrath  <roland@hack.frob.com>
46589
46590         * Makerules (shlib.lds): Fail if the linker script comes out empty.
46591         * elf/Makefile ($(objpfx)ld.so): Likewise.
46592
46593         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46594         Don't list ld.so twice in dependencies.
46595
46596         * posix/bug-regex31.c: Include <stdlib.h>.
46597
46598         * nscd/hstcache.c (cache_addhst): Remove unused variable.
46599
46600         * nis/nss_compat/compat-spwd.c
46601         (getspent_next_nss_netgr): Remove unused variable.
46602         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46603
46604         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46605         nonmembers" output to use the right array.
46606
46607         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46608
46609         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46610
46611         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46612         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46613         * catgets/gencat.c (read_input_file): Likewise.
46614         * locale/programs/locarchive.c (enlarge_archive): Likewise.
46615
46616         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46617         variable definition inside #if's controlling its use.
46618
46619         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46620
46621         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46622
46623         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46624
46625         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46626         unreachable code.
46627
46628         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46629
46630         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46631         * configure: Regenerated.
46632
46633         * Makerules: Revert last change.
46634         * elf/Makefile: Likewise.
46635
46636 2011-06-09  Roland McGrath  <roland@hack.frob.com>
46637
46638         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46639         * elf/Makefile ($(objpfx)librtld.os): Likewise.
46640         (reloc-link): Likewise.
46641
46642 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
46643
46644         * elf/Makefile: Add rules to build pldd.
46645         * elf/pldd.c: New file.
46646         * elf/pldd-xx.c: New file.
46647
46648 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
46649
46650         * version.h: Update for 2.15 development version.
46651
46652 2011-06-07  David S. Miller  <davem@davemloft.net>
46653
46654         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46655         ifuncs.
46656         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46657         elf_machine_lazy_rel): Likewise.
46658         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46659         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46660         elf_machine_lazy_rel): Likewise.
46661         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46662         dl_hwcap via passed in argument.
46663         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46664         Likewise.
46665
46666 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46667
46668         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
46669
46670 2011-06-06  Roland McGrath  <roland@hack.frob.com>
46671
46672         [BZ #12849]
46673         * manual/fdl-1.1.texi: New file, verbatim from:
46674         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46675         * manual/lgpl-2.1.texi: New file, verbatim from:
46676         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46677         * manual/Makefile (licenses): New variable, list those new file names.
46678         (texis): Use it.
46679         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46680
46681         * manual/fdl.texi: File removed.
46682         * manual/lesser.texi: File removed.
46683         * manual/libc.texinfo (Copying, Documentation License):
46684         Use new @include file names, put @appendix directive before @include.
46685
46686 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
46687
46688         [BZ #12841]
46689         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46690         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46691         (mq_open): Add __NTH.
46692
46693 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
46694
46695         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46696         Assume Intel Core i3/i5/i7 processor if AVX is available.
46697
46698 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
46699
46700         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46701         typo.
46702
46703 2011-05-31  Andreas Schwab  <schwab@redhat.com>
46704
46705         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46706         memory.  Use alloca_account.  Fix memory leak when retrying.
46707
46708 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
46709
46710         * version.h (RELEASE): Bump for 2.14 release.
46711         * include/features.h (__GLIBC_MINOR__): Bump to 14.
46712
46713         * config.make.in (RANLIB): Remove entry.
46714
46715 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
46716
46717         * po/Makefile (po-sed-cmd): Add ksh to extensions.
46718         (libc.pot): Work around missing support for .ksh extension in xgettext.
46719
46720         [BZ #12684]
46721         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46722         if both request failed.
46723         (send_dg): In case of server errors clear resplen or *resplen2.
46724
46725         [BZ #12454]
46726         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46727         when there are multiple maps.
46728         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46729         (_dl_fini): Remove test here.
46730
46731         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46732
46733 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
46734
46735         [BZ #12350]
46736         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46737         bit from old_res_options.
46738         (gaih_inet): Likewise.
46739
46740         [BZ #11099]
46741         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46742         as signed.
46743
46744         * resolv/res_init.c (res_setoptions): Make the code more compact.
46745
46746         [BZ #11558]
46747         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46748         set RES_USEVC.
46749
46750         [BZ #11634]
46751         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46752
46753         * malloc/malloc.h: Mark malloc hook variables as deprecated.
46754
46755         [BZ #11781]
46756         * malloc/malloc.h: Declare malloc hook variables as volatile.
46757
46758         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46759         in last patch.
46760
46761         [BZ #11799]
46762         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
46763         raise in the comment.
46764         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46765         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46766         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
46767
46768 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
46769
46770         [BZ #12811]
46771         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46772         grow the buffers more if it already has to be sufficient.
46773         (build_wcs_upper_buffer): Likewise.
46774         * posix/regexec.c (check_matching): Likewise.
46775         (clean_state_log_if_needed): Likewise.
46776         (extend_buffers): Don't enlarge buffers beyond size of the input
46777         buffer.
46778         Patches mostly by Emil Wojak <emil@wojak.eu>.
46779         * posix/bug-regex32.c: New file.
46780         * posix/Makefile (tests): Add bug-regex32.
46781
46782         * locale/findlocale.c (_nl_find_locale): Return right away if
46783         _nl_explode_name failed.
46784         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46785
46786         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46787
46788         * debug/xtrace.sh: Unify messages.
46789         * malloc/memusage.sh: Likewise.
46790
46791         [BZ #12813]
46792         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46793         time symbol from vDSO.  Substitute with vsyscall if not available.
46794         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46795         __vdso_time.
46796
46797         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46798         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46799         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46800         Add sendmmsg and internal_sendmmsg.
46801         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46802         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46803         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46804
46805         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46806         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46807         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46808
46809 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
46810
46811         [BZ #12813]
46812         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46813         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
46814         available.
46815         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46816         __vdso_getcpu.
46817
46818         [BZ #12814]
46819         * iconvdata/Makefile (tests): Add bug-iconv9.
46820         * iconvdata/bug-iconv9.c: New file.
46821
46822 2011-05-27  Andreas Schwab  <schwab@redhat.com>
46823
46824         [BZ #12814]
46825         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46826
46827 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
46828
46829         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46830         (struct user_regs_struct): Change intcs field back to cs.
46831
46832 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
46833
46834         * po/ja.po: Update from translation team.
46835
46836 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
46837
46838         [BZ #12795]
46839         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46840         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46841
46842 2011-05-20  Andreas Schwab  <schwab@redhat.com>
46843
46844         * stdlib/longlong.h: Update from GCC.
46845
46846 2011-05-23  Andreas Schwab  <schwab@redhat.com>
46847
46848         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46849         parameter name.
46850         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46851         Add parameter name.
46852         (__sysconf): Pass it down.
46853
46854 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
46855
46856         [BZ #12671]
46857         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46858         some situations.
46859         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46860         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46861         add in in __libc_use_alloca calls.  Adjust callers.
46862         (glob): Use malloc in some situations.
46863
46864         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46865         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46866         pltexit.
46867
46868 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
46869
46870         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46871         and CLOCK_BOOTTIME_ALARM.
46872
46873         [BZ #12782]
46874         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46875         is returned.
46876
46877         * string/_strerror.c (__strerror_r): Print negative errors as signed
46878         numbers.
46879
46880         [BZ #12777]
46881         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46882         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46883         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46884
46885         * configure.in: Fix typo in redirection and correct removal of test
46886         files in two cases.
46887
46888         [BZ #12788]
46889         * locale/setlocale.c (new_composite_name): Fix test to check for
46890         identical name of all categories.
46891
46892         [BZ #12792]
46893         * libio/filedoalloc.c (local_isatty): New function.
46894         (_IO_file_doallocate): Use local_isatty.
46895         * stdio-common/perror.c (perror): In case a new stream is used
46896         forward the stream error.
46897         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46898         error flag.
46899
46900 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
46901
46902         [BZ #11869]
46903         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46904         alloca.
46905         * include/alloca.h (extend_alloca_account): Define.
46906
46907         [BZ #11857]
46908         * posix/regex.h: Fix comments with documentation of user-accessible
46909         fields after compilation and describe correct free'ing of pattern
46910         after re_compile_pattern.
46911         Patch by Reuben Thomas <rrt@sc3d.org>.
46912
46913 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
46914
46915         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46916         and -mno-altivec to prevent the compiler from using Altivec and/or
46917         VSX instructions when the corresponding registers are not available.
46918
46919 2011-05-19  Andreas Schwab  <schwab@redhat.com>
46920
46921         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46922
46923 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
46924
46925         * libio/freopen.c (freopen): Use __dup2, not dup2.
46926         * libio/freopen64.c (freopen64): Likewise.
46927
46928 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46929
46930         [BZ #12775]
46931         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46932         * math/Makefile (tests): Add test-powl.
46933         (CFLAGS-test-powl.c): Define.
46934         * math/test-powl.c: New file.
46935
46936 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46937
46938         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46939
46940 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
46941
46942         [BZ #11837]
46943         * iconvdata/gb18030.c: Update to GB18020-2005.
46944
46945 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
46946
46947         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46948         RE_SYNTAX_POSIX_AWK): Update to match recent development.
46949         Patch by Aharon Robbins <arnold@skeeve.com>.
46950
46951         [BZ #11892]
46952         * stdlib/putenv.c (putenv): Don't always create copy of the variable
46953         on the stack.
46954
46955         [BZ #11895]
46956         * misc/pselect.c (__pselect): Handle timeout value errors hidden
46957         through underflows.
46958
46959         [BZ #12766]
46960         * misc/error.c (error_at_line): Ensure file_name and old_file_name
46961         point to strings before performing equality test for error_one_per_line
46962         mode.
46963
46964         [BZ #11697]
46965         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46966
46967         [BZ #11820]
46968         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46969         (struct user_fpregs_struct): Avoid __uint*_t types.
46970
46971         [BZ #6420]
46972         * malloc/mtrace.c (tr_where): Add additional parameter to point to
46973         symbol info.  Use it instead of calling _dl_addr locally.
46974         (lock_and_info): New function.
46975         (tr_freehook): Call lock_and_info and pass symbol info as additional
46976         parameter to tr_where.
46977         (tr_mallochook): Likewise.
46978         (tr_reallochook): Likewise.
46979         (tr_memalignhook): Likewise.
46980
46981         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
46982         used and couldn't be at all thread-safe.
46983
46984 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
46985
46986         * libio/freopen.c (freopen): Don't close old file descriptor
46987         before the new one is opened.  Instead dup the new file descriptor
46988         to the old one after the new stream is created.
46989         * libio/freopen64.c (freopen64): Likewise.
46990         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46991         * libio/fileops.c (_IO_new_file_close_it): Handle new
46992         _IO_FLAGS2_NOCLOSE flag.
46993         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46994         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46995         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46996         _IO_FLAGS2_NOCLOSE flag.
46997         * include/unistd.h: Add hidden_proto for dup3.
46998         Define __have_dup3.
46999         * io/dup3.c: Define hidden symbol.
47000         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47001
47002         [BZ #7101]
47003         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47004         when an incomplete long option is used.
47005         * posix/tst-getopt_long1.c: New file.
47006         * posix/Makefile (tests): Add tst-getopt_long1.
47007
47008         [BZ #10138]
47009         * scripts/config.guess: Update from autoconf-2.68.
47010         * scripts/config.sub: Likewise.
47011
47012         [BZ #10157]
47013         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47014         tests into ...
47015         (has_cpuclock): ...this.  New function.
47016         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47017         macro here based on has_cpuclock code.
47018
47019         [BZ #10149]
47020         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47021         First byte (not low byte) is now always NUL.
47022         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47023
47024         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47025         Use non-cancelable interfaces.
47026
47027         [BZ #9809]
47028         * locale/iso-639.def: Add entry for Sorani.
47029
47030         [BZ #11901]
47031         * include/stdlib.h: Move include protection to the right place.
47032         Define abort_msg_s.  Declare __abort_msg with it.
47033         * stdlib/abort.c (__abort_msg): Adjust type.
47034         * assert/assert.c (__assert_fail_base): New function.  Majority
47035         of code from __assert_fail.  Allocate memory for __abort_msg with
47036         mmap.
47037         (__assert_fail): Now call __assert_fail_base.
47038         * assert/assert-perr.c: Remove bulk of implementation.  Use
47039         __assert_fail_base.
47040         * include/assert.hL Declare __assert_fail_base.
47041         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47042         mmap.
47043         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47044
47045 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
47046
47047         [BZ #11952]
47048         [BZ #12453]
47049         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47050         until all modules are registered in the DTV.
47051         * elf/Makefile: Add rules to build and run tst-tls19.
47052         * elf/tst-tls19.c: New file.
47053         * elf/tst-tls19mod1.c: New file.
47054         * elf/tst-tls19mod2.c: New file.
47055         * elf/tst-tls19mod3.c: New file.
47056         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47057
47058         [BZ #12083]
47059         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47060         correctly.
47061
47062         [BZ #12601]
47063         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47064         two-byte sequence errors.
47065         * iconvdata/Makefile (tests): Add bug-iconv8.
47066         * iconvdata/bug-iconv8.c: New file.
47067
47068         [BZ #12626]
47069         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47070         buf2 definition.
47071
47072         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47073
47074         [BZ #12432]
47075         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47076         (dummy_getcfa): New function.
47077         (init): Get _Unwind_GetCFA address, use dummy if not found.
47078         (backtrace_helper): In recursion check, also check whether CFA changes.
47079         (__backtrace): Completely initialize arg.
47080
47081         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47082         storing incomplete byte sequence in state object.  Avoid testing for
47083         guaranteed too small input if we know there is enough data available.
47084
47085 2011-05-11  Andreas Schwab  <schwab@redhat.com>
47086
47087         * Makeconfig (+link-pie): Indent.
47088         * Rules (binaries-pie): Define if $(have-fpie) and
47089         $(build-shared).
47090         (binaries-shared): Also filter out $(binaries-pie).
47091         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47092         * nscd/Makefile (others-pie): Add nscd.
47093         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47094         ($(objpfx)nscd): Remove command override.
47095         * login/Makefile (others-pie): Add pt_chown.
47096         ($(objpfx)pt_chown): Remove command override.
47097         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47098         remove command overrides.
47099
47100 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
47101
47102         * libio/tst_putwc.c: Fix error messages.
47103
47104         [BZ #12724]
47105         * libio/fileops.c (_IO_new_file_close_it): Always flush when
47106         currently writing and seek to current position when not.
47107         * libio/Makefile (tests): Add bug-fclose1.
47108         * libio/bug-fclose1.c: New file.
47109
47110 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
47111
47112         [BZ #12511]
47113         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47114         don't set DF_1_NODELETE here.
47115         (do_lookup_x): When entering new entry test for copy relocation
47116         and if necessary set DF_1_NODELETE flag.
47117         * elf/tst-unique4.cc: New file.
47118         * elf/tst-unique4.h: New file.
47119         * elf/tst-unique4lib.cc: New file.
47120         * elf/Makefile: Add rules to build and run tst-unique4.
47121         Patch by Piotr Bury <pbury@goahead.com>.
47122
47123 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
47124
47125         [BZ #12052]
47126         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47127
47128         [BZ #12625]
47129         * misc/mntent_r.c (addmntent): Flush the stream after the output
47130
47131         [BZ #12393]
47132         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47133         (is_trusted_path_normalize): Skip initial colon.  Append slash
47134         to empty buffer.  Duplicate is_trusted_path code but allow
47135         constructed patch to be prefix.
47136         (is_dst): Allow $ORIGIN followed by /.
47137         (_dl_dst_substitute): Correct clearing of check_for_trusted.
47138         Correct testing of result of is_trusted_path_normalize
47139         (decompose_rpath): Fix warning.
47140
47141 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
47142
47143         [BZ #11257]
47144         * grp/initgroups.c (internal_getgrouplist): When we found the service
47145         list through the initgroups entry in nsswitch.conf do not always
47146         continue on a successful lookup.  Don't always use the
47147         __nss_group_database value if it is set.
47148         * nss/nsswitch.conf (initgroups): Change action for successful db
47149         lookup to continue for compatibility.
47150
47151 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
47152
47153         [BZ #11532]
47154         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47155         and CP774 modules.
47156         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47157         and CP774 modules.
47158         * iconvdata/tst-tables.sh: Likewise.
47159         * iconvdata/cp770.c: New file.
47160         * iconvdata/cp771.c: New file.
47161         * iconvdata/cp772.c: New file.
47162         * iconvdata/cp773.c: New file.
47163         * iconvdata/cp774.c: New file.
47164         * iconvdata/testdata/CP770: New file.
47165         * iconvdata/testdata/CP770..UTF8: New file.
47166         * iconvdata/testdata/CP771: New file.
47167         * iconvdata/testdata/CP771..UTF8: New file.
47168         * iconvdata/testdata/CP772: New file.
47169         * iconvdata/testdata/CP772..UTF8: New file.
47170         * iconvdata/testdata/CP773: New file.
47171         * iconvdata/testdata/CP773..UTF8: New file.
47172         * iconvdata/testdata/CP774: New file.
47173         * iconvdata/testdata/CP774..UTF8: New file.
47174
47175         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47176         END CHARMAP line.
47177         * iconvdata/gen-8bit-gap.sh: Likewise.
47178         * iconvdata/gen-8bit.sh: Likewise.
47179
47180         * locale/iso-639.def: Add ary entry.
47181
47182         [BZ #11258]
47183         * locale/C-translit.h.in: Add U20A1 transliteration.
47184
47185         [BZ #12178]
47186         * locale/iso-639.def: Add wae entry.
47187         Patch by Kevin Bortis <bortis@translate-wae.ch>.
47188
47189         [BZ #12545]
47190         * locale/programs/localedef.c (construct_output_path): Use ssize_t
47191         for n.
47192
47193         [BZ #12711]
47194         * locale/C-translit.h.in: Add entry for U20B9.
47195         Patch by pravin.d.s@gmail.com.
47196
47197 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
47198
47199         [BZ #12713]
47200         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47201         ENAMETOOLONG use generic getcwd.
47202         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
47203         in rtld.  Use *stat64.
47204         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47205         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47206         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47207         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47208         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47209         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47210         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47211         __fstatat64 macros.
47212         * include/dirent.h: Add libc_hidden_proto for rewinddir.
47213         * dirent/rewinddir.c: Add libc_hidden_def.
47214         * sysdeps/mach/hurd/rewinddir.c: Likewise.
47215         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
47216
47217         * include/dirent.h (__alloc_dir): Add flags parameter.
47218         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47219         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47220         __alloc_dir.
47221         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
47222         from fdopendir if O_CLOEXEC is already set.
47223
47224 2011-03-15  Alan Modra  <amodra@gmail.com>
47225
47226         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47227         l_tls_firstbyte_offset non-zero.  Save padding offset in
47228         l_tls_firstbyte_offset for later use.
47229         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47230         freeing static tls block.
47231
47232 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
47233
47234         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47235         where #ifdef was intended.  The intent is to prevent ARG_MAX from
47236         being defined by the kernel headers.
47237
47238 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
47239
47240         [BZ #12734]
47241         * resolv/resolv.h: Define RES_NOTLDQUERY.
47242         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47243         no-tld-query and set RES_NOTLDQUERY.
47244         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47245         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47246         modern BIND to search name as TLD unless forbidden.
47247
47248 2011-05-07  Petr Baudis  <pasky@suse.cz>
47249             Ulrich Drepper  <drepper@gmail.com>
47250
47251         [BZ #12393]
47252         * elf/dl-load.c (fillin_rpath): Move trusted path check...
47253         (is_trusted_path): ...to here.
47254         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47255         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47256         using is_trusted_path_normalize() in setuid scripts.
47257
47258 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
47259
47260         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47261         __BEGIN/__END_DECLS.
47262
47263 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
47264
47265         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47266         NSS_STATUS_NOTFOUND if no record was found.
47267
47268 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47269
47270         * sunrpc/Makefile (headers): Add rpc/netdb.h.
47271         (headers-not-in-tirpc): Remove rpc/netdb.h
47272         * resolv/netdb.h: Revert last change.
47273
47274 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47275
47276         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47277         circular dependency between libgcc.a and libc.a.
47278
47279 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47280
47281         * resolv/netdb.h: Don't include <rpc/netdb.h>.
47282         * nis/Makefile: Don't install rpcsvc/*.
47283         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47284         instead of <rpc/types.h>.
47285         (MAXHOSTNAMELEN): Define.
47286
47287 2011-05-03  Andreas Schwab  <schwab@redhat.com>
47288
47289         * elf/ldconfig.c (add_dir): Don't crash on empty path.
47290
47291 2011-04-28  Maciej Babinski  <mbabinski@google.com>
47292
47293         [BZ #12714]
47294         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47295         gethostbyname4_r when IPv6 results are possible.
47296
47297 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
47298
47299         [BZ #12723]
47300         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47301         _PC_PIPE_BUF handling.
47302
47303 2011-04-30  Bruno Haible  <bruno@clisp.org>
47304
47305         [BZ #12717]
47306         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47307         * resolv/netdb.h (getnameinfo): Change type of flags parameter
47308         to 'int'.
47309         * inet/getnameinfo.c (getnameinfo): Likewise.
47310
47311 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
47312
47313         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47314         to groups setting in database lookup.
47315         * nss/nsswitch.conf: Add initgroups entry.
47316
47317 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
47318
47319         [BZ #12685]
47320         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47321         mode string.
47322         Patch by Eric Blake <eblake@redhat.com>.
47323
47324 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
47325
47326         * sunrpc/Makefile (need-export-routines): Add svc_run.
47327         (routines): Remove svc_run.
47328         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47329         * sunrpc/clnt_perr.c (clnt_perrno): Export.
47330         * sunrpc/svc_run.c (svc_run): Likewise.
47331         * sunrpc/svc_udp.c (svcudp_create): Likewise.
47332
47333 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
47334
47335         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47336         problem in reallocation in last patch.
47337
47338 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
47339
47340         * sunrpc/Makefile: Move inclusion of Rules.
47341
47342 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47343
47344         * nss/nss_files/files-initgroups.c: New file.
47345         * nss/Makefile (libnss_files-routines): Add files-initgroups.
47346         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47347         _nss_files_initgroups_dyn.
47348
47349 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
47350
47351         * elf/elf.h (R_ARM_IRELATIVE): Define.
47352
47353 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47354
47355         * po/ru.po: Update from translation team.
47356
47357 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47358
47359         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47360         dependencies.
47361
47362 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
47363
47364         [BZ #12653]
47365         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47366         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47367         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47368         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47369         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47370
47371 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
47372
47373         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47374         differing bytes.
47375         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47376         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47377         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47378
47379 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47380
47381         [BZ #12420]
47382         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47383         storing it.
47384         * stdlib/bug-getcontext.c: New file.
47385         * stdlib/Makefile: Add rules to build and run bug-getcontext.
47386
47387 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47388
47389         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47390         instructions into .machine "z9-109".
47391         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47392         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47393
47394 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47395
47396         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47397         between environment variables and auxiliary vector.
47398
47399 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
47400
47401         * Makefile: Add rules to build linkobj/libc.so.
47402         * include/libc-symbols.h: Define libc_hidden_nolink.
47403         * include/rpc/auth.h: Mark functions which are to be hidden.
47404         * include/rpc/auth_des.h: Likewise.
47405         * include/rpc/auth_unix.h: Likewise.
47406         * include/rpc/clnt.h: Likewise.
47407         * include/rpc/des_crypt.h: Likewise.
47408         * include/rpc/key_prot.h: Likewise.
47409         * include/rpc/pmap_clnt.h: Likewise.
47410         * include/rpc/pmap_prot.h: Likewise.
47411         * include/rpc/pmap_rmt.h: Likewise.
47412         * include/rpc/rpc_msg.h: Likewise.
47413         * include/rpc/svc.h: Likewise.
47414         * include/rpc/svc_auth.h: Likewise.
47415         * include/rpc/xdr.h: Likewise.
47416         * nis/Makefile: Link all DSOs against linkobj/libc.so.
47417         * nss/Makefile: Likewise.
47418         * sunrpc/Makefile: Don't install headers.  Build library with normal
47419         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
47420         * sunrpc/auth_des.c: Hide exported symbols by default, export some
47421         for the compat linking library.  Remove use of INTDEF/INTUSE.
47422         * sunrpc/auth_none.c: Likewise.
47423         * sunrpc/auth_unix.c: Likewise.
47424         * sunrpc/authdes_prot.c: Likewise.
47425         * sunrpc/authuxprot.c: Likewise.
47426         * sunrpc/clnt_gen.c: Likewise.
47427         * sunrpc/clnt_perr.c: Likewise.
47428         * sunrpc/clnt_raw.c: Likewise.
47429         * sunrpc/clnt_simp.c: Likewise.
47430         * sunrpc/clnt_tcp.c: Likewise.
47431         * sunrpc/clnt_udp.c: Likewise.
47432         * sunrpc/clnt_unix.c: Likewise.
47433         * sunrpc/des_crypt.c: Likewise.
47434         * sunrpc/des_soft.c: Likewise.
47435         * sunrpc/get_myaddr.c: Likewise.
47436         * sunrpc/key_call.c: Likewise.
47437         * sunrpc/key_prot.c: Likewise.
47438         * sunrpc/netname.c: Likewise.
47439         * sunrpc/pm_getmaps.c: Likewise.
47440         * sunrpc/pm_getport.c: Likewise.
47441         * sunrpc/pmap_clnt.c: Likewise.
47442         * sunrpc/pmap_prot.c: Likewise.
47443         * sunrpc/pmap_prot2.c: Likewise.
47444         * sunrpc/pmap_rmt.c: Likewise.
47445         * sunrpc/publickey.c: Likewise.
47446         * sunrpc/rpc_cmsg.c: Likewise.
47447         * sunrpc/rpc_common.c: Likewise.
47448         * sunrpc/rpc_dtable.c: Likewise.
47449         * sunrpc/rpc_prot.c: Likewise.
47450         * sunrpc/rpc_thread.c: Likewise.
47451         * sunrpc/rtime.c: Likewise.
47452         * sunrpc/svc.c: Likewise.
47453         * sunrpc/svc_auth.c: Likewise.
47454         * sunrpc/svc_authux.c: Likewise.
47455         * sunrpc/svc_raw.c: Likewise.
47456         * sunrpc/svc_run.c: Likewise.
47457         * sunrpc/svc_simple.c: Likewise.
47458         * sunrpc/svc_tcp.c: Likewise.
47459         * sunrpc/svc_udp.c: Likewise.
47460         * sunrpc/svc_unix.c: Likewise.
47461         * sunrpc/svcauth_des.c: Likewise.
47462         * sunrpc/xcrypt.c: Likewise.
47463         * sunrpc/xdr.c: Likewise.
47464         * sunrpc/xdr_array.c: Likewise.
47465         * sunrpc/xdr_float.c: Likewise.
47466         * sunrpc/xdr_intXX_t.c: Likewise.
47467         * sunrpc/xdr_mem.c: Likewise.
47468         * sunrpc/xdr_rec.c: Likewise.
47469         * sunrpc/xdr_ref.c: Likewise.
47470         * sunrpc/xdr_sizeof.c: Likewise.
47471         * sunrpc/xdr_stdio.c: Likewise.
47472
47473 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
47474
47475         [BZ #12650]
47476         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47477         * sysdeps/ia64/dl-tls.h: Likewise.
47478         * sysdeps/powerpc/dl-tls.h: Likewise.
47479         * sysdeps/s390/dl-tls.h: Likewise.
47480         * sysdeps/sh/dl-tls.h: Likewise.
47481         * sysdeps/sparc/dl-tls.h: Likewise.
47482         * sysdeps/x86_64/dl-tls.h: Likewise.
47483         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47484
47485 2011-03-14  Andreas Schwab  <schwab@redhat.com>
47486
47487         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47488         rpath element also skip the following colon.
47489         (expand_dynamic_string_token): Add is_path parameter and pass
47490         down to DL_DST_REQUIRED and _dl_dst_substitute.
47491         (decompose_rpath): Call expand_dynamic_string_token with
47492         non-zero is_path.  Ignore empty rpaths.
47493         (_dl_map_object_from_fd): Call expand_dynamic_string_token
47494         with zero is_path.
47495
47496 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
47497
47498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47499         Make cancelable.
47500
47501 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
47502
47503         [BZ #12655]
47504         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47505         Patch by Filipe David Manana <fdmanana@apache.org>.
47506
47507 2011-04-07  Andreas Schwab  <schwab@redhat.com>
47508
47509         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47510         Maintain aligned stack.
47511         (CHECK_RSP): Remove unused macro.
47512
47513 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
47514
47515         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47516         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47517
47518 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
47519
47520         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47521
47522         * include/features.h: Mention __USE_XOPEN2K8 in comment.
47523
47524 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
47525
47526         [BZ #12518]
47527         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47528         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47529         * sysdeps/x86_64/memmove.c: New file.
47530         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47531         (memcpy): Renamed to ...
47532         (__new_memcpy): This.
47533         (memcpy): Provide GLIBC_2_14 memcpy.
47534         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47535         (memcpy): Provide GLIBC_2_2_5 memcpy.
47536
47537 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47538
47539         [BZ #12631]
47540         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47541
47542 2011-03-30  Andreas Schwab  <schwab@redhat.com>
47543
47544         * misc/syncfs.c: New file.
47545         * misc/Makefile (routines): Add syncfs.
47546         * posix/unistd.h: Declare syncfs.
47547         * sysdeps/unix/syscalls.list: Add syncfs.
47548
47549 2011-04-01  Andreas Schwab  <schwab@redhat.com>
47550
47551         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47552         open_by_handle_at.
47553         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47554         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47555         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47556         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47557         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47558         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47559         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47560
47561 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47562
47563         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47564         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47565         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47566         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47567         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47568         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47569         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47570
47571         * io/Makefile: Compile fallocate.c, fallocate64.c, and
47572         sync_file_range.c with -fexceptions.
47573         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47574         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47575         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47576         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47577         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47578         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47579         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47580         sync_file_range as cancellation point
47581         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
47582         now a wrapper around __call_sync_file_range with cancellation handling.
47583         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47584         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
47585         function name to __call_sync_file_range.
47586         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47587         Add call_sync_file_range.
47588
47589 2011-04-01  Andreas Schwab  <schwab@redhat.com>
47590
47591         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47592         bits/timex.h.
47593
47594 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47595
47596         * iconv/iconv.h: Fix typo in comment.
47597         * io/fcntl.h: Likewise.
47598         * libio/stdio.h: Likewise.
47599         * posix/spawn.h: Likewise.
47600         * posix/unistd.h: Likewise.
47601         * stdlib/stdlib.h: Likewise.
47602         * time/time.h: Likewise.
47603         * wcsmbs/wchar.h: Likewise.
47604
47605         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47606         open_by_handle): Add.
47607         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47608         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
47609         Augment a few comments.
47610         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47611         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47612         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47613         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47614         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47615         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47616         open_by_handle.
47617
47618         * io/fcntl.h (AT_EMPTY_PATH): Define.
47619
47620 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
47621
47622         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47623         * sysdeps/unix/sysv/linux/bits/time.h: New file.
47624         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47625         to...
47626         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
47627         * Versions.def: Add GLIBC_2.14.
47628         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47629         Export.
47630
47631 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
47632
47633         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47634         round counter.
47635         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47636
47637 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47638
47639         [BZ #12597]
47640         * string/test-strncmp.c (do_page_test): New function.
47641         (check2): Likewise.
47642         (test_main): Call check2.
47643         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47644
47645 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
47646
47647         [BZ #12587]
47648         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47649         Handle cache information in CPU leaf 4.
47650         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47651
47652 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
47653
47654         [BZ #12583]
47655         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47656         character representation.
47657         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47658
47659 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
47660
47661         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47662         END(__isnan) to END(__isnanf) to match function entry point/label
47663         EALIGN(__isnanf,...).
47664
47665 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
47666
47667         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47668
47669 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
47670
47671         [BZ #12510]
47672         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47673         copy from the symbol referenced in the relocation to initialize the
47674         used variable.
47675         Patch by Piotr Bury <pbury@goahead.com>.
47676         * elf/Makefile: Add rules to build and tst-unique3.
47677         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47678         * elf/tst-unique3.cc: New file.
47679         * elf/tst-unique3.h: New file.
47680         * elf/tst-unique3lib.cc: New file.
47681         * elf/tst-unique3lib2.cc: New file.
47682
47683         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47684
47685 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
47686
47687         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47688         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
47689         to _start.
47690
47691 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
47692
47693         * elf/dl-load.c (_dl_map_object): If we are looking for the first
47694         to-be-loaded object along a path to loader is ld.so.
47695
47696 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
47697             Ulrich Drepper  <drepper@gmail.com>
47698
47699         * sysdeps/x86_64/memset.S: After aligning destination, code
47700         branches to different locations depending on the value of
47701         misalignment, when multiarch is enabled. Fix this.
47702
47703 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
47704
47705         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47706         Set _x86_64_preferred_memory_instruction for AMD processsors.
47707         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47708         Set bit_Prefer_SSE_for_memop for AMD processors.
47709
47710 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
47711
47712         * libio/fmemopen.c (fmemopen): Optimize a bit.
47713
47714 2011-03-03  Andreas Schwab  <schwab@redhat.com>
47715
47716         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47717
47718 2011-03-03  Roland McGrath  <roland@redhat.com>
47719
47720         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47721
47722 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
47723
47724         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47725         __bzero_ultra1 instead of __memset_ultra1.
47726
47727 2011-02-23  Andreas Schwab  <schwab@redhat.com>
47728             Ulrich Drepper  <drepper@gmail.com>
47729
47730         [BZ #12509]
47731         * include/link.h (struct link_map): Add l_orig_initfini.
47732         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47733         returning unsuccessfully.
47734         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47735         close of a file loaded at startup, restore the original l_initfini
47736         list.
47737         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47738         list, store the pointer.
47739         * elf/Makefile ($(objpfx)noload-mem): New rule.
47740         (noload-ENV): Define.
47741         (tests): Add $(objpfx)noload-mem.
47742         * elf/noload.c: Include <memcheck.h>.
47743         (main): Call mtrace.  Close all opened handles.
47744
47745 2011-02-17  Andreas Schwab  <schwab@redhat.com>
47746
47747         [BZ #12454]
47748         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47749         dependencies are missing.
47750
47751 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47752
47753         Fix __if_freereq crash: Unlike the generic version which uses free,
47754         Hurd needs munmap.
47755         * sysdeps/mach/hurd/ifreq.h: New file.
47756
47757 2011-01-27  Petr Baudis  <pasky@suse.cz>
47758             Ulrich Drepper  <drepper@gmail.com>
47759
47760         [BZ 12445]#
47761         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47762         to extend_alloca().
47763         * stdio-common/bug23.c: New file.
47764         * stdio-common/Makefile (tests): Add bug23.
47765
47766 2010-09-28  Andreas Schwab  <schwab@redhat.com>
47767             Ulrich Drepper  <drepper@gmail.com>
47768
47769         [BZ #12489]
47770         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47771         before performing relro protection.  At old place add assertion
47772         to make sure nothing changed.
47773
47774 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
47775             Glauber de Oliveira Costa  <glommer@gmail.com>
47776
47777         * elf/elf.h: Add new ARM TLS relocs.
47778
47779 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
47780
47781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47782         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47783         cast from r3.
47784         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
47785         'tests' variable.
47786         * sysdeps/wordsize-64/tst-writev.c: New file.
47787
47788 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
47789
47790         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47791         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47792         insns in _dl_start to prevent a TOC reference before relocs are
47793         resolved.
47794
47795 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
47796
47797         [BZ #12469]
47798         * Makeconfig: Remove RANLIB definition.
47799         * Makerules: Don't use RANLIB.
47800         * aclocal.m4: Remove ranlib test.
47801         * configure.in: No need to check for ranlib.
47802         * elf/rtld-Rules: Don't use RANLIB.
47803
47804 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47805
47806         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47807         protection macro.
47808         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47809         inclusion protection macro.
47810
47811         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47812         SIGRTMIN and SIGRTMAX and print information in that case only when
47813         SIGRTMIN is defined.
47814
47815 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
47816
47817         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47818         arginfo fn returning -1.
47819
47820         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47821         and thousands string is zero terminated.
47822
47823 2011-02-03  Andreas Schwab  <schwab@redhat.com>
47824
47825         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47826         sysdeps/unix/sysv/linux/bits/socket.h.
47827
47828 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47829
47830         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47831         (__CPU_COUNT): Remove old macros.
47832         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47833         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47834         (__CPU_ALLOC, __CPU_FREE): Add macros.
47835         (__sched_cpualloc, __sched_cpufree): Add declarations.
47836
47837 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
47838
47839         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47840         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47841         * nscd/aicache.c (addhstaiX): Return timeout of added value.
47842         (readdhstai): Return value of addhstaiX call.
47843         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47844         (addgrbyX): Return value returned by cache_addgr.
47845         (readdgrbyname): Return value returned by addgrbyX.
47846         (readdgrbygid): Likewise.
47847         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47848         (addpwbyX): Return value returned by cache_addpw.
47849         (readdpwbyname): Return value returned by addhstbyX.
47850         (readdpwbyuid): Likewise.
47851         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47852         (addservbyX): Return value returned by cache_addserv.
47853         (readdservbyname): Return value returned by addservbyX:
47854         (readdservbyport): Likewise.
47855         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47856         (addhstbyX): Return value returned by cache_addhst.
47857         (readdhstbyname): Return value returned by addhstbyX.
47858         (readdhstbyaddr): Likewise.
47859         (readdhstbynamev6): Likewise.
47860         (readdhstbyaddrv6): Likewise.
47861         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47862         (readdinitgroups): Return value returned by addinitgroupsX.
47863         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47864         (prune_cache): Keep track of timeout value of re-added entries.
47865         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47866         * nscd/nscd.h: Adjust prototypes of readd* functions.
47867
47868 2011-02-04  Roland McGrath  <roland@redhat.com>
47869
47870         * nis/nis_server.c (nis_servstate): Use the right name for 0.
47871         (nis_stats): Likewise.
47872         * nis/nis_modify.c (nis_modify): Likewise.
47873         * nis/nis_remove.c (nis_remove): Likewise.
47874         * nis/nis_add.c (nis_add): Likewise.
47875
47876         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47877
47878         * posix/fnmatch_loop.c: Add some consts.
47879
47880         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47881
47882 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
47883
47884         [BZ #12460]
47885         * config.make.in (config-cflags-novzeroupper): Define.
47886         * configure.in: Substitute libc_cv_cc_novzeroupper.
47887         * elf/Makefile (AVX-CFLAGS): Define.
47888         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47889         (CFLAGS-tst-auditmod4a.c): Likewise.
47890         (CFLAGS-tst-auditmod4b.c): Likewise.
47891         (CFLAGS-tst-auditmod6b.c): Likewise.
47892         (CFLAGS-tst-auditmod6c.c): Likewise.
47893         (CFLAGS-tst-auditmod7b.c): Likewise.
47894         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47895
47896 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
47897
47898         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47899         function to the callback.
47900         Patch partly by Jiri Olsa <jolsa@redhat.com>.
47901
47902 2011-02-02  Andreas Schwab  <schwab@redhat.com>
47903
47904         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47905         of errno.
47906
47907 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
47908
47909         [BZ #11724]
47910         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47911         of constructors.
47912         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47913         of destructors.
47914         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47915
47916         [BZ #11724]
47917         * elf/Makefile: Add rules to build and run new test.
47918         * elf/tst-initorder.c: New file.
47919         * elf/tst-initorder.exp: New file.
47920         * elf/tst-initordera1.c: New file.
47921         * elf/tst-initordera2.c: New file.
47922         * elf/tst-initordera3.c: New file.
47923         * elf/tst-initordera4.c: New file.
47924         * elf/tst-initorderb1.c: New file.
47925         * elf/tst-initorderb2.c: New file.
47926         * elf/tst-order-a1.c: New file.
47927         * elf/tst-order-a2.c: New file.
47928         * elf/tst-order-a3.c: New file.
47929         * elf/tst-order-a4.c: New file.
47930         * elf/tst-order-b1.c: New file.
47931         * elf/tst-order-b2.c: New file.
47932         * elf/tst-order-main.c: New file.
47933         New test case by George Gensure <werkt0@gmail.com>.
47934
47935 2010-10-01  Andreas Schwab  <schwab@redhat.com>
47936
47937         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47938         decoding ACE if AI_CANONIDN.
47939
47940 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
47941
47942         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47943
47944 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
47945
47946         * version.h (RELEASE): Bump for 2.13 release.
47947         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47948
47949         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47950
47951         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47952         MADV_NOHUGEPAGE.
47953         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47954         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47955         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47956         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47957         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47958         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47959
47960         * posix/getconf.c: Update copyright year.
47961         * catgets/gencat.c: Likewise.
47962         * csu/version.c: Likewise.
47963         * debug/catchsegv.sh: Likewise.
47964         * debug/xtrace.sh: Likewise.
47965         * elf/ldconfig.c: Likewise.
47966         * elf/ldd.bash.in: Likewise.
47967         * elf/sprof.c (print_version): Likewise.
47968         * iconv/iconv_prog.c: Likewise.
47969         * iconv/iconvconfig.c: Likewise.
47970         * locale/programs/locale.c: Likewise.
47971         * locale/programs/localedef.c: Likewise.
47972         * malloc/memusage.sh: Likewise.
47973         * malloc/mtrace.pl: Likewise.
47974         * nscd/nscd.c (print_version): Likewise.
47975         * nss/getent.c: Likewise.
47976
47977         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47978         PF_CAIF, and PF_ALG.
47979         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47980
47981 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
47982
47983         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47984         (modules-names): Use them.
47985         (ifunc-test-modules, ifunc-pie-tests): Define.
47986         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47987         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47988         (test-extras): Likewise.
47989         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47990         $(compile-command.c).
47991         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47992         (all-built-dso): Define.
47993         (check-textrel.out, check-execstack.out): Depend on it.
47994
47995         * configure.in: Don't override --enable-multi-arch.
47996
47997 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
47998
47999         [BZ #6812]
48000         * nscd/hstcache.c (tryagain): Define.
48001         (cache_addhst): Return tryagain not notfound for temporary errors.
48002         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48003         failed.
48004
48005 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
48006
48007         [BZ #10563]
48008         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48009         to make the syscall.
48010         * sysdeps/unix/sysv/linux/setgroups.c: New file.
48011
48012         [BZ #12378]
48013         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48014         and fall back to matching as normal character if the string ends before
48015         the matching ']' is found.  This is what POSIX requires.
48016         * posix/testfnm.c: Adjust test result.
48017         * posix/globtest.sh: Adjust test result.  Add new test.
48018         * posix/tst-fnmatch.input: Likewise.
48019         * posix/tst-fnmatch2.c: Add new test.
48020
48021 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
48022
48023         * elf/Makefile (check-execstack): Revert last change.  Depend on
48024         check-execstack.h.
48025         (check-execstack.h): New target.
48026         (generated): Add check-execstack.h.
48027         * elf/check-execstack.c: Include "check-execstack.h".
48028         (main): Revert last change.
48029         (handle_file): Return zero if GNU_STACK is absent and
48030         DEFAULT_STACK_PERMS doesn't include PF_X.
48031
48032 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
48033
48034         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48035         in child fails because the descriptor is already closed.
48036         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48037         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48038         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48039
48040         [BZ #12397]
48041         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48042         syscall.
48043
48044         [BZ #10484]
48045         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48046         temporary buffer used to handle multi lookups locally.
48047         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48048
48049 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48050
48051         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48052         loader is ld.so.
48053
48054 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
48055
48056         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48057         alignment for SSE2.
48058
48059 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48060
48061         [BZ #12394]
48062         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48063         characters.  When rounding increased number of integer digits recompute
48064         number of groups.
48065         * stdio-common/tst-grouping.c: New file.
48066         * stdio-common/Makefile: Add rules to build and run tst-grouping.
48067
48068 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
48069
48070         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48071         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
48072
48073         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48074         void.
48075         * bits/select.h: Likewise.
48076
48077 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
48078
48079         * po/ja.po: Update from translation team.
48080
48081 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
48082
48083         [BZ #11155]
48084         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48085         implementation just like for lxstat, fxstatat, et al.
48086
48087 2010-12-27  Jim Meyering  <meyering@redhat.com>
48088
48089         [BZ #12348]
48090         * posix/regexec.c (build_trtable): Return failure indication upon
48091         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
48092
48093 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
48094
48095         [BZ #12201]
48096         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48097         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48098         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48099         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48100
48101         [BZ #12207]
48102         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48103
48104         [BZ #12204]
48105         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48106         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48107
48108 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
48109
48110         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48111         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48112         script has SORT_BY_INIT_PRIORITY.
48113         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48114         NO_CTORS_DTORS_SECTIONS is defined.
48115         * elf/soinit.c: Likewise.
48116         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48117         NO_CTORS_DTORS_SECTIONS is defined.
48118         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48119         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48120         * sysdeps/sh/init-first.c: Likewise.
48121         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48122
48123 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
48124
48125         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48126         always use the slow path.
48127
48128 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
48129
48130         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48131         similar rule which adds the sysdep directories to the header search in
48132         order to pick up the correct platform stackinfo.h.
48133         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48134         perform test if it is, otherwise return successfully without testing.
48135         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48136         DEFAULT_STACK_PERMS define in stackinfo.h.
48137         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48138         defined in stackinfo.h.
48139         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48140         DEFAULT_STACK_PERMS defined in stackinfo.h.
48141         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48142         * sysdeps/ia64/stackinfo.h: Likewise.
48143         * sysdeps/s390/stackinfo.h: Likewise.
48144         * sysdeps/sh/stackinfo.h: Likewise.
48145         * sysdeps/sparc/stackinfo.h: Likewise.
48146         * sysdeps/x86_64/stackinfo.h: Likewise.
48147         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48148         PF_X for powerpc64.  Retain PF_X for powerpc32.
48149
48150 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
48151
48152         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48153         accurately.
48154         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48155         GETDENTS_64BIT_ALIGNED.
48156
48157 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
48158
48159         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48160
48161 2010-12-10  Andreas Schwab  <schwab@redhat.com>
48162
48163         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48164         _GNU_SOURCE.
48165
48166         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48167         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48168         Remove __restrict.
48169         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48170         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48171
48172 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
48173
48174         [BZ #11655]
48175         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48176         are initialized.
48177
48178 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
48179
48180         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48181
48182 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
48183
48184         * po/it.po: Update from translation team.
48185
48186 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
48187
48188         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48189         unused codes.
48190
48191 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
48192
48193         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48194
48195 2010-11-24  Andreas Schwab  <schwab@redhat.com>
48196
48197         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48198         specially.
48199         (gaih_getanswer_slice): Likewise.
48200
48201 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
48202
48203         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48204
48205 2010-05-31  Petr Baudis  <pasky@suse.cz>
48206
48207         [BZ #11149]
48208         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48209         silently even in the chroot mode.
48210
48211 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
48212
48213         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48214         last patch a bit.  Pretty printing
48215
48216 2010-05-31  Petr Baudis <pasky@suse.cz>
48217
48218         [BZ #10085]
48219         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48220         initialization of skip_initgroups_dyn.
48221
48222 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
48223
48224         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48225         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48226
48227 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
48228
48229         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48230
48231 2010-11-11  Andreas Schwab  <schwab@redhat.com>
48232
48233         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48234         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48235         (tst-fnmatch-ENV): Set MALLOC_TRACE.
48236         ($(objpfx)tst-fnmatch-mem): New rule.
48237         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48238         * posix/tst-fnmatch.c (main): Call mtrace.
48239
48240 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
48241
48242         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48243         Support Intel processor model 6 and model 0x2c.
48244
48245 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
48246
48247         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48248           signed comparison.
48249
48250 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
48251
48252         [BZ #12205]
48253         * string/test-strncasecmp.c (check_result): New function.
48254         (do_one_test): Use it.
48255         (check1): New function.
48256         (test_main): Use it.
48257         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48258         Support strcasecmp and strncasecmp.
48259
48260 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
48261
48262         [BZ #12194]
48263         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48264         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48265
48266 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
48267
48268         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48269         IFUNC support.
48270         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48271         memset-x86-64.
48272         * sysdeps/x86_64/multiarch/bzero.S: New file.
48273         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48274         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48275         * sysdeps/x86_64/multiarch/memset.S: New file.
48276         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48277         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48278         Set bit_Prefer_SSE_for_memop for Intel processors.
48279         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48280         Define.
48281         (index_Prefer_SSE_for_memop): Define.
48282         (HAS_PREFER_SSE_FOR_MEMOP): Define.
48283
48284 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
48285
48286         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48287         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48288
48289 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
48290
48291         [BZ #12191]
48292         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48293         (__x86_64_raw_data_cache_size_half): Likewise.
48294         (__x86_64_raw_shared_cache_size): Likewise.
48295         (__x86_64_raw_shared_cache_size_half): Likewise.
48296
48297         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48298         (__x86_64_raw_data_cache_size_half): Likewise.
48299         (__x86_64_raw_shared_cache_size): Likewise.
48300         (__x86_64_raw_shared_cache_size_half): Likewise.
48301         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48302         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48303         and __x86_64_raw_shared_cache_size_half.  Round
48304         __x86_64_data_cache_size_half, __x86_64_data_cache_size
48305         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48306         to multiple of 256 bytes.
48307
48308 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
48309
48310         [BZ #12167]
48311         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48312         of inacessible symlinks.  Verify result of symlink before returning it.
48313         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48314         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48315
48316 2010-10-28  Erich Ritz  <erichritz@gmail.com>
48317
48318         * math/math.h (isinf): Fix typo in comment.
48319
48320 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
48321
48322         * po/da.po: Update from translation team.
48323
48324 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
48325
48326         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48327         is added to the list.
48328
48329 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48330             Ulrich Drepper  <drepper@gmail.com>
48331
48332         * elf/dl-object.c (_dl_new_object): Don't append the new object to
48333         the global list here.  Move code to...
48334         (_dl_add_to_namespace_list): ...here.  New function.
48335         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48336         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48337         * elf/dl-load.c (lose): Don't remove the element from the list.
48338         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48339         (_dl_map_object): Likewise.
48340
48341 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
48342
48343         [BZ #12159]
48344         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48345         into all bytes of SSE register.
48346         Patch by Richard Li <richardpku@gmail.com>.
48347
48348 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
48349
48350         [BZ #12140]
48351         * malloc/malloc.c (_int_free): Fill correct number of bytes when
48352         perturbing.
48353
48354 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
48355
48356         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48357         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48358         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48359         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48361         submachine.
48362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48363
48364 2010-10-22  Andreas Schwab  <schwab@redhat.com>
48365
48366         * include/dlfcn.h (__RTLD_SECURE): Define.
48367         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
48368         mode & __RTLD_SECURE instead.
48369         (open_path): Rename preloaded parameter to secure.
48370         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48371         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48372         * elf/dl-deps.c (openaux): Likewise.
48373         * elf/rtld.c (struct map_args): Remove is_preloaded.
48374         (map_doit): Don't use it.
48375         (dl_main): Likewise.
48376         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48377         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48378
48379 2010-09-09  Andreas Schwab  <schwab@redhat.com>
48380
48381         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48382         (sysd-rules-targets): Remove duplicates.
48383         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48384         rtld-%.$o dependency.
48385
48386 2010-10-18  Andreas Schwab  <schwab@redhat.com>
48387
48388         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48389         _dl_map_object do it.
48390
48391 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
48392
48393         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48394         fast fma builtins, define the macros in the C99 standard.
48395         (FP_FAST_FMAF): Likewise.
48396         (FP_FAST_FMAL): Likewise.
48397         * sysdeps/x86_64/bits/mathdef.h: Likewise.
48398
48399         * bits/mathdef.h: Update copyright year.
48400         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48401
48402 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
48403
48404         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48405         builtins, define the macros in the C99 standard.
48406         (FP_FAST_FMAF): Likewise.
48407         (FP_FAST_FMAL): Likewise.
48408         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48409         multiply/add.
48410         (FP_FAST_FMAF): Likewise.
48411
48412 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
48413
48414         [BZ #3268]
48415         * math/libm-test.inc (fma_test): Some new testcases.
48416         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48417         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48418         y and infinite z.  Do multiplication by C already in long double.
48419         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48420         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48421         y and infinite z.  Do bitwise or of inexact bit into u.d.
48422         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48423         * sysdeps/i386/fpu/s_fmaf.S: Removed.
48424         * sysdeps/i386/fpu/s_fma.S: Removed.
48425         * sysdeps/i386/fpu/s_fmal.S: Removed.
48426
48427 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
48428
48429         [BZ #3268]
48430         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48431         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48432         computation is not scheduled after fetestexcept.  Fix value
48433         of minimum denormal long double.
48434
48435 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
48436
48437         [BZ #3268]
48438         * math/libm-test.inc (fma_test): Add some more tests.
48439         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48440         correctly.
48441
48442 2010-10-15  Andreas Schwab  <schwab@redhat.com>
48443
48444         * scripts/data/localplt-s390-linux-gnu.data: New file.
48445         * scripts/data/localplt-s390x-linux-gnu.data: New file.
48446
48447 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
48448
48449         [BZ #3268]
48450         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48451         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48452         instead of dbl-64.
48453         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48454         inlines.
48455         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48456         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48457         if one of x and y is very large and the other is subnormal.
48458         * sysdeps/s390/fpu/s_fmaf.c: New file.
48459         * sysdeps/s390/fpu/s_fma.c: New file.
48460         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48461         * sysdeps/powerpc/fpu/s_fma.S: New file.
48462         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48463         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48464         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48465
48466 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
48467
48468         [BZ #3268]
48469         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48470         fma tests.
48471         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48472         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48473         * sysdeps/i386/i686/multiarch/s_fma.c: Include
48474         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48475         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48476         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48477         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48478
48479 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
48480
48481         [BZ #12078]
48482         * posix/regcomp.c (parse_branch): One more memory leak plugged.
48483         * posix/bug-regex31.input: Add test case.
48484
48485 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
48486
48487         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48488         * posix/bug-regex31.input: New file.
48489
48490         [BZ #12078]
48491         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48492         (parse_sub_exp): Fix last change, use postorder.
48493
48494         * posix/bug-regex31.c: New file.
48495         * posix/Makefile: Add rules to build and run bug-regex31.
48496
48497         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48498
48499         [BZ #12078]
48500         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48501
48502         [BZ #12108]
48503         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48504         to have entries in sys_siglist.
48505
48506         [BZ #12093]
48507         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48508         be NULL.
48509
48510 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
48511
48512         [BZ #3268]
48513         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48514         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48515         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48516         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48517         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48518         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48519         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48520         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48521         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48522         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48523         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48524         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48525         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48526         * math/ftestexcept.c (fetestexcept): Likewise.
48527         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48528         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48529         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48530         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48531         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48532         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48533         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48534
48535 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
48536
48537         [BZ #12107]
48538         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48539         newline.
48540
48541 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
48542
48543         * string/bug-strstr1.c: New file.
48544         * string/Makefile: Add rules to build and run bug-strstr1.
48545
48546 2010-10-05  Eric Blake  <eblake@redhat.com>
48547
48548         [BZ #12092]
48549         * string/str-two-way.h (two_way_long_needle): Always clear memory
48550         when skipping input due to the shift table.
48551
48552 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
48553
48554         [BZ #12005]
48555         * malloc/mcheck.c: Handle large requests.
48556
48557         [BZ #12077]
48558         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48559         for strncmp and strncasecmp.
48560         * string/stratcliff.c: Add tests for strcmp and strncmp.
48561         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48562
48563 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48564
48565         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48566         __set_fpscr.
48567
48568 2010-09-30  Andreas Jaeger  <aj@suse.de>
48569
48570         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48571         (CGROUP_SUPER_MAGIC): Define.
48572         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48573         Handle btrfs and cgroup file systems.
48574         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48575         Likewise.
48576
48577 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
48578
48579         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48580         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48581
48582 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48583
48584         [BZ #12067]
48585         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48586         trying to locate the ELF header.
48587
48588 2010-09-27  Andreas Schwab  <schwab@redhat.com>
48589
48590         [BZ #11611]
48591         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48592         Mask out sign-bit copies when constructing f_fsid.
48593
48594 2010-09-24  Petr Baudis <pasky@suse.cz>
48595
48596         * debug/stack_chk_fail_local.c: Add missing licence exception.
48597         * debug/warning-nop.c: Likewise.
48598
48599 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
48600
48601         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48602         implementing getdents64 using getdents syscall, set d_type if
48603         __ASSUME_GETDENTS32_D_TYPE.
48604
48605 2010-09-16  Andreas Schwab  <schwab@redhat.com>
48606
48607         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48608         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48609
48610 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
48611
48612         [BZ #12037]
48613         * posix/unistd.h: Undo change of feature selection for ftruncate from
48614         2010-01-11.
48615
48616 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
48617
48618         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48619         detection.
48620
48621 2010-09-20  Andreas Schwab  <schwab@redhat.com>
48622
48623         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48624         fanotify_mark.
48625         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48626
48627 2010-09-14  Andreas Schwab  <schwab@redhat.com>
48628
48629         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48630         variables after CHECK_SP call.
48631         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48632
48633 2010-09-13  Andreas Schwab  <schwab@redhat.com>
48634             Ulrich Drepper  <drepper@redhat.com>
48635
48636         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48637         re-relocationg ld.so.
48638         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48639         _dl_init_paths call.
48640         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
48641         here anymore.
48642
48643 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
48644
48645         * resolv/res_init.c (__res_vinit): Count the default server we added.
48646
48647 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
48648             Ulrich Drepper  <drepper@redhat.com>
48649
48650         [BZ #11968]
48651         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48652         (____longjmp_chk): Use %ebx for saving value across system call.
48653         Add unwind info.
48654
48655 2010-09-06  Andreas Schwab  <schwab@redhat.com>
48656
48657         * manual/Makefile: Don't mix pattern rules with normal rules.
48658
48659 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
48660
48661         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48662         operation.
48663         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48664         * libio/iofopncook.c (_IO_cookie_init): Likewise.
48665         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48666         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48667         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48668         Likewise.
48669
48670 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
48671
48672         [BZ #11979]
48673         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48674         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48675
48676 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
48677
48678         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48679         * sysdeps/x86_64/addmul_1.S: Likewise.
48680         * sysdeps/x86_64/lshift.S: Likewise.
48681         * sysdeps/x86_64/mul_1.S: Likewise.
48682         * sysdeps/x86_64/rshift.S: Likewise.
48683         * sysdeps/x86_64/sub_n.S: Likewise.
48684         * sysdeps/x86_64/submul_1.S: Likewise.
48685
48686 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48687
48688         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48689         Define __sched_param instead of SCHED_* and sched_param when
48690         <bits/sched.h> is included with __need_schedparam defined.
48691         * bits/sched.h [__need_schedparam]
48692         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48693         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48694         (__defined_schedparam): Define to 1.
48695         (__sched_param): New structure, identical to sched_param.
48696         (__need_schedparam): Undefine.
48697
48698 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
48699
48700         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48701         (epoll_create1): Declare.
48702
48703         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48704
48705 2010-08-31  Andreas Schwab  <schwab@redhat.com>
48706
48707         [BZ #7066]
48708         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48709         shifting retval into place.
48710
48711 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
48712
48713         * nis/rpcsvc/nis.h: Update copyright notice.
48714         * nis/rpcsvc/nis.x: Likewise.
48715         * nis/rpcsvc/nis_callback.h: Likewise.
48716         * nis/rpcsvc/nis_callback.x: Likewise.
48717         * nis/rpcsvc/nis_object.x: Likewise.
48718         * nis/rpcsvc/nis_tags.h: Likewise.
48719         * nis/rpcsvc/yp.h: Likewise.
48720         * nis/rpcsvc/yp.x: Likewise.
48721         * nis/rpcsvc/ypupd.h: Likewise.
48722         * nis/yp_xdr.c: Likewise.
48723         * nis/ypupdate_xdr.c: Likewise.
48724
48725         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
48726         mainly the body of pmap_getport.  Add parameters to specify timeouts.
48727         (pmap_getport): Use __libc_rpc_getport.
48728         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48729         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48730         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48731
48732 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
48733
48734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48735         fanotify_mark.
48736
48737 2010-08-27  Roland McGrath  <roland@redhat.com>
48738
48739         * sysdeps/i386/i686/multiarch/Makefile
48740         (CFLAGS-varshift.c): New variable.
48741
48742 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
48743
48744         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48745         * sysdeps/i386/i686/multiarch/varshift.c: New file.
48746
48747         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48748
48749         * sysdeps/x86_64/strlen.S: Minimal code improvement.
48750
48751 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
48752
48753         * sysdeps/x86_64/strlen.S: Unroll the loop.
48754         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48755         strlen-sse2 strlen-sse2-bsf.
48756         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48757         __strlen_no_bsf if bit_Slow_BSF is set.
48758         (__strlen_sse42): Removed.
48759         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48760         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48761
48762 2010-08-25  Roland McGrath  <roland@redhat.com>
48763
48764         * sysdeps/x86_64/multiarch/varshift.S: File removed.
48765         * sysdeps/x86_64/multiarch/varshift.c: New file.
48766         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48767         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48768         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48769         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48770
48771 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
48772
48773         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48774         strlen-sse2 strlen-sse2-bsf.
48775         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48776         __strlen_sse2_bsf if bit_Slow_BSF is unset.
48777         (__strlen_sse2): Removed.
48778         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48779         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48780         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48781         bit_Slow_BSF for Atom.
48782         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48783         (index_Slow_BSF): Define.
48784         (HAS_SLOW_BSF): Define.
48785
48786 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
48787
48788         [BZ #10851]
48789         * resolv/res_init.c (__res_vinit): When no server address at all
48790         is given default to loopback.
48791
48792 2010-08-24  Roland McGrath  <roland@redhat.com>
48793
48794         * configure.in: Remove config-name.h generation.
48795         * configure: Regenerated.
48796         * config-name.in: File removed.
48797         * scripts/config-uname.sh: New file.
48798         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48799         ($(objdir)config-name.h): New target.
48800
48801         * sunrpc/rpc_parse.h: Avoid nested comment.
48802
48803 2010-08-24  Richard Henderson  <rth@redhat.com>
48804             Ulrich Drepper  <drepper@redhat.com>
48805             H.J. Lu  <hongjiu.lu@intel.com>
48806
48807         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48808         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48809         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48810         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
48811         _mm_alignr_epi8 with _mm_loadu_si128.
48812         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48813         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48814         (__m128i_shift_right): Removed.
48815         * sysdeps/i386/i686/multiarch/varshift.h: New file.
48816         * sysdeps/i386/i686/multiarch/varshift.S: New file.
48817         * sysdeps/x86_64/multiarch/varshift.h: New file.
48818         * sysdeps/x86_64/multiarch/varshift.S: New file.
48819
48820 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
48821
48822         * configure.in: Move assembler checks to before sysdep dir checking.
48823
48824 2010-08-20  Petr Baudis  <pasky@suse.cz>
48825
48826         * LICENSES: Sync the sunrpc license.
48827
48828 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
48829
48830         * sunrpc/auth_des.c: Update copyright notice once again.
48831         * sunrpc/auth_none.c: Likewise.
48832         * sunrpc/auth_unix.c: Likewise.
48833         * sunrpc/authdes_prot.c: Likewise.
48834         * sunrpc/authuxprot.c: Likewise.
48835         * sunrpc/bindrsvprt.c: Likewise.
48836         * sunrpc/clnt_gen.c: Likewise.
48837         * sunrpc/clnt_perr.c: Likewise.
48838         * sunrpc/clnt_raw.c: Likewise.
48839         * sunrpc/clnt_simp.c: Likewise.
48840         * sunrpc/clnt_tcp.c: Likewise.
48841         * sunrpc/clnt_udp.c: Likewise.
48842         * sunrpc/clnt_unix.c: Likewise.
48843         * sunrpc/des_crypt.c: Likewise.
48844         * sunrpc/des_soft.c: Likewise.
48845         * sunrpc/get_myaddr.c: Likewise.
48846         * sunrpc/getrpcport.c: Likewise.
48847         * sunrpc/key_call.c: Likewise.
48848         * sunrpc/key_prot.c: Likewise.
48849         * sunrpc/openchild.c: Likewise.
48850         * sunrpc/pm_getmaps.c: Likewise.
48851         * sunrpc/pm_getport.c: Likewise.
48852         * sunrpc/pmap_clnt.c: Likewise.
48853         * sunrpc/pmap_prot.c: Likewise.
48854         * sunrpc/pmap_prot2.c: Likewise.
48855         * sunrpc/pmap_rmt.c: Likewise.
48856         * sunrpc/rpc/auth.h: Likewise.
48857         * sunrpc/rpc/auth_unix.h: Likewise.
48858         * sunrpc/rpc/clnt.h: Likewise.
48859         * sunrpc/rpc/des_crypt.h: Likewise.
48860         * sunrpc/rpc/key_prot.h: Likewise.
48861         * sunrpc/rpc/netdb.h: Likewise.
48862         * sunrpc/rpc/pmap_clnt.h: Likewise.
48863         * sunrpc/rpc/pmap_prot.h: Likewise.
48864         * sunrpc/rpc/pmap_rmt.h: Likewise.
48865         * sunrpc/rpc/rpc.h: Likewise.
48866         * sunrpc/rpc/rpc_des.h: Likewise.
48867         * sunrpc/rpc/rpc_msg.h: Likewise.
48868         * sunrpc/rpc/svc.h: Likewise.
48869         * sunrpc/rpc/svc_auth.h: Likewise.
48870         * sunrpc/rpc/types.h: Likewise.
48871         * sunrpc/rpc/xdr.h: Likewise.
48872         * sunrpc/rpc_clntout.c: Likewise.
48873         * sunrpc/rpc_cmsg.c: Likewise.
48874         * sunrpc/rpc_common.c: Likewise.
48875         * sunrpc/rpc_cout.c: Likewise.
48876         * sunrpc/rpc_dtable.c: Likewise.
48877         * sunrpc/rpc_hout.c: Likewise.
48878         * sunrpc/rpc_main.c: Likewise.
48879         * sunrpc/rpc_parse.c: Likewise.
48880         * sunrpc/rpc_parse.h: Likewise.
48881         * sunrpc/rpc_prot.c: Likewise.
48882         * sunrpc/rpc_sample.c: Likewise.
48883         * sunrpc/rpc_scan.c: Likewise.
48884         * sunrpc/rpc_scan.h: Likewise.
48885         * sunrpc/rpc_svcout.c: Likewise.
48886         * sunrpc/rpc_tblout.c: Likewise.
48887         * sunrpc/rpc_util.c: Likewise.
48888         * sunrpc/rpc_util.h: Likewise.
48889         * sunrpc/rpcinfo.c: Likewise.
48890         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48891         * sunrpc/rpcsvc/key_prot.x: Likewise.
48892         * sunrpc/rpcsvc/klm_prot.x: Likewise.
48893         * sunrpc/rpcsvc/mount.x: Likewise.
48894         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48895         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48896         * sunrpc/rpcsvc/rex.x: Likewise.
48897         * sunrpc/rpcsvc/rstat.x: Likewise.
48898         * sunrpc/rpcsvc/rusers.x: Likewise.
48899         * sunrpc/rpcsvc/sm_inter.x: Likewise.
48900         * sunrpc/rpcsvc/spray.x: Likewise.
48901         * sunrpc/rpcsvc/yppasswd.x: Likewise.
48902         * sunrpc/rtime.c: Likewise.
48903         * sunrpc/svc.c: Likewise.
48904         * sunrpc/svc_auth.c: Likewise.
48905         * sunrpc/svc_authux.c: Likewise.
48906         * sunrpc/svc_raw.c: Likewise.
48907         * sunrpc/svc_run.c: Likewise.
48908         * sunrpc/svc_simple.c: Likewise.
48909         * sunrpc/svc_tcp.c: Likewise.
48910         * sunrpc/svc_udp.c: Likewise.
48911         * sunrpc/svc_unix.c: Likewise.
48912         * sunrpc/svcauth_des.c: Likewise.
48913         * sunrpc/xcrypt.c: Likewise.
48914         * sunrpc/xdr.c: Likewise.
48915         * sunrpc/xdr_array.c: Likewise.
48916         * sunrpc/xdr_float.c: Likewise.
48917         * sunrpc/xdr_mem.c: Likewise.
48918         * sunrpc/xdr_rec.c: Likewise.
48919         * sunrpc/xdr_ref.c: Likewise.
48920         * sunrpc/xdr_sizeof.c: Likewise.
48921         * sunrpc/xdr_stdio.c: Likewise.
48922
48923         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48924         handling.
48925
48926 2010-08-19  Andreas Schwab  <schwab@redhat.com>
48927
48928         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48929
48930 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
48931
48932         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48933         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48934         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48935         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48936         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48937         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48938         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48939         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48940         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48941         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48942         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48943         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48944         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48945         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48946
48947 2010-07-26  Anton Blanchard  <anton@samba.org>
48948
48949         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48950         * malloc/arena.c (heap_trim): Likewise.
48951
48952 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
48953
48954         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48955         here.  Not...
48956         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48957         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48958
48959 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
48960
48961         * sysdeps/i386/elf/Makefile: New file.
48962
48963 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
48964
48965         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48966         from fanotify_init.
48967         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48968         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48969
48970 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
48971
48972         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48973         of strncasecmp_l.
48974         * sysdeps/multiarch/strcmp.S: Likewise.
48975
48976 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
48977
48978         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48979         strncase_l-nonascii.
48980         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48981         Add strncase_l-ssse3.
48982         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48983         * sysdeps/x86_64/strcmp.S: Likewise.
48984         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48985         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48986         * sysdeps/x86_64/strncase.S: New file.
48987         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48988         * sysdeps/x86_64/strncase_l.S: New file.
48989         * string/Makefile (strop-tests): Add strncasecmp.
48990         * string/test-strncasecmp.c: New file.
48991
48992         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48993         warning.
48994
48995         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48996         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48997
48998 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
48999
49000         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49001
49002 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
49003
49004         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49005         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49006         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49007
49008 2010-05-01  Alan Modra  <amodra@gmail.com>
49009
49010         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49011         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49012         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49013         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49014         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49015         tidying.  Don't tail-call __sigjmp_save for static lib.
49016         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49017         save location.
49018         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49019         (CALL_MCOUNT): Add eh info, and nop after bl.
49020         (TAIL_CALL_SYSCALL_ERROR): New macro.
49021         (PSEUDO_RET): Use it.
49022         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49023         Correct save location of integer regs and cr.
49024         (_dl_profile_resolve): Correct cr save location.  Delete nops
49025         after bl when SHARED.  Reduce cfi size a little by better
49026         placement of cfi directives.
49027         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49028         make a stack frame.  Instead use parm save area as a temp.
49029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49030         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
49031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49032         Don't make a stack frame for parent, use parm save area.
49033         Increase child stack frame to 112 bytes.  Don't save unused reg,
49034         and adjust reg usage.  Set up cfi on error recovery and
49035         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49037         (__makecontext): Add dummy nop after jump to exit.
49038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49039         Use correct parm save area and cr save, reduce stack frame.
49040         Correct cfi for possible PSEUDO_RET frame setup.
49041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49042         Branch to local label emitted by PSEUDO_RET rather than
49043         __syscall_error.
49044
49045 2010-08-12  Andreas Schwab  <schwab@redhat.com>
49046
49047         [BZ #11904]
49048         * locale/programs/locale.c (print_assignment): New function.
49049         (show_locale_vars): Use it.
49050
49051 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
49052
49053         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49054         field.
49055         (struct statfs64): Likewise.
49056         (_STATFS_F_FLAGS): Define.
49057         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49058         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49059         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49060         (ST_VALID): Define locally.
49061         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49062         __statvfs_getflags, use the provided value.
49063         * sysdeps/unix/sysv/linux/kernel-features.h: Define
49064         __ASSUME_STATFS_F_FLAGS.
49065
49066         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49067
49068         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49069         Add sys/fanotify.h.
49070         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49071         fanotify_mask for GLIBC_2.13.
49072         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49073         fanotify_init and fanotify_mark.
49074         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49075         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49076
49077         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49078         Add prlimit.
49079         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49080         prlimit64 for GLIBC_2.13.
49081         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49082         prlimit64.
49083         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49084         syscall.
49085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49086         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49087         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49088         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49089         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
49090         add prlimit alias.
49091         * sysdeps/unix/sysv/linux/prlimit.c: New file.
49092
49093         [BZ #11903]
49094         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49095         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49096
49097         * nss/Makefile: Add rules to build and run tst-nss-test1.
49098         * shlib-versions: Add entry for libnss_test1.
49099         * nss/nss_test1.c: New file.
49100         * nss/tst-nss-test1.c: New file.
49101
49102         * nss/nsswitch.c (__nss_database_custom): Define new variable.
49103         (__nss_configure_lookup): Set appropriate entry in
49104         __nss_configure_lookup to true.
49105         * nss/nsswitch.h: Define enum with indeces of databases in
49106         databases and __nss_database_custom arrays.  Declare
49107         __nss_database_custom.
49108         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49109         to avoid using nscd when custom rules are installed.
49110         * nss/getXXbyYY_r.c: Likewise.
49111         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49112
49113         * nss/nss_files/files-parse.c: Whitespace fixes.
49114
49115 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
49116
49117         [BZ #11883]
49118         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49119         * posix/fnmatch_loop.c: Likewise.
49120
49121 2010-07-17  Andi Kleen  <ak@linux.intel.com>
49122
49123         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49124         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49125         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49126         * Versions.def [GLIBC_2.13]: Add.
49127
49128 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
49129
49130         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49131         Also fail if tpwd after pwuid call is NULL.
49132
49133 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49134
49135         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49136         when converting to ms.
49137
49138 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49139
49140         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49141         EOPNOTSUPP errors with ENOTTY.
49142         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49143         EOPNOTSUPP errors with ENOTTY.
49144
49145 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
49146
49147         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49148         Add strcasecmp_l-ssse3.
49149         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49150         strcasecmp.
49151         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49152         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49153         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49154
49155 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
49156
49157         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49158
49159         * string/Makefile (strop-tests): Add strcasecmp.
49160         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49161         strcasecmp_l-nonascii.
49162         (gen-as-const-headers): Add locale-defines.sym.
49163         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49164         * sysdeps/x86_64/strcasecmp.S: New file.
49165         * sysdeps/x86_64/strcasecmp_l.S: New file.
49166         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49167         * sysdeps/x86_64/locale-defines.sym: New file.
49168         * string/test-strcasecmp.c: New file.
49169
49170         * string/test-strcasestr.c: Test both ends of the range of characters.
49171         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49172
49173 2010-07-29  Roland McGrath  <roland@redhat.com>
49174
49175         [BZ #11856]
49176         * manual/locale.texi (Yes-or-No Questions): Fix example code.
49177
49178 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
49179
49180         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49181         for ld.so.
49182
49183 2010-07-27  Andreas Schwab  <schwab@redhat.com>
49184
49185         * manual/memory.texi (Malloc Tunable Parameters): Document
49186         M_PERTURB.
49187
49188 2010-07-26  Roland McGrath  <roland@redhat.com>
49189
49190         [BZ #11840]
49191         * configure.in (-fgnu89-inline check): Set and substitute
49192         gnu89_inline, not libc_cv_gnu89_inline.
49193         * configure: Regenerated.
49194         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49195
49196 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
49197
49198         * string/test-strnlen.c: New file.
49199         * string/Makefile (strop-tests): Add strnlen.
49200         * string/tester.c (test_strnlen): Add a few more test cases.
49201         * string/tst-strlen.c: Better error reporting.
49202
49203         * sysdeps/x86_64/strnlen.S: New file.
49204
49205 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
49206
49207         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49208         lower-latency instructions.
49209
49210 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
49211
49212         * string/test-strcasestr.c: New file.
49213         * string/test-strstr.c: New file.
49214         * string/Makefile (strop-tests): Add strstr and strcasestr.
49215         * string/str-two-way.h: Don't undefine MAX.
49216         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49217
49218 2010-07-21  Andreas Schwab  <schwab@redhat.com>
49219
49220         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49221         strcasestr-nonascii.
49222         (CFLAGS-strcasestr-nonascii.c): Define.
49223         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49224         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49225         Remove unused attribute.
49226
49227 2010-07-20  Roland McGrath  <roland@redhat.com>
49228
49229         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49230         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
49231         ld.so.cache was broken.  With it, there is no way to disable dsocaps
49232         like LD_HWCAP_MASK can disable hwcaps.
49233
49234 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49235
49236         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49237
49238 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
49239
49240         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49241         call in strcasestr.
49242         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49243         __strcasestr_sse42_nonascii.
49244         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49245         strcasestr-nonascii.c.
49246         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49247
49248 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
49249
49250         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49251         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49252         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49253         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49254
49255 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
49256
49257         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49258         fcntl.
49259
49260 2010-07-06  Andreas Schwab  <schwab@redhat.com>
49261
49262         [BZ #11577]
49263         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49264         dl_signal_cerror.
49265
49266 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
49267
49268         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49269         _PC_PIPE_BUF using F_GETPIPE_SZ.
49270
49271 2010-07-05  Roland McGrath  <roland@redhat.com>
49272
49273         * manual/arith.texi (Rounding Functions): Fix rint description
49274         implicit in round description.
49275
49276 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
49277
49278         * elf/Makefile: Fix linking for a few tests to make recent linker
49279         happy.
49280
49281 2010-06-30  Andreas Schwab  <schwab@redhat.com>
49282
49283         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49284         $(common-objpfx)libc_nonshared.a.
49285
49286 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
49287
49288         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49289         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49290         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49291         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49292         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49293         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49294         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49295         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49310         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49311         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49312         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49313         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49314         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49315         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49316         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49317         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49318         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49319         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49320         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49321         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49336
49337 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
49338
49339         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49340         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
49341         * string/memmove.c (memmove): Renamed to ...
49342         (MEMMOVE): ...this.  Default to memmove.
49343         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49344         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49345         (END_CHK): Define.
49346         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49347         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49348         mempcpy-ssse3-back memmove-ssse3-back.
49349         * sysdeps/x86_64/multiarch/bcopy.S: New file .
49350         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49351         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49352         * sysdeps/x86_64/multiarch/memcpy.S: New file.
49353         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49354         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49355         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49356         * sysdeps/x86_64/multiarch/memmove.c: New file.
49357         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49358         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49359         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49360         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49361         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49362         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49363         Define.
49364         (index_Fast_Copy_Backward): Define.
49365         (HAS_ARCH_FEATURE): Define.
49366         (HAS_FAST_REP_STRING): Define.
49367         (HAS_FAST_COPY_BACKWARD): Define.
49368
49369 2010-06-21  Andreas Schwab  <schwab@redhat.com>
49370
49371         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49372         Restore proper fallback handling.
49373
49374 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
49375
49376         [BZ #11701]
49377         * posix/group_member.c (__group_member): Correct checking loop.
49378
49379         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49380         OOM in getpwuid_r correctly.  Return error number when the caller
49381         should return, otherwise -1.
49382         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49383         call returning > 0 value.
49384         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49385
49386 2010-06-07  Andreas Schwab  <schwab@redhat.com>
49387
49388         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49389         libc_nonshared.a from targets in modules-names.
49390
49391 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
49392
49393         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49394         requires it.
49395
49396 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
49397
49398         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49399         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49400         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49401         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49402
49403 2010-06-02  Andreas Schwab  <schwab@redhat.com>
49404
49405         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49406
49407 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
49408
49409         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49410         and F_GETPIPE_SZ.
49411         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49412         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49413         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49414         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49415         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49416         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49417
49418 2010-06-14  Roland McGrath  <roland@redhat.com>
49419
49420         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49421
49422 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
49423
49424         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49425         __REDIRECT followed by __THROW.
49426         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49427         * posix/getopt.h (getopt): Likewise.
49428
49429 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49430
49431         * hurd/lookup-at.c (__file_name_lookup_at): Accept
49432         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
49433         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49434         in AT_FLAGS.
49435         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49436         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49437
49438 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
49439
49440         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49441
49442 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
49443
49444         [BZ #11640]
49445         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49446         Properly check family and model.
49447
49448 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
49449
49450         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49451
49452 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
49453
49454         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49455
49456 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
49457
49458         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49459         symbol reference.
49460
49461 2010-05-19  Andreas Schwab  <schwab@redhat.com>
49462
49463         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49464         symbol reference.
49465
49466 2010-05-21  Andreas Schwab  <schwab@redhat.com>
49467
49468         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49469         and internal_recvmmsg.
49470         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49471         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49472         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49473         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49474
49475         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49476         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49477         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49478
49479 2010-05-20  Andreas Schwab  <schwab@redhat.com>
49480
49481         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49482
49483 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
49484
49485         POWER7 optimizations.
49486         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49487         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49488
49489 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
49490
49491         * version.h: Update for 2.13 development version.
49492
49493 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
49494
49495         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49496         exceptions.  Return 0.
49497
49498 2010-05-07  Roland McGrath  <roland@redhat.com>
49499
49500         * elf/ldconfig.c (main): Add a const.
49501
49502 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
49503
49504         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49505         (args_options): Add no-idn option.
49506         (ahosts_keys_int): Add idn_flags to ai_flags.
49507         (parse_option): Handle 'i' option to clear idn_flags.
49508
49509         * malloc/malloc.c (_int_free): Possible race in the most recently
49510         added check.  Only act on the data if no current modification
49511         happened.
49512
49513 See ChangeLog.17 for earlier changes.